-
+
-
+
+
-
-
+
+
+
@@ -362,7 +367,7 @@ export default {
}
const arr = []
this.popList.map(el => {
- if (el.order_code !== '' && el.material_qty !== '') {
+ if (el.order_code !== '' && el.material_qty !== '' && el.material_code !== '') {
arr.push(el)
}
})
@@ -381,8 +386,11 @@ export default {
}
this.show = false
},
- addRow() {
- this.popList.push({ order_code: '', material_qty: '' })
+ addRow(index, rows) {
+ rows.splice(index, 0, { order_code: '', material_qty: '', material_code: '' })
+ },
+ delRow(index, rows) {
+ rows.splice(index, 1)
}
}
}
diff --git a/lms/nladmin-ui/src/views/wms/produceScreen/style.scss b/lms/nladmin-ui/src/views/wms/produceScreen/style.scss
index 1d94c1d..1514dc6 100644
--- a/lms/nladmin-ui/src/views/wms/produceScreen/style.scss
+++ b/lms/nladmin-ui/src/views/wms/produceScreen/style.scss
@@ -270,6 +270,11 @@
height: auto;
background: center / 100% 100% url('~@/assets/images/screen_4.png') no-repeat;
}
+.pop-wraper-2 {
+ left: 3%;
+ width: 94%;
+ padding: 2% 1.5% 3% 1.5%;
+}
.popshow {
transform: translateY(-50%);
}