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
},
form: {
value: '',
componentProps: {
filterable: true
}
@ -693,6 +694,7 @@ export const ScrapRequestMain = useCrudSchemas(
width: 150
},
form: {
value:'',
componentProps: {
filterable: true
}
@ -711,6 +713,7 @@ export const ScrapRequestMain = useCrudSchemas(
width: 150
},
form: {
value: '',
componentProps: {
filterable: true
}
@ -1220,50 +1223,50 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
precision: 2
}
},
{
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: '单价',
// 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: '计量单位',
field: 'uom',

Loading…
Cancel
Save