Browse Source

1.1 盒子添加修改增加uuid耗材关联

64060764@qq.com 1 year ago
parent
commit
9c3c0bd365

+ 10 - 0
src/views/equip-management/box-manage/index.vue

@@ -361,6 +361,16 @@ export default {
 			}
 		},
 		async makeSureAddOperate1(val) {
+			console.log('**************************///////**makeSureAddOperate1******',this.name,this.batch_update_time,this.version,this.download_url)
+
+			if(this.name == '' || this.batch_update_time == '' || this.version =='' || this.download_url == ''){
+				this.$notify({
+					message: "请填写完整升级信息 ",
+					type: "warning"
+				});
+				return;
+			}
+
 			console.log('downloadurl is:',this.download_url);
 			console.log('signData is:', this.signData);
 			console.log(this.batch_update_time);

+ 4 - 2
src/views/inner-management/gateway/index.vue

@@ -458,8 +458,10 @@
                 }
             },
             async makeSureAddOperate1(val) {
-                console.log('downloadurl is:',this.download_url);
-                console.log('signData is:', this.signData);
+
+
+                console.log('downloadurl///// is:',this.download_url);
+                console.log('signData////// is:', this.signData);
                 console.log(this.batch_update_time);
                 if (val === 'delay')
                 {this.formData.select_time = this.batch_update_time;}