认款弹窗修复

main
mo 1 year ago
parent c55a7e629a
commit 53f5f88405

@ -605,7 +605,7 @@
</el-dialog>
<!-- 认款弹出框-->
<el-dialog title="认款" :visible.sync="open2" width="800px" append-to-body>
<el-dialog title="认款" :visible.sync="open3" width="800px" append-to-body>
<el-form ref="form1" :model="form1" :rules="rules" label-width="140px">
<el-row>
<el-col :span="12">
@ -638,8 +638,8 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm2"> </el-button>
<el-button @click="cancel2"> </el-button>
<el-button type="primary" @click="submitForm3"> </el-button>
<el-button @click="cancel3"> </el-button>
</div>
</el-dialog>
@ -730,6 +730,7 @@ export default {
open: false,
open1: false,
open2: false,
open3: false,
//
queryParams: {
pageNo: 1,
@ -886,6 +887,11 @@ export default {
this.open2 = false;
this.reset();
},
/** 取消按钮 */
cancel3() {
this.open3 = false;
this.reset();
},
/** 表单重置 */
reset() {
this.form = {
@ -989,13 +995,13 @@ export default {
this.reset();
this.form1.id = val.id;
this.form1.flowCode = val.flowCode;
this.open2 = true;
this.open3 = true;
},
handleSelectUser(val) {
this.form1.staffId = val.id;
this.form1.staffName = val.username;
},
submitForm2() {
submitForm3() {
this.form1.subscriptionStatus = 1;
this.$refs["form1"].validate((valid) => {
if (!valid) {
@ -1003,7 +1009,7 @@ export default {
}
updateBankSlip(this.form1).then((response) => {
this.$modal.msgSuccess("认款成功");
this.open2 = false;
this.open3 = false;
this.getList();
});
});

Loading…
Cancel
Save