Browse Source

FWHL-81

hella_online_20241212_pandian
王宇飞 2 months ago
parent
commit
681f30966a
  1. 9
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue

9
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue

@ -254,19 +254,14 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row['uom'] = val[0]['uom']
row['inventoryStatus'] = val[0]['inventoryStatus']
row['qty'] = val[0]['qty']
// 000000
if (val[0]['batch'] !== '') {
row['batch'] = val[0]['batch']
} else {
row['batch'] = '000000'
}
// tableform
// TODO: tableFormColumns 10 20 20
ProductionscrapRequestDetail.allSchemas.tableFormColumns.map(item => {
if(item.field == 'qty' && val[0]['qty'] > 0) {
item.tableForm.max = val[0]['qty']
}
})
row['maxQty'] = val[0]['qty']
let param = {'itemCodes':val[0]['itemCode']}
let resyStdcost = await StdcostpriceApi.queryStdcostpriceByItemCode(param)
console.log('resyStdcost',resyStdcost)

Loading…
Cancel
Save