diff --git a/src/views/wms/deliversettlementManage/unfinishedShipmentDetail/unfinishedShipmentDetail.data.ts b/src/views/wms/deliversettlementManage/unfinishedShipmentDetail/unfinishedShipmentDetail.data.ts index 04c67bb73..25a8011cf 100644 --- a/src/views/wms/deliversettlementManage/unfinishedShipmentDetail/unfinishedShipmentDetail.data.ts +++ b/src/views/wms/deliversettlementManage/unfinishedShipmentDetail/unfinishedShipmentDetail.data.ts @@ -15,32 +15,23 @@ export const UnfinishedShipmentDetailRules = reactive({ }) export const UnfinishedShipmentDetail = useCrudSchemas(reactive([ - { - label: '自增主键', - field: 'id', - sort: 'custom', - isForm: false - }, - { - label: '父主键', - field: 'masterId', - sort: 'custom', - isSearch: true, - form: { - component: 'InputNumber', - value: 0 - } - }, + { label: '物料代码', field: 'materialCode', sort: 'custom', + table: { + width: 150 + }, isSearch: true }, { label: '物料名称', field: 'materialName', sort: 'custom', + table: { + width: 150 + }, isSearch: true }, { @@ -88,22 +79,22 @@ export const UnfinishedShipmentDetail = useCrudSchemas(reactive([ value: 0 } }, - { - label: '是否可用', - field: 'available', - sort: 'custom', - dictType: DICT_TYPE.TRUE_FALSE, - dictClass: 'string', // 默认都是字符串类型其他暂不考虑 - isSearch: true, - form: { - component: 'Switch', - value: 'TRUE', - componentProps: { - inactiveValue: 'FALSE', - activeValue: 'TRUE' - } - } - }, + // { + // label: '是否可用', + // field: 'available', + // sort: 'custom', + // dictType: DICT_TYPE.TRUE_FALSE, + // dictClass: 'string', // 默认都是字符串类型其他暂不考虑 + // isSearch: true, + // form: { + // component: 'Switch', + // value: 'TRUE', + // componentProps: { + // inactiveValue: 'FALSE', + // activeValue: 'TRUE' + // } + // } + // }, { label: '创建时间', field: 'createTime', @@ -120,63 +111,13 @@ export const UnfinishedShipmentDetail = useCrudSchemas(reactive([ }, isForm: false }, - { - label: '删除时间', - field: 'deletionTime', - sort: 'custom', - formatter: dateFormatter, - isSearch: true, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - valueFormat: 'x' - } - } - }, - { - label: '删除者ID', - field: 'deleterId', - sort: 'custom', - isSearch: true - }, - { - label: '扩展属性', - field: 'extraProperties', - sort: 'custom', - isSearch: true - }, - { - label: '并发乐观锁', - field: 'concurrencyStamp', - sort: 'custom', - isSearch: true, - form: { - component: 'InputNumber', - value: 0 - } - }, - { - label: '地点id', - field: 'siteId', - sort: 'custom', - isSearch: true - }, - { - label: '操作', - field: 'action', - isForm: false, - table: { - width: 150, - fixed: 'right' - } - } + // { + // label: '操作', + // field: 'action', + // isForm: false, + // table: { + // width: 150, + // fixed: 'right' + // } + // } ])) diff --git a/src/views/wms/deliversettlementManage/unfinishedShipmentMain/index.vue b/src/views/wms/deliversettlementManage/unfinishedShipmentMain/index.vue index 18b1e4ff9..6fbbe327d 100644 --- a/src/views/wms/deliversettlementManage/unfinishedShipmentMain/index.vue +++ b/src/views/wms/deliversettlementManage/unfinishedShipmentMain/index.vue @@ -1,7 +1,7 @@