Browse Source

WMS列表筛选调整

master_hella_20240701
TengXF 5 months ago
parent
commit
753739ce05
  1. 4
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts
  2. 4
      src/views/wms/productionManage/productdismantle/productdismantleRecordMain/productdismantleRecordMain.data.ts
  3. 23
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  4. 23
      src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts
  5. 23
      src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts
  6. 23
      src/views/wms/productionManage/productionplan/productionMainPredictSparePart/productionMainPredictSparePart.data.ts
  7. 31
      src/views/wms/productionManage/productionplan/qadproductionplan/qadProductionPlanMain.data.ts
  8. 8
      src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts
  9. 4
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts
  10. 8
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/productreceiptscrapRecordMain.data.ts
  11. 4
      src/views/wms/productionManage/productredress/productredressJobMain/productredressJobMain.data.ts
  12. 4
      src/views/wms/productionManage/productredress/productredressRecordMain/productredressRecordMain.data.ts
  13. 4
      src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts
  14. 4
      src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts
  15. 46
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

4
src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

@ -745,7 +745,7 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isSearch: true,
isSearch: false,
isTable:false,
sortSearchDefault:6,
sortTableDefault:1100,
@ -864,7 +864,7 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '备注',
field: 'remark',

4
src/views/wms/productionManage/productdismantle/productdismantleRecordMain/productdismantleRecordMain.data.ts

@ -190,7 +190,7 @@ export const ProductdismantleRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '创建者',
field: 'creator',
sort: 'custom',
isTable: true,
isTable: false,
table: {
width: 150
},
@ -206,7 +206,7 @@ export const ProductdismantleRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 180
},
isTable: true,
isTable: false,
form: {
component: 'DatePicker',
componentProps: {

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

@ -204,17 +204,17 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '物料代码',
field: 'detailItemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
isTable: false,
isForm: false
},
// {
// label: '物料代码',
// field: 'detailItemCode',
// sort: 'custom',
// isSearch: true,
// table: {
// width: 150
// },
// isTable: false,
// isForm: false
// },
{
label: '计划数量',
field: 'detailPlanQty',
@ -610,6 +610,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '物料代码',
field: 'itemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},

23
src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts

@ -195,17 +195,17 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '物料代码',
field: 'detailItemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
isTable: false,
isForm: false
},
// {
// label: '物料代码',
// field: 'detailItemCode',
// sort: 'custom',
// isSearch: true,
// table: {
// width: 150
// },
// isTable: false,
// isForm: false
// },
{
label: '计划数量',
field: 'detailPlanQty',
@ -601,6 +601,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '物料代码',
field: 'itemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},

23
src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts

@ -195,17 +195,17 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '物料代码',
field: 'detailItemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
isTable: false,
isForm: false
},
// {
// label: '物料代码',
// field: 'detailItemCode',
// sort: 'custom',
// isSearch: true,
// table: {
// width: 150
// },
// isTable: false,
// isForm: false
// },
{
label: '计划数量',
field: 'detailPlanQty',
@ -601,6 +601,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '物料代码',
field: 'itemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},

23
src/views/wms/productionManage/productionplan/productionMainPredictSparePart/productionMainPredictSparePart.data.ts

@ -196,17 +196,17 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
{
label: '物料代码',
field: 'detailItemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
isTable: false,
isForm: false
},
// {
// label: '物料代码',
// field: 'detailItemCode',
// sort: 'custom',
// isSearch: true,
// table: {
// width: 150
// },
// isTable: false,
// isForm: false
// },
{
label: '计划数量',
field: 'detailPlanQty',
@ -602,6 +602,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '物料代码',
field: 'itemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},

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

@ -1,5 +1,6 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter2 } from '@/utils/formatTime'
import { dateFormatter } from '@/utils/formatTime'
// 表单校验
export const QadProductionPlanMainRules = reactive({
@ -71,6 +72,36 @@ export const QadProductionPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
component: 'SelectV2'
},
},
{
label: '创建时间',
field: 'createTime',
isForm: false,
table: {
width: 180
},
formatter: dateFormatter,
detail: {
dateFormat : 'YYYY-MM-DD HH:mm:ss'
},
form: {
component: 'DatePicker',
componentProps: {
style: {width:'100%'},
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
}
},
{
label: '创建者',
field: 'creator',
table: {
width: 130
},
isForm: false,
isTable: true
},
// {
// label: '备注',
// field: 'remark',

8
src/views/wms/productionManage/productreceipt/productreceiptRecordMain/productreceiptRecordMain.data.ts

@ -229,7 +229,7 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: true,
isTable: false,
},
{
label: '创建时间',
@ -238,7 +238,7 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 180
@ -671,7 +671,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -688,7 +688,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable: false,
isTable: true,
},
// {
// label: '任务明细ID',

4
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/productreceiptAssembleRecordMain.data.ts

@ -676,7 +676,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -693,7 +693,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable: false,
isTable: true,
},
// {
// label: '任务明细ID',

8
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/productreceiptscrapRecordMain.data.ts

@ -217,7 +217,7 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: true,
isTable: false,
},
{
label: '创建时间',
@ -230,7 +230,7 @@ export const ProductreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: true,
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
@ -665,7 +665,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 180
},
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -682,7 +682,7 @@ export const ProductreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable: false,
isTable: true,
},
// {

4
src/views/wms/productionManage/productredress/productredressJobMain/productredressJobMain.data.ts

@ -659,7 +659,7 @@ export const ProductredressJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable:false,
isTable:true,
hiddenInMain:true,
},
{
@ -673,7 +673,7 @@ export const ProductredressJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable:false,
isTable:true,
hiddenInMain:true,
form: {
component: 'DatePicker',

4
src/views/wms/productionManage/productredress/productredressRecordMain/productredressRecordMain.data.ts

@ -568,7 +568,7 @@ export const ProductredressRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: {
width: 150
},
isTable:false,
isTable:true,
hiddenInMain: true,
},
{
@ -592,7 +592,7 @@ export const ProductredressRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
}
},
isForm: false,
isTable:false,
isTable:true,
hiddenInMain: true,
},
{

4
src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts

@ -575,7 +575,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
},
isTableForm: false,
isForm: false,
isTable:false,
isTable:true,
hiddenInMain:true
},
{
@ -589,7 +589,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: {
width: 180
},
isTable:false,
isTable:true,
hiddenInMain:true,
form: {
component: 'DatePicker',

4
src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts

@ -809,7 +809,7 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
width: 180
},
hiddenInMain: true,
isTable: false,
isTable: true,
form: {
component: 'DatePicker',
componentProps: {
@ -830,7 +830,7 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
width: 150
},
hiddenInMain: true,
isTable: false,
isTable: true,
isTableForm: false,
isForm: false
},

46
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

@ -1279,29 +1279,29 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm:false,
isForm:false
},
{
label: '接口类型',
field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string',
isSearch: true,
isTable: true,
hiddenInMain: true,
sort: 'custom',
table: {
width: 150
},
tableForm:{
disabled:true
},
isForm:false,
isTableForm:false,
form: {
componentProps:{
disabled:true
}
},
},
// {
// label: '接口类型',
// field: 'interfaceType',
// dictType: DICT_TYPE.INTERFACE_TYPE,
// dictClass: 'string',
// isSearch: true,
// isTable: true,
// hiddenInMain: true,
// sort: 'custom',
// table: {
// width: 150
// },
// tableForm:{
// disabled:true
// },
// isForm:false,
// isTableForm:false,
// form: {
// componentProps:{
// disabled:true
// }
// },
// },
{
label: '备注',
field: 'remark',

Loading…
Cancel
Save