achao 2 anni fa
parent
commit
79fb92b887
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      pages/erpbusiness/quality_testing.vue

+ 8 - 0
pages/erpbusiness/quality_testing.vue

@@ -428,6 +428,14 @@
 				})
 			},
 			add() {
+				if(!this.warehouseName){
+					uni.showToast({
+						title: '请选择仓库!',
+						icon: 'none',
+						duration: 2000
+					})
+					return
+				}
 				uni.navigateTo({
 					url: '/pages/erpbusiness/add_quality_testing?managementType=' + this.managementType +
 						'&cangid=' + this.cangid + '&warehouseCount=' + this.warehouseCount +