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: {