diff --git a/common/env.js b/common/env.js index 1846005..2f125ea 100644 --- a/common/env.js +++ b/common/env.js @@ -12,7 +12,7 @@ export const ENV = { VERSION: '1.0.0', // 测试模式开关(true:使用 Mock 数据,false:使用真实 API) - TEST_MODE: true, + TEST_MODE: false, // URL 调试模式(显示请求信息) DEBUG_URL: true, diff --git a/common/wmsApi.js b/common/wmsApi.js index 8955ad4..42afee0 100644 --- a/common/wmsApi.js +++ b/common/wmsApi.js @@ -66,10 +66,11 @@ export const WmsApiClient = { return unwrapResponse(res, '获取物料列表失败'); }, - async rawStockIn({ vehicleNo, standId, timeout = 10000 }) { + async rawStockIn({ vehicleNo, standId, orderInType, timeout = 10000 }) { const payload = { vehicleNo, selectByIn: standId, + orderInType, }; const res = await httpPost(buildUrl('/addInByTask'), payload, { timeout }); return unwrapResponse(res, '原材料入库失败'); diff --git a/pages/home/index.vue b/pages/home/index.vue index 5e02097..19d0d2d 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -1,4 +1,4 @@ -