zhao
2021-07-19 8347f2fbddbd25369359dcb2da1233ac48a19fdc
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@{
    Layout = "~/Views/Shared/_LayoutVue.cshtml";
    ViewBag.Title = "PrintLogistics";
}
 
<div id="printLogistics" v-cloak>
    <el-card class="box-card" style="height:120px;">
        <el-form label-width="60px" v-bind:model="formData" class="demo-ruleForm"
                 v-bind:inline="true">
            <el-form-item label="打印机:">
                <hh-select-url v-model="formData.printer"
                               url="/Basic/Common/GetPrintTemplet"
                               valuefield="CN_S_PRINTER"
                               textfield="CN_S_PRINTER"
                               v-bind:usedefault="false"
                               datafield="Data"></hh-select-url>
            </el-form-item>
            <el-form-item label="模板:">
                <hh-select-url v-model="formData.printTemplet"
                               url="/Basic/Common/GetPrintTemplet"
                               valuefield="CN_S_TEMPLET_NAME"
                               textfield="CN_S_TEMPLET_NAME"
                               v-bind:usedefault="false"
                               datafield="Data"></hh-select-url>
            </el-form-item>
        </el-form>
        <el-row style="padding:10px 15px;text-align:center">
            <el-button size="mini" type="primary">保 存</el-button>
            <el-button size="mini" type="primary" v-on:click="close">关 闭</el-button>
        </el-row>
    </el-card>
</div>
@section scripts{
    <script>
        new Vue({
            data: {
                formData: {
                    printer: "",
                    printTemplet: ""
                },
                opNos: ""
            },
            methods: {
                close: function () {
                    wms.dialogFrame.show = false
                }
            },
            mounted: function () {
                this.opNos = GetUrlParam("opNos");
            },
            el: '#printLogistics'
        });
    </script>
}