From 1d8a79d7a7e4902984b110f0cee5083b6f88557a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 21 九月 2026 10:55:13 +0800
Subject: [PATCH] 新疆-融邦 1.销售订单根据类别修改展示字段 2.销售台账新增时选择完客户提示一下当前客户的信托基金额度
---
src/views/salesManagement/salesLedger/index.vue | 28 ++++++++++++++++++++++++++--
1 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/src/views/salesManagement/salesLedger/index.vue b/src/views/salesManagement/salesLedger/index.vue
index 01e853b..1d2ca3e 100644
--- a/src/views/salesManagement/salesLedger/index.vue
+++ b/src/views/salesManagement/salesLedger/index.vue
@@ -284,7 +284,7 @@
show-overflow-tooltip
/>
<el-table-column
- label="浜や粯鏃ユ湡"
+ :label="activeTab === '浠e偍' ? '瀛樺偍鏃ユ湡' : '浜や粯鏃ユ湡'"
prop="deliveryDate"
width="120"
show-overflow-tooltip
@@ -469,6 +469,10 @@
}}
</el-option>
</el-select>
+ <!-- 閫変腑瀹㈡埛鍚庡睍绀哄叾淇℃墭鍩洪噾锛屼究浜庡垽鏂唬鍌ㄥ悎鍚岄噾棰濇槸鍚﹁秴闄� -->
+ <div v-if="customerTrustFundText" class="customer-trust-fund-tip">
+ 璇ュ鎴蜂俊鎵樺熀閲�(鍏�)锛歿{ customerTrustFundText }}
+ </div>
</el-form-item>
</el-col>
<el-col :span="12">
@@ -547,7 +551,10 @@
</el-row>
<el-row :gutter="30">
<el-col :span="12">
- <el-form-item label="浜よ揣鏃ユ湡锛�" prop="entryDate">
+ <el-form-item
+ :label="form.ledgerType === '浠e偍' ? '瀛樺偍鏃ユ湡锛�' : '浜よ揣鏃ユ湡锛�'"
+ prop="entryDate"
+ >
<el-date-picker
style="width: 100%"
v-model="form.deliveryDate"
@@ -1422,6 +1429,13 @@
});
const { form, rules } = toRefs(data);
const { form: searchForm } = useFormData(data.searchForm);
+// 閫変腑瀹㈡埛鐨勪俊鎵樺熀閲戝睍绀哄�硷紙瀹㈡埛鏈淮鎶ゆ椂涓虹┖锛屼笉灞曠ず锛�
+const customerTrustFundText = computed(() => {
+ const fund = selectedCustomerTrustFund.value;
+ if (fund === null || fund === undefined || fund === "") return "";
+ const amount = Number(fund);
+ return Number.isNaN(amount) ? String(fund) : amount.toFixed(2);
+});
// 浠e偍鍚堝悓閲戦瓒呬俊鎵樺熀閲戯紙瀹㈡埛鏈淮鎶や俊鎵樺熀閲戞椂涓嶆彁绀猴級
const isContractOverTrustFund = computed(() => {
const fund = selectedCustomerTrustFund.value;
@@ -2077,6 +2091,8 @@
// 濡傛灉鎵句笉鍒帮紝淇濈暀鍘熷�硷紙鍏佽鐢ㄦ埛鎵嬪姩閫夋嫨/涓嶆墦鏂凡鏈夎緭鍏ワ級
form.value.customerId = form.value.customerId || "";
}
+ // 瀹㈡埛鏄唬鐮佽祴鍊笺�佷笉浼氳Е鍙戜笅鎷夌殑 change锛岃繖閲屾墜鍔ㄥ埛涓�娆′俊鎵樺熀閲戞彁绀�
+ loadCustomerTrustFund();
// 浜у搧淇℃伅鏄犲皠锛氭姤浠� products -> 鍙拌处 productData
const products = Array.isArray(row.products) ? row.products : [];
@@ -3271,6 +3287,14 @@
width: 100%;
}
+/* 閫変腑瀹㈡埛鍚庣殑淇℃墭鍩洪噾鎻愮ず */
+.customer-trust-fund-tip {
+ margin-top: 4px;
+ font-size: 12px;
+ line-height: 1.6;
+ color: #1d6fd8;
+}
+
.ledger-tabs {
margin-bottom: 8px;
}
--
Gitblit v1.9.3