| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <!-- 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 tanklist2"
- 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;">*</span></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>
- <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'})" required>
- </label>
- </section>
- </th>
- </tr>
- <tr>
- <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>
- <option value="">--请选择--</option>
- <option value="0">入库</option>
- <option value="1">倒仓</option>
- <option value="2">移库</option>
- </select><i></i>
- </label>
- </section>
- </th>
- <th style="border-bottom-width:1px">
- <label class="label" style="margin-top: 9px;text-align: center;">数量(吨)<span style="color: red;margin-left: 5px;text-align: center;">*</span></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>
- </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="oilCard.looseGrainVolume"
- name="looseGrainVolume" class="form-control">
- </label>
- </section>
- </th>
- <th>
- <label class="label" style="margin-top: 9px;text-align: center;">存储类型:</label>
- </th>
- <th>
- <section>
- <label class="select">
- <select ng-model="oilCard.storeType" name="storeType">
- <option value="">--请选择--</option>
- <option value="1">直储</option>
- <option value="2">代储</option>
- </select><i></i>
- </label>
- </section>
- </th>
- <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.grainPacks"
- name="grainPacks" class="form-control">
- </label>
- </section>
- </th>
- </tr>
- <tr>
- <th>
- <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.spareOne"
- name="spareOne" class="form-control">
- </label>
- </section>
- </th>
- <th>
- <label class="label" style="margin-top: 9px;text-align: center;">粮权所属:</label>
- </th>
- <th style="border-bottom-width:1px">
- <section>
- <label class="select">
- <select ng-model="oilCard.grainRights" name="grainRights" required>
- <option value="">--请选择--</option>
- <option value="1">市粮食局</option>
- <option value="2">{{orgInfo.orgName}}</option>
- </select><i></i>
- </label>
- </section>
- </th>
- <!-- <th colspan="4"></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()">保存</button>
- </footer>
- </div>
- </fieldset>
- </form>
- </div>
- </div>
- </div>
- </article>
- </div>
- </section>
- </div>
- <script>
- $('.input1').attr("disabled",true);
- </script>
|