Browse Source

YT-1072生产退料申请新增页面,批次不应该可以编辑,目前可编辑

intex
zhang_li 2 weeks ago
parent
commit
33a3da3711
  1. 14
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

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

@ -263,13 +263,13 @@ 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 { // } else {
newRow['batchFormItemType'] = '' // newRow['batchFormItemType'] = ''
newRow['disabled_batch'] = true // 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'])

Loading…
Cancel
Save