Browse Source

修复bug

master_hella_20240701
zhaoyiran 6 months ago
parent
commit
dd6bb143bb
  1. 1
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
  2. 6
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

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

@ -190,6 +190,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
} else { } else {
row['itemCode'] = val[0]['code'] row['itemCode'] = val[0]['code']
row['uom'] = val[0]['uom'] row['uom'] = val[0]['uom']
row['singlePrice'] = val[0]['price']
} }
} else if(formField === 'costcentreCode'){ } else if(formField === 'costcentreCode'){
row['costcentreCode'] = val[0]['costcentreCode'] row['costcentreCode'] = val[0]['costcentreCode']

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

@ -532,6 +532,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
label: '包装号', label: '包装号',
field: 'packingNumber', field: 'packingNumber',
sort: 'custom', sort: 'custom',
isTableForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -543,6 +544,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
label: '器具号', label: '器具号',
field: 'containerNumber', field: 'containerNumber',
sort: 'custom', sort: 'custom',
isTableForm:false,
table: { table: {
width: 150 width: 150
}, },
@ -581,7 +583,8 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
width: 150 width: 150
}, },
tableForm: { tableForm: {
type: 'Select' type: 'Select',
disabled: true
} }
}, },
{ {
@ -602,6 +605,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
type: 'InputNumber', type: 'InputNumber',
min: 0, min: 0,
precision: 6, precision: 6,
disabled: true
}, },
}, },
{ {

Loading…
Cancel
Save