|
@@ -436,6 +436,7 @@ export default {
|
|
|
},
|
|
|
//应付账款查询列表
|
|
|
getAccountsPay() {
|
|
|
+ this.queryParamsPay.zbiPayeeId = this.form.zfiSupplierId;
|
|
|
return getAccountsPay(this.queryParamsPay).then((response) => {
|
|
|
this.payList = response.data.records;
|
|
|
this.selectChecked();
|
|
@@ -467,6 +468,13 @@ export default {
|
|
|
//清空搜索条件
|
|
|
this.queryParamsPay.zbiName = "";
|
|
|
this.queryParamsPay.receiveName = "";
|
|
|
+ if(!this.form.zfiSupplierId){
|
|
|
+ this.$message({
|
|
|
+ message: "请选择接收方",
|
|
|
+ type: "warning",
|
|
|
+ });
|
|
|
+ return false;
|
|
|
+ }
|
|
|
this.getAccountsPay();
|
|
|
this.open = true;
|
|
|
this.payTitle = "应付账款";
|
|
@@ -534,7 +542,7 @@ export default {
|
|
|
type: "warning",
|
|
|
});
|
|
|
this.open = false;
|
|
|
- return true;
|
|
|
+ return false;
|
|
|
}
|
|
|
if (zbiPayDate != this.chooseTicket[i].zbiPayDate) {
|
|
|
flag = false
|
|
@@ -544,7 +552,7 @@ export default {
|
|
|
type: "warning",
|
|
|
});
|
|
|
this.open = false;
|
|
|
- return true;
|
|
|
+ return false;
|
|
|
}
|
|
|
}
|
|
|
if(flag){
|