From 424296e52fa7b2f93b1488bdf6fa52151332a3ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Wed, 27 Nov 2024 15:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/entry/qualified-to-store.vue | 6 +++--- utils/getData2.js | 8 ++++---- vuex/modules/user.js | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pages/entry/qualified-to-store.vue b/pages/entry/qualified-to-store.vue index 7df4d47..9ff7380 100644 --- a/pages/entry/qualified-to-store.vue +++ b/pages/entry/qualified-to-store.vue @@ -29,15 +29,15 @@ 订单号 - {{currentData.MONumber}} + {{currentData.moNumber}} 组织 - {{currentData.StockOrgId}} + {{currentData.stockOrgId}} 货主 - {{currentData.OwnerId_Id}} + {{currentData.ownerId_id}} 物料编码 diff --git a/utils/getData2.js b/utils/getData2.js index 46cf958..a226aee 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -224,19 +224,19 @@ export const outStorageConfirm = (obj) => request({ // 扫描合格证获取物料信息 export const getCertificateInfo = (id) => request({ - url:'api/pda/outStorage/getCertificateInfo/' + id, + url:'api/pda/inStorage/getCertificateInfo/' + id, method: 'GET' }) // export const getCertificateInfo = (id) => { // let res = { -// MONumber: '订单号', +// moNumber: '订单号', // material_code: 'material_code', // material_name: 'material_name', // material_spec: 'material_spec', // unit_name: 'unit_name', // qty: '100', -// StockOrgId: 'StockOrgId', -// OwnerId_Id: 'OwnerId_Id', +// stockOrgId: 'StockOrgId', +// ownerId_id: 'OwnerId_Id', // single_weight: '500', // pcsn: 'pcsn' // } diff --git a/vuex/modules/user.js b/vuex/modules/user.js index 995dbca..cc4275c 100644 --- a/vuex/modules/user.js +++ b/vuex/modules/user.js @@ -1,7 +1,7 @@ import * as types from '../types' -const baseUrl = process.env.NODE_ENV === 'development' ? 'http://10.1.3.90:8010' : 'http://10.1.3.90:8010' -const acsUrl = process.env.NODE_ENV === 'development' ? 'http://10.1.3.90:8010' : 'http://10.1.3.90:8010' +const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.18.250:8012' : 'http://192.168.18.250:8012' +const acsUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.18.250:8012' : 'http://192.168.18.250:8012' const state = { baseUrl: uni.getStorageSync('baseUrl') || baseUrl, acsUrl: uni.getStorageSync('acsUrl') || acsUrl,