apply-clients 5.0.35-3 → 5.0.35-32
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 +2 -2
- package/src/AndroidApp.vue +28 -28
- package/src/android.js +1 -1
- package/src/apply.js +4 -1
- package/src/assets//347/224/250/346/210/267/345/234/260/345/235/200.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/224/265/350/257/235.png +0 -0
- package/src/components/app_apply/ApplyDownList.vue +168 -164
- package/src/components/app_apply/ApplyInfo.vue +2 -2
- package/src/components/app_apply/ApplyListUpload.vue +268 -268
- package/src/components/app_apply/ApplyToDoList.vue +2822 -183
- package/src/components/app_apply/PlaceControler.vue +287 -256
- package/src/components/app_apply/ServiceControl.vue +350 -335
- package/src/components/app_apply/ServiceView.vue +383 -383
- package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -109
- package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -100
- package/src/components/app_apply/ezhou/MinYong.vue +92 -92
- package/src/components/app_apply/ezhou/ServiceView.vue +765 -620
- package/src/components/product/Common/ApplyValidateBill.vue +62 -55
- package/src/components/product/Function/InstallInfoSelect.vue +1 -1
- package/src/components/product/Function/Service/FunctionServiceControl.vue +37 -1
- package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
- package/src/components/product/Function/functions/InstallFee.vue +1083 -919
- package/src/components/product/Process/ExplorationSelect.vue +641 -636
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +2 -5
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +390 -305
- package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +8 -4
- package/src/components/product/ServiceView.vue +8 -5
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +14 -6
- package/src/components/product/Supervisory/SupervisoryList.vue +1 -1
- package/src/ezhouAndroid.js +44 -45
- package/src/index.js +8 -8
- package/src/main.js +1 -1
- package/src/plugins/commonService.js +11 -7
- package/static/newStyle/clear.png +0 -0
- package/static/newStyle/fife.png +0 -0
- package/static/newStyle/hidden.png +0 -0
- package/static/newStyle/label-clear.png +0 -0
- package/static/newStyle/left-img.png +0 -0
- package/static/newStyle/list_ok.png +0 -0
- package/static/newStyle/login-check.png +0 -0
- package/static/newStyle/login-con.png +0 -0
- package/static/newStyle/login-do.gif +0 -0
- package/static/newStyle/login-f.png +0 -0
- package/static/newStyle/login-info.png +0 -0
- package/static/newStyle/login-left.png +0 -0
- package/static/newStyle/login-org.png +0 -0
- package/static/newStyle/login-pwd.png +0 -0
- package/static/newStyle/login-user.png +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1280.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/loginbg_1.gif +0 -0
- package/static/newStyle/searchin.png +0 -0
- package/static/newStyle/searchout.png +0 -0
- package/static/newStyle/setting.png +0 -0
- package/static/newStyle/setting1.png +0 -0
- package/static/newStyle/shirk.png +0 -0
- package/static/newStyle/stretch_bottom.png +0 -0
- package/static/newStyle/stretch_left.png +0 -0
- package/static/newStyle/stretch_right.png +0 -0
- package/static/newStyle/stretch_top.png +0 -0
- package/static/newStyle/system-off.png +0 -0
- package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto form-horizontal" >
|
|
3
|
+
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
4
|
+
<header slot="modal-header" class="modal-header">
|
|
5
|
+
<h3 style="color:black" class="modal-title">发票号</h3>
|
|
6
|
+
</header>
|
|
7
|
+
<article slot="modal-body" class="modal-body">
|
|
8
|
+
|
|
9
|
+
<validator name='v'>
|
|
10
|
+
<form class="form-horizontal select-overspread">
|
|
11
|
+
<div class="row" style="display: flex;justify-content: center;" id='normal-bill' >
|
|
12
|
+
<div class="form-group col-sm-6">
|
|
13
|
+
<label class=" col-sm-2 control-label">发票代码:</label>
|
|
14
|
+
<input type="text" class="form-control" v-model="model.f_bill_code" style="width:60%"
|
|
15
|
+
placeholder="发票代码" disabled
|
|
16
|
+
>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-6">
|
|
19
|
+
<label class=" col-sm-2 control-label">发票号码:</label>
|
|
20
|
+
<input type="text" class="form-control" v-model="model.f_bill_number" style="width:60%"
|
|
21
|
+
placeholder="发票号码" disabled
|
|
22
|
+
>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</form>
|
|
26
|
+
</validator>
|
|
27
|
+
</article>
|
|
28
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
29
|
+
<button type="button" class="btn btn-default" @click='cancel()' >取消</button>
|
|
30
|
+
</footer>
|
|
31
|
+
</modal>
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
<script>
|
|
35
|
+
import { DataModel } from 'vue-client'
|
|
36
|
+
let getBillData = async function(self) {
|
|
37
|
+
if(self.data.eticketid){
|
|
38
|
+
let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` id= ${self.data.eticketid}`}})
|
|
39
|
+
console.log("看看res",res)
|
|
40
|
+
self.model.f_bill_code=res.data[0].f_bill_code
|
|
41
|
+
self.model.f_bill_number=res.data[0].f_bill_number
|
|
42
|
+
}else{
|
|
43
|
+
let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` f_sell_id=${self.data.id}`}})
|
|
44
|
+
console.log("看看res",res)
|
|
45
|
+
self.model.f_bill_code=res.data[0].f_bill_code
|
|
46
|
+
self.model.f_bill_number=res.data[0].f_bill_number
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export default {
|
|
51
|
+
title: '收费发票',
|
|
52
|
+
data () {
|
|
53
|
+
return {
|
|
54
|
+
model:{
|
|
55
|
+
f_bill_code:'',
|
|
56
|
+
f_bill_number:''
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
props: ['show', 'data'],
|
|
61
|
+
ready () {
|
|
62
|
+
},
|
|
63
|
+
methods: {
|
|
64
|
+
cancel () {
|
|
65
|
+
this.$dispatch('toggle')
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
watch: {
|
|
69
|
+
'show' (val) {
|
|
70
|
+
if (val) {
|
|
71
|
+
getBillData(this, val).then(() => {
|
|
72
|
+
this.$emit('ready')
|
|
73
|
+
}).catch((error) => {
|
|
74
|
+
this.$emit('error', error)
|
|
75
|
+
})
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
events: {
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
</script>
|
|
84
|
+
<style >
|
|
85
|
+
</style>
|
|
@@ -1439,24 +1439,28 @@
|
|
|
1439
1439
|
this.$refs.service_show.data.fields[index].label === '人工费'
|
|
1440
1440
|
) {
|
|
1441
1441
|
console.log('即将合成价格')
|
|
1442
|
+
let a1 = 0
|
|
1443
|
+
let b1 = 0
|
|
1444
|
+
let c1 = 0
|
|
1442
1445
|
let fee = 0
|
|
1443
1446
|
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1444
1447
|
// 控制设置级联
|
|
1445
1448
|
// 源select所选的值 this.$refs.service_show.data.activitys.fields[index].value
|
|
1446
1449
|
// xxx xx xxx
|
|
1447
1450
|
if (this.$refs.service_show.data.fields[i].label === '工程安装费' && this.$refs.service_show.data.fields[i].value) {
|
|
1448
|
-
|
|
1451
|
+
a1 = this.$refs.service_show.data.fields[i].value
|
|
1449
1452
|
}
|
|
1450
1453
|
if (this.$refs.service_show.data.fields[i].label === '材料费' && this.$refs.service_show.data.fields[i].value) {
|
|
1451
|
-
|
|
1454
|
+
b1= this.$refs.service_show.data.fields[i].value
|
|
1452
1455
|
}
|
|
1453
1456
|
if (this.$refs.service_show.data.fields[i].label === '人工费' && this.$refs.service_show.data.fields[i].value) {
|
|
1454
|
-
|
|
1457
|
+
c1 = this.$refs.service_show.data.fields[i].value
|
|
1455
1458
|
}
|
|
1459
|
+
fee=parseFloat(parseFloat(a1) + parseFloat(b1)+parseFloat(c1)).toFixed(2)
|
|
1456
1460
|
// 数据获取完毕时放入地址text
|
|
1457
1461
|
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
1458
1462
|
if (this.$refs.service_show.data.fields[i].label === '费用合计'||this.$refs.service_show.data.fields[i].label === '未结总金额') {
|
|
1459
|
-
this.$refs.service_show.data.fields[i].value =
|
|
1463
|
+
this.$refs.service_show.data.fields[i].value =fee
|
|
1460
1464
|
console.log('修改fields[i].value后的值=>' + this.$refs.service_show.data.fields[i].value)
|
|
1461
1465
|
}
|
|
1462
1466
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
<!--</div>-->
|
|
11
11
|
<validator name="v">
|
|
12
12
|
<form class="form-horizontal">
|
|
13
|
-
<div class="col-sm-12 form-group">
|
|
13
|
+
<div class="col-sm-12 form-group form-group1">
|
|
14
14
|
<div v-for="(index,item) in data.fields">
|
|
15
15
|
<!--input-->
|
|
16
|
-
<div :style="item.style
|
|
16
|
+
<div :style="item.style+';height: 34px;'"
|
|
17
17
|
v-if="item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email'"
|
|
18
18
|
v-show="!item.hidden"
|
|
19
|
-
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
19
|
+
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group form-group1']">
|
|
20
20
|
<label :style="item.label_style? item.label_style:''+';width:85px;'"
|
|
21
21
|
:class="item.label_bootstraped?item.label_bootstraped+' control-label-justify control-label':item.label_style?'':'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
22
22
|
<div :style="item.value_style? item.value_style:''"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<!--时间datepicker-->
|
|
37
37
|
<div :style="item.style? item.style+';height: 34px;':'height: 34px;'" v-if="item.type==='datepicker'"
|
|
38
38
|
v-show="!item.hidden"
|
|
39
|
-
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
39
|
+
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group form-group1']">
|
|
40
40
|
<label style="width:85px"
|
|
41
41
|
:class="item.label_bootstraped?item.label_bootstraped+' control-label-justify control-label':'control-label control-label-justify col-sm-6'">{{item.label}}</label>
|
|
42
42
|
<div :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'">
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
<!--select-->
|
|
96
96
|
<div style="height: 34px" v-if="item.type==='select'" v-show="!item.hidden"
|
|
97
|
-
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
97
|
+
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group ':'col-sm-4 form-group']">
|
|
98
98
|
<label style="width:85px;"
|
|
99
99
|
:class="item.label_bootstraped?item.label_bootstraped+' control-label control-label-justify':'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
100
100
|
<input-select :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'" @blur="check_disable"
|
|
@@ -797,4 +797,7 @@
|
|
|
797
797
|
tr {
|
|
798
798
|
height: 34px;
|
|
799
799
|
}
|
|
800
|
+
.form-group{
|
|
801
|
+
margin-top:20px;
|
|
802
|
+
}
|
|
800
803
|
</style>
|
|
@@ -133,11 +133,7 @@
|
|
|
133
133
|
}
|
|
134
134
|
]
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
this.data.filiale = this.selectdata.f_filiale
|
|
138
|
-
this.data.f_parentname = this.selectdata.f_parentname
|
|
139
|
-
this.data.operate_date = this.selectdata.finishtime
|
|
140
|
-
this.data.operator = this.selectdata.sender
|
|
136
|
+
|
|
141
137
|
}
|
|
142
138
|
},
|
|
143
139
|
events:{
|
|
@@ -393,7 +389,19 @@
|
|
|
393
389
|
if (sum == 1) {
|
|
394
390
|
this.data = jsonData
|
|
395
391
|
this.initializtion()
|
|
396
|
-
|
|
392
|
+
// 完成时间和完成人,部门,分公司
|
|
393
|
+
if(this.selectdata.defname =='完工'){ this.data.filiale = this.selectdata.f_filiale
|
|
394
|
+
this.data.f_parentname = this.selectdata.f_parentname
|
|
395
|
+
this.data.operate_date = this.selectdata.sendtime
|
|
396
|
+
this.data.operator = this.selectdata.sender
|
|
397
|
+
this.showview = true
|
|
398
|
+
}else{
|
|
399
|
+
this.data.f_parentname = this.selectdata.f_parentname
|
|
400
|
+
this.data.operate_date = this.selectdata.finishtime
|
|
401
|
+
this.data.operator = this.selectdata.person
|
|
402
|
+
this.showview = true
|
|
403
|
+
}
|
|
404
|
+
|
|
397
405
|
} else if (sum == 0) {
|
|
398
406
|
this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
|
|
399
407
|
} else {
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
<div class="col-sm-2" style="float: left">
|
|
114
114
|
<label class="col-sm-4 control-label">报装来源</label>
|
|
115
115
|
<div class="col-sm-8">
|
|
116
|
-
<v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'燃气系统',value:'燃气系统'},{label:'微信',value:'微信'}]"
|
|
116
|
+
<v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'燃气系统',value:'燃气系统'},{label:'微信',value:'微信'},{label:'住建局',value:'住建局'}]"
|
|
117
117
|
condition="f_apply_source = '{}'" placeholder='报装来源'
|
|
118
118
|
v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
|
|
119
119
|
</v-select>
|
package/src/ezhouAndroid.js
CHANGED
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import { all } from 'vue-client'
|
|
3
|
-
Vue.config.silent = true
|
|
4
|
-
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
-
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
-
/** ****************服务插件*********************/
|
|
7
|
-
|
|
8
|
-
export default function () {
|
|
9
|
-
Vue.use(ApplyGetSaleParam)
|
|
10
|
-
Vue.use(ApplyLoadParams)
|
|
11
|
-
/** ***************************报建模块*********************************/
|
|
12
|
-
// 报建 总入口
|
|
13
|
-
Vue.component('apply_app', (resolve) => { require(['./components/app_apply/ApplyApp'], resolve) })
|
|
14
|
-
|
|
15
|
-
Vue.component('placecontrolerapp', (resolve) => { require(['./components/app_apply/PlaceControler'], resolve) })
|
|
16
|
-
|
|
17
|
-
Vue.component('applydownlist', (resolve) => { require(['./components/app_apply/ApplyDownList'], resolve) })
|
|
18
|
-
|
|
19
|
-
Vue.component('applylistupload', (resolve) => { require(['./components/app_apply/ApplyListUpload'], resolve) })
|
|
20
|
-
|
|
21
|
-
Vue.component('applytodolist', (resolve) => { require(['./components/app_apply/ApplyToDoList'], resolve) })
|
|
22
|
-
|
|
23
|
-
Vue.component('apply-user-info', (resolve) => { require(['./components/app_apply/ApplyUserInfo'], resolve) })
|
|
24
|
-
|
|
25
|
-
Vue.component('apply-info', (resolve) => { require(['./components/app_apply/ApplyInfo'], resolve) })
|
|
26
|
-
|
|
27
|
-
Vue.component('fieldexploration', (resolve) => { require(['./components/app_apply/FieldExploration'], resolve) })
|
|
28
|
-
|
|
29
|
-
Vue.component('acceptance', (resolve) => { require(['./components/app_apply/Acceptance'], resolve) })
|
|
30
|
-
|
|
31
|
-
Vue.component('ventilation', (resolve) => { require(['./components/app_apply/Ventilation'], resolve) })
|
|
32
|
-
|
|
33
|
-
Vue.component('back-page', (resolve) => { require(['./components/app_apply/ToolsPage.vue'], resolve) })
|
|
34
|
-
|
|
35
|
-
// 业务tab(control层)页
|
|
36
|
-
Vue.component('service-control-app', (resolve) => { require(['./components/app_apply/ServiceControl'], resolve) })
|
|
37
|
-
// 公共业务显示(view层)页
|
|
38
|
-
Vue.component('service-view-app', (resolve) => { require(['./components/app_apply/ezhou/ServiceView'], resolve) })
|
|
39
|
-
Vue.component('minyong', (resolve) => { require(['./components/app_apply/ezhou/MinYong'], resolve) })
|
|
40
|
-
Vue.component('feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongV'], resolve) })
|
|
41
|
-
Vue.component('feiminyongvv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongVV'], resolve) })
|
|
42
|
-
// Vue.component('hetong-minyong', (resolve) => { require(['./components/app_apply/ezhou/HeTongMinYong'], resolve) })
|
|
43
|
-
// Vue.component('hetong-feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/HeTongFeiMinYongV'], resolve) })
|
|
44
|
-
|
|
45
|
-
}
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import { all } from 'vue-client'
|
|
3
|
+
Vue.config.silent = true
|
|
4
|
+
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
+
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
+
/** ****************服务插件*********************/
|
|
7
|
+
|
|
8
|
+
export default function () {
|
|
9
|
+
Vue.use(ApplyGetSaleParam)
|
|
10
|
+
Vue.use(ApplyLoadParams)
|
|
11
|
+
/** ***************************报建模块*********************************/
|
|
12
|
+
// 报建 总入口
|
|
13
|
+
Vue.component('apply_app', (resolve) => { require(['./components/app_apply/ApplyApp'], resolve) })
|
|
14
|
+
// 报建 待办流程页
|
|
15
|
+
Vue.component('placecontrolerapp', (resolve) => { require(['./components/app_apply/PlaceControler'], resolve) })
|
|
16
|
+
// 报建 已办事项
|
|
17
|
+
Vue.component('applydownlist', (resolve) => { require(['./components/app_apply/ApplyDownList'], resolve) })
|
|
18
|
+
// 报建 上传
|
|
19
|
+
Vue.component('applylistupload', (resolve) => { require(['./components/app_apply/ApplyListUpload'], resolve) })
|
|
20
|
+
// 报建 待办事项
|
|
21
|
+
Vue.component('applytodolist', (resolve) => { require(['./components/app_apply/ApplyToDoList'], resolve) })
|
|
22
|
+
// 报建 用户信息
|
|
23
|
+
Vue.component('apply-user-info', (resolve) => { require(['./components/app_apply/ApplyUserInfo'], resolve) })
|
|
24
|
+
// 报建 报建流程信息
|
|
25
|
+
Vue.component('apply-info', (resolve) => { require(['./components/app_apply/ApplyInfo'], resolve) })
|
|
26
|
+
// 报建 现场勘探
|
|
27
|
+
Vue.component('fieldexploration', (resolve) => { require(['./components/app_apply/FieldExploration'], resolve) })
|
|
28
|
+
// 报建 竣工验收
|
|
29
|
+
Vue.component('acceptance', (resolve) => { require(['./components/app_apply/Acceptance'], resolve) })
|
|
30
|
+
// 报建 通气点火
|
|
31
|
+
Vue.component('ventilation', (resolve) => { require(['./components/app_apply/Ventilation'], resolve) })
|
|
32
|
+
|
|
33
|
+
Vue.component('back-page', (resolve) => { require(['./components/app_apply/ToolsPage.vue'], resolve) })
|
|
34
|
+
|
|
35
|
+
// 业务tab(control层)页
|
|
36
|
+
Vue.component('service-control-app', (resolve) => { require(['./components/app_apply/ServiceControl'], resolve) })
|
|
37
|
+
// 公共业务显示(view层)页
|
|
38
|
+
Vue.component('service-view-app', (resolve) => { require(['./components/app_apply/ezhou/ServiceView'], resolve) })
|
|
39
|
+
Vue.component('minyong', (resolve) => { require(['./components/app_apply/ezhou/MinYong'], resolve) })
|
|
40
|
+
Vue.component('feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongV'], resolve) })
|
|
41
|
+
Vue.component('feiminyongvv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongVV'], resolve) })
|
|
42
|
+
// Vue.component('hetong-minyong', (resolve) => { require(['./components/app_apply/ezhou/HeTongMinYong'], resolve) })
|
|
43
|
+
// Vue.component('hetong-feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/HeTongFeiMinYongV'], resolve) })
|
|
44
|
+
}
|
package/src/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import apply from './apply'
|
|
2
|
-
import applyAndroid from './applyAndroid'
|
|
3
|
-
import ezhouAndroid from './ezhouAndroid'
|
|
4
|
-
export {
|
|
5
|
-
apply,
|
|
6
|
-
applyAndroid,
|
|
7
|
-
ezhouAndroid
|
|
8
|
-
}
|
|
1
|
+
import apply from './apply'
|
|
2
|
+
import applyAndroid from './applyAndroid'
|
|
3
|
+
import ezhouAndroid from './ezhouAndroid'
|
|
4
|
+
export {
|
|
5
|
+
apply,
|
|
6
|
+
applyAndroid,
|
|
7
|
+
ezhouAndroid
|
|
8
|
+
}
|
package/src/main.js
CHANGED
|
@@ -7,7 +7,7 @@ import {sale} from 'sale-client'
|
|
|
7
7
|
import {material} from 'material-client'
|
|
8
8
|
|
|
9
9
|
import apply from './apply'
|
|
10
|
-
import applyAndroid from './
|
|
10
|
+
import applyAndroid from './ezhouAndroid'
|
|
11
11
|
import 'lib-flexible/flexible.js'
|
|
12
12
|
/*import vueBubble from 'vue-bubble'
|
|
13
13
|
Vue.use(vueBubble)*/
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import Vue from 'vue'
|
|
2
2
|
|
|
3
|
-
let openEticketGen = async function (
|
|
3
|
+
let openEticketGen = async function (param, type, conf) {
|
|
4
4
|
// 组织数据
|
|
5
|
-
let getEticket = await Vue.resetpost('rs/logic/
|
|
5
|
+
let getEticket = await Vue.resetpost('rs/logic/bjcombineData', {param: param, charge_type: type, eticket: conf}, {resolveMsg: null, rejectMsg: '获取电子票数据出错'})
|
|
6
6
|
console.log('获取的电子票数据', getEticket)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
try{
|
|
8
|
+
let url= await Vue.resetpost('rs/logic/bjopenEticket', {sell_id: param.id,eticket_id:getEticket.data.eticket_id,conf:conf},{resolveMsg: null, rejectMsg: null})
|
|
9
|
+
return url
|
|
10
|
+
}catch (e) {
|
|
11
|
+
Vue.showAlert(`电子发票开票失败,请在发票管理处重新开具`,'warning',3000)
|
|
12
|
+
}}
|
|
10
13
|
|
|
11
14
|
let correctEticketGen = async function (id, type, conf) {
|
|
12
15
|
let param = {
|
|
@@ -110,13 +113,14 @@ let commonService = {
|
|
|
110
113
|
await Vue.resetpost('rs/logic/sale_reissueBill', {data: param}, {resolveMsg: null, rejectMsg: '更新发票号失败,请从右侧操作卡片进行补打!!'})
|
|
111
114
|
},
|
|
112
115
|
|
|
113
|
-
async openEticket (
|
|
116
|
+
async openEticket (param, chargeType) {
|
|
114
117
|
// 获取各分公司下的电子票配置文件
|
|
115
118
|
// 从vues目录下获取电子票配置
|
|
116
119
|
try {
|
|
117
120
|
let conf = await commonService.getSelfConfig()
|
|
118
121
|
console.log('看看配置文件', conf)
|
|
119
|
-
await openEticketGen(
|
|
122
|
+
let tecket =await openEticketGen(param, chargeType, conf)
|
|
123
|
+
return tecket
|
|
120
124
|
} catch (error) {
|
|
121
125
|
console.log('电子发票开票失败', JSON.stringify(error))
|
|
122
126
|
Vue.showAlert(`电子发票开票失败!!请到发票管理重新开票。错误原因: ${JSON.stringify(error)}。`, 'danger', 0)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|