Browse Source

展示字段

hella_online_20240829
wangyufei 2 months ago
parent
commit
69254cd0fb
  1. 148
      src/views/wms/inventoryManage/balance/balance.data.ts

148
src/views/wms/inventoryManage/balance/balance.data.ts

@ -242,17 +242,17 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber', component: 'InputNumber',
} }
}, },
{ // {
label: '可用数量', // label: '可用数量',
field: 'usableQty', // field: 'usableQty',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'InputNumber', // component: 'InputNumber',
} // }
}, // },
{ {
label: '单价', label: '单价',
field: 'singlePrice', field: 'singlePrice',
@ -275,25 +275,25 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber', component: 'InputNumber',
} }
}, },
{ // {
label: '入库时间', // label: '入库时间',
field: 'putInTime', // field: 'putInTime',
isTable: true, // isTable: true,
formatter: dateFormatter, // formatter: dateFormatter,
detail: { // detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' // dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, // },
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'DatePicker', // component: 'DatePicker',
componentProps: { // componentProps: {
type: 'datetime', // type: 'datetime',
} // }
} // }
}, // },
{ {
label: '是否冻结', label: '是否冻结',
field: 'frozen', field: 'frozen',
@ -313,50 +313,50 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{ // {
label: '冻结原因', // label: '冻结原因',
field: 'frozenReason', // field: 'frozenReason',
dictType: DICT_TYPE.FROZEN_REASON, // dictType: DICT_TYPE.FROZEN_REASON,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
}, // },
{ // {
label: '重量', // label: '重量',
field: 'weight', // field: 'weight',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'InputNumber', // component: 'InputNumber',
} // }
}, // },
{ // {
label: '面积', // label: '面积',
field: 'area', // field: 'area',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'InputNumber', // component: 'InputNumber',
} // }
}, // },
{ // {
label: '体积', // label: '体积',
field: 'volume', // field: 'volume',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'InputNumber', // component: 'InputNumber',
} // }
}, // },
{ {
label: '最后事务号', label: '最后事务号',
field: 'lastTransNumber', field: 'lastTransNumber',

Loading…
Cancel
Save