From ad3bba959c6fc67495b38d9c694cba897b43f2e1 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Tue, 18 Jul 2023 09:26:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E5=A4=87=E6=A1=88=E8=AF=81?= =?UTF-8?q?=E5=8F=B7=E4=B8=BA=E7=A9=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inner/innerOrderSelectProduct.vue | 8 +- .../purApply/purOrderSelectProduct.vue | 683 +++++++-------- .../purArrival/purArrivalSelectProduct.vue | 8 +- .../purDelivery/purDeliverySelectProduct.vue | 58 +- .../purOrder/purOrderOrderSelectProduct.vue | 785 +++++++++--------- .../purOrder/purOrderSelectProduct.vue | 8 +- .../purPlan/purOrderSelectProduct.vue | 681 +++++++-------- .../purPlan/purPlanOrderSelectProduct.vue | 780 ++++++++--------- 8 files changed, 1530 insertions(+), 1481 deletions(-) diff --git a/src/views/inventory/inner/innerOrderSelectProduct.vue b/src/views/inventory/inner/innerOrderSelectProduct.vue index 1fd614d..b57b77b 100644 --- a/src/views/inventory/inner/innerOrderSelectProduct.vue +++ b/src/views/inventory/inner/innerOrderSelectProduct.vue @@ -109,7 +109,10 @@ - {{ item }} + {{ + item + }} + @@ -128,6 +131,7 @@ import {addApplyDetail, addApply} from "../../../api/purchase/purApply"; import store from "../../../store"; import udiRlDetailDialog from "./../../purchase/purApply/purUdiRlDetailDialog"; import {addOrderDetail} from "@/api/inventory/innerOrder"; +import {isBlank} from "@/utils/strUtil"; export default { name: "stockOrderNewSelectProduct", @@ -324,7 +328,7 @@ export default { } } let str = this.multipleSelection.zczbhhzbapzbh; - if (str.search(",") != -1) { + if (!isBlank(str) && str.search(",") != -1) { this.currentCert = null; this.certList = str.split(','); this.dialogFormVisible = true; diff --git a/src/views/purchase/purApply/purOrderSelectProduct.vue b/src/views/purchase/purApply/purOrderSelectProduct.vue index 843cd58..ff519b7 100644 --- a/src/views/purchase/purApply/purOrderSelectProduct.vue +++ b/src/views/purchase/purApply/purOrderSelectProduct.vue @@ -1,375 +1,384 @@ @@ -377,10 +386,10 @@ export default { div /deep/ .el-table .warning-row { - background: #bebebe; + background: #bebebe; } div /deep/ .el-table .success-row { - background: #ffffff; + background: #ffffff; } diff --git a/src/views/purchase/purArrival/purArrivalSelectProduct.vue b/src/views/purchase/purArrival/purArrivalSelectProduct.vue index d1551e9..bd5672e 100644 --- a/src/views/purchase/purArrival/purArrivalSelectProduct.vue +++ b/src/views/purchase/purArrival/purArrivalSelectProduct.vue @@ -104,7 +104,10 @@ - {{ item }} + {{ + item + }} + @@ -121,6 +124,7 @@ import {filterCompanyProductRelevance} from "../../../api/basic/udiRlSuptRelevance"; import {addOrderDetail} from "@/api/purchase/purArrival" import udiRlDetailDialog from "./../../purchase/purApply/purUdiRlDetailDialog"; +import {isBlank} from "@/utils/strUtil"; export default { name: "stockOrderNewSelectProduct", @@ -317,7 +321,7 @@ export default { } } let str = this.multipleSelection.zczbhhzbapzbh; - if (str.search(",") != -1) { + if (!isBlank(str) && str.search(",") != -1) { this.currentCert = null; this.certList = str.split(','); this.dialogFormVisible = true; diff --git a/src/views/purchase/purDelivery/purDeliverySelectProduct.vue b/src/views/purchase/purDelivery/purDeliverySelectProduct.vue index 72112a6..7e5ce02 100644 --- a/src/views/purchase/purDelivery/purDeliverySelectProduct.vue +++ b/src/views/purchase/purDelivery/purDeliverySelectProduct.vue @@ -1,16 +1,18 @@