#
whycq
2023-05-06 424d5b1cb1779166d6d07a03d01dbaa4abc1ef9e
pages/order/orderPutDown.vue
@@ -240,6 +240,10 @@
            var len = this.dataList.length
            var add = true ,sameItem = false
            for (var i = 0; i < len; i++) {
               if (mat.orderNo != this.dataList[i].orderNo) {
                  add = true
                  break;
               } else {
               if (mat.matnr == this.dataList[i].matnr) {
                  for (var j = 0; j < len; j++) {
                     if (mat.batch == this.dataList[j].batch) {
@@ -262,6 +266,8 @@
                     add = false
                  }
               }
               }
            }
            if (add) {
               this.dataList.unshift(mat)
@@ -381,6 +387,12 @@
         changeValue(value) {
            this.count = value
         },
         // 清空
         resst() {
            this.dataList = []
            this.barcode = ''
            this.barcodeFocuss()
         },
      }
   }
</script>