apply-clients 5.0.35-64 → 5.0.35-65
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="auto form-horizontal" >
|
|
3
|
-
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
3
|
+
<modal :show.sync="show" v-if="show" v-ref:modal large backdrop="false">
|
|
4
4
|
<header slot="modal-header" class="modal-header">
|
|
5
5
|
<h3 style="color:black" class="modal-title" >{{billConfig.billtype}}</h3>
|
|
6
6
|
<button type="button" class="close" @click="closebuyerinfo"><span>×</span></button>
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
<!-- </div>-->
|
|
12
12
|
<validator name='v'>
|
|
13
13
|
<form class="form-horizontal select-overspread">
|
|
14
|
-
<div class="row" style="display: flex;justify-content: center;" id='normal-
|
|
15
|
-
|
|
14
|
+
<div class="row" style="display: flex;justify-content: center;" id='normal-bill_xx' v-if="bill.data" v-html="bill.data">
|
|
15
|
+
|
|
16
16
|
</div>
|
|
17
17
|
</form>
|
|
18
18
|
</validator>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
26
26
|
<button type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
27
|
-
<report-print id='normal-
|
|
27
|
+
<report-print :id="'normal-bill_xx'" top='15mm' left='5mm' width='90%' height='70%' :notrepeat="false" :showbtn="false" v-ref:reportprint></report-print>
|
|
28
28
|
<button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
|
|
29
29
|
</footer>
|
|
30
30
|
</modal>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
model: {
|
|
52
52
|
f_using_number: null
|
|
53
53
|
},
|
|
54
|
-
bill: {},
|
|
54
|
+
bill: {data:''},
|
|
55
55
|
messShow: false
|
|
56
56
|
}
|
|
57
57
|
},
|
|
@@ -180,9 +180,9 @@
|
|
|
180
180
|
<div class="form-input-group col-sm-12">
|
|
181
181
|
<div class="form-input-group col-sm-3">
|
|
182
182
|
<label for="f_charge_item" class="control-label col-sm-2">
|
|
183
|
-
<button class="glyphicon glyphicon-minus btn-danger" v-if="$index>0"
|
|
183
|
+
<button class="glyphicon glyphicon-minus btn-danger" type="button" v-if="$index>0"
|
|
184
184
|
@click.stop="delItems($index)"></button>
|
|
185
|
-
<button class="glyphicon glyphicon-plus btn-success" @click.stop="addItems()"></button>
|
|
185
|
+
<button class="glyphicon glyphicon-plus btn-success" type="button" @click.stop="addItems()"></button>
|
|
186
186
|
</label>
|
|
187
187
|
<div class="col-sm-2">
|
|
188
188
|
<v-select id="f_charge_item" +$index
|
|
@@ -1,85 +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-bill2' >
|
|
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>
|
|
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-bill2' >
|
|
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>
|