Browse Source

代开票页面调整

hella_online_20240913
songguoqiang 1 week ago
parent
commit
0fa6deb956
  1. 4
      src/api/wms/supplierinvoiceRequestDetail/index.ts
  2. 56
      src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts

4
src/api/wms/supplierinvoiceRequestDetail/index.ts

@ -44,9 +44,9 @@ export const getPoNumberPoLineInfo = async (params) => {
if (params.isSearch) { if (params.isSearch) {
delete params.isSearch delete params.isSearch
const data = {...params} const data = {...params}
return await request.post({ url: `/wms/supplierinvoice-request-detail/getPoNumbersenior`, data}) return await request.post({ url: `/wms/supplierinvoice-request-detail/getInvoicedSenior`, data})
}else{ }else{
return await request.get({ url: `/wms/supplierinvoice-request-detail/getPoNumberPoLineInfo`, params}) return await request.get({ url: `/wms/supplierinvoice-request-detail/getInvoicedPage`, params})
} }
} }

56
src/views/wms/supplierManage/supplierinvoiceInvoiced/supplierinvoiceInvoiced.data.ts

@ -143,25 +143,25 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ // {
label: '发票申请状态', // label: '发票申请状态',
field: 'requestStatus', // field: 'requestStatus',
dictType: DICT_TYPE.INVOICE_REQUEST_STATUS, // dictType: DICT_TYPE.INVOICE_REQUEST_STATUS,
dictClass: 'string', // dictClass: 'string',
isTable: true, // isTable: true,
isForm:false, // isForm:false,
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
isSearch: false, // isSearch: false,
form: { // form: {
value: '1', // value: '1',
componentProps: { // componentProps: {
disabled: true // disabled: true
} // }
} // }
}, // },
{ {
@ -181,13 +181,29 @@ export const SupplierinvoiceInvoiced = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '可开票数', label: '票据总数',
field: 'invoicableQuantity', field: 'invoicableQuantity',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
}, },
{
label: '实际开票数量',
field: 'issuedInvoicableQuantity',
sort: 'custom',
table: {
width: 150
},
},
{
label: '可开票数量',
field: 'invoiceAvailableQuantity',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '零件号', label: '零件号',
field: 'itemCode', field: 'itemCode',

Loading…
Cancel
Save