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