| | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">物品价格(元)<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="物品价格(元)" name="GoodsPrice" id="GoodsPrice" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.GoodsPrice" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | <input class="form-control" label="物品价格(元)" name="GoodsPrice" id="GoodsPrice" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.GoodsPrice" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">物品数量<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="物品数量" name="GoodsNum" id="GoodsNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.GoodsNum" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | <input class="form-control" label="物品数量" name="GoodsNum" id="GoodsNum" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.GoodsNum" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | |
| | | |
| | | </div>*@ |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | @*@if (!string.IsNullOrWhiteSpace(Model.Id)) |
| | | { |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">剩余数量</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="剩余数量" name="GoodsLeft" id="GoodsLeft" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.GoodsLeft" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | @*@if (!string.IsNullOrWhiteSpace(Model.Id)) |
| | | { |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">剩余数量</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="剩余数量" name="GoodsLeft" id="GoodsLeft" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@Model.GoodsLeft" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | }*@ |
| | | </div> |
| | | }*@ |
| | | |
| | | |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">物品状态<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="GoodsStatus" class="form-control" name="GoodsStatus" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in GoodsStatus) |
| | | <label class="text-right col-sm-1 col-md-1 control-label">物品状态<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="GoodsStatus" class="form-control" name="GoodsStatus" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in GoodsStatus) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.GoodsStatus)) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.GoodsStatus)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | </select> |
| | | </div> |
| | | } |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">是否耗材<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="HaocaiStatus" class="form-control" name="HaocaiStatus" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in shifou) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.HaocaiStatus)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | </select> |
| | | </div> |
| | | |
| | | </select> |
| | | </div> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">是否耗材<i class="red">*</i></label> |
| | | <div class="col-sm-2 col-md-2"> |
| | | <select id="HaocaiStatus" class="form-control" name="HaocaiStatus" data-placeholder="选择 序列 ..."> |
| | | <option value="" hassubinfo="true">请选择</option> |
| | | @foreach (var item in shifou) |
| | | { |
| | | @if (!item.CodeSn.Equals(Model.HaocaiStatus)) |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.CodeSn" hassubinfo="true" selected="selected"> |
| | | @item.Comments |
| | | </option> |
| | | } |
| | | |
| | | } |
| | | |
| | | </select> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <div class="clearfix layer-area" style="padding-bottom:15px;"> |
| | | |
| | | <label class="text-right col-sm-1 col-md-1 control-label">ISBN</label> |