diff --git a/src/api/production-master-data/process-routing.js b/src/api/production-master-data/process-routing.js index 61f8adb6..2238012d 100644 --- a/src/api/production-master-data/process-routing.js +++ b/src/api/production-master-data/process-routing.js @@ -4,7 +4,7 @@ const BASE = 'production_configuration/technology_model/technology_flow/' function apiParams (method, data = {}) { return { - method: `production_master_data_process_model_process_routing_${method}`, + method: `production_configuration_technology_model_technology_flow_${method}`, platform: 'background', ...data } diff --git a/src/locales/en.json b/src/locales/en.json index b6410559..e4b41b3c 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -242,9 +242,19 @@ "tip": "Tip", "confirm_delete": "Are you sure to delete this step?", "operation_success": "Operation succeeded", + "validation_fail": "Validation failed", "length_1_100": "Length must be 1-100 characters", "batch_bound_no_move": "Batch bound, cannot move", "select_category": "Please select a category", + "rest_time": "Rest Time", + "enter_rest_time": "Please enter rest time", + "precision_range": "Precision Range", + "enter_precision_range": "Please enter precision range", + "minute": "Minute", + "integer_ge_0": "Please enter an integer greater than or equal to 0", + "input_empty": "Input cannot be empty", + "json_format_error": "Invalid JSON format", + "enter_setting_json": "Please enter setting JSON", "log_operation_step": "Operation step: ", "search": "Search", "query": "Query", diff --git a/src/locales/zh-chs.json b/src/locales/zh-chs.json index 56566da6..5015c21e 100644 --- a/src/locales/zh-chs.json +++ b/src/locales/zh-chs.json @@ -242,9 +242,19 @@ "tip": "提示", "confirm_delete": "确定要删除该工序吗?", "operation_success": "操作成功", + "validation_fail": "校验失败", "length_1_100": "长度在 1 到 100 个字符", "batch_bound_no_move": "已绑定批次,不可移动", "select_category": "请选择流程类别", + "rest_time": "静置时间", + "enter_rest_time": "请输入静置时间", + "precision_range": "精度范围", + "enter_precision_range": "请输入精度范围", + "minute": "分钟", + "integer_ge_0": "请输入大于等于 0 的整数", + "input_empty": "输入内容不能为空", + "json_format_error": "JSON 格式不正确", + "enter_setting_json": "请输入设定值 JSON", "log_operation_step": "操作工序:", "search": "搜索", "query": "查询", diff --git a/src/views/production-master-data/process-model/process-routing-card/components/calculation-script.vue b/src/views/production-master-data/process-model/process-routing-card/components/calculation-script.vue index 3f248683..2eed03ea 100644 --- a/src/views/production-master-data/process-model/process-routing-card/components/calculation-script.vue +++ b/src/views/production-master-data/process-model/process-routing-card/components/calculation-script.vue @@ -1,5 +1,5 @@