Browse Source

Merge remote-tracking branch 'origin/master_hella' into master_hella

hella_online_20240829
gaojs 5 months ago
parent
commit
77cdf305c6
  1. 1
      src/api/wms/countPlanMain/index.ts
  2. 22
      src/components/TableForm/src/TableForm.vue
  3. 1
      src/utils/dict.ts
  4. 17
      src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts
  5. 34
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts
  6. 34
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts
  7. 4
      src/views/wms/inventoryManage/balance/balance.data.ts
  8. 46
      src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts
  9. 34
      src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts
  10. 49
      src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts
  11. 36
      src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts
  12. 11
      src/views/wms/inventoryjobManage/packageManage/packagemergeMain/packagemergeMain.data.ts
  13. 10
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverJobMain/packageoverJobMain.data.ts
  14. 4
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/packageoverRecordMain.data.ts
  15. 4
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRetrospect/packageoverRetrospect.data.ts
  16. 11
      src/views/wms/inventoryjobManage/packageManage/packagesplitMain/packagesplitMain.data.ts
  17. 2
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
  18. 35
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
  19. 42
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRecordMain/sparepartsrequisitionRecordMain.data.ts
  20. 33
      src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts
  21. 38
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts
  22. 36
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts
  23. 2
      src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts
  24. 2
      src/views/wms/issueManage/pick/pickJobMain/pickJobMain.data.ts
  25. 2
      src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts
  26. 10
      src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts
  27. 2
      src/views/wms/issueManage/repleinsh/repleinshJobMain/repleinshJobMain.data.ts
  28. 34
      src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/inventorychangeRecordMain.data.ts
  29. 2
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  30. 3
      src/views/wms/productionManage/productionplan/qadproductionplan/qadProductionPlanMain.data.ts
  31. 2
      src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts
  32. 12
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts

1
src/api/wms/countPlanMain/index.ts

@ -8,6 +8,7 @@ export interface CountPlanMainVO {
ignoreListOfItem: string ignoreListOfItem: string
ignoreListOfLocation: string ignoreListOfLocation: string
scopeList: string scopeList: string
countSplitType: string
number: string number: string
businessType: string businessType: string
remark: string remark: string

22
src/components/TableForm/src/TableForm.vue

@ -91,7 +91,7 @@
" "
:disabled="disabledInput(headerItem, row)" :disabled="disabledInput(headerItem, row)"
style="flex: 1" style="flex: 1"
@blur.stop="inputStringBlur(headerItem, row[headerItem.field], row, index)" @blur="inputStringBlur(headerItem, row[headerItem.field], row, index)"
/> />
<Icon <Icon
icon="ep:circle-close" icon="ep:circle-close"
@ -101,12 +101,12 @@
headerItem?.tableForm?.clearable headerItem?.tableForm?.clearable
" "
style="position: absolute; right: 50px; cursor: pointer" style="position: absolute; right: 50px; cursor: pointer"
@click.stop="clearInput(headerItem.field, row, index)" @click="clearInput(headerItem.field, row, index)"
/> />
<el-button <el-button
:key="headerItem.field + $index + 'button'" :key="headerItem.field + $index + 'button'"
v-if="headerItem?.tableForm?.isInpuFocusShow" v-if="headerItem?.tableForm?.isInpuFocusShow"
@click.stop="inpuFocus(headerItem, row, index)" @click="inpuFocus(headerItem, row, index)"
><Icon icon="ep:search" size="14" ><Icon icon="ep:search" size="14"
/></el-button> /></el-button>
</el-form-item> </el-form-item>
@ -123,9 +123,7 @@
:placeholder="headerItem?.tableForm?.placeholder || '请输入' + headerItem.label" :placeholder="headerItem?.tableForm?.placeholder || '请输入' + headerItem.label"
:disabled="itemIsDisabled(headerItem, row)" :disabled="itemIsDisabled(headerItem, row)"
style="width: 100%" style="width: 100%"
@input.stop="row[headerItem.field] = row[headerItem.field].replace(/[^\d\.-]/g, '')" @input="row[headerItem.field] = row[headerItem.field].replace(/[^\d\.-]/g, '')"
@click.stop=""
@focus.stop=""
/> />
</el-form-item> </el-form-item>
<!-- 数字输入框 --> <!-- 数字输入框 -->
@ -141,7 +139,7 @@
:min="headerItem?.tableForm?.min" :min="headerItem?.tableForm?.min"
:precision="headerItem?.tableForm?.precision" :precision="headerItem?.tableForm?.precision"
:disabled="itemIsDisabled(headerItem, row)" :disabled="itemIsDisabled(headerItem, row)"
@change.stop=" @change="
(e) => { (e) => {
inputNumberChange(headerItem.field, $index, row, e) inputNumberChange(headerItem.field, $index, row, e)
} }
@ -164,8 +162,8 @@
:allow-create="headerItem?.tableForm.allowCreate" :allow-create="headerItem?.tableForm.allowCreate"
style="width: 100%" style="width: 100%"
:placeholder="headerItem?.tableForm?.placeholder || '请选择' + headerItem.label" :placeholder="headerItem?.tableForm?.placeholder || '请选择' + headerItem.label"
@change.stop="formSelectChange(headerItem.field, $event, row)" @change="formSelectChange(headerItem.field, $event, row)"
@blur.stop="tableFormSelectOnBlur(headerItem.field, $event, row, $index)" @blur="tableFormSelectOnBlur(headerItem.field, $event, row, $index)"
> >
<el-option <el-option
v-for="op in initSelectOptions(headerItem)" v-for="op in initSelectOptions(headerItem)"
@ -194,8 +192,8 @@
:allow-create="headerItem?.tableForm.allowCreate" :allow-create="headerItem?.tableForm.allowCreate"
style="width: 100%" style="width: 100%"
:placeholder="headerItem?.tableForm?.placeholder || '请选择' + headerItem.label" :placeholder="headerItem?.tableForm?.placeholder || '请选择' + headerItem.label"
@change.stop="formSelectChange(headerItem.field, $event, row)" @change="formSelectChange(headerItem.field, $event, row)"
@blur.stop="tableFormSelectOnBlur(headerItem.field, $event, row, $index)" @blur="tableFormSelectOnBlur(headerItem.field, $event, row, $index)"
> >
<el-option-group <el-option-group
v-for="group in initSelectOptions(headerItem)" v-for="group in initSelectOptions(headerItem)"
@ -235,7 +233,7 @@
:placeholder="headerItem?.tableForm?.placeholder || '选择日期'" :placeholder="headerItem?.tableForm?.placeholder || '选择日期'"
:format="headerItem?.tableForm?.format || 'YYYY-MM-DD'" :format="headerItem?.tableForm?.format || 'YYYY-MM-DD'"
:value-format="headerItem?.tableForm?.valueFormat || 'YYYY-MM-DD'" :value-format="headerItem?.tableForm?.valueFormat || 'YYYY-MM-DD'"
@change.stop="formFormDateChange(headerItem.field, $event, row, $index)" @change="formFormDateChange(headerItem.field, $event, row, $index)"
/> />
</el-form-item> </el-form-item>
<!-- 日期时间选择器 --> <!-- 日期时间选择器 -->

1
src/utils/dict.ts

@ -224,6 +224,7 @@ export enum DICT_TYPE {
REQEUST_MODE = 'reqeust_mode', // 申请模式 REQEUST_MODE = 'reqeust_mode', // 申请模式
TIME_UNIT = 'time_unit', // 时间单位 TIME_UNIT = 'time_unit', // 时间单位
COUNT_TYPE = 'count_type', // 盘点类型 COUNT_TYPE = 'count_type', // 盘点类型
COUNT_SPLIT_TYPE = 'count_split_type', // 盘点拆分方式
COUNT_SCOPE_TYPE = 'count_scope_type', // 盘点范围类型 COUNT_SCOPE_TYPE = 'count_scope_type', // 盘点范围类型
BARCODE_PREFIX = 'barcode_prefix', // 条码前缀 BARCODE_PREFIX = 'barcode_prefix', // 条码前缀
SETTLEMENT_TYPE = 'settlement_type', // 结算类型 SETTLEMENT_TYPE = 'settlement_type', // 结算类型

17
src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts

@ -48,6 +48,20 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isSearch: true isSearch: true
}, },
{
label: '任务拆分方式',
field: 'countSplitType',
dictType: DICT_TYPE.COUNT_SPLIT_TYPE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
value:'LOCATION_CODE',
}
},
{ {
label: '',//执行周期 label: '',//执行周期
field: 'crontab', field: 'crontab',
@ -506,6 +520,9 @@ export const CountPlanMainRules = reactive({
type: [ type: [
{ required: true, message: '请选择盘点类型', trigger: 'change' } { required: true, message: '请选择盘点类型', trigger: 'change' }
], ],
countSplitType: [
{ required: true, message: '请选择任务拆分方式', trigger: 'change' }
],
crontab: [ crontab: [
{ required: false, message: '请填写执行周期', trigger: ['change','blur'] },{ max: 50, message: '不得超过50个字符', trigger: 'blur' } { required: false, message: '请填写执行周期', trigger: ['change','blur'] },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],

34
src/views/wms/deliversettlementManage/saleShipmentMainRequest/saleShipmentMain.data.ts

@ -249,6 +249,40 @@ export const SaleShipmentMain = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
isTable: true isTable: true
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

34
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

@ -191,6 +191,40 @@ export const StockupMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
isTable: true isTable: true
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{ {
label: '发货日期', label: '发货日期',
field: 'deliverDate', field: 'deliverDate',

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

@ -412,6 +412,7 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false, isForm: false,
isTable: false
}, },
{ {
label: '最后更新者', label: '最后更新者',
@ -421,6 +422,7 @@ export const Balance = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable: false
}, },
// TODO: 临时添加 方便操作 // TODO: 临时添加 方便操作
{ {
@ -455,4 +457,4 @@ export const BalanceRules = reactive({
produceDate: [ produceDate: [
{ required: true, message: '请选择生产日期', trigger: 'change' } { required: true, message: '请选择生产日期', trigger: 'change' }
], ],
}) })

46
src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts

@ -212,6 +212,9 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -220,8 +223,51 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
isTable: true,
isForm: false,
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false, isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false, isForm: false,
isTable: false,
table: {
width: 150
}
}, },
{ {
label: '扩展属性', label: '扩展属性',

34
src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts

@ -146,6 +146,40 @@ export const ContainerRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
isTable: true isTable: true
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',

49
src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts

@ -216,6 +216,9 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -227,6 +230,49 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
isTable:false, isTable:false,
isForm: false, isForm: false,
}, },
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{ {
label: '扩展属性', label: '扩展属性',
field: 'extraProperties', field: 'extraProperties',
@ -414,6 +460,9 @@ export const ContainerDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime', field: 'createTime',
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
search: { search: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {

36
src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/scrapContainerMainRequest.data.ts

@ -226,7 +226,7 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
} }
}, },
isTable: false, isTable: true,
isForm: false, isForm: false,
}, },
{ {
@ -238,6 +238,40 @@ export const ContainerMainRequest = useCrudSchemas(reactive<CrudSchema[]>([
isForm: false, isForm: false,
isTable: true isTable: true
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
{ {
label: '扩展属性', label: '扩展属性',
field: 'extraProperties', field: 'extraProperties',

11
src/views/wms/inventoryjobManage/packageManage/packagemergeMain/packagemergeMain.data.ts

@ -195,7 +195,16 @@ export const PackagemergeMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false isForm: false
} },
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
])) ]))
// 表单校验 // 表单校验

10
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverJobMain/packageoverJobMain.data.ts

@ -470,6 +470,7 @@ export const PackageoverJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '创建时间', label: '创建时间',
@ -490,14 +491,16 @@ export const PackageoverJobMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
@ -518,6 +521,7 @@ export const PackageoverJobMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false
}, },
// { // {
// label: '操作', // label: '操作',
@ -778,11 +782,12 @@ export const PackageoverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
@ -795,6 +800,7 @@ export const PackageoverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {

4
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/packageoverRecordMain.data.ts

@ -206,11 +206,12 @@ export const PackageoverMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false,
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
@ -231,6 +232,7 @@ export const PackageoverMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false,
}, },
{ {
label: '操作', label: '操作',

4
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRetrospect/packageoverRetrospect.data.ts

@ -380,11 +380,12 @@ export const PackageoverRetrospect = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '最后更新时间', label: '最后更新时间',
@ -405,6 +406,7 @@ export const PackageoverRetrospect = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false
}, },
{ {
label: '操作', label: '操作',

11
src/views/wms/inventoryjobManage/packageManage/packagesplitMain/packagesplitMain.data.ts

@ -196,7 +196,16 @@ export const PackagesplitMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
isForm: false isForm: false
} },
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
])) ]))

2
src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts

@ -454,6 +454,7 @@ export const ScrapJobMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable: false
}, },
{ {
label: '创建者', label: '创建者',
@ -462,6 +463,7 @@ export const ScrapJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable: false
}, },
{ {
label: '最后更新时间', label: '最后更新时间',

35
src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts

@ -223,6 +223,41 @@ export const ScrapRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',

42
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRecordMain/sparepartsrequisitionRecordMain.data.ts

@ -388,6 +388,7 @@ export const UnplannedissueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable:false,
}, },
{ {
label: '创建者', label: '创建者',
@ -396,6 +397,41 @@ export const UnplannedissueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:false,
},
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
}, },
// { // {
// label: '代码', // label: '代码',
@ -484,7 +520,7 @@ export const UnplannedissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
label: '单据号', label: '单据号',
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
hiddenInMain:true, hiddenInMain:true,
table: { table: {
width: 180 width: 180
}, },
@ -672,7 +708,7 @@ export const UnplannedissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
// { // {
// label: '任务明细ID', // label: '任务明细ID',
@ -752,4 +788,4 @@ export const UnplannedissueRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

33
src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/transferissueRecordMain.data.ts

@ -287,6 +287,39 @@ export const TransferissueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
isTable:false,
isForm: false,
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isTable:false,
isForm: false,
},
{ {
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',

38
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/unplannedissueRecordMain.data.ts

@ -409,6 +409,40 @@ export const UnplannedissueRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -701,7 +735,7 @@ export const UnplannedissueRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
// { // {
// label: '任务明细ID', // label: '任务明细ID',
@ -781,4 +815,4 @@ export const UnplannedissueRecordDetailRules = reactive({
creator: [ creator: [
{ required: true, message: '请输入创建者', trigger: 'blur' } { required: true, message: '请输入创建者', trigger: 'blur' }
], ],
}) })

36
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts

@ -387,6 +387,40 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
width: 150 width: 150
}, },
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',
@ -833,4 +867,4 @@ export const UnplannedreceiptRecordDetailRules = reactive({
expireDate: [ expireDate: [
{ required: true, message: '请选择过期日期', trigger: 'change' } { required: true, message: '请选择过期日期', trigger: 'change' }
] ]
}) })

2
src/views/wms/issueManage/issue/issueJobMain/issueJobMain.data.ts

@ -178,7 +178,7 @@ export const IssueJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

2
src/views/wms/issueManage/pick/pickJobMain/pickJobMain.data.ts

@ -122,7 +122,7 @@ export const PickJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

2
src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/productionreceiptJobMain.data.ts

@ -146,7 +146,7 @@ export const ProductionreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

10
src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/productionreceiptRecordMain.data.ts

@ -77,7 +77,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
label: '执行时间', label: '执行时间',
field: 'executeTime', field: 'executeTime',
formatter: dateFormatter, formatter: dateFormatter,
detai: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
@ -98,7 +98,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
label: '生效日期', label: '生效日期',
field: 'activeDate', field: 'activeDate',
formatter: dateFormatter2, formatter: dateFormatter2,
detai: { detail: {
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD'
}, },
isTable: false, isTable: false,
@ -120,7 +120,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
label: '申请时间', label: '申请时间',
field: 'requestTime', field: 'requestTime',
formatter: dateFormatter, formatter: dateFormatter,
detai: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
@ -141,7 +141,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
label: '截止时间', label: '截止时间',
field: 'dueTime', field: 'dueTime',
formatter: dateFormatter, formatter: dateFormatter,
detai: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
@ -200,7 +200,7 @@ export const ProductionreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
formatter: dateFormatter, formatter: dateFormatter,
detai: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',

2
src/views/wms/issueManage/repleinsh/repleinshJobMain/repleinshJobMain.data.ts

@ -558,7 +558,7 @@ export const RepleinshJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

34
src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/inventorychangeRecordMain.data.ts

@ -194,6 +194,40 @@ export const InventorychangeRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false isTable: false
}, },
{
label: '最后更新时间',
field: 'updateTime',
sort: 'custom',
isDetail: true,
isForm: false,
isTable: false,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '最后更新者',
field: 'updater',
isDetail: true,
isForm: false,
isTable: false,
table: {
width: 150
}
},
// { // {
// label: '代码', // label: '代码',
// field: 'code', // field: 'code',

2
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -796,6 +796,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
hiddenInMain: true, hiddenInMain: true,
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
isTable: true
}, },
{ {
label: '创建时间', label: '创建时间',
@ -820,6 +821,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
isTable: true,
}, },
{ {
label: '是否可用', label: '是否可用',

3
src/views/wms/productionManage/productionplan/qadproductionplan/qadProductionPlanMain.data.ts

@ -48,6 +48,9 @@ export const QadProductionPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'planDate', field: 'planDate',
sort: 'custom', sort: 'custom',
formatter: dateFormatter2, formatter: dateFormatter2,
detail: {
dateFormat : 'YYYY-MM-DD'
},
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {

2
src/views/wms/productionManage/productputaway/productputawayJobMain/productputawayJobMain.data.ts

@ -148,7 +148,7 @@ export const ProductputawayJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '最后更新者', label: '最后更新者',
field: 'update', field: 'updater',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

12
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts

@ -485,12 +485,12 @@ export const ProductreceiptRequestMainRules = reactive({
workshopCode: [ workshopCode: [
{ required: true, message: '请选择车间代码', trigger: 'change' } { required: true, message: '请选择车间代码', trigger: 'change' }
], ],
team: [ // team: [
{ required: true, message: '请选择班组代码', trigger: 'change' } // { required: true, message: '请选择班组代码', trigger: 'change' }
], // ],
shift: [ // shift: [
{ required: true, message: '请选择班次代码', trigger: 'change' } // { required: true, message: '请选择班次代码', trigger: 'change' }
], // ],
dueTime: [ dueTime: [
{ required: true, message: '请选择截止时间', trigger: 'blur' } { required: true, message: '请选择截止时间', trigger: 'blur' }
], ],

Loading…
Cancel
Save