From ca56bf22820d13898e64ca683cc03927dfc4459d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 06 八月 2026 10:24:37 +0800
Subject: [PATCH] 新疆_马铃薯 1.原材料和过程检验的检测公司赋默认值
---
src/views/salesManagement/receiptPaymentLedger/index.vue | 36 +++++++++++++++++++++++++++++++++++-
1 files changed, 35 insertions(+), 1 deletions(-)
diff --git a/src/views/salesManagement/receiptPaymentLedger/index.vue b/src/views/salesManagement/receiptPaymentLedger/index.vue
index abcef02..4c55846 100644
--- a/src/views/salesManagement/receiptPaymentLedger/index.vue
+++ b/src/views/salesManagement/receiptPaymentLedger/index.vue
@@ -42,6 +42,26 @@
show-overflow-tooltip
:formatter="formattedNumber"
width="150" />
+ <el-table-column label="鏀舵閲戦(鍏�)"
+ prop="receiptPaymentAmount"
+ show-overflow-tooltip
+ :formatter="formattedNumber"
+ width="150" />
+ <el-table-column label="搴旀敹閲戦(鍏�)"
+ prop="receiptableAmount"
+ show-overflow-tooltip
+ width="150">
+ <template #default="{ row }">
+ <span :style="{ color: row.receiptableAmount > 0 ? '#f56c6c' : '#606266' }">
+ {{ formattedNumber(null, null, row.receiptableAmount) }}
+ </span>
+ </template>
+ </el-table-column>
+ <el-table-column label="鎿嶄綔" width="100" align="center" fixed="right">
+ <template #default="{ row }">
+ <el-button type="primary" link size="small" @click="viewDetail(row)">鏌ョ湅鏄庣粏</el-button>
+ </template>
+ </el-table-column>
<!-- <el-table-column label="搴旀敹閲戦(鍏�)"-->
<!-- prop="receiptableAmount"-->
<!-- show-overflow-tooltip-->
@@ -75,8 +95,12 @@
label="搴忓彿"
type="index"
width="60" />
- <el-table-column label="閿�鍞鍗�"
+ <el-table-column label="璁㈠崟鍙�"
prop="salesContractNo"
+ show-overflow-tooltip
+ width="150" />
+ <el-table-column label="閿�鍞�诲悎鍚屽彿"
+ prop="masterContractNo"
show-overflow-tooltip
width="150" />
<!-- <el-table-column label="鍙戣揣璁㈠崟鍙�"
@@ -145,6 +169,7 @@
<script setup>
import { onMounted, ref, reactive, toRefs, getCurrentInstance } from "vue";
+ import { useRouter } from "vue-router";
import {
customewTransactions,
} from "@/api/salesManagement/indicatorStats.js";
@@ -152,6 +177,7 @@
import Pagination from "../../../components/PIMTable/Pagination.vue";
const { proxy } = getCurrentInstance();
+ const router = useRouter();
const tableData = ref([]);
const orderRecord = ref([]);
const tableLoading = ref(false);
@@ -265,6 +291,14 @@
getOrderList(customerId.value);
};
+ // 鏌ョ湅鏄庣粏
+ const viewDetail = (row) => {
+ router.push({
+ path: '/customer-transactions-detail',
+ query: { customerId: row.customerId }
+ });
+ };
+
// 瀹℃牳鐘舵�佹爣绛剧被鍨�
const getApprovalStatusType = (status) => {
const statusMap = {
--
Gitblit v1.9.3