Browse Source

YT-1135PDA直接隔离转合格需求信息中填写物料和批次,但库区是按数量管理,明细中批次应该显示空,目前有值

intex_online20241228
张立 3 months ago
parent
commit
038658d9bb
  1. 17
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

17
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

@ -266,13 +266,14 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
}).then((res) => { }).then((res) => {
fromManagementPrecision.value = res[0].ManagementPrecision fromManagementPrecision.value = res[0].ManagementPrecision
}) })
// if (fromManagementPrecision.value == 'BY_QUANTITY') { if (fromManagementPrecision.value == 'BY_QUANTITY') {
// newRow['batchFormItemType'] = 'FormDate' newRow['batchFormItemType'] = 'FormDate'
// newRow['disabled_batch'] = false newRow['disabled_batch'] = false
// } else { newRow['batch'] = formatDate(new Date(),'YYYYMMDD')
// newRow['batchFormItemType'] = '' } else {
// newRow['disabled_batch'] = true newRow['batchFormItemType'] = ''
// } newRow['disabled_batch'] = true
}
if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])){ if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])){
messageItemCodes.push(item['itemCode']) messageItemCodes.push(item['itemCode'])
@ -902,7 +903,7 @@ const handlePoint = async (row) => {
const searchTableRef = ref() const searchTableRef = ref()
const labelPrint = async (row) => { const labelPrint = async (row) => {
tableObject.loading = true tableObject.loading = true
const defaultParams = {'moduleName':'productreceipt_predict','recordNumber':row.number} const defaultParams = {'moduleName':'productreceipt_predict','recordNumber':row.number,batch:row.batch}
const {tableObject:tableObjectPrint ,tableMethods} = useTable({ const {tableObject:tableObjectPrint ,tableMethods} = useTable({
defaultParams, defaultParams,
getListApi: PackageApi.getLabelDetailPage // getListApi: PackageApi.getLabelDetailPage //

Loading…
Cancel
Save