Browse Source

YT-2009客户对账单、销售开票申请,新增带出的明细不正确,太多明细显示不全,应加分页

intex_online20250311
张立 4 months ago
parent
commit
fe23ea5151
  1. 4
      src/components/TableForm/src/TableForm.vue
  2. 2
      src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue

4
src/components/TableForm/src/TableForm.vue

@ -398,7 +398,7 @@
style="margin-top: 10px" style="margin-top: 10px"
v-model:current-page="currentPage" v-model:current-page="currentPage"
v-model:page-size="pageSize" v-model:page-size="pageSize"
:page-sizes="[1, 2, 3, 10]" :page-sizes="[10, 20, 30, 50, 100]"
:small="true" :small="true"
:background="false" :background="false"
layout="total, sizes, prev, pager, next, jumper" layout="total, sizes, prev, pager, next, jumper"
@ -707,7 +707,7 @@ const visibleChange = (field, val, row, index) => {
emit('visibleChange', field, val, row, index) emit('visibleChange', field, val, row, index)
} }
const currentPage = ref(1) const currentPage = ref(1)
const pageSize = ref(2) const pageSize = ref(20)
const showTableData = () => { const showTableData = () => {
if (props.tableData.length > 1) { if (props.tableData.length > 1) {
return props.tableData.slice( return props.tableData.slice(

2
src/views/wms/deliversettlementManage/customerSaleInvoiceRequestMain/CustomerSaleInvoiceBasicForm.vue

@ -263,7 +263,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV['customerName'] = val[0]['customerName'] setV['customerName'] = val[0]['customerName']
CustomerStatementDetailApi.getCustomerStatementDetailPage({ CustomerStatementDetailApi.getCustomerStatementDetailPage({
pageNo:1, pageNo:1,
pageNSize: 100, pageNSize: 5000,
masterId:val[0]['id'] masterId:val[0]['id']
}).then((res) => { }).then((res) => {
console.log(55,res) console.log(55,res)

Loading…
Cancel
Save