Browse Source

供应商发货申请+ 查询

master_hella_20240701
yufei0306 7 months ago
parent
commit
9dc4cdb6b9
  1. 49
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

49
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -82,6 +82,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '要货计划单号', label: '要货计划单号',
field: 'ppNumber', field: 'ppNumber',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -118,6 +119,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '联系人姓名', label: '联系人姓名',
field: 'contactName', field: 'contactName',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -126,6 +128,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '联系人电话', label: '联系人电话',
field: 'contactPhone', field: 'contactPhone',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -134,6 +137,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '联系人电子邮件', label: '联系人电子邮件',
field: 'contactEmail', field: 'contactEmail',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -142,6 +146,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '供应商发货仓库代码', label: '供应商发货仓库代码',
field: 'fromWarehouseCode', field: 'fromWarehouseCode',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -156,6 +161,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '到仓库代码', label: '到仓库代码',
field: 'toWarehouseCode', field: 'toWarehouseCode',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -165,6 +171,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '到月台代码', label: '到月台代码',
field: 'toDockCode', field: 'toDockCode',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -174,6 +181,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '时间窗口', label: '时间窗口',
field: 'timeWindow', field: 'timeWindow',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -190,6 +198,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 180 width: 180
}, },
isTable:false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -204,6 +213,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '承运商', label: '承运商',
field: 'carrierCode', field: 'carrierCode',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -213,6 +223,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
field: 'transferMode', field: 'transferMode',
dictType: DICT_TYPE.TRANSFER_MODE, dictType: DICT_TYPE.TRANSFER_MODE,
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -221,6 +232,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '车牌号', label: '车牌号',
field: 'vehiclePlateNumber', field: 'vehiclePlateNumber',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -256,6 +268,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 180 width: 180
}, },
@ -274,6 +287,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 150 width: 150
}, },
@ -287,6 +301,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 180 width: 180
}, },
@ -309,6 +324,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 180 width: 180
}, },
@ -353,7 +369,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: true,
isForm:false, isForm:false,
isSearch: true, isSearch: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -373,6 +389,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
sort: 'custom', sort: 'custom',
isTable:false,
table: { table: {
width: 180 width: 180
}, },
@ -394,6 +411,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
table: { table: {
width: 150 width: 150
}, },
isTable:false,
isForm: false isForm: false
}, },
{ {
@ -401,7 +419,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
field: 'autoCommit', field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable:false,
sort: 'custom', sort: 'custom',
isForm:false, isForm:false,
table: { table: {
@ -422,7 +440,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
field: 'autoAgree', field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -443,7 +461,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
field: 'autoExecute', field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
@ -554,12 +572,13 @@ export const SupplierdeliverRequestMainRules = reactive({
*/ */
export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '订单号', label: '采购订单号',
field: 'poNumber', field: 'poNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch:true,
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
componentProps: { componentProps: {
@ -626,6 +645,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
label: '物料代码', label: '物料代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
isSearch:true,
table: { table: {
width: 150 width: 150
}, },
@ -645,6 +665,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
tableForm: { tableForm: {
disabled: true disabled: true
} }
@ -705,6 +726,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
dateFormat: 'YYYY-MM-DD' dateFormat: 'YYYY-MM-DD'
}, },
sort: 'custom', sort: 'custom',
hiddenInMain:true,
table: { table: {
width: 180 width: 180
}, },
@ -728,6 +750,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
{ {
label: '过期日期', label: '过期日期',
hiddenInMain:true,
field: 'expireDate', field: 'expireDate',
formatter: dateFormatter2, formatter: dateFormatter2,
detail: { detail: {
@ -782,6 +805,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
form: { form: {
component: 'InputNumber', component: 'InputNumber',
componentProps: { componentProps: {
@ -802,6 +826,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
label: '供应商计量数量', label: '供应商计量数量',
field: 'supplierPackQty', field: 'supplierPackQty',
sort: 'custom', sort: 'custom',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },
@ -825,6 +850,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
field: 'supplierPackUnit', field: 'supplierPackUnit',
dictType: DICT_TYPE.UOM, dictType: DICT_TYPE.UOM,
dictClass: 'string', dictClass: 'string',
hiddenInMain:true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -838,6 +864,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
{ {
label: '转换率', label: '转换率',
hiddenInMain:true,
field: 'convertRate', field: 'convertRate',
sort: 'custom', sort: 'custom',
table: { table: {
@ -858,6 +885,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
}, },
{ {
label: '单据号', label: '单据号',
hiddenInMain:true,
field: 'number', field: 'number',
sort: 'custom', sort: 'custom',
table: { table: {
@ -893,6 +921,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
@ -903,6 +932,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
@ -913,6 +943,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
@ -923,6 +954,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
@ -933,6 +965,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
@ -943,6 +976,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
@ -953,6 +987,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
}, },
hiddenInMain:true,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -976,6 +1011,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
}, },
@ -995,6 +1031,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
valueFormat: 'x', valueFormat: 'x',
} }
}, },
hiddenInMain:true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 180
@ -1009,6 +1046,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:true,
isTableForm: false, isTableForm: false,
isForm: false, isForm: false,
}, },
@ -1016,6 +1054,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
hiddenInMain:true,
table: { table: {
width: 150 width: 150
}, },

Loading…
Cancel
Save