Browse Source

计划外入库

master_hella_20240701
wangyufei 5 months ago
parent
commit
0d62e3f5f7
  1. 5
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
  2. 8
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

5
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -255,6 +255,11 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
if(formField == 'itemCode'){ if(formField == 'itemCode'){
setV['itemCode'] = val[0]['code'] setV['itemCode'] = val[0]['code']
setV['uom'] = val[0]['uom'] setV['uom'] = val[0]['uom']
setV['expireDate'] = val[0]['validityDays']?addDay(val[0]['produceDate'],val[0]['validityDays']):''
setV.batch = formatTime(new Date(), 'yyyyMMdd')
//
setV['produceDate'] = dayjs().valueOf()
setV['arriveDate'] = dayjs().valueOf()
} }
if(formField === 'costcentreCode'){ if(formField === 'costcentreCode'){
setV['costcentreCode'] = val[0]['costcentreCode'] setV['costcentreCode'] = val[0]['costcentreCode']

8
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

@ -706,6 +706,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
field: 'packingNumber', field: 'packingNumber',
sort: 'custom', sort: 'custom',
isTableForm:false, isTableForm:false,
isForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -718,6 +719,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
field: 'containerNumber', field: 'containerNumber',
sort: 'custom', sort: 'custom',
isTableForm:false, isTableForm:false,
isForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -886,6 +888,12 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
table: { table: {
width: 150 width: 150
}, },
form:{
component: 'Select',
componentProps:{
options: UnplannedReceipt.inInventoryStatusList
}
},
tableForm: { tableForm: {
show:true, show:true,
type: 'Select', type: 'Select',

Loading…
Cancel
Save