186 lines
6.3 KiB
HTML
186 lines
6.3 KiB
HTML
|
|
<style>
|
|
.modal-body {
|
|
padding: 10px;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modal-body label {
|
|
width: 29%;
|
|
text-align: right;
|
|
}
|
|
|
|
.modal-body input, .modal-body select, .modal-body textarea {
|
|
background-color: #E7E7FE;
|
|
width: 50%;
|
|
text-align: left;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.modal-body .btn {
|
|
|
|
width:51px;
|
|
height:30px;
|
|
border-radius:5px;
|
|
|
|
|
|
line-height:11px;
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|
|
<div class="modal-Top">
|
|
<button class="btn btn-success form-control disabled">计划任务新增</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p style="float:left">食品监测点修改/添加 注:带有<span>**</span>必须填写</p>
|
|
|
|
<!--<p style="float:right">
|
|
<label for="RWBH">任务编号:</label>
|
|
<input id="RWBH" type="text" name="" value=" " class="form-control input-sm inline " style="width:45%"/>
|
|
<button class="btn btn-default">复制</button>
|
|
</p>-->
|
|
</div>
|
|
<div class="modal-body">
|
|
|
|
<div class="col-sm-6">
|
|
<p>
|
|
<label for="RWBH">任务编号:</label>
|
|
<input type="text" id="RWBH" class="form-control input-sm inline " ng-model="rwbh" required />
|
|
<span ng-hide="wori">**</span><!--<span ng-show="wocao">任务编号不能为空</span>-->
|
|
</p>
|
|
<p>
|
|
<label for="JCZG">检测机构:</label>
|
|
<select class="form-control input-sm inline" id="JCJG" ng-model="jcjg" >
|
|
<option ng-repeat="a in JCDWdata">{{a}}</option>
|
|
</select>
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="RWLY">任务来源:</label>
|
|
<select class="form-control input-sm inline" id="RWLY" ng-model="rwly" >
|
|
<option ng-repeat="a in RELYdata">{{a}}</option>
|
|
<!-- <option>{{ RELYdata }}</option>-->
|
|
</select>
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="JCPC">检测频次:</label>
|
|
<select class="form-control input-sm inline" id="JYPC" ng-model="jypc" >
|
|
<option ng-repeat="a in JYPCdata">{{a}}</option>
|
|
</select>
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="FXDJ">风险等级:</label>
|
|
<select class="form-control input-sm inline" id="FXDJ" ng-model="fxdj" >
|
|
<option ng-repeat="a in FXDJdata">{{a}}</option>
|
|
</select>
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="SPDL">食品大类:</label>
|
|
<input type="text" id="SPDL" class="form-control input-sm inline " ng-model="spdl"/>
|
|
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="SPYZ">食品亚类:</label>
|
|
<input type="text" id="SPYZ" class="form-control input-sm inline " ng-model="spyl"/>
|
|
|
|
<span>**</span>
|
|
</p>
|
|
|
|
<p>
|
|
<label for="SPPZ">食品品种:</label>
|
|
<input type="text" id="SPPZ" class="form-control input-sm inline " ng-model="sppz"/>
|
|
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="SPXL">食品小类:</label>
|
|
<input type="text" id="SPXL" class="form-control input-sm inline " ng-model="spxl" />
|
|
<button class="btn btn-default" ng-click="select()">选择</button>
|
|
<span>**</span>
|
|
</p>
|
|
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<p>
|
|
<label for="YPKSSJ">样品开始时间:</label>
|
|
<input type="date" id="YPKSSJ" class="form-control input-sm inline " ng-model="ypkssj" />
|
|
<span>**</span>
|
|
</p>
|
|
|
|
<p>
|
|
<label for="YPJSSJ">样品结束时间:</label>
|
|
<input type="date" id="YPJSSJ" class="form-control input-sm inline " ng-model="ypjssj" />
|
|
<span>**</span>
|
|
</p>
|
|
|
|
<p>
|
|
<label for="JHLURQ">计划录入日期:</label>
|
|
<input type="date" id="JHLURQ" class="form-control input-sm inline " ng-model="jhlrsj" />
|
|
<span>**</span>
|
|
</p>
|
|
|
|
<p>
|
|
<label for="RWXZ">任务性质:</label>
|
|
<select class="form-control input-sm inline" id="RWXZ" ng-model="rwxz" >
|
|
<option ng-repeat="a in RWXZdata">{{a}}</option>
|
|
</select>
|
|
<span>**</span>
|
|
</p>
|
|
|
|
<p>
|
|
<label for="SCHJRWS">生产环节任务数:</label>
|
|
<input type="text" id="SCHJRWS" class="form-control input-sm inline " ng-model="schjrws" ng-change="change()"/>
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="CYHJRWS">餐饮环节任务数:</label>
|
|
<input type="text" id="CYHJRWS" class="form-control input-sm inline " ng-model="cyhjrws" ng-change="change()" />
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="LTHJRWS">流通环节任务数:</label>
|
|
<input type="text" id="LTHJRWS" class="form-control input-sm inline " ng-model="lthjrws" ng-change="change()" />
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="JCRWHJ">检测任务合计:</label>
|
|
<input type="text" id="JCRWHJ" class="form-control input-sm inline " ng-model="jcrwhj" />
|
|
<span>**</span>
|
|
</p>
|
|
<p>
|
|
<label for="ZT">状态:</label>
|
|
<input type="text" id="ZT" class="form-control input-sm inline " ng-model="zt" disabled/>
|
|
<span>**</span>
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="modal-body">
|
|
<p>
|
|
<label for="JCXM" style=" width: 15.3%;">检测项目:</label>
|
|
<textarea id="JCXM" cols="5" rows="6" ng-model="jcxm" readonly="readonly"></textarea>
|
|
<button class="btn btn-default" ng-click="JCXMSelect()">选择</button>
|
|
</p>
|
|
<p>
|
|
<label for="BZ" style=" width: 15.3%;">备注:</label>
|
|
<textarea id="BZ" cols="5" rows="2" ng-model="bz"></textarea>
|
|
</p>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button class="btn btn-info btn-sm" ng-click="Ok()" ng-show="IsChange">修改</button>
|
|
<button class="btn btn-info btn-sm" ng-click="Ok()" ng-show="IsSave">保存</button>
|
|
|
|
<button class="btn btn-info btn-sm" ng-click="Cancel()">取消</button>
|
|
</div>
|
|
|