| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- <!-- MAIN CONTENT -->
- <div id="content" style=" border-width:5px; margin-left:2%;position:relative;margin-right:2%;">
- <!-- widget grid -->
- <section id="widget-grid" widget-grid>
- <!-- START ROW -->
- <div class="row">
- <!-- NEW COL START -->
- <article class="col-sm-12 col-md-12 col-lg-12">
- <!-- Widget ID (each widget will need unique ID)-->
- <div jarvis-widget id="form-grid-widget" data-widget-colorbutton="false" data-widget-editbutton="false"
- data-widget-custombutton="false">
- <div>
- <!-- widget content -->
- <div class="widget-body no-padding">
- <form id="oilCardAdd-form" class="smart-form ng-pristine ng-valid"
- data-validator-option="validateOptions" novalidate="novalidate"
- style=" border-width:5px; margin-left:2%;position:relative;margin-right:2%;">
- <header>
- <a href-void class="btn btn-default btn-xs" ng-click="retList()">
- <i class="fa fa-angle-left"></i> 返回
- </a>
- <strong>原油油情卡编辑</strong>
- <!-- <span class="pull-right font-xs">带*的部分必须填写</span> -->
- </header>
- <fieldset>
- <!--油罐-->
- <table class="table table-striped table-bordered table-hover" width="100%">
- <tr>
- <th width='10%'>
- <label class="label" style="margin-top: 9px;text-align: center;">油罐名称<span style="color: red;">*</span></label>
- </th>
- <th width='20%'>
- <section>
- <label class="select">
- <select ng-model="oilCard.storehouseId" name="storehouseId"
- ng-disabled="isNotEdit"
- ng-options="store.storehouseId as store.storehouseName for store in tanklist"
- ng-change="findQualityCheck(oilCard.storehouseId)"
- required>
- <option value="">--请选择--</option>
- </select><i></i>
- </label>
- </section>
- </th>
- <th width='10%'>
- <label class="label" style="margin-top: 9px;text-align: center;">粮权所属:<span style="color: red;margin-left: 5px;text-align: center;">*</span></label>
- </th>
- <th width='20%'>
- <section>
- <label class="select">
- <label class="select">
- <select ng-model="oilCard.grainRights" name="grainRights" ng-disabled="isNotEdit" required>
- <option value="">--请选择--</option>
- <option value="天津市人民政府">天津市人民政府</option>
- <option value="和平区人民政府">和平区人民政府</option>
- <option value="河东区人民政府">河东区人民政府</option>
- <option value="河西区人民政府">河西区人民政府</option>
- <option value="南开区人民政府">南开区人民政府</option>
- <option value="河北区人民政府">河北区人民政府</option>
- <option value="红桥区人民政府">红桥区人民政府</option>
- <option value="东丽区人民政府">东丽区人民政府</option>
- <option value="西青区人民政府">西青区人民政府</option>
- <option value="津南区人民政府">津南区人民政府</option>
- <option value="北辰区人民政府">北辰区人民政府</option>
- <option value="武清区人民政府">武清区人民政府</option>
- <option value="宝坻区人民政府">宝坻区人民政府</option>
- <option value="滨海新区人民政府">滨海新区人民政府</option>
- <option value="宁河区人民政府">宁河区人民政府</option>
- <option value="静海区人民政府">静海区人民政府</option>
- <option value="蓟州区人民政府">蓟州区人民政府</option>
- </select><i></i>
- </label><i></i>
- </label>
- </section>
- </th>
- <th width='10%'>
- <label class="label" style="margin-top: 9px;text-align: center;">粮油品种</label>
- </th>
- <th width='20%'>
- <section>
- <label class="input">
- <input type="text" ng-model="oilCard.grainVarietyName"
- name="grainVarietyName" class="form-control" ng-readonly="true">
- </label>
- </section>
- </th>
- </tr>
- <tr>
- <th style="border-bottom-width:1px">
- <label class="label" style="margin-top: 9px;text-align: center;">库存数量(吨)</label>
- </th>
- <th style="border-bottom-width:1px">
- <section>
- <label class="input">
- <input type="text" ng-model="oilCard.rksl"
- name="rksl" class="form-control" ng-readonly="true">
- </label>
- </section>
- </th>
- <th width='10%'>
- <label class="label" style="margin-top: 9px;text-align: center;">生产年度</label>
- </th>
- <th width='20%'>
- <section>
- <label class="input">
- <input type="text" ng-model="oilCard.scnd" name="scnd" class="form-control" ng-readonly="true">
- </label>
- </section>
- </th>
- <th>
- <label class="label" style="margin-top: 9px;text-align: center;">入罐时间(第一车):</label>
- </th>
- <th>
- <section>
- <label class="input">
- <input type="text" ng-model="rcsj" name="rcsj" class="form-control Wdate" ng-disabled="true"
- onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
- </label>
- </section>
- </th>
- </tr>
- <tr>
- <th>
- <label class="label" style="margin-top: 9px;text-align: center;">入罐时间(最后一车):</label>
- </th>
- <th>
- <section>
- <label class="input">
- <input type="text" ng-model="rksj" name="rksj" class="form-control Wdate" ng-disabled="true"
- onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
- </label>
- </section>
- </th>
- <th>
- <label class="label" style="margin-top: 9px;text-align: center;">实际储油高度(米):<span style="color: red;">*</span></label>
- </th>
- <th>
- <section>
- <label class="input">
- <input type="text" ng-model="oilCard.csscldg" name="csscldg" ng-readonly="isNotEdit"
- class="form-control" checkHeight=true required />
- </label>
- </section>
- </th>
- <th>
- <label class="label" style="margin-top: 9px;text-align: center;">业务类型:<span style="color: red;">*</span></label>
- </th>
- <th width='20%'>
- <section>
- <label class="select">
- <select ng-model="oilCard.checkTypeNum" name="checkTypeNum" required ng-disabled="isNotEdit">
- <option value="">--请选择--</option>
- <option value="0">入库</option>
- <option value="1">倒仓</option>
- <option value="2">移库</option>
- </select><i></i>
- </label>
- </section>
- </th>
- </tr>
- <tr>
- <th width='10%'>
- <label class="label" style="margin-top: 9px;text-align: center;">油罐状态</label>
- </th>
- <th width='20%'>
- <section>
- <label class="input">
- <input type="text" ng-model="ygzt" name="ygzt" class="form-control" />
- </label>
- </section>
- </th>
- <th>
- <label class="label" style="margin-top: 9px;text-align: center;">建卡人:</label>
- </th>
- <th>
- <section>
- <label class="input">
- <input type="text" ng-model="oilCard.jkr" name="jkr" ng-readonly="true"
- class="form-control" required />
- </label>
- </section>
- </th>
- <th width='10%'>
- <label class="label" style="margin-top: 9px;text-align: center;">建卡时间<span style="color: red;">*</span></label>
- </th>
- <th width='20%'>
- <section>
- <label class="input">
- <input type="text" ng-model="oilCard.acceptDate"
- name="acceptDate" class="form-control Wdate"
- onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" required>
- </label>
- </section>
- </th>
- </tr>
- <tr>
- <th>
- <label class="label" style="margin-top: 9px;text-align: center;">备注</label>
- </th>
- <th style="border-bottom-width:1px" colspan="5">
- <section>
- <label class="input">
- <input type="text" ng-model="oilCard.remark"
- name="remark" class="form-control">
- </label>
- </section>
- </th>
- </tr>
- </table>
- <div>
- <footer class="text-align-center">
- <button type="button" class="btn btn-default" ng-click="retList()">取消</button>
- <!-- <button type="button" class="btn btn-primary" ng-click="save(1)">保存</button> -->
- <button type="button" class="btn btn-primary" ng-click="save(2)">提交</button>
- </footer>
- </div>
- </fieldset>
- </form>
- </div>
- </div>
- </div>
- </article>
- </div>
- </section>
- </div>
- <script>
- $('.input1').attr("disabled",true);
- </script>
|