sale-client 3.4.172 → 3.4.174
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/FilesManage/UserGeneralInfoTest.vue +5 -1
- package/src/components/charge/business/CardChangeFill.vue +3 -22
- package/src/components/revenue/base/leftview/meterinfodetail.vue +4 -4
- package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +1 -1
- package/src/filiale/rizhao/CardList.vue +498 -498
- package/src/filiale/rizhao/FileUserFiles.vue +984 -0
- package/src/filiale/rizhao/UserDeviceInfoTest.vue +347 -0
- package/src/filiale/rizhao/sale.js +6 -3
- package/src/filiale/zhongsheng/charge/ChargeList.vue +1 -1
- package/src/filiale/zhongyi/FilesManage/UserEssentialInfoTest.vue +321 -0
- package/src/filiale/zhongyi/sale.js +3 -1
- package/src/plugins/FileManageService.js +3 -2
- package/src/sale.js +1 -0
package/package.json
CHANGED
|
@@ -173,7 +173,8 @@ export default {
|
|
|
173
173
|
fireinfo:{},
|
|
174
174
|
address: {
|
|
175
175
|
id: '',
|
|
176
|
-
f_address: ''
|
|
176
|
+
f_address: '',
|
|
177
|
+
f_address_state:''
|
|
177
178
|
}
|
|
178
179
|
},
|
|
179
180
|
show_userinfodevices: false,
|
|
@@ -296,6 +297,9 @@ export default {
|
|
|
296
297
|
this.data.baseinfo.base.version = this.row.version
|
|
297
298
|
}
|
|
298
299
|
console.log('档案保存之前,。。。', this.data)
|
|
300
|
+
if(this.data.meterinfo[0].f_gas_date != null){
|
|
301
|
+
this.data.addressinfo.f_address_state = '已通气'
|
|
302
|
+
}
|
|
299
303
|
// 获取保存数据
|
|
300
304
|
Object.assign(this.fileSaveData, {}, this.$FileManageService.fileSaveBefore(this.data))
|
|
301
305
|
// 如果是修改, 则展示修改的明细给用户
|
|
@@ -264,13 +264,13 @@
|
|
|
264
264
|
console.log('换表发卡数据返回', res.data.sellid, res.data.fillgasid, res, self.model)
|
|
265
265
|
|
|
266
266
|
// 开始打票
|
|
267
|
-
if (self.config.hasPrint
|
|
267
|
+
if (self.config.hasPrint) {
|
|
268
268
|
if (self.model.f_print.indexOf('电子发票') == -1) {
|
|
269
269
|
if (self.config.hasBillManage) {
|
|
270
270
|
// 启用发票管理,获取票据管理中的票号并存储记录
|
|
271
271
|
console.log('进入票据之前。。', res.data.sellid)
|
|
272
|
-
self.row.id = res.data.sellid
|
|
273
|
-
self.row.fillgasid = res.data.fillgasid
|
|
272
|
+
if (res.data.sellid) self.row.id = res.data.sellid
|
|
273
|
+
if (res.data.fillgasid) self.row.fillgasid = res.data.fillgasid
|
|
274
274
|
self.row.f_bill_type = '卡表收费'
|
|
275
275
|
self.row.f_bill_style = self.model.f_print[0]
|
|
276
276
|
self.print = true
|
|
@@ -285,25 +285,6 @@
|
|
|
285
285
|
self.$dispatch('success')
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
} else if (self.config.hasPrint && res.data.sellid && !res.data.fillgasid) {
|
|
289
|
-
self.billData.url = 'rs/report/card_bill'
|
|
290
|
-
if (self.model.f_print.indexOf('电子发票') == -1) {
|
|
291
|
-
if (self.config.hasBillManage) {
|
|
292
|
-
// 启用发票管理,获取票据管理中的票号并存储记录
|
|
293
|
-
self.row.id = res.data.sellid
|
|
294
|
-
self.row.f_bill_type = '卡表收费'
|
|
295
|
-
self.row.f_bill_style = self.model.f_print[0]
|
|
296
|
-
self.print = true
|
|
297
|
-
} else {
|
|
298
|
-
self.row.id = res.data.sellid
|
|
299
|
-
self.print = true
|
|
300
|
-
}
|
|
301
|
-
} else {
|
|
302
|
-
if (self.model.f_print[0] === '电子发票') {
|
|
303
|
-
self.$CommonService.openEticket(res.data.id, '售气收费')
|
|
304
|
-
self.$dispatch('success')
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
288
|
} else {
|
|
308
289
|
self.$showAlert('补气购气成功', 'success', 2000)
|
|
309
290
|
self.$dispatch('success')
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
<span class="col-sm-7" style="color: brown">{{data?data.f_table_state:dafault.f_table_state}}</span>
|
|
23
23
|
</div>
|
|
24
24
|
<div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按金额'">
|
|
25
|
-
<label class = "col-sm-5 " >表上余额</label>
|
|
26
|
-
<span class = "col-sm-7" style="">{{data?data.f_balance_amount:dafault.f_balance_amount}}</span>
|
|
25
|
+
<label class = "col-sm-5 " style="color: brown">表上余额</label>
|
|
26
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_amount:dafault.f_balance_amount}}</span>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="row" v-if="data.f_meter_type.includes('物联网') && data.f_collection_type === '按气量'">
|
|
29
|
-
<label class = "col-sm-5 " >表上余量</label>
|
|
30
|
-
<span class = "col-sm-7" style="">{{data?data.f_balance_gas:dafault.f_balance_gas}}</span>
|
|
29
|
+
<label class = "col-sm-5 " style="color: brown">表上余量</label>
|
|
30
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_gas:dafault.f_balance_gas}}</span>
|
|
31
31
|
</div>
|
|
32
32
|
<div class="row">
|
|
33
33
|
<label class = "col-sm-5 " >初始表底数</label>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
</div>
|
|
52
52
|
</form>
|
|
53
53
|
<print-bill :show="print" :bill-config='config' :bill-data='billData' :data='row' @toggle="close" @printok="printok" v-ref:printbill></print-bill>
|
|
54
|
-
<accept-bill :show="acceptprint" :bill-url='acceptUrl' v-on:toggle="
|
|
54
|
+
<accept-bill :show="acceptprint" :bill-url='acceptUrl' v-on:toggle="closeAccept" :data='row' :billdata="printData" v-ref:acceptbill @closeaccept="closeAccept"></accept-bill>
|
|
55
55
|
<div style="text-align:right;margin-top: 2%">
|
|
56
56
|
<button class="button_search" @click="accept()" v-if="config.hasAcceptance" :disabled='!$v.valid'>受理单</button>
|
|
57
57
|
<button class="button_search" @click="confirm()" :disabled='!$v.valid' >确认</button>
|