修改按钮连续提交
This commit is contained in:
parent
17bbd019dc
commit
86e90377a0
@ -91,7 +91,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<el-button type="primary" @click="audit">审核</el-button>
|
<el-button type="primary" @click="audit" v-loading.fullscreen.lock="state.loadings">审核</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@ -125,6 +125,7 @@ const state = reactive({
|
|||||||
ERPFactoryList: [] as any, // 组织
|
ERPFactoryList: [] as any, // 组织
|
||||||
costCenterList: [] as any, // 成本中心
|
costCenterList: [] as any, // 成本中心
|
||||||
costName: '',
|
costName: '',
|
||||||
|
loadings: false,
|
||||||
queryParams: {
|
queryParams: {
|
||||||
SHIPREQUESTNAME: '',
|
SHIPREQUESTNAME: '',
|
||||||
CHECKPLANNAME: '',
|
CHECKPLANNAME: '',
|
||||||
@ -194,8 +195,9 @@ function audit() {
|
|||||||
costName: state.costName,
|
costName: state.costName,
|
||||||
user : localStorage.get('userName')
|
user : localStorage.get('userName')
|
||||||
}
|
}
|
||||||
|
state.loadings = true;
|
||||||
Auditcheckmark(query).then((res : any) => {
|
Auditcheckmark(query).then((res : any) => {
|
||||||
|
state.loadings = false;
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
ElMessageBox.alert('审核过账成功', '提醒框', {
|
ElMessageBox.alert('审核过账成功', '提醒框', {
|
||||||
confirmButtonText: 'OK',
|
confirmButtonText: 'OK',
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<el-button type="primary" @click="submit" v-loading="state.loadings">提交</el-button>
|
<el-button type="primary" @click="submit" v-loading.fullscreen.lock="state.loadings">提交</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user