认款弹窗修复

main
mo 1 year ago
parent c55a7e629a
commit 53f5f88405

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

Loading…
Cancel
Save