From fbdb1d15b6cf692d27598806eee6be6f16e1f36d Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 22 九月 2023 17:54:55 +0800 Subject: [PATCH] 产品出入库明细接口联调、调拨列表接口联调、出入库搜索功能增加 --- src/views/overview/AddOverviewDialog.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/overview/AddOverviewDialog.vue b/src/views/overview/AddOverviewDialog.vue index 94908bd..b984d55 100644 --- a/src/views/overview/AddOverviewDialog.vue +++ b/src/views/overview/AddOverviewDialog.vue @@ -8,7 +8,7 @@ > <!-- 澶� --> <div slot="title" class="dialog-header"> - <span>{{ editCommonConfig.title + addName }}</span> + <span>{{ editCommonConfig.title === "鏌ョ湅" ? editCommonConfig.title : editCommonConfig.title + addName }}</span> <div class="header_btns"> <span class="btn"> <i class="el-icon-printer"></i> @@ -321,7 +321,7 @@ detailId: 0, isNoDetail: false, // 娣诲姞璇︽儏鏄庣粏琛屾椂鏄惁鏈�夋嫨 tableColumn: [], - receiptType: this.addName, // 鍏ュ簱绫诲瀷 + receiptType: "", // 鍏ュ簱绫诲瀷 companyObj: {}, contacterObj: {}, isValidateClick: false // 楠岃瘉鏄惁鏄剧ず @@ -333,6 +333,7 @@ this.setDetailTableForm() this.getCompanyList() this.getLocationList() + this.receiptType = this.editConfig.title === "鏌ョ湅" ? this.editConfig.infomation.operationTypeName : this.addName }, methods: { // 鑾峰彇鍏徃鍒楄〃 @@ -443,9 +444,9 @@ let contacterName = "" if (this.editConfig.title === "鏂板缓") { companyID = Object.keys(this.companyObj).length === 0 ? 0 : this.companyObj.value - companyName = Object.keys(this.companyObj).length === 0 ? 0 : this.companyObj.label + companyName = Object.keys(this.companyObj).length === 0 ? "" : this.companyObj.label contacterID = Object.keys(this.contacterObj).length === 0 ? 0 : this.contacterObj.value - contacterName = Object.keys(this.contacterObj).length === 0 ? 0 : this.contacterObj.label + contacterName = Object.keys(this.contacterObj).length === 0 ? "" : this.contacterObj.label } else { companyID = Object.keys(this.companyObj).length === 0 ? data.companyID : this.companyObj.value companyName = Object.keys(this.companyObj).length === 0 ? data.companyName : this.companyObj.label @@ -668,7 +669,7 @@ ::v-deep { .el-dialog__headerbtn { position: absolute; - top: 18px; + top: 15px; } .el-button { &:hover { -- Gitblit v1.8.0