@Html.LabelFor(m => m.WareHouseM.WareHouseName) |
@Html.TextBoxFor(m => m.WareHouseM.WareHouseName, new { @class = "easyui-textbox", required = "true" }) |
@Html.LabelFor(m => m.WareHouseM.WareHouseCode) |
@Html.TextBoxFor(m => m.WareHouseM.WareHouseCode, new { @class = "easyui-textbox", required = "true" })
|
</tr>
<tr>
<th>
@Html.LabelFor(m => m.WareHouseM.Manager)
</th>
<td>
@Html.TextBoxFor(m => m.WareHouseM.Manager, new { @class = "easyui-combobox", required = "true" })
</td>
<th>@Html.LabelFor(m => m.WareHouseM.Phone)</th>
<td>@Html.TextBoxFor(m => m.WareHouseM.Phone, new { @class = "easyui-textbox" })</td>
</tr>
<tr>
<th>@Html.LabelFor(m => m.WareHouseM.Fax)</th>
<td>@Html.TextBoxFor(m => m.WareHouseM.Fax, new { @class = "easyui-textbox" })</td>
<th>@Html.LabelFor(m => m.WareHouseM.MobilePhone)</th>
<td>@Html.TextBoxFor(m => m.WareHouseM.MobilePhone, new { @class = "easyui-textbox" })</td>
</tr>
<tr>
<th>@Html.LabelFor(m => m.WareHouseM.Address)</th>
<td colspan="3">@Html.TextBoxFor(m => m.WareHouseM.Address, new { @class = "easyui-textbox", style = " width:455px;" })</td>
</tr>
<tr>
<th>
@Html.LabelFor(m => m.WareHouseM.PostNO)
</th>
<td>@Html.TextBoxFor(m => m.WareHouseM.PostNO, new { @class = "easyui-textbox" })</td>
<th>@Html.LabelFor(m => m.WareHouseM.PosClear)</th>
<td>@Html.TextBoxFor(m => m.WareHouseM.PosClear, new { @class = "easyui-validatebox", type = "checkbox" })</td>
</tr>
<tr>
<th>@Html.LabelFor(m => m.WareHouseM.SimpleWareHouseName)</th>
<td>@Html.TextBoxFor(m => m.WareHouseM.SimpleWareHouseName, new { @class = "easyui-textbox" })</td>
</tr>
<tr>
<th>@Html.LabelFor(m => m.WareHouseM.Memo)</th>
<td colspan="3">@Html.TextBoxFor(m => m.WareHouseM.Memo, new { @class = "easyui-textbox", style = " width:455px;" })</td>
</tr>
</table>
</form>
我在页面上用到 二级对象来加载数据控件,但是在 赋值的时候不能 用 easy ui form load()方法吧查出来的对象加载出来。用一级对象 是可以的 问问哪位有好的解决方法 不想一个一个的去赋值。