diff --git a/public/img/gx/button_bg.png b/public/img/gx/button_bg.png
index ad52832a..49704f50 100644
Binary files a/public/img/gx/button_bg.png and b/public/img/gx/button_bg.png differ
diff --git a/public/img/gx/header_light.png b/public/img/gx/header_light.png
index f771c9a8..3e680d1f 100644
Binary files a/public/img/gx/header_light.png and b/public/img/gx/header_light.png differ
diff --git a/public/img/gx/title_bg.png b/public/img/gx/title_bg.png
index 26ece19b..0d65ca34 100644
Binary files a/public/img/gx/title_bg.png and b/public/img/gx/title_bg.png differ
diff --git a/src/views/inm/good.vue b/src/views/inm/good.vue
index 0ad5e017..a006a9a5 100644
--- a/src/views/inm/good.vue
+++ b/src/views/inm/good.vue
@@ -74,7 +74,7 @@
-
+ 标签
流程图
diff --git a/src/views/inm/mio_form.vue b/src/views/inm/mio_form.vue
index 0ad83c36..7ab1a385 100644
--- a/src/views/inm/mio_form.vue
+++ b/src/views/inm/mio_form.vue
@@ -161,7 +161,7 @@
-
+
diff --git a/src/views/inm/mioitem_form.vue b/src/views/inm/mioitem_form.vue
index 4e2583d7..24688cda 100644
--- a/src/views/inm/mioitem_form.vue
+++ b/src/views/inm/mioitem_form.vue
@@ -362,11 +362,12 @@ export default {
},
inputChange(e){
console.log('e',e);
+ let that = this;
if(e!==''&&e!==null&&e!==undefined){
let codeId = e.split('#')[1];
this.$API.cm.labelmat.item.req(codeId).then((res) => {
if(res){
- arr = that.batchOptions.filter((item) => {
+ let arr = that.batchOptions.filter((item) => {
return item.batch == res.batch&&item.state==res.state;
})
if (arr.length > 0) {
@@ -377,6 +378,9 @@ export default {
that.form.count = Number(arr[0].count_canmio);
that.form.warehouse = arr[0].warehouse;
that.inputBatchDisable = true;
+ setTimeout(() => {
+ options.value = res.batch;
+ }, 200)
}else{
that.selectBatch = '';
that.$message.error("批次号不存在");
diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue
index db96c0f7..709cfb1a 100644
--- a/src/views/wpm_bx/handover_form.vue
+++ b/src/views/wpm_bx/handover_form.vue
@@ -257,6 +257,10 @@ export default {
type: String,
default: "done",
},
+ wmItem: {
+ type: Object,
+ default: () => ({}),
+ },
},
components: {
scanDialog
@@ -384,6 +388,11 @@ export default {
that.materialObj = materialObj;
that.form.handle_date =that.form.send_date =this.$TOOL.dateFormat2(new Date());
that.form.send_mgroup = that.mgroupId;
+ if(that.wmItem.wm){
+ that.form.new_batch = that.wmItem.batch;
+ that.form.material_changed = that.wmItem.material;
+ that.form.material_changed_fname = that.wmItem.material_name;
+ }
if(that.type==20||that.type==50){
that.form.recive_mgroup = that.mgroupId;
}
diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue
index 6b985b48..62f5b22e 100644
--- a/src/views/wpm_bx/inmIn.vue
+++ b/src/views/wpm_bx/inmIn.vue
@@ -149,9 +149,9 @@
type="primary"
style="margin-left: 10px;"
>检验
-
+ 添加物料
@@ -244,6 +244,7 @@
ref="scrapDialog"
:type="type"
:tag="tag"
+ :wmItem="wmItem"
:mgroupName="mgroup_name"
:mgroupId="mgroupId"
@success="handleScrapSuccess"
@@ -377,6 +378,7 @@ export default {
search: "",
material: "",
},
+ wmItem:{},
wprParams:{
page:0,
wm: ""
@@ -693,7 +695,22 @@ export default {
})
},
- handleWprSuccess(row){}
+ handleAddWpr(row){
+ this.dialog.scrap = true;
+ this.type = 50;
+ let obj = {};
+ obj.wm = row.id;
+ obj.batch = row.batch;
+ obj.mgroup = row.mgroup;
+ obj.material = row.material;
+ obj.mgroup_name = row.mgroup_name;
+ obj.material_name = row.material_name;
+ this.wmItem = obj;
+ this.$nextTick(() => {
+ this.$refs.scrapDialog.open("add");
+ });
+ },
+ handleWprSuccess(row){},
},
};
diff --git a/src/views/wpm_bx/inmOut.vue b/src/views/wpm_bx/inmOut.vue
index 341754f2..6d75e000 100644
--- a/src/views/wpm_bx/inmOut.vue
+++ b/src/views/wpm_bx/inmOut.vue
@@ -233,7 +233,8 @@
width="120"
>
- 物料标签
+ 物料标签
+ 添加物料
@@ -258,6 +259,7 @@
v-if="dialog.scrap"
ref="scrapDialog"
:type="type"
+ :wmItem="wmItem"
:mgroupName="mgroup_name"
:mgroupId="mgroupId"
@success="handleScrapSuccess"
@@ -397,6 +399,7 @@ export default {
page:0,
wm: ""
},
+ wmItem:{},
number_out_last:'',
route_code:"",
wmMaterial:'',
@@ -735,6 +738,21 @@ export default {
})
},
+ handleAddWpr(row){
+ this.dialog.scrap = true;
+ this.type = 50;
+ let obj = {};
+ obj.wm = row.id;
+ obj.batch = row.batch;
+ obj.mgroup = row.mgroup;
+ obj.material = row.material;
+ obj.mgroup_name = row.mgroup_name;
+ obj.material_name = row.material_name;
+ this.wmItem = obj;
+ this.$nextTick(() => {
+ this.$refs.scrapDialog.open("add");
+ });
+ },
},
};
diff --git a/src/views/wpm_gx/inmrecord.vue b/src/views/wpm_gx/inmrecord.vue
index fdfc902e..17039e88 100644
--- a/src/views/wpm_gx/inmrecord.vue
+++ b/src/views/wpm_gx/inmrecord.vue
@@ -3,17 +3,17 @@
领料
入库
退还入库