소스 검색

修改扫码提示

ZZJ 3 년 전
부모
커밋
505ec757f7
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      src/views/system/jbdScan/js/manualConfirmationJS.js

+ 10 - 0
src/views/system/jbdScan/js/manualConfirmationJS.js

@@ -38,9 +38,19 @@ export default {
             this.listData.push(res.variables.data[i])
             // this.OriginalPosition.push(res.variables.data[i].shi_fou_liu_yang_ == "是" ? res.variables.data[i].liu_yang_wei_zhi_ : res.variables.data[i].shou_yang_wei_zhi)
           }
+        }else{
+          this.dontHaveSample();
         }
       })
     },
+    dontHaveSample(){
+      this.visable = false
+        this.$message({
+          message: '暂无样品待接收确认!',
+          type: 'success'
+        })
+        this.closeDialog();
+    },
     /* 列表失去焦点*/
     handleChange() {
       this.$refs.redarInput.focus(); //聚焦input