From 636e2cae8b77fd62496ba4d2006965f6376668f2 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 18 十一月 2025 17:41:35 +0800
Subject: [PATCH] yys 1.销售、采购关于发票的改成不必填 2.回款类型字典改-下 3.销售台账、采购台账可能不开票直接回款 4.销售台账要直接查产品名字 5.指标维护-内控值为非必填 6.所有税率都自己填,有时候可能不含税
---
src/views/salesManagement/receiptPayment/index.vue | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/views/salesManagement/receiptPayment/index.vue b/src/views/salesManagement/receiptPayment/index.vue
index e8b8b3b..995bd24 100644
--- a/src/views/salesManagement/receiptPayment/index.vue
+++ b/src/views/salesManagement/receiptPayment/index.vue
@@ -174,6 +174,17 @@
width="340"
/>
<el-table-column
+ label="鍥炴鐘舵��"
+ prop="statusName"
+ width="120"
+ >
+ <template #default="{ row }">
+ <el-tag :type="getStatusTagType(row.statusName)" disable-transitions>
+ {{ row.statusName || "--" }}
+ </el-tag>
+ </template>
+ </el-table-column>
+ <el-table-column
label="浜у搧澶х被"
prop="productCategory"
show-overflow-tooltip
@@ -426,6 +437,12 @@
const formattedNumber = (row, column, cellValue) => {
return parseFloat(cellValue).toFixed(2);
};
+
+const getStatusTagType = (statusName = '') => {
+ const normalized = statusName.trim();
+ if (!normalized) return 'info';
+ return normalized === '鏈畬鎴愬洖娆�' ? 'danger' : 'success';
+};
// 鏌ヨ鍒楄〃
/** 鎼滅储鎸夐挳鎿嶄綔 */
const handleQuery = () => {
--
Gitblit v1.9.3