zhao
2021-06-04 c7ec496f9e41c2227103b3ef776e4a3f91bce6b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@{
    Layout = "~/Views/Shared/_LayoutVue.cshtml";
    ViewBag.Title = "NotStockItem";
}
@model IEnumerable<object>
<div id="notStockItem">
    <el-table v-bind:data="notStockData" class="tb-edit" style="width: 100%;" border highlight-current-row size="mini">
        <el-table-column label="物料编码" prop="ItemCode"></el-table-column>
        <el-table-column label="物料名称" prop="ItemName"></el-table-column>
        <el-table-column label="上架数量" prop="UpperNum"></el-table-column>
    </el-table>
</div>
@section scripts{
    <script>
        new Vue({
            el: '#notStockItem',
            data: {
                @{
                    <text>
                notStockData: @Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(Model)),
                </text>
                 }
            }
        });
    </script>
}