|
|
@ -874,83 +874,26 @@ export const SupplierinvoiceRequestMainRules = reactive({ |
|
|
|
*/ |
|
|
|
export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '订单号', |
|
|
|
field: 'poNumber', |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
sortTableDefault:7, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '订单行', |
|
|
|
field: 'poLine', |
|
|
|
label: '物料代码', |
|
|
|
field: 'itemCode', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
multiple:true,//多选
|
|
|
|
isSearchList: true, |
|
|
|
searchListPlaceholder: '请选择订单行', |
|
|
|
searchField: 'poLine', |
|
|
|
searchTitle: '待开票列表', |
|
|
|
searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas, |
|
|
|
searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'supplierCode', |
|
|
|
value: 'supplierCode', |
|
|
|
message: '请填供应商信息!', |
|
|
|
isMainValue: true |
|
|
|
},{ |
|
|
|
key: 'orderType', |
|
|
|
value: 'orderType', |
|
|
|
message: '请填订单类型!', |
|
|
|
isMainValue: true |
|
|
|
} |
|
|
|
] |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
multiple:true,//多选
|
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择订单行', |
|
|
|
searchField: 'poLine', |
|
|
|
searchTitle: '待开票列表', |
|
|
|
searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas, |
|
|
|
searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'supplierCode', |
|
|
|
value: 'supplierCode', |
|
|
|
message: '请填供应商信息!', |
|
|
|
isMainValue: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'orderType', |
|
|
|
value: 'orderType', |
|
|
|
message: '请填订单类型!', |
|
|
|
isMainValue: true |
|
|
|
} |
|
|
|
] |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '待开票单据号', |
|
|
|
field: 'recvBillNum', |
|
|
|
label: '物料名称', |
|
|
|
field: 'itemName', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:9, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
@ -961,40 +904,55 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '单据类型', |
|
|
|
field: 'billType', |
|
|
|
label: '物料描述', |
|
|
|
field: 'itemDesc', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
isForm:false, |
|
|
|
isTableForm:false, |
|
|
|
isDetail: false, |
|
|
|
isTable: true, |
|
|
|
}, |
|
|
|
//仅是主列表页面的筛选搜索条件
|
|
|
|
{ |
|
|
|
label: '收货日期', |
|
|
|
field: 'deliveryDate', |
|
|
|
sort: 'custom', |
|
|
|
isDetail:false, |
|
|
|
isTable: false, |
|
|
|
isForm:false, |
|
|
|
isTableForm:false, |
|
|
|
isSearch:true, |
|
|
|
formatter: dateFormatter, |
|
|
|
search: { |
|
|
|
value:[], |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
valueFormat: 'YYYY-MM-DD', |
|
|
|
type: 'daterange', |
|
|
|
defaultTime: [new Date('1 '), new Date('1 ')] |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商发货单号', |
|
|
|
field: 'asnBillNum', |
|
|
|
label: '收货日期', |
|
|
|
field: 'deliveryDate', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:8, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
formatter: dateFormatter2, |
|
|
|
isForm:false, |
|
|
|
isTableForm:true, |
|
|
|
isDetail: false, |
|
|
|
isTable: true, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
disabled:true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商代码', |
|
|
|
field: 'supplierCode', |
|
|
|
hiddenInMain:true, |
|
|
|
label: '可开票数量', |
|
|
|
field: 'invoicableQuantity', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
@ -1069,46 +1027,92 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '未税差额', |
|
|
|
field: 'untaxedDifference', |
|
|
|
formatter: accountantFormart, |
|
|
|
label: '到货数量', |
|
|
|
field: 'arrivalQty', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm:false, |
|
|
|
isTableForm:true, |
|
|
|
isDetail: false, |
|
|
|
isTable: true, |
|
|
|
tableForm:{ |
|
|
|
disabled:true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '订单号', |
|
|
|
field: 'poNumber', |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
componentProps: { |
|
|
|
precision: 6, |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
type: 'InputNumber', |
|
|
|
min: 0, |
|
|
|
precision: 6, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '含税差额', |
|
|
|
field: 'taxInclusiveDifference', |
|
|
|
formatter: accountantFormart, |
|
|
|
label: '订单行', |
|
|
|
field: 'poLine', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
precision: 6, |
|
|
|
multiple:true,//多选
|
|
|
|
isSearchList: true, |
|
|
|
searchListPlaceholder: '请选择订单行', |
|
|
|
searchField: 'poLine', |
|
|
|
searchTitle: '待开票列表', |
|
|
|
searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas, |
|
|
|
searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'supplierCode', |
|
|
|
value: 'supplierCode', |
|
|
|
message: '请填供应商信息!', |
|
|
|
isMainValue: true |
|
|
|
},{ |
|
|
|
key: 'orderType', |
|
|
|
value: 'orderType', |
|
|
|
message: '请填订单类型!', |
|
|
|
isMainValue: true |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
type: 'InputNumber', |
|
|
|
min: 0, |
|
|
|
precision: 6, |
|
|
|
multiple:true,//多选
|
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择订单行', |
|
|
|
searchField: 'poLine', |
|
|
|
searchTitle: '待开票列表', |
|
|
|
searchAllSchemas: PurchaseReceiptOrReturnRecordDetail.allSchemas, |
|
|
|
searchPage: supplierinvoiceRequestDetailApi.getPoNumberPoLineInfo, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'supplierCode', |
|
|
|
value: 'supplierCode', |
|
|
|
message: '请填供应商信息!', |
|
|
|
isMainValue: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'orderType', |
|
|
|
value: 'orderType', |
|
|
|
message: '请填订单类型!', |
|
|
|
isMainValue: true |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '可开票数量', |
|
|
|
field: 'invoicableQuantity', |
|
|
|
label: '待开票单据号', |
|
|
|
field: 'recvBillNum', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
@ -1122,12 +1126,11 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料代码', |
|
|
|
field: 'itemCode', |
|
|
|
label: '单据类型', |
|
|
|
field: 'billType', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:3, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
@ -1138,69 +1141,77 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料描述', |
|
|
|
field: 'itemDesc', |
|
|
|
label: '供应商发货单号', |
|
|
|
field: 'asnBillNum', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:4, |
|
|
|
isForm:false, |
|
|
|
isTableForm:false, |
|
|
|
isDetail: false, |
|
|
|
isTable: true, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '到货数量', |
|
|
|
field: 'arrivalQty', |
|
|
|
label: '供应商代码', |
|
|
|
field: 'supplierCode', |
|
|
|
hiddenInMain:true, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
sortTableDefault:6, |
|
|
|
isForm:false, |
|
|
|
isTableForm:true, |
|
|
|
isDetail: false, |
|
|
|
isTable: true, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled:true |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '物料名称', |
|
|
|
field: 'itemName', |
|
|
|
label: '未税差额', |
|
|
|
field: 'untaxedDifference', |
|
|
|
formatter: accountantFormart, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
precision: 6, |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
tableForm: { |
|
|
|
type: 'InputNumber', |
|
|
|
min: 0, |
|
|
|
precision: 6, |
|
|
|
} |
|
|
|
}, |
|
|
|
//仅是主列表页面的筛选搜索条件
|
|
|
|
{ |
|
|
|
label: '收货日期', |
|
|
|
field: 'deliveryDate', |
|
|
|
sort: 'custom', |
|
|
|
isDetail:false, |
|
|
|
isTable: false, |
|
|
|
isForm:false, |
|
|
|
isTableForm:false, |
|
|
|
isSearch:true, |
|
|
|
formatter: dateFormatter, |
|
|
|
search: { |
|
|
|
value:[], |
|
|
|
component: 'DatePicker', |
|
|
|
label: '含税差额', |
|
|
|
field: 'taxInclusiveDifference', |
|
|
|
formatter: accountantFormart, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
componentProps: { |
|
|
|
valueFormat: 'YYYY-MM-DD', |
|
|
|
type: 'daterange', |
|
|
|
defaultTime: [new Date('1 '), new Date('1 ')] |
|
|
|
precision: 6, |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
type: 'InputNumber', |
|
|
|
min: 0, |
|
|
|
precision: 6, |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
//仅是主列表页面的筛选搜索条件
|
|
|
|
{ |
|
|
|
label: '创建时间', |
|
|
@ -1224,22 +1235,7 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '收货日期', |
|
|
|
field: 'deliveryDate', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
formatter: dateFormatter2, |
|
|
|
sortTableDefault:5, |
|
|
|
isForm:false, |
|
|
|
isTableForm:true, |
|
|
|
isDetail: false, |
|
|
|
isTable: true, |
|
|
|
tableForm:{ |
|
|
|
disabled:true |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '货币', |
|
|
|
field: 'currency', |
|
|
|