|
|
@ -34,8 +34,63 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
isSearch: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '调增金额', |
|
|
|
field: 'adjustAmount', |
|
|
|
label: '金额', |
|
|
|
field: 'amount', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '税率', |
|
|
|
field: 'taxRate', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '税额', |
|
|
|
field: 'taxAmount', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '税后金额', |
|
|
|
field: 'afterTaxAmount', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '索赔金额', |
|
|
|
field: 'claimAmount', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '折扣金额', |
|
|
|
field: 'discountAmount', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
@ -44,6 +99,48 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '调整税额', |
|
|
|
field: 'adjustingTaxAmount', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '金税票号', |
|
|
|
field: 'goldenTaxInvoiceNumber', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '快递单号', |
|
|
|
field: 'expressTrackingNumber', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '发票时间', |
|
|
|
field: 'invoiceTime', |
|
|
|
isTable: true, |
|
|
|
formatter: dateFormatter, |
|
|
|
deatil: { |
|
|
|
dateFormatter: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '业务类型', |
|
|
|
field:'businessType', |
|
|
@ -226,16 +323,16 @@ export const SupplierinvoiceRecordMainRules = reactive({ |
|
|
|
*/ |
|
|
|
export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '收货单号', |
|
|
|
field: 'recordNumber', |
|
|
|
label: '项目编号', |
|
|
|
field: 'projectCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '批次', |
|
|
|
field: 'batch', |
|
|
|
label: '单据类型', |
|
|
|
field: 'billType', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
@ -265,6 +362,22 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '发货单号', |
|
|
|
field: 'asnBillNum', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '供应商代码', |
|
|
|
field: 'supplierCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物料代码', |
|
|
|
field: 'itemCode', |
|
|
@ -274,19 +387,16 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '计量单位', |
|
|
|
field: 'uom', |
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
label: '物料名称', |
|
|
|
field: 'itemName', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '数量', |
|
|
|
field: 'qty', |
|
|
|
label: '货币', |
|
|
|
field: 'currency', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
@ -304,8 +414,32 @@ export const SupplierinvoiceRecordDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '金额', |
|
|
|
field: 'amount', |
|
|
|
label: '采购价格', |
|
|
|
field: 'purchasePrice', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '收货日期', |
|
|
|
field: 'deliveryDate', |
|
|
|
isTable: true, |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '开票数量', |
|
|
|
field: 'invoicableQuantity', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|