修改销售订单问题

product
杨世强 2 years ago
parent 273161bff7
commit 9e76c146e7

@ -293,7 +293,7 @@ public class SaleorderitemController {
} }
} }
}else{ }else{
return ActionResult.fail("发票金额、金额、已付款金额不一致"); return ActionResult.fail("发票金额、金额、已付款金额不一致或当前状态无法归档");
} }
}else { }else {
return ActionResult.fail("未找到该数据"); return ActionResult.fail("未找到该数据");

@ -454,11 +454,13 @@
this.dataForm.amountCollected = sum; this.dataForm.amountCollected = sum;
}, },
popupSelect(e, d) { popupSelect(e, d) {
debugger
this.dataForm.code = d.id; this.dataForm.code = d.id;
this.dataForm.collectionCount = d.bank_account; this.dataForm.collectionCount = d.bank_account;
this.dataForm.collectionBank = d.bank; this.dataForm.collectionBank = d.bank;
debugger this.dataForm.collection_item0List = [];
},
contractSelect(){
this.dataForm.collection_item0List = [];
}, },
popupSelect2(a, b) { popupSelect2(a, b) {
for (let i = 0; i < this.dataForm.collection_item0List.length; i++) { for (let i = 0; i < this.dataForm.collection_item0List.length; i++) {

Loading…
Cancel
Save