dever 5 years ago
parent
commit
f13469468d
2 changed files with 3 additions and 1 deletions
  1. 2 0
      front/page/origin.py
  2. 1 1
      front/templates/pc/origin/update.html

+ 2 - 0
front/page/origin.py

@@ -131,9 +131,11 @@ class update_path(Load):
 		if not update['devices']:
 			self.out(u'请选择设备')
 			return
+		'''
 		if not update['device_camera_id']:
 			self.out(u'请选择摄像头')
 			return
+		'''
 		if not update['zzdate'] or not update['csdate']:
 			self.out(u'请选择生长周期')
 			return

+ 1 - 1
front/templates/pc/origin/update.html

@@ -42,7 +42,7 @@
                 {%include '../device/alert/select.html'%}
             </div>
         </div>
-        <div class="form-group">
+        <div class="form-group" style="display:none;">
             <span>选择摄像头</span>
             <div class="formbox">
                 <select name="update_device_camera_id" id="update_device_camera_id" >