Browse Source

WMS列表筛选调整

master_hella_20240701
滕晓飞 8 months ago
parent
commit
753739ce05
  1. 2
      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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -1,5 +1,6 @@
import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
import { dateFormatter2 } from '@/utils/formatTime' import { dateFormatter2 } from '@/utils/formatTime'
import { dateFormatter } from '@/utils/formatTime'
// 表单校验 // 表单校验
export const QadProductionPlanMainRules = reactive({ export const QadProductionPlanMainRules = reactive({
@ -71,6 +72,36 @@ export const QadProductionPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
component: 'SelectV2' 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: '备注', // label: '备注',
// field: 'remark', // field: 'remark',

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

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

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

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

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

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

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

@ -568,7 +568,7 @@ export const ProductredressRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isTable:false, isTable:true,
hiddenInMain: true, hiddenInMain: true,
}, },
{ {
@ -592,7 +592,7 @@ export const ProductredressRecordDetail = useCrudSchemas(reactive<CrudSchema[]>(
} }
}, },
isForm: false, isForm: false,
isTable:false, isTable:true,
hiddenInMain: 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, isTableForm: false,
isForm: false, isForm: false,
isTable:false, isTable:true,
hiddenInMain:true hiddenInMain:true
}, },
{ {
@ -589,7 +589,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: { table: {
width: 180 width: 180
}, },
isTable:false, isTable:true,
hiddenInMain:true, hiddenInMain:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',

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

@ -809,7 +809,7 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
width: 180 width: 180
}, },
hiddenInMain: true, hiddenInMain: true,
isTable: false, isTable: true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -830,7 +830,7 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
width: 150 width: 150
}, },
hiddenInMain: true, hiddenInMain: true,
isTable: false, isTable: true,
isTableForm: false, isTableForm: false,
isForm: 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, isTableForm:false,
isForm:false isForm:false
}, },
{ // {
label: '接口类型', // label: '接口类型',
field: 'interfaceType', // field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE, // dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string', // dictClass: 'string',
isSearch: true, // isSearch: true,
isTable: true, // isTable: true,
hiddenInMain: true, // hiddenInMain: true,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
tableForm:{ // tableForm:{
disabled:true // disabled:true
}, // },
isForm:false, // isForm:false,
isTableForm:false, // isTableForm:false,
form: { // form: {
componentProps:{ // componentProps:{
disabled:true // disabled:true
} // }
}, // },
}, // },
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',

Loading…
Cancel
Save