From 4eed3ca9c42aa819d748dd618171e2db855db63e Mon Sep 17 00:00:00 2001 From: "LAPTOP-R6EHHS26\\86155" <2217640373@qq.com> Date: Tue, 31 Oct 2023 17:03:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=82=E5=B8=B8=E6=89=98?= =?UTF-8?q?=E7=9B=98=E5=A4=84=E7=90=86=E7=9A=84=E9=A1=B5=E9=9D=A2=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mes/Pallethandling/index.vue | 3 ++- vue.config.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/mes/Pallethandling/index.vue b/src/pages/mes/Pallethandling/index.vue index eae7662..e8dd559 100644 --- a/src/pages/mes/Pallethandling/index.vue +++ b/src/pages/mes/Pallethandling/index.vue @@ -76,6 +76,7 @@ import { BasePage } from '@/components/base/page'; import model from './model'; import chooseOne from '@/components/choose-one/choose-one.vue'; import jPicker from '@/components/J-Picker/jPicker.vue'; +import { session } from '@/store/modules/session'; //import { session } from '@/store/modules/session'; //import store from '@/store'; @Component({ @@ -219,9 +220,9 @@ export default class ChangePalletNew extends BasePage { //location: this.location, destinationAddress: this.DestinationList.value, //库位,其中 库位是根据选择的缓存区来查询的 sourceAddress: this.productCodeList.value, + factory: session.FactoryCode, //productionState: this.productCodeList.value, }; - await this.model.palletInforUpdate(params); if (model.SubmitCode == 200) { this.uni.showToast({ title: '成功' }); diff --git a/vue.config.js b/vue.config.js index 63ac076..dcac11a 100644 --- a/vue.config.js +++ b/vue.config.js @@ -21,6 +21,7 @@ module.exports = { }, '/api': { //target: 'http://192.168.3.93:81', + // target: 'http://127.0.0.1:5001', target: 'http://192.168.202.23:5001', changeOrigin: true, // pathRewrite: {