修改异常托盘处理的页面参数

master
LAPTOP-R6EHHS26\86155 2 years ago
parent 835b057dbc
commit 4eed3ca9c4

@ -76,6 +76,7 @@ import { BasePage } from '@/components/base/page';
import model from './model'; import model from './model';
import chooseOne from '@/components/choose-one/choose-one.vue'; import chooseOne from '@/components/choose-one/choose-one.vue';
import jPicker from '@/components/J-Picker/jPicker.vue'; import jPicker from '@/components/J-Picker/jPicker.vue';
import { session } from '@/store/modules/session';
//import { session } from '@/store/modules/session'; //import { session } from '@/store/modules/session';
//import store from '@/store'; //import store from '@/store';
@Component({ @Component({
@ -219,9 +220,9 @@ export default class ChangePalletNew extends BasePage {
//location: this.location, //location: this.location,
destinationAddress: this.DestinationList.value, // destinationAddress: this.DestinationList.value, //
sourceAddress: this.productCodeList.value, sourceAddress: this.productCodeList.value,
factory: session.FactoryCode,
//productionState: this.productCodeList.value, //productionState: this.productCodeList.value,
}; };
await this.model.palletInforUpdate(params); await this.model.palletInforUpdate(params);
if (model.SubmitCode == 200) { if (model.SubmitCode == 200) {
this.uni.showToast({ title: '成功' }); this.uni.showToast({ title: '成功' });

@ -21,6 +21,7 @@ module.exports = {
}, },
'/api': { '/api': {
//target: 'http://192.168.3.93:81', //target: 'http://192.168.3.93:81',
// target: 'http://127.0.0.1:5001',
target: 'http://192.168.202.23:5001', target: 'http://192.168.202.23:5001',
changeOrigin: true, changeOrigin: true,
// pathRewrite: { // pathRewrite: {

Loading…
Cancel
Save