jialh
2025-07-18 495c08adcfeae3cc2a9035dd1138db86f6409e58
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<div id="addMeterWaterModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <h3 class="m-t-none m-b ">
                    <vc:i18n name="添加抄表" namespace="addMeterWater"></vc:i18n>
                </h3>
                <div class="ibox-content">
 
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="费用类型" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <select class="custom-select" v-model="addMeterWaterInfo.feeTypeCd"
                                @change="_changeAddMeterWaterFeeTypeCd(addMeterWaterInfo.feeTypeCd)">
                                <option selected disabled value="">
                                    {{vc.i18n('必填,请选择费用类型','addMeterWater')}}
                                </option>
                                <option value="630000017">{{vc.i18n('代收水费','roomsProxyFee')}}</option>
                                <option value="630000007">{{vc.i18n('电费及管理费','roomsProxyFee')}}</option>
                                <option value="630000009">{{vc.i18n('其他收入','roomsProxyFee')}}</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="费用子类型" namespace="tempImportRoomFee"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <select class="custom-select" v-model="addMeterWaterInfo.secondaryFeeTypeCd"
                            @change="_changeSecondaryFeeTypeCdz(addMeterWaterInfo.feeTypeCd,addMeterWaterInfo.secondaryFeeTypeCd)">
                                <option selected disabled value="">{{vc.i18n('非必填,请选择费用子类型','tempImportRoomFee')}}
                                </option>
                                <option v-for="(item,index) in addMeterWaterInfo.secondaryFeeTypeCds" :key="index"
                                    v-bind:value="item.secondaryFeeTypeCd">
                                    {{item.secondaryFeeTypeName}}
                                </option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <span>
                                <vc:i18n name="收费项目" namespace="addMeterWater"></vc:i18n>
                            </span>
                        </label>
                        <div class="col-sm-10">
                            <select class="custom-select" v-model="addMeterWaterInfo.configId"
                                @change="changeFeeConfig()">
                                <option selected disabled value="">
                                    {{vc.i18n('必填,请选择收费项目','addMeterWater')}}
                                </option>
                                <option v-for="(item,index) in addMeterWaterInfo.feeConfigs" :key="index"
                                    v-bind:value="item.configId">{{item.feeName}}
                                </option>
                            </select>
                            <span>说明:显示公式为【(本期度数-上期度数)*单价+附加费】的费用项</span>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                                <vc:i18n name="抄表类型" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <select class="custom-select" v-model="addMeterWaterInfo.meterType"
                                @change="_changeAddMeterType()">
                                <option selected disabled value="">
                                    {{vc.i18n('必填,请选择抄表类型','addMeterWater')}}
                                </option>
                                <option v-for="(item,index) in addMeterWaterInfo.meterTypes" :key="index"
                                    v-bind:value="item.typeId">{{item.typeName}}
                                </option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group row" v-show="addMeterWaterInfo.hasRoom == false">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="楼栋" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <vc:create path="property/floorSelect2" parentModal="addMeterWaterModel"
                                namespace="addMeterWater">
                            </vc:create>
                        </div>
                    </div>
                    <div class="form-group row" v-show="addMeterWaterInfo.hasRoom == false">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="单元" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <vc:create path="property/unitSelect2" parentModal="addMeterWaterModel"
                                callBackListener="addMeterWater" callBackFunction="notify" namespace="addMeterWater">
                            </vc:create>
                        </div>
                    </div>
                    <div class="form-group row" v-show="addMeterWaterInfo.hasRoom == false">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="房屋" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <vc:create path="property/roomSelect2" parentModal="addMeterWaterModel"
                                callBackListener="addMeterWater" callBackFunction="notify" namespace="addMeterWater">
                            </vc:create>
                        </div>
                    </div>
                    <div class="form-group row" v-show="addMeterWaterInfo.hasRoom == true">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="收费对象" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="addMeterWaterInfo.ownerName" type="text" disabled="disabled"
                                :placeholder="vc.i18n('必填,请填写房屋','addMeterWater')" class="form-control ">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="上期度数" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="addMeterWaterInfo.preDegrees" type="text"
                                :placeholder="vc.i18n('必填,请填写上期度数','addMeterWater')" class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="本期度数" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="addMeterWaterInfo.curDegrees" type="text"
                                :placeholder="vc.i18n('必填,请填写本期度数','addMeterWater')" class="form-control addCurDegrees"
                                @change="_getChange()">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="上期读表时间" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="addMeterWaterInfo.preReadingTime" type="text"
                                :placeholder="vc.i18n('必填,请填写上期读表时间','addMeterWater')"
                                class="form-control addPreReadingTime">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="本期读表时间" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="addMeterWaterInfo.curReadingTime" type="text"
                                :placeholder="vc.i18n('必填,请填写本期读表时间','addMeterWater')"
                                class="form-control addCurReadingTime">
                        </div>
                    </div>
                    <div class="form-group row" v-if="addMeterWaterInfo.computingFormula == '9009'">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="单价" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="addMeterWaterInfo.price" type="text"
                                :placeholder="vc.i18n('必填,请填写单价','addMeterWater')" class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="备注" namespace="addMeterWater"></vc:i18n>
                        </label>
                        <div class="col-sm-10">
                            <input v-model="addMeterWaterInfo.remark" type="text"
                                :placeholder="vc.i18n('选填,请填写备注','addMeterWater')" class="form-control">
                        </div>
                    </div>
                    <div class="ibox-content">
                        <span>
                            注:单元选择为0表示为商铺
                        </span>
                        <button class="btn btn-primary float-right" type="button" v-on:click="saveMeterWaterInfo()">
                            <i class="fa fa-check"></i>&nbsp;保存
                        </button>
                        <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                            data-dismiss="modal">
                            <i class="fa fa-times"></i>&nbsp;取消
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>