feat(合同/客户): 添加发货单据展示功能

在合同和客户详情页新增发货单据标签页,展示wmsDeliveryWaybills数据
移除CustomerOrder中未使用的getSummary方法和相关代码
This commit is contained in:
砂糖
2026-04-11 16:24:04 +08:00
parent b4dc0ed9e4
commit 4beaf79fd6
4 changed files with 32 additions and 48 deletions

View File

@@ -26,6 +26,7 @@
<div class="tab-panel" ref="tabPanel" style="flex: 1; overflow-y: auto;">
<ContractTabs :contractId="form.contractId"
:customerId="form.customerId" :financeList="financeList" :objectionList="objectionList"
:wmsDeliveryWaybills="wmsDeliveryWaybills"
:coilList="coilList" :tabLoading="tabLoading"
:contract-attachment="form.businessAnnex"
:technical-agreement="form.techAnnex"
@@ -157,7 +158,6 @@ import ContractPreview from "./components/ContractPreview.vue";
import ContractTabs from "./components/ContractTabs.vue";
import ProductContent from "./components/ProductContent.vue";
import CustomerSelect from "@/components/KLPService/CustomerSelect/index.vue";
import { formatAreaTextEnhanced } from '@/components/ChinaAreaSelect/index.js'
export default {
name: "Contract",
@@ -166,12 +166,13 @@ export default {
ContractPreview,
ContractTabs,
ProductContent,
CustomerSelect
CustomerSelect,
},
data() {
return {
financeList: [],
objectionList: [],
wmsDeliveryWaybills: [],
coilList: [],
loading: false,
tabLoading: false,
@@ -319,6 +320,7 @@ export default {
listContractOrderObjection(row.contractId).then(response => {
this.financeList = response.data.financeList || [];
this.objectionList = response.data.oobjectionList || [];
this.wmsDeliveryWaybills = response.data.wmsDeliveryWaybills || [];
}).finally(() => {
this.tabLoading = false;
})