Browse Source

备件收货申请

master_hella_20240701
yufei0306 10 months ago
parent
commit
0097333b38
  1. 42
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts

42
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts

@ -47,9 +47,9 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
width: 180, width: 180,
fixed: 'left' fixed: 'left'
}, },
sortSearchDefault:1,
isForm: false, isForm: false,
isSearch: true, isSearch: true,
sortSearchDefault:1
}, },
{ {
label: '采购订单号', label: '采购订单号',
@ -96,26 +96,26 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 180 width: 180
}, },
isForm: true,
sortTableDefault:2,
sortSearchDefault:3,
isSearch:true, isSearch:true,
sortSearchDefault:3,
isForm: true,
sortTableDefault:2
}, },
{ {
label: '供应商代码', label: '供应商代码',
field: 'supplierCode', field: 'supplierCode',
sort: 'custom', sort: 'custom',
sortTableDefault:1,
table: { table: {
width: 150 width: 150
}, },
sortSearchDefault:2,
sortTableDefault:1,
isSearch: true, isSearch: true,
sortSearchDefault:2,
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 disabled: true,
isSearchList: false, // 开启查询弹窗
searchListPlaceholder: '请选择供应商代码', // 输入框占位文本 searchListPlaceholder: '请选择供应商代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '供应商信息', // 查询弹窗标题 searchTitle: '供应商信息', // 查询弹窗标题
@ -177,6 +177,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isSearch: false,
}, },
{ {
label: '车牌号', label: '车牌号',
@ -195,7 +196,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
// width: 150 // width: 150
// }, // },
// form: { // form: {
// value: 'spare_PartsReceipt', // value: 'ASN_ExternalReceipt',
// componentProps: { // componentProps: {
// disabled: true // disabled: true
// } // }
@ -206,21 +207,21 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '从仓库代码', label: '从仓库代码',
field: 'fromWarehouseCode', field: 'fromWarehouseCode',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable:false
}, },
{ {
label: '到仓库代码', label: '到仓库代码',
field: 'toWarehouseCode', field: 'toWarehouseCode',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable:false
}, },
{ {
label: '从库区类型范围', label: '从库区类型范围',
@ -250,31 +251,31 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '从库区代码范围', label: '从库区代码范围',
field: 'fromAreaCodes', field: 'fromAreaCodes',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable:false
}, },
{ {
label: '到库区代码范围', label: '到库区代码范围',
field: 'toAreaCodes', field: 'toAreaCodes',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable:false
}, },
{ {
label: '到月台代码', label: '到月台代码',
field: 'toDockCode', field: 'toDockCode',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 150 width: 150
}, },
isForm: false, isForm: false,
isTable:false
}, },
{ {
label: '业务类型', label: '业务类型',
@ -321,8 +322,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable:false,
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '创建者', label: '创建者',
@ -331,8 +332,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm: false, isForm: false,
isTable: false,
}, },
{ {
label: '申请时间', label: '申请时间',
@ -354,8 +355,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
valueFormat: 'x', valueFormat: 'x',
} }
}, },
isTable:false,
isForm: false, isForm: false,
isTable: false,
}, },
// { // {
// label: '截止时间', // label: '截止时间',
@ -406,6 +407,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
field: 'status', field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS, dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string', dictClass: 'string',
isSearch: false,
isTable: true, isTable: true,
sortTableDefault:3, sortTableDefault:3,
isForm:false, isForm:false,
@ -426,8 +428,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: false, isTable: false,
sort: 'custom',
isForm:false, isForm:false,
sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
@ -507,15 +509,15 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
{ {
label: '标签状态', label: '标签状态',
field: 'labelStatus', field: 'labelStatus',
sort: 'custom',
dictType: DICT_TYPE.LABEL_STATUS, dictType: DICT_TYPE.LABEL_STATUS,
dictClass: 'string', dictClass: 'string',
sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isForm: false, isForm: false,
isSearch: false,
isTable: false, isTable: false,
isSearch: false,
}, },
{ {
label: '操作', label: '操作',

Loading…
Cancel
Save