sale-client 3.6.407 → 3.6.409
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/revenue/base/rightview/CardList.vue +8 -0
- package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +30 -1
- package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/iotTable.vue +24 -3
- package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterListMaintain.vue +1 -1
- package/src/filiale/rongchuang/bill/CustQueryEticket.vue +3 -2
- package/src/filiale/shiquan/charge/CardMeterCenter.vue +1 -1
package/package.json
CHANGED
|
@@ -492,6 +492,14 @@
|
|
|
492
492
|
}
|
|
493
493
|
} else if (type === '垃圾费收费') {
|
|
494
494
|
name = 'rs/report/garbageChargeReport'
|
|
495
|
+
} else if (type === '物联网赠费') {
|
|
496
|
+
name = 'rs/report/iotGiftFee'
|
|
497
|
+
} else if (type === '物联网赠气') {
|
|
498
|
+
name = 'rs/report/iotGiftGas'
|
|
499
|
+
} else if (type === '卡表赠费') {
|
|
500
|
+
name = 'rs/report/icGiftFee'
|
|
501
|
+
} else if (type === '卡表赠费') {
|
|
502
|
+
name = 'rs/report/icGiftGas'
|
|
495
503
|
}
|
|
496
504
|
return name
|
|
497
505
|
},
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
<button class="button_clear" @click="clean()" >取消</button>
|
|
57
57
|
</div>
|
|
58
58
|
</validator>
|
|
59
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
|
|
59
60
|
</div>
|
|
60
61
|
</div>
|
|
61
62
|
<upload :blodid="row.f_userinfo_id" :businessid="randomBusinessId" isremark="true" fusetype="赠气"></upload>
|
|
@@ -123,6 +124,10 @@
|
|
|
123
124
|
await self.$resetpost('rs/logic/otherGasRollback', {data: rollback}, {rejectMsg: '赠气回滚出错', resolveMsg: null})
|
|
124
125
|
}
|
|
125
126
|
}
|
|
127
|
+
let asyncIcTable = async function (self) {
|
|
128
|
+
await self.$getConfig(self, 'icTable')
|
|
129
|
+
console.log('卡表赠气赠费config', self.config)
|
|
130
|
+
}
|
|
126
131
|
|
|
127
132
|
export default {
|
|
128
133
|
title: '卡表赠气赠费',
|
|
@@ -144,6 +149,14 @@
|
|
|
144
149
|
f_reason: '',
|
|
145
150
|
f_add_gas: '不计入'
|
|
146
151
|
},
|
|
152
|
+
config: {
|
|
153
|
+
hasPrint: false
|
|
154
|
+
},
|
|
155
|
+
billData: {
|
|
156
|
+
url: 'rs/report/icGiftGas',
|
|
157
|
+
operator: this.$login.f.name,
|
|
158
|
+
billnumber: ''
|
|
159
|
+
},
|
|
147
160
|
print: false
|
|
148
161
|
}
|
|
149
162
|
},
|
|
@@ -153,6 +166,12 @@
|
|
|
153
166
|
this.row.cardInfo = this.cardData
|
|
154
167
|
console.log('卡信息', this.row.cardInfo)
|
|
155
168
|
this.getRandomId()
|
|
169
|
+
asyncIcTable(this)
|
|
170
|
+
if (this.isGas) {
|
|
171
|
+
this.billData.url = 'rs/report/icGiftGas'
|
|
172
|
+
} else {
|
|
173
|
+
this.billData.url = 'rs/report/icGiftFee'
|
|
174
|
+
}
|
|
156
175
|
},
|
|
157
176
|
events: {
|
|
158
177
|
// 删除Resid数组元素
|
|
@@ -185,7 +204,14 @@
|
|
|
185
204
|
}
|
|
186
205
|
this.$resetpost('rs/logic/updatefiles', data)
|
|
187
206
|
|
|
188
|
-
this
|
|
207
|
+
if (this.config.hasPrint) {
|
|
208
|
+
this.row.id = res
|
|
209
|
+
this.row.f_bill_type = this.isGas ? '卡表赠气' : '卡表赠费'
|
|
210
|
+
this.row.f_bill_style = '普通收据'
|
|
211
|
+
this.print = true
|
|
212
|
+
} else {
|
|
213
|
+
this.$dispatch('success')
|
|
214
|
+
}
|
|
189
215
|
})
|
|
190
216
|
},
|
|
191
217
|
pregas () {
|
|
@@ -251,6 +277,9 @@
|
|
|
251
277
|
clean () {
|
|
252
278
|
this.$info('取消操作')
|
|
253
279
|
this.$dispatch('cancelclean', this.row)
|
|
280
|
+
},
|
|
281
|
+
printok () {
|
|
282
|
+
this.$dispatch('success')
|
|
254
283
|
}
|
|
255
284
|
},
|
|
256
285
|
computed: {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
</validator>
|
|
60
60
|
<!--<validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>-->
|
|
61
61
|
<!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
|
|
62
|
-
|
|
62
|
+
<print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
|
|
63
63
|
</div>
|
|
64
64
|
<upload :blodid="row.f_userinfo_id" v-ref:upload :businessid="randomBusinessId" :isremark="true" fusetype="赠气"></upload>
|
|
65
65
|
</template>
|
|
@@ -90,7 +90,16 @@ export default {
|
|
|
90
90
|
f_preamount: 0,
|
|
91
91
|
f_add_gas: '计入',
|
|
92
92
|
f_comments: ''
|
|
93
|
-
}
|
|
93
|
+
},
|
|
94
|
+
config: {
|
|
95
|
+
hasPrint: false
|
|
96
|
+
},
|
|
97
|
+
billData: {
|
|
98
|
+
url: 'rs/report/iotGiftGas',
|
|
99
|
+
operator: this.$login.f.name,
|
|
100
|
+
billnumber: ''
|
|
101
|
+
},
|
|
102
|
+
print: false
|
|
94
103
|
|
|
95
104
|
}
|
|
96
105
|
},
|
|
@@ -101,8 +110,10 @@ export default {
|
|
|
101
110
|
this.getRandomId()
|
|
102
111
|
if (this.row.f_collection_type === '按气量') {
|
|
103
112
|
this.model.f_operat_type = ['物联网赠气']
|
|
113
|
+
this.billData.url = 'rs/report/iotGiftGas'
|
|
104
114
|
} else {
|
|
105
115
|
this.model.f_operat_type = ['物联网赠费']
|
|
116
|
+
this.billData.url = 'rs/report/iotGiftFee'
|
|
106
117
|
}
|
|
107
118
|
},
|
|
108
119
|
events: {
|
|
@@ -168,9 +179,19 @@ export default {
|
|
|
168
179
|
f_blobid: res.data.id
|
|
169
180
|
}
|
|
170
181
|
this.$resetpost('rs/logic/updatefiles', data)
|
|
171
|
-
this.
|
|
182
|
+
if (this.config.hasPrint) {
|
|
183
|
+
this.row.id = res.data.id
|
|
184
|
+
this.row.f_bill_type = this.row.f_collection_type === '按气量' ? '物联网赠气' : '物联网赠费'
|
|
185
|
+
this.row.f_bill_style = '普通收据'
|
|
186
|
+
this.print = true
|
|
187
|
+
} else {
|
|
188
|
+
this.clean()
|
|
189
|
+
}
|
|
172
190
|
})
|
|
173
191
|
},
|
|
192
|
+
printok () {
|
|
193
|
+
this.$dispatch('success')
|
|
194
|
+
},
|
|
174
195
|
clean () {
|
|
175
196
|
this.$dispatch('refresh')
|
|
176
197
|
}
|
package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterListMaintain.vue
CHANGED
|
@@ -394,7 +394,7 @@ const myMap = new Map()
|
|
|
394
394
|
}
|
|
395
395
|
console.log('查询。。。', this.f_orgid)
|
|
396
396
|
if (!this.orgCondtionStr) {
|
|
397
|
-
args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
|
|
397
|
+
args.condition = `${args.condition}` + ' and f_orgid = ' + `'${this.$login.f.orgid}'`
|
|
398
398
|
} else {
|
|
399
399
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
400
400
|
}
|
|
@@ -263,8 +263,9 @@
|
|
|
263
263
|
// }
|
|
264
264
|
console.log('>>> 看看是啥' + JSON.stringify(loginRes))
|
|
265
265
|
if (loginRes.code === '1000' || loginRes.code === '0000') {
|
|
266
|
-
this.$showAlert(loginType === '
|
|
267
|
-
|
|
266
|
+
this.$showAlert(loginType === '0' ? '短信验证码发送成功' : '确认登录成功', 'success', 1000)
|
|
267
|
+
console.log('>>> 登录模式:' + loginType + ',登录状态:' + loginRes.data.data.status)
|
|
268
|
+
this.inputSmsCodeShow = loginType === '0' && loginRes.data && loginRes.data.data.status === 1
|
|
268
269
|
} else {
|
|
269
270
|
this.$showAlert(loginRes.msg || '登录失败', 'danger', 3000)
|
|
270
271
|
}
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
self.limitMsg = getLimit.data.limitMessage
|
|
468
468
|
if (self.hasLimit) {
|
|
469
469
|
if (getLimit.data.f_limit_value || getLimit.data.f_limit_amount) {
|
|
470
|
-
if (getLimit.data.f_limit_value < 0
|
|
470
|
+
if (getLimit.data.f_limit_value < 0 || getLimit.data.f_limit_amount < 0) {
|
|
471
471
|
self.$showAlert(`${getLimit.data.msg}`, 'warning', 3000)
|
|
472
472
|
self.$dispatch('refresh')
|
|
473
473
|
} else {
|