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

Loading…
Cancel
Save