| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398 |
- <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="deviceStorageEdit-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>
- <strong>设备器材入库详情页</strong>
- </header>
- <fieldset>
- <div class="row">
- <section class="col col-3">
- <label class="label">类型:<span style="color: red;">*</span></label>
- <label class="select">
- <select ng-model="dSbxxsjy.ssfl" ng-change="changeDeviceType()"
- ng-disabled="isNotEdit" required>
- <option value="" selected="">--请选择--</option>
- <option value="1">粮食设备</option>
- <option value="3">仓储器材</option>
- </select>
- </label>
- </section>
- <section class="col col-3">
- <label class="label">设备状态:<span style="color: red;">*</span></label>
- <label class="select">
- <select ng-model="dSbxxsjy.status" name="status" required>
- <option value="">--请选择--</option>
- <option value="1">完好</option>
- <option value="2">报废</option>
- <option value="3">待检修</option>
- <option value="4">其它</option>
- <!-- <option value="0">报废</option> -->
- </select><i></i>
- </label>
- </section>
- </div>
- <!--设备-->
- <div ng-hide="ShowSBType">
- <div class="row">
- <section class="col col-3">
- <label class="label">设备仪器名称:<span style="color: red;">*</span></label>
- <label class="select" ng-readonly="isNotEdit">
- <multi-select-tree
- disabled-tree="isNotEdit"
- data-input-model="deviceNameTreeData"
- data-output-model="dSbxxsjy.sbyqid"
- data-default-label="请选择"
- multi-select="false"
- select-only-leafs="true"
- data-callback="selectOnly1Or2(item, selectedItems)" required>
- </multi-select-tree>
- <em><span style="color: #D56161;margin-top:6px;padding:0 1px;font-style:normal;font-size:11px;
- line-height:15px;" id="grainAttribute-error"></span></em>
- </label>
- </section>
- <section class="col col-3">
- <label class="input"> <label class="label">规格型号:<span style="color: red;">*</span></label>
- <input type="text" ng-model="dSbxxsjy.sbggxh" name="model"
- ng-readonly="isNotEdit" placeholder="规格型号" required />
- </label>
- </section>
- <section class="col col-3">
- <label class="input">
- <label class="label">资产编号:</label>
- <input type="text" ng-model="dSbxxsjy.zcbh" ng-readonly="isNotEdit"
- placeholder="资产编号">
- </label>
- </section>
- <section class="col col-3">
- <label class="input">
- <label class="label">设备编号:</label>
- <input type="text" ng-model="dSbxxsjy.sbbh" ng-readonly="true"
- placeholder="编号自动保存">
- </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="dSbxxsjy.cgjg" name="cgjg" ng-readonly="isNotEdit" required
- placeholder="单价" validDouble="true" />
- </label>
- </section>
- <section class="col col-3">
- <label class="label">入库数量:<span style="color: red;">*</span></label>
- <label class="input">
- <input type="number" ng-model="dSbxxsjy.sbsl"
- ng-disabled="isNotEdit" placeholder="入库数量" required
- name="sbsl" validInteger="true">
- </label>
- </section>
- <section class="col col-3">
- <label class="select">
- <label class="label">单位:</label>
- <label class="select">
- <select ng-model="dSbxxsjy.sbdwmc" ng-disabled="isNotEdit"
- ng-readonly="isNotEdit">
- <option value="">--请选择--</option>
- <option value="把">把</option>
- <option value="个">个</option>
- <option value="台">台</option>
- </select>
- </label>
- </label>
- </section>
- <section class="col col-3">
- <label class="label">生产日期:<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.scrq" name="scrq" id="disablescrq"
- ng-disabled="isNotEdit" required onClick="WdatePicker({lang:'zh-cn'})">
- </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="dSbxxsjy.rkrq" name="rkrq" onClick="WdatePicker({lang:'zh-cn'})" ng-disabled="isNotEdit"
- id="disablerkrq" required />
- <!-- <input type="text" ng-model="dSbxxsjy.rkrq" name="rkrq" class="Wdate" id="disablerkrq"
- ng-readonly="true" ng-disabled="isNotEdit" required onClick="WdatePicker({lang:'zh-cn'})" /> -->
- </label>
- </section>
- <section class="col col-3">
- <label class="label">使用年限:</label>
- <label class="input">
- <input type="number" ng-model="dSbxxsjy.sysm" name=""
- ng-readonly="isNotEdit"
- placeholder="使用年限">
- </label>
- </section>
- <section class="col col-3">
- <label class="input">
- <label class="label">生产厂家:<span style="color: red;">*</span></label>
- <input type="text" ng-model="dSbxxsjy.sccj" name="sccj"
- ng-readonly="isNotEdit"
- placeholder="生产厂家" required />
- </label>
- </section>
- <section class="col col-3">
- <label class="label">存放位置:</label>
- <label class="select">
- <select ng-model="dSbxxsjy.fzd" name="fzd" type="text"
- ng-options="equipmentEquipmentPool.id as equipmentEquipmentPool.putPosition for equipmentEquipmentPool in equipmentEquipmentPool "
- class="form-control" ng-disabled="isNotEdit">
- <option value="">--请选择--</option>
- </select>
- </label>
- </section>
- </div>
- <div class="row">
- <section class="col col-3">
- <label class="label">货架:</label>
- <label class="select">
- <select ng-model="dSbxxsjy.sbazr" name="sbazr" class="form-control"
- ng-disabled="isNotEdit"
- ng-options="equipmentEquipmentPool.id as equipmentEquipmentPool.shelfId for equipmentEquipmentPool in equipmentEquipmentPool | filter:{id:dSbxxsjy.fzd}">
- <option value="">--请选择--</option>
- </select>
- </label>
- </section>
- <section class="col col-3">
- <label class="label">货位:</label>
- <label class="select">
- <select ng-model="dSbxxsjy.shrmc" name="shrmc"
- class="form-control"
- ng-disabled="isNotEdit"
- ng-options="equipmentEquipmentPool.id as equipmentEquipmentPool.warehouseId for equipmentEquipmentPool in equipmentEquipmentPool | filter:{id:dSbxxsjy.sbazr}">
- <option value="">--请选择--</option>
- </select>
- </label>
- </section>
- <section class="col col-3">
- <label class="input">
- <label class="label">操作人:</label>
- <input type="text" ng-model="dSbxxsjy.djr" ng-readonly="isNotEdit"
- placeholder="操作人">
- </label>
- </section>
- <section class="col col-3">
- <label class="label">操作时间:</label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.createDate" name="createDate" id="createDate"
- onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
- ng-disabled="isNotEdit"
- placeholder="操作时间">
- </label>
- </section>
- </div>
- <div class="row">
- <section class="col col-6">
- <label class="label">设备描述:</label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.remark" placeholder="备注"
- ng-readonly="isNotEdit">
- </label>
- </section>
- <section class="col col-3">
- <label class="input">
- <label class="label">检定单位:</label>
- <input type="text" ng-model="dSbxxsjy.jddw" name="jddw"
- placeholder="检定单位" ng-disabled="isNotEdit" />
- </label>
- </section>
- <section class="col col-3">
- <label class="label">检定时间:</label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.jdsj" name="jdsj" id="jdsj"
- onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
- ng-disabled="isNotEdit" />
- </label>
- </section>
- </div>
- <div class="row">
- <section class="col col-3">
- <label class="input">
- <label class="label">提交人:</label>
- <input type="text" ng-model="dSbxxsjy.refresher" ng-disabled="true">
- </label>
- </section>
- <section class="col col-3">
- <label class="label">提交时间:</label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.refreshTime" name="refreshTime"
- onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
- ng-disabled="true">
- </label>
- </section>
- </div>
- </div>
- <!--器材-->
- <div ng-hide="ShowQCType">
- <div class="row">
- <section class="col col-3">
- <label class="label">名称:<span style="color: red;">*</span></label>
- <label class="select">
- <multi-select-tree
- disabled-tree="isNotEdit"
- data-input-model="deviceNameTreeData"
- data-output-model="dSbxxsjy.sbyqid"
- data-default-label="请选择"
- multi-select="false"
- select-only-leafs="true"
- data-callback="selectOnly1Or2(item, selectedItems)">
- </multi-select-tree>
- <em>
- <span id="grainAttributeQc-error" style="color: #D56161;margin-top:6px;padding:0 1px;font-style:normal;font-size:11px;line-height:15px;"></span>
- </em>
- </label>
- </section>
- <section class="col col-3">
- <label class="label">编号:</label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.sbbh" ng-readonly="true"
- placeholder="编号自动保存">
- </label>
- </section>
- <section class="col col-3">
- <label class="label">单价(元):<span style="color: red;">*</span></label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.cgjg" name="cgjg" ng-readonly="isNotEdit"
- placeholder="单价" validDouble="true" required />
- </label>
- </section>
- <section class="col col-3">
- <label class="label">数量:<span style="color: red;">*</span></label>
- <label class="input">
- <input type="number" ng-model="dSbxxsjy.sbsl" name="sbsl"
- ng-readonly="isNotEdit" required placeholder="数量" validInteger="true">
- </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="dSbxxsjy.rkrq" name="rkrq" onClick="WdatePicker({lang:'zh-cn'})" ng-disabled="isNotEdit"
- id="disableQcrkrq" required />
- </label>
- </section>
- <section class="col col-3">
- <label class="label">存放位置:</label>
- <label class="select">
- <select ng-model="dSbxxsjy.fzd" name="fzd" type="text"
- ng-options="equipmentEquipmentPool.id as equipmentEquipmentPool.putPosition for equipmentEquipmentPool in equipmentEquipmentPool "
- class="form-control" ng-disabled="isNotEdit">
- <option value="">--请选择--</option>
- </select>
- </label>
- </section>
- <section class="col col-3">
- <label class="label">货架:</label>
- <label class="select">
- <select ng-model="dSbxxsjy.sbazr" name="sbazr" class="form-control"
- ng-disabled="isNotEdit"
- ng-options="equipmentEquipmentPool.id as equipmentEquipmentPool.shelfId for equipmentEquipmentPool in equipmentEquipmentPool | filter:{id:dSbxxsjy.fzd}">
- <option value="">--请选择--</option>
- </select>
- </label>
- </section>
- <!-- <section class="col col-3"> -->
- <!-- <label class="label">设备状态:</label> -->
- <!-- <label class="select"> -->
- <!-- <select ng-model="dSbxxsjy.status" name="status" ng-disabled="isNotEdit" required> -->
- <!-- <option value="">--请选择--</option> -->
- <!-- <option value="1" ng-selected="1">正常</option> -->
- <!-- <option value="0">已作废</option> -->
- <!-- </select> -->
- <!-- </label> -->
- <!-- </section> -->
- </div>
- <div class="row">
- <section class="col col-3">
- <label class="input">
- <label class="label">操作人:</label>
- <input type="text" ng-model="dSbxxsjy.djr"
- placeholder="操作人" ng-disabled="isNotEdit">
- </label>
- </section>
- <section class="col col-3">
- <label class="label">操作时间:</label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.createDate" name="createdate" id="createdate"
- onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
- ng-disabled="isNotEdit"
- placeholder="操作时间">
- </label>
- </section>
- <section class="col col-6">
- <label class="label">设备描述:</label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.remark" placeholder="备注"
- ng-readonly="isNotEdit">
- </label>
- </section>
- </div>
- <div class="row">
- <section class="col col-3">
- <label class="input">
- <label class="label">检定单位:</label>
- <input type="text" ng-model="dSbxxsjy.jddw" name="jddw"
- placeholder="检定单位" ng-disabled="isNotEdit" />
- </label>
- </section>
- <section class="col col-3">
- <label class="label">检定时间:</label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.jdsj" name="jdsj" id="jdsjqc"
- onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
- ng-disabled="isNotEdit" />
- </label>
- </section>
- </div>
- <div class="row">
- <section class="col col-3">
- <label class="input">
- <label class="label">提交人:</label>
- <input type="text" ng-model="dSbxxsjy.refresher" ng-disabled="true">
- </label>
- </section>
- <section class="col col-3">
- <label class="label">提交时间:</label>
- <label class="input">
- <input type="text" ng-model="dSbxxsjy.refreshTime" name="refreshTime"
- onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})"
- ng-disabled="true">
- </label>
- </section>
- </div>
- </div>
- </fieldset>
- <div>
- <footer class="text-align-center">
- <button type="button" class="btn btn-default" ng-click="back()">取消</button>
- <button type="button" class="btn btn-primary" ng-hide="isNotEdit"
- ng-click="saveData()">保存
- </button>
- </footer>
- </div>
- </form>
- </div>
- </div>
- </div>
- </article>
- </div>
- </section>
- </div>
|