diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/st/inbill/service/impl/InbillServiceImpl.java b/lms/nladmin-system/src/main/java/org/nl/wms/st/inbill/service/impl/InbillServiceImpl.java
index 080ddde76..4a3636853 100644
--- a/lms/nladmin-system/src/main/java/org/nl/wms/st/inbill/service/impl/InbillServiceImpl.java
+++ b/lms/nladmin-system/src/main/java/org/nl/wms/st/inbill/service/impl/InbillServiceImpl.java
@@ -187,7 +187,7 @@ public class InbillServiceImpl {
JSONObject paramMesMst = new JSONObject();
paramMesMst.put("PackageBoxSN",box_row.getString("box_no"));
paramMesMst.put("User",box_row.getString("confirm_optname"));
- new LmsToMesServiceImpl().childRollFGInboundComplete(paramMesMst);
+ // new LmsToMesServiceImpl().childRollFGInboundComplete(paramMesMst);
}
}
//回传SAP
diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/st/instor/wql/QST_IVT_CHANGE.wql b/lms/nladmin-system/src/main/java/org/nl/wms/st/instor/wql/QST_IVT_CHANGE.wql
index 102737f15..14d13d438 100644
--- a/lms/nladmin-system/src/main/java/org/nl/wms/st/instor/wql/QST_IVT_CHANGE.wql
+++ b/lms/nladmin-system/src/main/java/org/nl/wms/st/instor/wql/QST_IVT_CHANGE.wql
@@ -101,15 +101,32 @@
IF 输入.flag = "2"
QUERY
- SELECT
- dtl.*,
- mb.material_code,
- mb.material_name
+ SELECT DISTINCT
+ dtl.mfg_order_name AS new_sale_order_name,
+ dtl.customer_name AS new_customer_name,
+ dtl.customer_description AS new_customer_description,
+ dtl.package_box_sn AS storagevehicle_code,
+ sa.sect_name AS turnout_sect_name,
+ sa.struct_code AS turnout_struct_code,
+ mb.material_code,
+ mb.material_name,
+ dtl.seq_no,
+ sub.sale_order_name,
+ sub.customer_name,
+ sub.customer_description,
+ sub.net_weight AS qty,
+ dtl.demand_date,
+ dtl.UpdatedDateOfProduction AS date_of_FG_inbound,
+ dtl.isRePrintPackageBoxLabel,
+ dtl.isUnPackBox,
+ dtl.pcsn
FROM
- st_ivt_structivtchangedtl dtl
- LEFT JOIN md_me_materialbase mb ON mb.material_id = dtl.material_id
+ st_ivt_structivtchangedtl dtl
+ LEFT JOIN md_me_materialbase mb ON mb.material_id = dtl.material_id
+ LEFT JOIN st_ivt_structattr sa ON sa.storagevehicle_code = dtl.package_box_sn
+ LEFT JOIN pdm_bi_subpackagerelation sub ON sub.package_box_sn = dtl.package_box_sn AND sub.container_name = dtl.pcsn
WHERE
- 1 = 1
+ 1 = 1
OPTION 输入.changeinv_id <> ""
dtl.changeinv_id = 输入.changeinv_id
ENDOPTION
diff --git a/lms/nladmin-ui/src/views/wms/st/inStor/change/AddDialog.vue b/lms/nladmin-ui/src/views/wms/st/inStor/change/AddDialog.vue
index 4ef49d5cd..5dae6241c 100644
--- a/lms/nladmin-ui/src/views/wms/st/inStor/change/AddDialog.vue
+++ b/lms/nladmin-ui/src/views/wms/st/inStor/change/AddDialog.vue
@@ -157,17 +157,9 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}"
>
-
-
-
-
+
+
+
{{ scope.row.demand_date }}
-
+
-
+
- {{ scope.row.date_of_FG_inbound }}
+ {{ scope.row.date_of_fg_inbound }}
-
+
-
+
- {{ scope.row.isRePrintPackageBoxLabel }}
+ {{ scope.row.isreprintpackageboxlabel }}
-
+
-
+
- {{ scope.row.isUnPackBox }}
+ {{ scope.row.isunpackbox }}
@@ -347,7 +339,7 @@ export default {
// 将明细变成不可编辑
for (let i = 0; i < this.form.tableData.length; i++) {
const row = this.form.tableData[i]
- row.edit = true
+ this.$set(row, 'edit', true)
this.form.tableData.splice(i, 1, row)
}
})
@@ -359,7 +351,7 @@ export default {
// 将明细变成不可编辑
for (let i = 0; i < this.form.tableData.length; i++) {
const row = this.form.tableData[i]
- row.edit = true
+ this.$set(row, 'edit', true)
this.form.tableData.splice(i, 1, row)
}
})
diff --git a/lms/nladmin-ui/src/views/wms/st/inbill/AddDialog.vue b/lms/nladmin-ui/src/views/wms/st/inbill/AddDialog.vue
index 33eed9781..65239625b 100644
--- a/lms/nladmin-ui/src/views/wms/st/inbill/AddDialog.vue
+++ b/lms/nladmin-ui/src/views/wms/st/inbill/AddDialog.vue
@@ -213,7 +213,7 @@ export default {
mater_btn: false,
materType: '',
storlist: [],
- billtypelist: [{ 'code': '000101', 'name': '生产入库' }],
+ billtypelist: [],
rules: {
stor_id: [
{ required: true, message: '仓库不能为空', trigger: 'blur' }
@@ -237,7 +237,7 @@ export default {
methods: {
open() {
// 查询原材料库的仓库
- crudStorattr.getStor({ 'is_productstore': '1' }).then(res => {
+ crudStorattr.getStor({ 'is_virtualstore': '1' }).then(res => {
this.storlist = res.content
})
},
diff --git a/lms/nladmin-ui/src/views/wms/st/inbill/DivDialog.vue b/lms/nladmin-ui/src/views/wms/st/inbill/DivDialog.vue
index 54c7b8eef..a1449d13b 100644
--- a/lms/nladmin-ui/src/views/wms/st/inbill/DivDialog.vue
+++ b/lms/nladmin-ui/src/views/wms/st/inbill/DivDialog.vue
@@ -289,7 +289,7 @@ export default {
methods: {
open() {
debugger
- crudSectattr.getSect({ 'is_productstore': '1' }).then(res => {
+ crudSectattr.getSect({ 'is_virtualstore': '1' }).then(res => {
this.sects = res.content
})
const area_type = '1585164789083148288'
@@ -499,6 +499,10 @@ export default {
}
// 如果勾选了,直接跳后台
if (this.form.checked) {
+ if (!this.sect_id) {
+ this.crud.notify('请先选择区域!', CRUD.NOTIFICATION_TYPE.INFO)
+ return
+ }
this.form.sect_id = this.sect_id
this.form.stor_id = this.stor_id
this.form.is_pc = '1'