- {{ item.material_out_name }}
+
@@ -46,6 +46,15 @@
:label="item.batch"
:value="item.id"
>
+
+ {{ item.batch }}{{ item.count }}
+
@@ -86,6 +95,10 @@ export default {
type: String,
default: "",
},
+ materialIn: {
+ type: String,
+ default: "",
+ },
},
emits: ["success", "closed"],
data() {
@@ -142,7 +155,11 @@ export default {
getMaterial() {
let that = this;
this.$API.wpm.wmaterial.list
- .req({ mgroupx: that.mgroup, page: 0 })
+ .req({
+ mgroupx: that.mgroup,
+ material: that.materialIn,
+ page: 0,
+ })
.then((res) => {
that.materialOptions = res;
});