From 11d97ba2942cc3a58f901031ff6cdf7809d48e20 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Thu, 9 Feb 2023 15:06:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E8=B0=83=E9=87=87=E8=B4=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/request.js | 4 ++-- pages/purchase/specs.vue | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/common/request.js b/common/request.js index f8499ae..fa7c5ea 100644 --- a/common/request.js +++ b/common/request.js @@ -2,9 +2,9 @@ import store from "@/store" export function host(host='default',suffix='/plant_manage'){ var url=process.env.NODE_ENV === 'development'?{ - // default:`http://e5ruv4.natappfree.cc` //陈 + default:`http://59syiv.natappfree.cc` //陈 // default:`http://nys8cm.natappfree.cc` //马 - default:`http://4gg9xn.natappfree.cc` //何 + // default:`http://4gg9xn.natappfree.cc` //何 // default:`http://192.168.0.116:8080` //孙 }:{ default:`` diff --git a/pages/purchase/specs.vue b/pages/purchase/specs.vue index 6f73e6a..33849ca 100644 --- a/pages/purchase/specs.vue +++ b/pages/purchase/specs.vue @@ -199,7 +199,7 @@ closeOnClickOverlay @close="show=false" @cancel="show=false" - @confirm="searchStock($event.value[0].id);formData.goodsSpecification=$event.value[0].value;show=false"/> + @confirm="searchStock($event.value[0].id);formData.goodsSpecification=$event.value[0].value;formData.specificationId=$event.value[0].id;show=false"/> @@ -220,6 +220,7 @@ export default{ dressingUnit:"", show:false, formData:{ + goodsId:"", goodsName:"", goodsSpecification:"", num:"", @@ -243,7 +244,7 @@ export default{ }, async onLoad(options){ this.eventChannel=this.getOpenerEventChannel() - this.formData.specificationId=options.id + this.formData.goodsId=options.id await this.searchGoods() this.goodsList.forEach(v=>{ if(v.id==options.id){