Browse Source

WMS13.计划外出库 YT-706

intex_online20241111
YEJIAXING-PC\lenovo 2 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
})
if (fromManagementPrecision.value == 'BY_QUANTITY') {//+
if(newRow['batch']==''){
newRow['batch'] = getFormattedDate(); // YYYYMMDD
}
// if(newRow['batch']==''){
// newRow['batch'] = getFormattedDate(); // YYYYMMDD
// }
newRow['batchFormItemType'] = 'FormDate'
newRow['disabled_batch'] = false
// newRow['disabled_batch'] = false
}else {
newRow['bathFormItemType'] = ''
newRow['disabled_batch'] = true
// newRow['disabled_batch'] = true
}
newRow['inventoryStatus'] = item['inventoryStatus']
newRow['fromLocationCode'] = item['locationCode']
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:{
multiple:true,//多选
isInpuFocusShow: true, // 开启查询弹窗
isInpuFocusShow: false, // 开启查询弹窗
searchListPlaceholder: '请输入包装号',
searchField: 'packingNumber',
searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceItemPage,
disabled:true,
searchCondition: [{
key: 'available',
value: 'TRUE',
@ -741,6 +742,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
disabled: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请输入包装号',
searchField: 'packingNumber',

Loading…
Cancel
Save