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,