Browse Source

YT-2505《隔离出库》新增时,明细隐藏“单价”和“金额”字段,同时,列表页和详情的明细页面,也隐藏单价和金额字段

intex_online20250427
张立 5 days ago
parent
commit
62aa3bf209
  1. 91
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

91
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -675,6 +675,7 @@ export const ScrapRequestMain = useCrudSchemas(
width: 150 width: 150
}, },
form: { form: {
value: '',
componentProps: { componentProps: {
filterable: true filterable: true
} }
@ -693,6 +694,7 @@ export const ScrapRequestMain = useCrudSchemas(
width: 150 width: 150
}, },
form: { form: {
value:'',
componentProps: { componentProps: {
filterable: true filterable: true
} }
@ -711,6 +713,7 @@ export const ScrapRequestMain = useCrudSchemas(
width: 150 width: 150
}, },
form: { form: {
value: '',
componentProps: { componentProps: {
filterable: true filterable: true
} }
@ -1220,50 +1223,50 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 2 precision: 2
} }
}, },
{ // {
label: '单价', // label: '单价',
field: 'singlePrice', // field: 'singlePrice',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'InputNumber', // component: 'InputNumber',
componentProps: { // componentProps: {
disabled: true, // disabled: true,
min: 0, // min: 0,
precision: 2, // precision: 2,
}, // },
}, // },
tableForm: { // tableForm: {
disabled: true, // disabled: true,
type: 'InputNumber', // type: 'InputNumber',
min: 0, // min: 0,
precision: 2, // precision: 2,
} // }
}, // },
{ // {
label: '金额', // label: '金额',
field: 'amount', // field: 'amount',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'InputNumber', // component: 'InputNumber',
componentProps: { // componentProps: {
disabled:true, // disabled:true,
min: 0, // min: 0,
precision: 2, // precision: 2,
} // }
}, // },
tableForm: { // tableForm: {
type: 'InputNumber', // type: 'InputNumber',
disabled:true, // disabled:true,
min: 0, // min: 0,
precision: 2, // precision: 2,
}, // },
}, // },
{ {
label: '计量单位', label: '计量单位',
field: 'uom', field: 'uom',

Loading…
Cancel
Save