This commit is contained in:
linfso 2025-06-12 16:47:09 +08:00
parent 7a46a08d9b
commit 925951b3a3

View File

@ -975,6 +975,8 @@ export default {
}
}
console.log("====>=settleType===>",settleType)
// 检查单号是否包含月结账单
this.$confirm("确定批量生成吗?", "提示", {
cancelButtonText: "否",
@ -984,15 +986,15 @@ export default {
closeOnClickModal: false
}).then(async () => {
this.loading = true;
for(let i=0;i<this.selectBillList.length;i++){
let item=this.selectBillList[i];
console.log("====>=item===>",item)
let sendDate=item.waybillDetail.sendDate;
let billMonth=null;
if(settleType==1){
billMonth = moment(sendDate).format(YYYY-MM);
billMonth = moment(sendDate).format("YYYY-MM");
}else{
billMonth=this.billMonth;
}