|
@ -35,6 +35,17 @@ import { tr } from 'element-plus/es/locale' |
|
|
* @returns {Array} 供应商发货申请主表 |
|
|
* @returns {Array} 供应商发货申请主表 |
|
|
*/ |
|
|
*/ |
|
|
export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
{ |
|
|
|
|
|
label: '发货单号', |
|
|
|
|
|
field: 'asnNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180, |
|
|
|
|
|
fixed: 'left' |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isForm: false |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '单据号', |
|
|
label: '单据号', |
|
|
field: 'number', |
|
|
field: 'number', |
|
@ -43,6 +54,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
width: 180, |
|
|
width: 180, |
|
|
fixed: 'left' |
|
|
fixed: 'left' |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
}, |
|
|
}, |
|
@ -53,7 +65,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
sortTableDefault:2, |
|
|
isTable:false, |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
@ -68,16 +80,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
// {
|
|
|
|
|
|
// label: '发货单号',
|
|
|
|
|
|
// field: 'asnNumber',
|
|
|
|
|
|
// sort: 'custom',
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 150
|
|
|
|
|
|
// },
|
|
|
|
|
|
// isSearch: true,
|
|
|
|
|
|
// isForm: true
|
|
|
|
|
|
// },
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '要货计划单号', |
|
|
label: '要货计划单号', |
|
|
field: 'ppNumber', |
|
|
field: 'ppNumber', |
|
@ -86,7 +89,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
sortTableDefault:1, |
|
|
sortTableDefault:9, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -144,6 +147,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
label: '采购订单', |
|
|
label: '采购订单', |
|
|
field: 'poNumber', |
|
|
field: 'poNumber', |
|
|
isForm:true, |
|
|
isForm:true, |
|
|
|
|
|
isTable:false, |
|
|
isTableForm:false, |
|
|
isTableForm:false, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
@ -163,7 +167,8 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
isTable:false, |
|
|
isTable:true, |
|
|
|
|
|
sortTableDefault:6, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -412,6 +417,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
sortTableDefault:2, |
|
|
form: { |
|
|
form: { |
|
|
value: '1', |
|
|
value: '1', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -609,70 +615,7 @@ export const SupplierdeliverRequestMainRules = reactive({ |
|
|
* @returns {Array} 供应商发货申请子表 |
|
|
* @returns {Array} 供应商发货申请子表 |
|
|
*/ |
|
|
*/ |
|
|
export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
|
|
|
label: '采购订单号', |
|
|
|
|
|
field: 'poNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch:true, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, |
|
|
|
|
|
searchListPlaceholder: '请选择订单号', |
|
|
|
|
|
searchField: 'number', |
|
|
|
|
|
searchTitle: '要货计划信息', |
|
|
|
|
|
searchAllSchemas: PurchasePlanDetail.allSchemas, |
|
|
|
|
|
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage, |
|
|
|
|
|
searchCondition: [ |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'number', |
|
|
|
|
|
value: 'ppNumber', |
|
|
|
|
|
message: '请填写要货计划单号!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'flag', |
|
|
|
|
|
value: 1, |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择订单号', |
|
|
|
|
|
searchField: 'number', |
|
|
|
|
|
searchTitle: '要货计划信息', |
|
|
|
|
|
searchAllSchemas: PurchasePlanDetail.allSchemas, |
|
|
|
|
|
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage, |
|
|
|
|
|
searchCondition: [ |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'number', |
|
|
|
|
|
value: 'ppNumber', |
|
|
|
|
|
message: '请填写要货计划单号!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'flag', |
|
|
|
|
|
value: 1, |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '订单行', |
|
|
label: '订单行', |
|
|
field: 'poLine', |
|
|
field: 'poLine', |
|
@ -697,7 +640,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
sortTableDefault:2, |
|
|
sortTableDefault:3, |
|
|
form: { |
|
|
form: { |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
disabled: true |
|
|
disabled: true |
|
@ -714,7 +657,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
sortTableDefault:2, |
|
|
sortTableDefault:4, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -739,6 +682,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
sortTableDefault:7, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -761,6 +705,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
sortTableDefault:8, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
disabled: false |
|
|
disabled: false |
|
|
} |
|
|
} |
|
@ -784,12 +729,12 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
disabled: true, |
|
|
disabled: true, |
|
|
type: 'InputNumber', |
|
|
type: 'InputNumber', |
|
|
precision: 6 |
|
|
precision: 6 |
|
|
}, |
|
|
}, |
|
|
sortTableDefault:4, |
|
|
|
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -810,7 +755,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
type: 'InputNumber', |
|
|
type: 'InputNumber', |
|
|
precision: 6 |
|
|
precision: 6 |
|
|
}, |
|
|
}, |
|
|
sortTableDefault:4, |
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -1022,7 +967,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
dictType: DICT_TYPE.UOM, |
|
|
dictType: DICT_TYPE.UOM, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
sortTableDefault:3, |
|
|
sortTableDefault:5, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -1031,7 +976,73 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
type: 'Select' |
|
|
type: 'Select' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '采购订单号', |
|
|
|
|
|
field: 'poNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch:true, |
|
|
|
|
|
sortTableDefault:10, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled:true, |
|
|
|
|
|
// isSearchList: true,
|
|
|
|
|
|
searchListPlaceholder: '请选择订单号', |
|
|
|
|
|
searchField: 'number', |
|
|
|
|
|
searchTitle: '要货计划信息', |
|
|
|
|
|
searchAllSchemas: PurchasePlanDetail.allSchemas, |
|
|
|
|
|
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage, |
|
|
|
|
|
searchCondition: [ |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'number', |
|
|
|
|
|
value: 'ppNumber', |
|
|
|
|
|
message: '请填写要货计划单号!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'flag', |
|
|
|
|
|
value: 1, |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled:true, |
|
|
|
|
|
isInpuFocusShow: false, |
|
|
|
|
|
searchListPlaceholder: '请选择订单号', |
|
|
|
|
|
searchField: 'number', |
|
|
|
|
|
searchTitle: '要货计划信息', |
|
|
|
|
|
searchAllSchemas: PurchasePlanDetail.allSchemas, |
|
|
|
|
|
searchPage: PurchasePlanDetailApi.getPurchasePlanDetailPage, |
|
|
|
|
|
searchCondition: [ |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'number', |
|
|
|
|
|
value: 'ppNumber', |
|
|
|
|
|
message: '请填写要货计划单号!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'flag', |
|
|
|
|
|
value: 1, |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从货主代码', |
|
|
label: '从货主代码', |
|
|
field: 'fromOwnerCode', |
|
|
field: 'fromOwnerCode', |
|
|