diff --git a/src/views/inm/mioitem.vue b/src/views/inm/mioitem.vue
index 82f5dd2f..699d35e3 100644
--- a/src/views/inm/mioitem.vue
+++ b/src/views/inm/mioitem.vue
@@ -51,9 +51,6 @@
>{{ mioObj.customer_name }}
-
@@ -213,6 +210,7 @@
v-if="dialog.save"
ref="saveDialog"
:mioId="mioId"
+ :mgroup="mioObj.mgroup"
:belongDeptId="belongDeptId"
:belongDeptName="mioObj.belong_dept_name"
:mioObj="mioObj"
diff --git a/src/views/inm/mioitem_form.vue b/src/views/inm/mioitem_form.vue
index 14b818ea..1b6ee82b 100644
--- a/src/views/inm/mioitem_form.vue
+++ b/src/views/inm/mioitem_form.vue
@@ -13,7 +13,7 @@
label-width="120px"
>
-
+
-
-
+
-
+
-
+
{
- this.wbatchOptions = res;
- });
+ let that = this;
+ if (this.mgroup != null) {
+ this.$API.wpm.wmaterial.list.req({mgroup: this.mgroup,material: this.form.material,state:10,page: 0}).then((res) => {
+ this.wbatchOptions = res;
+ });
}
},
getMaterialOptions() {
@@ -435,7 +406,6 @@ export default {
that.form.wm = item.id;
}
})
-
},
selectMaterialChange() {
var that = this;
@@ -465,7 +435,7 @@ export default {
selectBatchChange(item) {
this.form.batch = item.batch;
this.form.mb = item.id;
- this.form.count = item.count;
+ this.form.count = 0;
this.form.warehouse = item.warehouse;
this.warehouseDisable = true;
this.inputBatchDisable = true;