From de4d85757f63a0c77b24b670b76495e3d932c984 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Tue, 7 May 2024 09:20:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData.js | 5 +++-- src/i18n/langs/en.js | 2 ++ src/i18n/langs/zh.js | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/config/getData.js b/src/config/getData.js index 8124aae..b5617a4 100644 --- a/src/config/getData.js +++ b/src/config/getData.js @@ -13,9 +13,10 @@ export const clickSave = (code) => post('api/home/clickSave', { // 1.1 查询站点 export const queryPoint = () => post('api/task/queryPoint', {}) // 1.2 选择站点确认 -export const confirmPoint = (code, type) => post('api/task/confirmPoint', { +export const confirmPoint = (code, type, ncode) => post('api/task/confirmPoint', { point_code: code, - type: type + type: type, // 对应按钮:type=1: | type=2 + next_point_code: ncode }) // 1.3查询任务列表 export const queryTaskList = () => post('api/task/queryTaskList', {}) diff --git a/src/i18n/langs/en.js b/src/i18n/langs/en.js index 6a0d5cf..3526f8a 100644 --- a/src/i18n/langs/en.js +++ b/src/i18n/langs/en.js @@ -21,6 +21,8 @@ module.exports = { carrypoint: { topinfo: 'Carry Point', dialoginfo: 'Confirm Position', + dialogtip: 'If Select Return Site', + returnsite: 'Return Site', pointcode: 'Point Code', button1: 'Auto Pickup', button2: 'Auto Release', diff --git a/src/i18n/langs/zh.js b/src/i18n/langs/zh.js index 1c586b5..cf9f793 100644 --- a/src/i18n/langs/zh.js +++ b/src/i18n/langs/zh.js @@ -21,6 +21,8 @@ module.exports = { carrypoint: { topinfo: '搬运起点', dialoginfo: '确定点位', + dialogtip: '是否选择返回点', + returnsite: '返回点', pointcode: '点位编码', button1: '自动取货', button2: '自动放货',