Browse Source

代开票页面调整

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

Loading…
Cancel
Save