Browse Source

字段

intex
yufei_wang 1 day ago
parent
commit
550dbc5b23
  1. 33
      src/views/wms/deliversettlementManage/saleEstimate/finishedShipmentMain/finishedShipmentMain.data.ts
  2. 8
      src/views/wms/deliversettlementManage/saleEstimate/unfinishedShipmentMain/index.vue
  3. 34
      src/views/wms/deliversettlementManage/saleEstimate/unfinishedShipmentMain/unfinishedShipmentMain.data.ts

33
src/views/wms/deliversettlementManage/saleEstimate/finishedShipmentMain/finishedShipmentMain.data.ts

@ -61,6 +61,39 @@ export const FinishedShipmentMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
isDetail:true,
isForm: false,
isTable:true,
sortTableDefault:10000
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
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')]
}
},
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable:true,
isForm: false,
table:{
width:180
},
sortTableDefault:10000
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

8
src/views/wms/deliversettlementManage/saleEstimate/unfinishedShipmentMain/index.vue

@ -109,8 +109,8 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultAddBtn({hasPermi:'wms:unfinished-shipment-main:create'}), // // defaultButtons.defaultAddBtn({hasPermi:'wms:unfinished-shipment-main:create'}), //
defaultButtons.defaultImportBtn({hasPermi:'wms:unfinished-shipment-main:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:unfinished-shipment-main:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:unfinished-shipment-main:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:unfinished-shipment-main:export'}), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), // defaultButtons.defaultFilterBtn(null), //
@ -143,8 +143,8 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = [ const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'wms:unfinished-shipment-main:update'}), // // defaultButtons.mainListEditBtn({hasPermi:'wms:unfinished-shipment-main:update'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:unfinished-shipment-main:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:unfinished-shipment-main:delete'}), //
] ]
// - // -

34
src/views/wms/deliversettlementManage/saleEstimate/unfinishedShipmentMain/unfinishedShipmentMain.data.ts

@ -53,6 +53,40 @@ export const UnfinishedShipmentMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
isDetail:true,
isForm: false,
isTable:true,
sortTableDefault:10000
},
{
label: '创建时间',
field: 'createTime',
sort: 'custom',
formatter: dateFormatter,
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')]
}
},
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
isTable:true,
isForm: false,
table:{
width:180
},
sortTableDefault:10000
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

Loading…
Cancel
Save