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'){
setV['itemCode'] = val[0]['code']
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'){
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',
sort: 'custom',
isTableForm:false,
isForm:false,
table: {
width: 150
},
@ -718,6 +719,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
field: 'containerNumber',
sort: 'custom',
isTableForm:false,
isForm:false,
table: {
width: 150
},
@ -886,6 +888,12 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
table: {
width: 150
},
form:{
component: 'Select',
componentProps:{
options: UnplannedReceipt.inInventoryStatusList
}
},
tableForm: {
show:true,
type: 'Select',

Loading…
Cancel
Save