From 19f73dc4a398c5d89b6568ede10bf2804a43bbf8 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期三, 22 四月 2026 14:00:00 +0800
Subject: [PATCH] 阳光彩印web 修改销售合同号为订单编号
---
src/views/procurementManagement/paymentEntry/index.vue | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/views/procurementManagement/paymentEntry/index.vue b/src/views/procurementManagement/paymentEntry/index.vue
index 5ee8d17..ca2bcab 100644
--- a/src/views/procurementManagement/paymentEntry/index.vue
+++ b/src/views/procurementManagement/paymentEntry/index.vue
@@ -4,11 +4,11 @@
<el-form :inline="true" :model="searchForm" style="width: 100%">
<el-row justify="space-between">
<el-col :span="20">
- <el-form-item label="渚涘簲鍟嗗悕绉�/鍚堝悓鍙�">
+ <el-form-item label="渚涘簲鍟嗗悕绉�/璁㈠崟缂栧彿">
<el-input
v-model="searchForm.supplierNameOrContractNo"
style="width: 240px"
- placeholder="杈撳叆渚涘簲鍟嗗悕绉�/鍚堝悓鍙锋悳绱�"
+ placeholder="杈撳叆渚涘簲鍟嗗悕绉�/璁㈠崟缂栧彿鎼滅储"
clearable
prefix-icon="Search"
@change="handleQuery"
@@ -144,7 +144,7 @@
>
<el-table-column type="index" label="搴忓彿" width="50" align="center"/>
<el-table-column label="閲囪喘鍚堝悓鍙�" prop="purchaseContractNumber" show-overflow-tooltip />
- <el-table-column label="閿�鍞悎鍚屽彿" prop="salesContractNo" show-overflow-tooltip />
+ <el-table-column label="璁㈠崟缂栧彿" prop="salesContractNo" show-overflow-tooltip />
<el-table-column label="渚涘簲鍟嗗悕绉�" prop="supplierName" show-overflow-tooltip />
<el-table-column
label="浜у搧澶х被"
@@ -254,14 +254,13 @@
width:160
},
{
- label: "閿�鍞悎鍚屽彿",
+ label: "璁㈠崟缂栧彿",
prop: "salesContractNo",
width:160
},
{
label: "渚涘簲鍟嗗悕绉�",
prop: "supplierName",
- width:240
},
{
label: "浠樻鐘舵��",
@@ -282,7 +281,6 @@
label: "浜у搧澶х被",
prop: "productCategory",
showOverflowTooltip: true,
- width: 100
},
{
label: "瑙勬牸鍨嬪彿",
@@ -293,17 +291,15 @@
{
label: "宸蹭粯娆鹃噾棰�(鍏�)",
prop: "ticketsTotal",
- width: 120,
formatData: (params) => {
- return params ? parseFloat(params).toFixed(2) : 0;
+ return params ? parseFloat(params).toFixed(3) : 0;
},
},
{
label: "寰呬粯娆鹃噾棰�(鍏�)",
prop: "pendingTicketsTotal",
- width: 120,
formatData: (params) => {
- return params ? parseFloat(params).toFixed(2) : 0;
+ return params ? parseFloat(params).toFixed(3) : 0;
},
},
]);
@@ -327,6 +323,8 @@
searchForm: {
supplierNameOrContractNo: "",
status: false,
+ // 鍙煡璇㈠鎵圭姸鎬佷负 3 鐨勮褰�
+ approvalStatus: 3,
},
form: {
purchaseContractNumber: "",
@@ -364,7 +362,7 @@
const formattedNumber = (row, column, cellValue) => {
const val = Number(cellValue ?? 0);
- return Number.isFinite(val) ? val.toFixed(2) : "0.00";
+ return Number.isFinite(val) ? val.toFixed(3) : "0.00";
};
// 瀛愯〃鍚堣鏂规硶
const summarizeMainTable1 = (param) => {
@@ -372,6 +370,8 @@
param,
["ticketsTotal", "pendingTicketsTotal"],
{
+ ticketsTotal: { decimalPlaces: 3 },
+ pendingTicketsTotal: { decimalPlaces: 3 },
ticketsNum: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
futureTickets: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
}
@@ -380,6 +380,7 @@
// 瀛愯〃鍚堣鏂规硶
const summarizeMainTable2 = (param) => {
return proxy.summarizeTable(param, ["currentPaymentAmount"], {
+ currentPaymentAmount: { decimalPlaces: 3 },
ticketsNum: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
futureTickets: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁�
});
--
Gitblit v1.9.3