| | |
| | | @foreach (var item in ClassifyId) |
| | | { |
| | | |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.ClassifyName |
| | | </option> |
| | | @if (!item.Id.Equals(Model.ClassifyId)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.ClassifyName |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.ClassifyName |
| | | </option> |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | @foreach (var item in Goods) |
| | | { |
| | | |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.GoodsName |
| | | </option> |
| | | @if (!item.Id.Equals(Model.Id)) |
| | | { |
| | | <option value="@item.Id" hassubinfo="true"> |
| | | @item.GoodsName |
| | | </option> |
| | | } |
| | | else |
| | | { |
| | | <option value="@item.Id" hassubinfo="true" selected="selected"> |
| | | @item.GoodsName |
| | | </option> |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | |
| | | <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="" readonly=""> |
| | | <input class="form-control" label="剩余数量" name="GoodsLeft" id="GoodsLeft" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.GoodsLeft" readonly=""> |
| | | |
| | | </div> |
| | | |