| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <style>
- .none { display:none;}
- </style>
- <style media="print">.none { display:block;}</style>
- <div id="content">
- <section id="widget-grid" widget-grid>
- <div class="row">
- <article class="col-sm-12 col-md-12 col-lg-12">
- <div jarvis-widget id="form-grid-widget" data-widget-colorbutton="false" data-widget-editbutton="false"
- data-widget-custombutton="false">
- <div>
- <div class="widget-body no-padding">
- <form id="qualitycheck-form" class="smart-form" data-validator-option="validateOptions" novalidate="novalidate">
- <button type="submit" class="bv-hidden-submit" style="display: none; width: 0px; height: 0px;"></button>
- <header>
- <a href-void class="btn btn-default btn-xs" ng-click="back()"><i class="fa fa-angle-left"></i> 返回 </a>
- <!-- <a class="btn btn-primary btn-xs pull-right" id="printId" ng-click="print()"><span class="fa fa-print"></span> 打 印</a>
- --> </header>
- <div>
- <header>基础信息</header>
- <fieldset>
- <div class="row" ng-show="!isShow || isDepotShow">
- <section class="col col-3">
- <label class="label txt-bg-red">粮库名称<span style="color: red;">*</span></label>
- <label class="select">
- <select ng-model="qualitycheck.depotId" name="depotId" required ng-disabled="isNotEdit"
- ng-options="depot.depotId as depot.depotName for depot in depotList"
- class="form-control" ng-change="getBasicData(qualitycheck.depotId)">
- <option value="">--请选择--</option>
- </select>
- </label>
- </section>
- </div>
- <div class="row">
- <section class="col col-3">
- <label class="label">仓房/油罐名称:<span style="color: red;">*</span></label>
- <div ng-if="qualitycheck.id == null || qualitycheck.depotId != null">
- <label class="select">
- <select ng-model="qualitycheck.houseId" name="houseId" required ng-change=change()
- ng-options="store.storehouseId as store.storehouseName for store in store_tank_list"
- class="form-control" >
- <option value="">--请选择--</option>
- </select>
- </label>
- </div>
- <div ng-if="qualitycheck.id != null && qualitycheck.depotId == null ">
- <label class="input">
- <input type="text" ng-disabled="true" ng-value="storehouseObj[qualitycheck.houseId].storehouseName" name="houseId" required>
- </label>
- </div>
- </section>
- <section class="col col-3">
- <label class="label">货位名称:<span style="color: red;">*</span></label>
- <label class="select">
- <select ng-model="qualitycheck.warehouseId" name="warehouseId" class="form-control" required ng-change=changeGetInfo()
- id="wareNameDis" ng-options="ware.warehouseId as ware.warehouseName for ware in warehouseList">
- <option value="">--请选择--</option>
- </select>
- </label>
- </section>
- <section class="col col-3">
- <label class="select">
- <label class="label">粮油品种:<span style="color: red;">*</span></label>
- <label class="select">
- <select ng-model="qualitycheck.subType" ng-disabled="isShow"
- ng-options="enum.enumid as enum.enumname for enum in dicDataList[1061]"
- ng-change="getGrainDetailKind()" required>
- <option value="">-- 粮油品种 --</option>
- </select>
- </label>
- </label>
- </section>
- <section class="col col-3" ng-show="isShow">
- <label class="select">
- <label class="label">明细品种:<span style="color: red;">*</span></label>
- <label class="select">
- <label class="input">
- <input type="text" ng-disabled="isShow" ng-value="dicData[qualitycheck.subTypeDetailed]" required>
- <input type="hidden" ng-disabled="isShow" ng-model="qualitycheck.subTypeDetailed">
- </label>
- </label>
- </label>
- </section>
- <section class="col col-3" ng-hide="isShow" style="margin-bottom: 0px;">
- <label class="label">明细品种:<span style="color: red;">*</span></label>
- <label class="select" id="grainDetailKind-label">
- <multi-select-tree
- disabled-tree="isNotEdit"
- data-input-model="grainDetailKindTreeData"
- data-output-model="qualitycheck.subTypeDetailed"
- data-default-label="--请选择--" name="subTypeDetailed"
- multi-select="false"
- select-only-leafs="true">
- </multi-select-tree>
- <!-- select-only-leafs="false" -->
- <em><span style="color: #D56161;margin-top:6px;padding:0 1px;font-style:normal;font-size:11px;line-height:15px;" id="grainDetailKind-error"></span></em>
- </label>
- </section>
- </div>
- <div class="row">
- <section class="col col-3">
- <label class="input">
- <label class="label">库存数量(公斤)<span style="color: red;">*</span></label>
- <input type="text" ng-model="qualitycheck.numberUpdate" name="numberUpdate" ng-readonly="isShow"
- placeholder="库存数量" required>
- </label>
- </section>
- <section class="col col-3">
- <label class="label">产地:<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-readonly="isShow" value="{{dicData[qualitycheck.location]}}" placeholder="产地" required>
- </label>
- </section>
- <section class="col col-3">
- <label class="label">收获年度:<span style="color: red;">*</span></label>
- <label class="select">
- <select name="harvestTime" ng-model="qualitycheck.harvestTime" ng-disabled="isShow"
- ng-options="enum.enumid as enum.enumname for enum in dicDataList[1004]" required>
- <option value="" selected="" disabled="">请选择</option>
- </select> <i></i>
- </label>
- </section>
- <section class="col col-3">
- <label class="label">入仓时间(第一车):<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.inputTime" name="inputTime" onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss})" ng-disabled="isShow"
- placeholder="入仓日期" required>
- </label>
- </section>
- </div>
- <div class="row">
- <section class="col col-3">
- <label class="label">入库时间(最后一车):<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.zhycsj" name="zhycsj" onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss})" ng-disabled="isShow"
- placeholder="入库日期" required>
- </label>
- </section>
- <section class="col col-3">
- <label class="label">保管员:<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.keeper" ng-disabled="isNotEdit" name="keeper" placeholder="保管员" required>
- </label>
- </section>
- </div>
- </fieldset>
- <header>扦样信息</header>
- <fieldset>
- <div class="row">
- <section class="col col-3">
- <label class="label">扦样日期:<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.chooseTime" name="chooseTime" onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" ng-disabled="isNotEdit"
- placeholder="扦样日期" required />
- </label>
- </section>
- <section class="col col-3">
- <label class="label">扦样人:<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.chooser" name="chooser" ng-readonly="isNotEdit"
- placeholder="扦样人" required />
- </label>
- </section>
- <section class="col col-3">
- <label class="label">扦样区域:<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.qyqy" ng-readonly="isNotEdit" name="qyqy"
- placeholder="扦样区域" required />
- </label>
- </section>
- <section class="col col-3">
- <label class="select">
- <label class="label">扦样单编号:</label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.qydbh" ng-readonly="isNotEdit" name="qydbh" maxlength="64" bhCheck=true placeholder="扦样单编号">
- </label>
- </label>
- </section>
- </div>
- <div class="row">
- <section class="col col-3">
- <label class="select">
- <label class="label">样品编号:</label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.ypbh" ng-readonly="isNotEdit" name="ypbh" maxlength="64" bhCheck=true placeholder="样品编号" />
- </label>
- </label>
- </section>
- <section class="col col-3">
- <label class="select">
- <label class="label">样品数量(kg):<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.ypsl" ng-readonly="isNotEdit"
- name="ypsl" placeholder="样品数量" validNumber="true" required />
- </label>
- </label>
- </section>
- <section class="col col-3">
- <label class="select">
- <label class="label">代表数量(kg):<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="qualitycheck.dbsl" ng-readonly="isNotEdit"
- name="dbsl" placeholder="代表数量" validNumber="true" required />
- </label>
- </label>
- </section>
- </div>
- </fieldset>
- </div>
- </form>
- </div>
- <footer class="modal-footer text-align-right">
- <div class="row">
- <div class="col-md-12">
- <a class="btn btn-primary" href-void="" href="#" ng-click="saveData(3)" ng-hide="isNotEdit">提交</a>
- <a class="btn btn-default" href-void="" href="#" ng-click="back()">取消</a>
- </div>
- </div>
- </footer>
- </div>
- </div>
- </article>
- </div>
- </section>
- </div>
|