@@ -510,6 +510,13 @@
}
if(this.deptBudgetList.purpose=='合同费用'&&this.deptBudgetList.type=='非粮款'||this.deptBudgetList.purpose=='库点费用'&&this.deptBudgetList.flag!="是"){
for (let i = 0; i < this.feeDetailsDistributions.length; i++) {
+ if(!this.feeDetailsDistributions[i].goodsSource){
+ this.$message({
+ message: '货源不能为空!',
+ type: 'warning',
+ })
+ return
+ }
if(!this.feeDetailsDistributions[i].distributionMoney&&this.mode!="暂不分配"){
this.$message({
message: '分配金额不能为空!',