Browse Source

库存管理页面及字段修改

master
李胜楠 1 year ago
parent
commit
880fd61604
  1. 108
      src/views/wms/inventoryManage/balance/balance.data.ts
  2. 14
      src/views/wms/inventoryManage/balance/index.vue
  3. 15
      src/views/wms/inventoryManage/container/containerMain.data.ts
  4. 2
      src/views/wms/inventoryManage/container/index.vue
  5. 26
      src/views/wms/inventoryManage/expectin/expectin.data.ts
  6. 14
      src/views/wms/inventoryManage/expectin/index.vue
  7. 34
      src/views/wms/inventoryManage/expectout/expectout.data.ts
  8. 14
      src/views/wms/inventoryManage/expectout/index.vue
  9. 14
      src/views/wms/inventoryManage/locationcapacity/index.vue
  10. 18
      src/views/wms/inventoryManage/locationcapacity/locationcapacity.data.ts
  11. 14
      src/views/wms/inventoryManage/transaction/index.vue
  12. 162
      src/views/wms/inventoryManage/transaction/transaction.data.ts
  13. 14
      src/views/wms/inventoryManage/transferlog/index.vue
  14. 42
      src/views/wms/inventoryManage/transferlog/transferlog.data.ts

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

@ -71,6 +71,52 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位组代码',
field: 'locationGroupCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库区代码',
field: 'areaCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: 'ERP库位代码',
field: 'erpLocationCode',
dictType: DICT_TYPE.ERP_LOCATION,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '替代批次',
field: 'altBatch',
@ -136,52 +182,6 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位组代码',
field: 'locationGroupCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库区代码',
field: 'areaCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: 'ERP库位代码',
field: 'erpLocationCode',
dictType: DICT_TYPE.ERP_LOCATION,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '货主代码',
field: 'ownerCode',
@ -283,14 +283,6 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '最后事务号',
field: 'lastTransNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '重量',
field: 'weight',
@ -324,6 +316,14 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
component: 'InputNumber',
}
},
{
label: '最后事务号',
field: 'lastTransNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '创建时间',
field: 'createTime',

14
src/views/wms/inventoryManage/balance/index.vue

@ -27,9 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #itemCode="{row}">
<el-button type="primary" link @click="openDetail(row, '物料代码', row.itemCode)">
<span>{{ row.itemCode }}</span>
</el-button>
</template>
<template #action="{ row }">
@ -147,7 +147,7 @@ const openForm = (type: string, row?: any) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplier')
detailRef.value.openDetail(row, titleName, titleValue)
}
/** 删除按钮操作 */
@ -172,7 +172,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await BalanceApi.exportBalance(setSearchParams)
download.excel(data, '供应商.xlsx')
download.excel(data, '库存余额.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -187,7 +187,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '供应商导入模版.xlsx'
templateTitle: '库存余额导入模版.xlsx'
})
//
const importSuccess = () => {
@ -206,6 +206,6 @@ const searchFormClick = (searchData) => {
/** 初始化 **/
onMounted(async() => {
getList()
importTemplateData.templateUrl = await BalanceApi.importTemplate()
// importTemplateData.templateUrl = await BalanceApi.importTemplate()
})
</script>

15
src/views/wms/inventoryManage/container/containerMain.data.ts

@ -8,9 +8,6 @@ export const ContainerMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '号码',
field: 'number',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
@ -21,18 +18,12 @@ export const ContainerMain = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true,
isForm: true,
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '总容量',
field: 'capacity',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
},
@ -42,18 +33,12 @@ export const ContainerMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '状态',
field: 'status',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '货主代码',
field: 'ownerCode',
sort: 'custom',
table: {
width: 150
},
}
]))

2
src/views/wms/inventoryManage/container/index.vue

@ -142,7 +142,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ContainerMainApi.exportContainerMain(setSearchParams)
download.excel(data, '供应商发票记录主.xlsx')
download.excel(data, '器具主.xlsx')
} catch {
} finally {
exportLoading.value = false

26
src/views/wms/inventoryManage/expectin/expectin.data.ts

@ -39,16 +39,15 @@ export const Expectin = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
},
{
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '计量单位',
@ -63,15 +62,12 @@ export const Expectin = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '数量',
field: 'qty',
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '库位代码',
@ -82,8 +78,12 @@ export const Expectin = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '仓库代码',
field: 'warehouseCode',
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150

14
src/views/wms/inventoryManage/expectin/index.vue

@ -27,9 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #jobNumber="{row}">
<el-button type="primary" link @click="openDetail(row, '任务号', row.jobNumber)">
<span>{{ row.jobNumber }}</span>
</el-button>
</template>
<template #action="{ row }">
@ -147,7 +147,7 @@ const openForm = (type: string, row?: any) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplier')
detailRef.value.openDetail(row, titleName, titleValue)
}
/** 删除按钮操作 */
@ -172,7 +172,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ExpectinApi.exportExpectin(setSearchParams)
download.excel(data, '供应商.xlsx')
download.excel(data, '预计入库存.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -187,7 +187,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '供应商导入模版.xlsx'
templateTitle: '预计入库存导入模版.xlsx'
})
//
const importSuccess = () => {
@ -206,6 +206,6 @@ const searchFormClick = (searchData) => {
/** 初始化 **/
onMounted(async() => {
getList()
importTemplateData.templateUrl = await ExpectinApi.importTemplate()
// importTemplateData.templateUrl = await ExpectinApi.importTemplate()
})
</script>

34
src/views/wms/inventoryManage/expectout/expectout.data.ts

@ -21,8 +21,8 @@ export const Expectout = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '包装号',
field: 'packingNumber',
label: '物品代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
@ -30,8 +30,8 @@ export const Expectout = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
},
{
label: '物品代码',
field: 'itemCode',
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
@ -48,16 +48,15 @@ export const Expectout = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
},
{
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '计量单位',
@ -71,15 +70,12 @@ export const Expectout = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '数量',
field: 'qty',
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '库位代码',
@ -90,8 +86,12 @@ export const Expectout = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '仓库代码',
field: 'warehouseCode',
label: '库存状态',
field: 'inventoryStatus',
dictType: DICT_TYPE.INVENTORY_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150

14
src/views/wms/inventoryManage/expectout/index.vue

@ -27,9 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #jobNumber="{row}">
<el-button type="primary" link @click="openDetail(row, '任务号', row.jobNumber)">
<span>{{ row.jobNumber }}</span>
</el-button>
</template>
<template #action="{ row }">
@ -147,7 +147,7 @@ const openForm = (type: string, row?: any) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplier')
detailRef.value.openDetail(row, titleName, titleValue)
}
/** 删除按钮操作 */
@ -172,7 +172,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ExpectoutApi.exportExpectout(setSearchParams)
download.excel(data, '供应商.xlsx')
download.excel(data, '预计出库存.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -187,7 +187,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '供应商导入模版.xlsx'
templateTitle: '预计出库存导入模版.xlsx'
})
//
const importSuccess = () => {
@ -206,6 +206,6 @@ const searchFormClick = (searchData) => {
/** 初始化 **/
onMounted(async() => {
getList()
importTemplateData.templateUrl = await ExpectoutApi.importTemplate()
// importTemplateData.templateUrl = await ExpectoutApi.importTemplate()
})
</script>

14
src/views/wms/inventoryManage/locationcapacity/index.vue

@ -27,9 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #locationCode="{row}">
<el-button type="primary" link @click="openDetail(row, '库位代码', row.locationCode)">
<span>{{ row.locationCode }}</span>
</el-button>
</template>
<template #action="{ row }">
@ -147,7 +147,7 @@ const openForm = (type: string, row?: any) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplier')
detailRef.value.openDetail(row, titleName, titleValue)
}
/** 删除按钮操作 */
@ -172,7 +172,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await LocationcapacityApi.exportLocationcapacity(setSearchParams)
download.excel(data, '供应商.xlsx')
download.excel(data, '库位容量.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -187,7 +187,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '供应商导入模版.xlsx'
templateTitle: '库位容量导入模版.xlsx'
})
//
const importSuccess = () => {
@ -206,6 +206,6 @@ const searchFormClick = (searchData) => {
/** 初始化 **/
onMounted(async() => {
getList()
importTemplateData.templateUrl = await LocationcapacityApi.importTemplate()
// importTemplateData.templateUrl = await LocationcapacityApi.importTemplate()
})
</script>

18
src/views/wms/inventoryManage/locationcapacity/locationcapacity.data.ts

@ -8,44 +8,29 @@ export const Locationcapacity = useCrudSchemas(reactive<CrudSchema[]>([
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '已用容量百分比',
field: 'usedCapacity',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '可用容量百分比',
field: 'availableCapacity',
sort: 'custom',
table: {
width: 150
},
},
{
label: '可承受过载容量百分比',
field: 'bearableOverloadCapacity',
sort: 'custom',
table: {
width: 150
},
},
{
label: '是否无限容量',
@ -55,9 +40,6 @@ export const Locationcapacity = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',

14
src/views/wms/inventoryManage/transaction/index.vue

@ -27,9 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #number="{row}">
<el-button type="primary" link @click="openDetail(row, '事务号', row.number)">
<span>{{ row.number }}</span>
</el-button>
</template>
<template #action="{ row }">
@ -147,7 +147,7 @@ const openForm = (type: string, row?: any) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplier')
detailRef.value.openDetail(row, titleName, titleValue)
}
/** 删除按钮操作 */
@ -172,7 +172,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await TransactionApi.exportTransaction(setSearchParams)
download.excel(data, '供应商.xlsx')
download.excel(data, '事务类型.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -187,7 +187,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '供应商导入模版.xlsx'
templateTitle: '事务类型导入模版.xlsx'
})
//
const importSuccess = () => {
@ -206,6 +206,6 @@ const searchFormClick = (searchData) => {
/** 初始化 **/
onMounted(async() => {
getList()
importTemplateData.templateUrl = await TransactionApi.importTemplate()
// importTemplateData.templateUrl = await TransactionApi.importTemplate()
})
</script>

162
src/views/wms/inventoryManage/transaction/transaction.data.ts

@ -58,32 +58,67 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '生效时间',
field: 'activeTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
label: '物料代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
}
component: 'InputNumber',
}
},
{
label: '物料代码',
field: 'itemCode',
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
},
{
label: '单价',
field: 'singlePrice',
sort: 'custom',
table: {
width: 150
},
},
{
label: '金额',
field: 'amount',
sort: 'custom',
table: {
width: 150
},
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '器具号',
field: 'containerNumber',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '批次',
@ -94,6 +129,14 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
},
isSearch: true,
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库存状态',
field: 'inventoryStatus',
@ -107,38 +150,35 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '计量单位',
field: 'uom',
dictType: DICT_TYPE.UOM,
dictClass: 'string',
isTable: true,
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '数量',
field: 'qty',
label: '库区代码',
field: 'areaCode',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '单价',
field: 'singlePrice',
label: '库位组代码',
field: 'locationGroupCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '金额',
field: 'amount',
label: 'ERP库位代码',
field: 'erpLocationCode',
dictType: DICT_TYPE.ERP_LOCATION,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
@ -191,8 +231,8 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
}
},
{
label: '失效日期',
field: 'expireDate',
label: '生效时间',
field: 'activeTime',
isTable: true,
formatter: dateFormatter,
detail: {
@ -210,63 +250,23 @@ export const Transaction = useCrudSchemas(reactive<CrudSchema[]>([
}
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '器具号',
field: 'containerNumber',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位代码',
field: 'locationCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '仓库代码',
field: 'warehouseCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库区代码',
field: 'areaCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: '库位组代码',
field: 'locationGroupCode',
sort: 'custom',
table: {
width: 150
},
},
{
label: 'ERP库位代码',
field: 'erpLocationCode',
dictType: DICT_TYPE.ERP_LOCATION,
dictClass: 'string',
label: '失效日期',
field: 'expireDate',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
}
}
},
{
label: '货主代码',

14
src/views/wms/inventoryManage/transferlog/index.vue

@ -27,9 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #number="{row}">
<el-button type="primary" link @click="openDetail(row, '库存转移日志', row.number)">
<span>{{ row.number }}</span>
</el-button>
</template>
<template #action="{ row }">
@ -147,7 +147,7 @@ const openForm = (type: string, row?: any) => {
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue, 'basicSupplier')
detailRef.value.openDetail(row, titleName, titleValue)
}
/** 删除按钮操作 */
@ -172,7 +172,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ExpectinApi.exportTransferlog(setSearchParams)
download.excel(data, '供应商.xlsx')
download.excel(data, '库存转移日志.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -187,7 +187,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '供应商导入模版.xlsx'
templateTitle: '库存转移日志导入模版.xlsx'
})
//
const importSuccess = () => {
@ -206,6 +206,6 @@ const searchFormClick = (searchData) => {
/** 初始化 **/
onMounted(async() => {
getList()
importTemplateData.templateUrl = await ExpectinApi.importTemplate()
// importTemplateData.templateUrl = await ExpectinApi.importTemplate()
})
</script>

42
src/views/wms/inventoryManage/transferlog/transferlog.data.ts

@ -46,26 +46,24 @@ export const Transferlog = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '生效时间',
field: 'activeTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
label: '物品代码',
field: 'itemCode',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
},
{
label: '物品代码',
field: 'itemCode',
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
form: {
component: 'InputNumber',
}
},
{
label: '计量单位',
@ -79,17 +77,6 @@ export const Transferlog = useCrudSchemas(reactive<CrudSchema[]>([
},
isSearch: true,
},
{
label: '数量',
field: 'qty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
}
},
{
label: '替代批次',
field: 'altBatch',
@ -136,6 +123,19 @@ export const Transferlog = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '生效时间',
field: 'activeTime',
isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 150
},
},
{
label: '失效日期',
field: 'expireDate',

Loading…
Cancel
Save