zhangjiaqing
8 天以前 1cef3adee31c6934c0da4b4f0b8a6f5ac03b364f
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<div>
    <div>
        <div>
            <div class="row">
                <div class="col-sm-3">
                    <span>
                        <span><vc:i18n name="申请单号" namespace="printPurchaseOutApply"></vc:i18n></span>:{{printPurchaseOutApplyInfo.applyOrderId}}
                    </span>
                </div>
                <div class="col-sm-3">
                    <span>
                        <span><vc:i18n name="申请人" namespace="printPurchaseOutApply"></vc:i18n></span>:{{printPurchaseOutApplyInfo.userName}}
                    </span>
                </div>
                <div class="col-sm-3">
                    <span>
                        <span><vc:i18n name="联系电话" namespace="printPurchaseOutApply"></vc:i18n></span>:{{printPurchaseOutApplyInfo.endUserTel}}
                    </span>
                </div>
                <div class="col-sm-3">
                    <span>
                        <span><vc:i18n name="申请时间" namespace="printPurchaseOutApply"></vc:i18n></span>:{{printPurchaseOutApplyInfo.createTime}}
                    </span>
                </div>
            </div>
            <table class="table table-bordered margin-top">
                <thead>
                <tr>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="编号" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="物品类型" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="物品名称" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="物品编码" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="所属仓库" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="物品规格" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="供应商" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="固定物品" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="参考单价" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="原有库存" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="现有库存" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="申请数量" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <th scope="col" class="text-center">
                        <span><vc:i18n name="领用数量" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                </tr>
                </thead>
                <tbody>
                <tr v-for="(item,index) in printPurchaseOutApplyInfo.purchaseApplyDetailVo">
                    <th scope="row" class="text-center">{{index +1}}</th>
                    <td class="text-center">{{item.parentRstName}} > {{item.rstName}}</td>
                    <td class="text-center">{{item.resName}}</td>
                    <td class="text-center">{{item.resCode}}</td>
                    <td class="text-center">{{item.shName}}</td>
                    <td class="text-center">{{item.specName ? item.specName : '-'}}</td>
                    <td class="text-center">{{item.supplierName ? item.supplierName : '-'}}</td>
                    <td class="text-center">{{item.isFixedName}}</td>
                    <td class="text-center">{{item.consultPrice? '¥'+ item.consultPrice : '-'}}</td>
                    <td class="text-center">{{item.originalStock}}{{item.unitCodeName}}</td>
                    <td class="text-center">{{item.stock ? + item.stock : '0'}}{{item.unitCodeName}}</td>
                    <td class="text-center">{{item.quantity}}{{item.unitCodeName}}</td>
                    <td class="text-center">
                        {{item.purchaseQuantity? item.purchaseQuantity+item.unitCodeName: '-'}}
                    </td>
                </tr>
                <tr v-for="(item,index) in printPurchaseOutApplyInfo.purchaseApplyDetailVo">
                    <th scope="row" class="text-center">
                        <span><vc:i18n name="申请备注" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <td colspan="4" style="text-align:center">{{item.remark}}</td>
                    <th class="text-center">
                        <span><vc:i18n name="领用备注" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </th>
                    <td colspan="7" style="text-align:center">{{item.purchaseRemark? item.purchaseRemark :'-'}}</td>
                </tr>
                <tr height="60px">
                    <td colspan="2" class="text-center " style="vertical-align:middle;">
                        <span><vc:i18n name="审核人签字" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </td>
                    <td colspan="2"></td>
                    <td class="text-center " style="vertical-align:middle;">
                        <span><vc:i18n name="时间" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </td>
                    <td colspan="8"></td>
                </tr>
                <tr height="60px">
                    <td colspan="2" class="text-center" style="vertical-align:middle;">
                        <span><vc:i18n name="申请人签字" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </td>
                    <td colspan="2"></td>
                    <td class="text-center " style="vertical-align:middle;">
                        <span><vc:i18n name="时间" namespace="printPurchaseOutApply"></vc:i18n></span>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
        <div id="print-btn">
            <button class="btn btn-primary float-right" type="button" v-on:click="_printPurchaseOutApplyDiv()">
                <i class="fa fa-check"></i>&nbsp;打印
            </button>
            <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                    v-on:click="_closePage()">
                <span><vc:i18n name="取消" namespace="printPurchaseOutApply"></vc:i18n></span>
            </button>
        </div>
    </div>
</div>