Browse Source

WMS13.计划外出库 YT-706

intex_online20241111
YEJIAXING-PC\lenovo 3 weeks ago
parent
commit
4ea05976a3
  1. 14
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue
  2. 4
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts

14
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue

@ -133,20 +133,16 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
fromManagementPrecision.value = res[0].ManagementPrecision fromManagementPrecision.value = res[0].ManagementPrecision
}) })
if (fromManagementPrecision.value == 'BY_QUANTITY') {//+ if (fromManagementPrecision.value == 'BY_QUANTITY') {//+
if(newRow['batch']==''){ // if(newRow['batch']==''){
newRow['batch'] = getFormattedDate(); // YYYYMMDD // newRow['batch'] = getFormattedDate(); // YYYYMMDD
} // }
newRow['batchFormItemType'] = 'FormDate' newRow['batchFormItemType'] = 'FormDate'
newRow['disabled_batch'] = false // newRow['disabled_batch'] = false
}else { }else {
newRow['bathFormItemType'] = '' newRow['bathFormItemType'] = ''
newRow['disabled_batch'] = true // newRow['disabled_batch'] = true
} }
newRow['inventoryStatus'] = item['inventoryStatus'] newRow['inventoryStatus'] = item['inventoryStatus']
newRow['fromLocationCode'] = item['locationCode'] newRow['fromLocationCode'] = item['locationCode']
newRow['itemCode'] = item['itemCode'] newRow['itemCode'] = item['itemCode']

4
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts

@ -712,12 +712,13 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
}, },
tableForm:{ tableForm:{
multiple:true,//多选 multiple:true,//多选
isInpuFocusShow: true, // 开启查询弹窗 isInpuFocusShow: false, // 开启查询弹窗
searchListPlaceholder: '请输入包装号', searchListPlaceholder: '请输入包装号',
searchField: 'packingNumber', searchField: 'packingNumber',
searchTitle: '库存余额信息', searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas, searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceItemPage, searchPage: BalanceApi.getBalanceItemPage,
disabled:true,
searchCondition: [{ searchCondition: [{
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
@ -741,6 +742,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
disabled: true,
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请输入包装号', searchListPlaceholder: '请输入包装号',
searchField: 'packingNumber', searchField: 'packingNumber',

Loading…
Cancel
Save