Browse Source

SCP发票——供应商发货申请,批次信息通过选择第一条的日期,生成批次,默认应用到所有行批次信息数据

master_hella_20240701
yufei0306 7 months ago
parent
commit
e1da115362
  1. 7
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

7
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -928,6 +928,13 @@ const formFormDateChange = (field, val,row, index) => {
if(field == 'produceDate'){
let produceDateStr = formatDate(val,'YYYYMMDD');
row.batch = produceDateStr
tableData.value.forEach(item=>{
console.log("item.produceDate",item.produceDate)
if(!item.produceDate){
item.produceDate = val
item.batch = produceDateStr
}
})
}
}

Loading…
Cancel
Save