Browse Source

修改

hella_online_20240919
zhaoxuebing 3 days ago
parent
commit
051f606109
  1. 7
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue
  2. 44
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts

7
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue

@ -233,6 +233,13 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
} }
} else { } else {
const setV = {} const setV = {}
if(formField == 'costCenterCode'){
setV['costcentreCode'] = val[0]['costcentreCode']
setV['costCenterType'] = val[0]['costcentreType']
}
if(formField == 'reasonCodeRequisition'){
setV['reasonCodeRequisition'] = val[0]['code']
}
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
tableData.value = [] // tableData.value = [] //
formRef.setValues(setV) formRef.setValues(setV)

44
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/productionscrapRequestMain.data.ts

@ -1084,6 +1084,50 @@ export const ProductionscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]
} }
} }
}, },
{
label: '单价',
field: 'singlePrice',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
disabled: true,
min: 0,
precision: 2,
},
},
tableForm: {
disabled: true,
type: 'InputNumber',
min: 0,
precision: 2,
}
},
{
label: '金额',
field: 'amount',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
disabled:true,
min: 0,
precision: 2,
}
},
tableForm: {
type: 'InputNumber',
disabled:true,
min: 0,
precision: 2,
},
},
{ {
label: '库存状态', label: '库存状态',
field: 'inventoryStatus', field: 'inventoryStatus',

Loading…
Cancel
Save