From cb60883b26e26bc0be104413c8285c2510cf459f Mon Sep 17 00:00:00 2001 From: anthonywj Date: Wed, 14 Jun 2023 11:37:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=B4=AD=E6=96=B0=E5=A2=9E=E5=A4=87?= =?UTF-8?q?=E6=B3=A8=E5=AD=97=E6=AE=B5=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchase/purApply/purApplyEditDiaolog.vue | 6 +- .../purApply/purOrderSelectProduct.vue | 59 ++++++++++++++----- .../purOrder/purOrderSelectProduct.vue | 10 +++- 3 files changed, 55 insertions(+), 20 deletions(-) diff --git a/src/views/purchase/purApply/purApplyEditDiaolog.vue b/src/views/purchase/purApply/purApplyEditDiaolog.vue index 2ceb8074..98b30516 100644 --- a/src/views/purchase/purApply/purApplyEditDiaolog.vue +++ b/src/views/purchase/purApply/purApplyEditDiaolog.vue @@ -97,7 +97,7 @@ 产品录入 - + @@ -297,7 +297,7 @@ export default { if (this.formData.arrivalTime == "" || this.formData.arrivalTime == null) { return this.$message.error("到货时间不能为空!"); } - if (this.formData.arrivalTime - + @@ -12,26 +12,26 @@ - - + - - - @@ -39,24 +39,39 @@ - - - + - + + + + + + + + + + + + + @@ -109,7 +124,6 @@ > - - {{ item }} + {{ + item + }} + @@ -144,6 +161,7 @@ import {filterCompanyProductplanRelevance, filterCompanyProductRelevance} from " import {addApplyDetail, addApply} from "../../../api/purchase/purApply"; import store from "../../../store"; import udiRlDetailDialog from "./../../purchase/purApply/purUdiRlDetailDialog"; +import {finProductSet} from "@/api/param/systemParamConfig"; export default { name: "stockOrderNewSelectProduct", @@ -211,6 +229,7 @@ export default { orderIdFk: "", supId: "", }, + productRemarkSet: {}, pickerOptions: { shortcuts: [ { @@ -401,13 +420,19 @@ export default { this.multipleSelection.zczbhhzbapzbh = this.currentCert; this.combine(); } - + }, + findBasicProductSet() { + finProductSet().then((response) => { + if (response.code == 20000) { + this.productRemarkSet = response.data; + } + }); }, }, components: {udiRlDetailDialog}, created() { - console.log(this.data) + this.findBasicProductSet(); if (this.$isNotBlank(this.data)) { this.ids = []; if (this.data.stockOrderLists.length > 0) { @@ -416,13 +441,17 @@ export default { } } } - }, };