| | |
| | | |
| | | List<AdmGoodsClassifyDTO> ClassifyId = ViewData["ClassifyId"] as List<AdmGoodsClassifyDTO>; //物品类型 |
| | | |
| | | List<SysCodeDtl> shifou = ViewData["shifou"] as List<SysCodeDtl>; //物品状态 |
| | | |
| | | } |
| | | @{ |
| | | Layout = null; |
| | |
| | | </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> |
| | | |
| | |
| | | return; |
| | | } |
| | | |
| | | if ($("#HaocaiStatus").val() == '') { |
| | | toastr.warning("是否耗材不能为空"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | |
| | | |