Browse Source

恢复报损

shish 4 years ago
parent
commit
534c1de57f
1 changed files with 6 additions and 1 deletions
  1. 6 1
      hdPad/src/pages/home/components/console.vue

+ 6 - 1
hdPad/src/pages/home/components/console.vue

@@ -213,7 +213,12 @@ export default {
 			this.$util.hitVoice()
 		},
 		toWastage(){
-			this.takeItem('1-577')
+			this.$util.hitVoice()
+			if(this.$util.isEmpty(this.selectList)) {
+				this.$msg('请选择报损花材')
+				return false
+			}
+			this.$refs.wastageRef.open('center')
 		},
 		confirmWastage(){
 			this.$util.hitVoice()