diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/sch/AcsUtil.java b/lms/nladmin-system/src/main/java/org/nl/wms/sch/AcsUtil.java
index c123e8a67..5c08bc22c 100644
--- a/lms/nladmin-system/src/main/java/org/nl/wms/sch/AcsUtil.java
+++ b/lms/nladmin-system/src/main/java/org/nl/wms/sch/AcsUtil.java
@@ -5,6 +5,7 @@ import cn.hutool.core.util.StrUtil;
import cn.hutool.http.HttpRequest;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
+import org.nl.modules.common.exception.BadRequestException;
import org.nl.modules.system.service.impl.ParamServiceImpl;
import org.nl.modules.wql.util.SpringContextHolder;
import org.springframework.http.HttpStatus;
@@ -44,9 +45,9 @@ public class AcsUtil {
result.put("data", new JSONObject());
}
//acs抛异常这里
- /*if (result.getString("status").equals(String.valueOf(HttpStatus.BAD_REQUEST.value())))
- throw new BadRequestException(result.getString("message"));*/
-
+ if (!StrUtil.equals(result.getString("status"), "200")) {
+ throw new BadRequestException("下发失败:"+result.getString("message"));
+ }
return result;
}
}
diff --git a/lms/nladmin-ui/src/views/wms/st/outbill/AddDialog.vue b/lms/nladmin-ui/src/views/wms/st/outbill/AddDialog.vue
index 807eb61dc..095910325 100644
--- a/lms/nladmin-ui/src/views/wms/st/outbill/AddDialog.vue
+++ b/lms/nladmin-ui/src/views/wms/st/outbill/AddDialog.vue
@@ -250,7 +250,7 @@
-
+
@@ -336,7 +336,6 @@ export default {
this.$emit('AddChanged')
},
[CRUD.HOOK.beforeSubmit]() {
- debugger
if (this.form.tableData.length === 0) {
this.crud.notify('请至少选择一条明细', CRUD.NOTIFICATION_TYPE.INFO)
return false
@@ -398,7 +397,7 @@ export default {
this.nowrow = row
})*/
},
- async queryDtl(index, row) {
+ queryDtl(index, row) {
if (this.form.bill_type === '') {
this.crud.notify('请选择业务类型!', CRUD.NOTIFICATION_TYPE.INFO)
return
@@ -415,7 +414,6 @@ export default {
},
tableChanged(rows) {
rows.forEach((item) => {
- debugger
if (this.form.tableData.length !== 0) {
this.flagnow = false
for (let i = 0; i < this.form.tableData.length; i++) {
diff --git a/lms/nladmin-ui/src/views/wms/st/outbill/AddDtl.vue b/lms/nladmin-ui/src/views/wms/st/outbill/AddDtl.vue
index 2aa1692db..2ed8b94cc 100644
--- a/lms/nladmin-ui/src/views/wms/st/outbill/AddDtl.vue
+++ b/lms/nladmin-ui/src/views/wms/st/outbill/AddDtl.vue
@@ -53,13 +53,13 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}"
>
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -103,9 +103,6 @@ export default {
type: Boolean,
default: false
},
- openParam: {
- type: String
- },
storId: {
type: String
}
@@ -124,11 +121,6 @@ export default {
this.dialogVisible = newValue
}
},
- openParam: {
- handler(newValue, oldValue) {
- this.opendtlParam = newValue
- }
- }
},
methods: {
[CRUD.HOOK.beforeRefresh]() {
@@ -153,6 +145,7 @@ export default {
// this.crud.toQuery()
},
submit() {
+ debugger
this.rows = this.$refs.multipleTable.selection
if (this.rows.length <= 0) {
this.$message('请先勾选物料')