jufubao-base 1.0.302-beta1 → 1.0.302-beta3
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/JfbBaseInvoice/Api.js +20 -29
- package/src/components/JfbBaseInvoice/Attr.js +12 -39
- package/src/components/JfbBaseInvoice/JfbBaseInvoice.vue +470 -78
- package/src/components/JfbBaseInvoice/cusAttr/advanced.js +33 -0
- package/src/components/JfbBaseInvoice/cusAttr/content.js +12 -0
- package/src/components/JfbBaseInvoice/cusAttr/style.js +41 -0
- package/src/components/JfbBaseInvoiceDetail/Api.js +12 -35
- package/src/components/JfbBaseInvoiceDetail/Attr.js +12 -39
- package/src/components/JfbBaseInvoiceDetail/JfbBaseInvoiceDetail.vue +422 -80
- package/src/components/JfbBaseInvoiceDetail/cusAttr/advanced.js +6 -0
- package/src/components/JfbBaseInvoiceDetail/cusAttr/content.js +12 -0
- package/src/components/JfbBaseInvoiceDetail/cusAttr/style.js +41 -0
- package/src/components/JfbBaseOrderDetail/Api.js +13 -1
- package/src/components/JfbBaseOrderDetail/Attr.js +38 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +79 -1
- package/src/components/JfbBaseInvoiceConfirm/Api.js +0 -58
- package/src/components/JfbBaseInvoiceConfirm/Attr.js +0 -48
- package/src/components/JfbBaseInvoiceConfirm/JfbBaseInvoiceConfirm.vue +0 -111
- package/src/components/JfbBaseInvoiceConfirm/JfbBaseInvoiceConfirmLess.less +0 -79
- package/src/components/JfbBaseInvoiceConfirm/JfbBaseInvoiceConfirmMixin.js +0 -30
- package/src/components/JfbBaseInvoiceConfirm/Mock.js +0 -13
|
@@ -7,50 +7,27 @@
|
|
|
7
7
|
module.exports = [
|
|
8
8
|
{
|
|
9
9
|
//设置方法名字当别忘记加上【模块名字】:Invoice
|
|
10
|
-
mapFnName: '
|
|
11
|
-
title: '
|
|
12
|
-
path: '/
|
|
10
|
+
mapFnName: 'userInvoiceDetail',
|
|
11
|
+
title: '用户开票 - 详情',
|
|
12
|
+
path: '/pay/v1/user-invoice/detail',
|
|
13
13
|
isRule: false,
|
|
14
14
|
params: {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
main_order_id: ['订单编号', 'Number', '必选'],
|
|
16
|
+
pay_order_id: ['支付订单号', 'Number', '必选'],
|
|
17
17
|
},
|
|
18
18
|
isConsole: true,
|
|
19
19
|
disabled: true,
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
//设置方法名字当别忘记加上【模块名字】:Invoice
|
|
23
|
-
mapFnName: '
|
|
24
|
-
title: '
|
|
25
|
-
path: '/
|
|
23
|
+
mapFnName: 'userInvoiceSend',
|
|
24
|
+
title: '用户开票 - 发送邮箱',
|
|
25
|
+
path: '/pay/v1/user-invoice/send',
|
|
26
26
|
isRule: false,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
isConsole: true,
|
|
32
|
-
disabled: true,
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
//设置方法名字当别忘记加上【模块名字】:Invoice
|
|
36
|
-
mapFnName: 'removeInvoiceFilmAddress',
|
|
37
|
-
title: '删除我的配送地址',
|
|
38
|
-
path: '/api/account/film/paiqi-date',
|
|
39
|
-
isRule: false,
|
|
40
|
-
params: {
|
|
41
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
42
|
-
},
|
|
43
|
-
isConsole: true,
|
|
44
|
-
disabled: true,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
//设置方法名字当别忘记加上【模块名字】:Invoice
|
|
48
|
-
mapFnName: 'addInvoiceFilmcart',
|
|
49
|
-
title: '添加购物车',
|
|
50
|
-
path: '/api/account/film/paiqi-date',
|
|
51
|
-
isRule: false,
|
|
52
|
-
params: {
|
|
53
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
27
|
+
data: {
|
|
28
|
+
main_order_id: ['订单编号', 'Number', '必选'],
|
|
29
|
+
pay_order_id: ['支付订单号', 'Number', '必选'],
|
|
30
|
+
email: ['邮箱', 'String', '必选'],
|
|
54
31
|
},
|
|
55
32
|
isConsole: true,
|
|
56
33
|
disabled: true,
|
|
@@ -1,48 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
|
|
2
|
+
import Content from './cusAttr/content'
|
|
3
|
+
import Style from './cusAttr/style'
|
|
4
|
+
import Advanced from './cusAttr/advanced'
|
|
3
5
|
/**
|
|
4
6
|
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
7
|
*/
|
|
6
8
|
export default {
|
|
7
9
|
style: [],
|
|
8
|
-
content: (data) => {
|
|
10
|
+
content: (data, gValue, gColor, oldData = {}) => {
|
|
9
11
|
return [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
placeholder: '请输入占位框背景颜色',
|
|
16
|
-
groupKey:'content',
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
label: '选中路径:',
|
|
20
|
-
groupKey:'advanced',
|
|
21
|
-
className: 'input100',
|
|
22
|
-
ele: 'xd-select-pages-path',
|
|
23
|
-
valueKey: 'select-pages-path',
|
|
24
|
-
value: data['select-pages-path'] || null,
|
|
25
|
-
setting: {
|
|
26
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
data.bgColor && {
|
|
30
|
-
label: '高度:',
|
|
31
|
-
ele: 'el-input',
|
|
32
|
-
groupKey:'style',
|
|
33
|
-
type: 'number',
|
|
34
|
-
valueKey: 'height',
|
|
35
|
-
value: data.height || 100,
|
|
36
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
37
|
-
className: 'input60',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
label: '', //label
|
|
41
|
-
groupKey:'advanced',
|
|
42
|
-
ele: 'slot', //package 名称
|
|
43
|
-
slot: 'is_reference',
|
|
44
|
-
},
|
|
45
|
-
].filter(i=>i)
|
|
12
|
+
...Content(data, gValue, gColor, oldData),
|
|
13
|
+
...Style(data, gValue, gColor, oldData),
|
|
14
|
+
...Advanced(data, gValue, gColor, oldData),
|
|
15
|
+
|
|
16
|
+
].filter(i => i)
|
|
46
17
|
},
|
|
47
|
-
advanced: [
|
|
18
|
+
advanced: [
|
|
19
|
+
|
|
20
|
+
],
|
|
48
21
|
};
|
|
@@ -2,110 +2,452 @@
|
|
|
2
2
|
<view
|
|
3
3
|
class="jfb-base-invoice-detail"
|
|
4
4
|
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx
|
|
5
|
+
:class="{ editx: isEditx && active }"
|
|
6
6
|
>
|
|
7
7
|
<!--#ifdef H5-->
|
|
8
8
|
<view
|
|
9
9
|
class="jfb-base-invoice-detail__edit"
|
|
10
|
-
:class="{ editx
|
|
10
|
+
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-invoice-detail__edit-icon" @click="delEdit"
|
|
13
|
+
<view class="jfb-base-invoice-detail__edit-icon" @click="delEdit"
|
|
14
|
+
>删除</view
|
|
15
|
+
>
|
|
14
16
|
</view>
|
|
15
17
|
<!-- #endif -->
|
|
16
|
-
<view
|
|
17
|
-
|
|
18
|
+
<view
|
|
19
|
+
v-if="info && info !== null"
|
|
20
|
+
class="jfb-base-invoice-detail__body"
|
|
21
|
+
:style="{ minHeight: layoutInfo.bodyMinHeightRpx + 'rpx' }"
|
|
22
|
+
>
|
|
23
|
+
<view :style="[statusStyle]" class="jfb-base-invoice-detail__body-status">
|
|
24
|
+
<view class="jfb-base-invoice-detail__body-status-name"
|
|
25
|
+
><XdFontIcon
|
|
26
|
+
:icon="info.status === 'P' ? 'icondengdai' : 'icondui_fill'"
|
|
27
|
+
></XdFontIcon>
|
|
28
|
+
<view>{{ info.status_name }}</view></view
|
|
29
|
+
>
|
|
30
|
+
<view
|
|
31
|
+
v-if="info.status === 'P'"
|
|
32
|
+
class="jfb-base-invoice-detail__body-status-text"
|
|
33
|
+
>{{ info.status_desc }}</view
|
|
34
|
+
>
|
|
35
|
+
<view
|
|
36
|
+
v-else-if="info.status === 'Y'"
|
|
37
|
+
class="jfb-base-invoice-detail__body-status-text"
|
|
38
|
+
>已开发票金额:<xd-unit
|
|
39
|
+
:isOld="false"
|
|
40
|
+
:price="info.invoice_amount"
|
|
41
|
+
></xd-unit
|
|
42
|
+
></view>
|
|
43
|
+
</view>
|
|
44
|
+
<view class="jfb-base-invoice-detail__body-content">
|
|
45
|
+
<view class="jfb-base-invoice-detail__body-content-item">
|
|
46
|
+
<view class="jfb-base-invoice-detail__body-content-item-info">
|
|
47
|
+
<view>开票金额</view>
|
|
48
|
+
<XdUnit :isOld="false" :price="info.invoice_amount"></XdUnit>
|
|
49
|
+
</view>
|
|
50
|
+
<view class="jfb-base-invoice-detail__body-content-item-info">
|
|
51
|
+
<view>发票类型</view>
|
|
52
|
+
<view>(普通发票)数电发票</view>
|
|
53
|
+
</view>
|
|
54
|
+
</view>
|
|
55
|
+
<view
|
|
56
|
+
style="margin-top: 24rpx"
|
|
57
|
+
class="jfb-base-invoice-detail__body-content-item"
|
|
58
|
+
>
|
|
59
|
+
<view
|
|
60
|
+
v-if="info.status === 'Y'"
|
|
61
|
+
class="jfb-base-invoice-detail__body-content-item-info"
|
|
62
|
+
>
|
|
63
|
+
<view>发票内容</view>
|
|
64
|
+
<view>{{ info.content_type_name }}</view>
|
|
65
|
+
</view>
|
|
66
|
+
<view class="jfb-base-invoice-detail__body-content-item-info">
|
|
67
|
+
<view>抬头类型</view>
|
|
68
|
+
<view>{{ info.invoice_header_type_name }}</view>
|
|
69
|
+
</view>
|
|
70
|
+
<view class="jfb-base-invoice-detail__body-content-item-info">
|
|
71
|
+
<view>发票抬头</view>
|
|
72
|
+
<view>{{ info.invoice_header }}</view>
|
|
73
|
+
</view>
|
|
74
|
+
<view class="jfb-base-invoice-detail__body-content-item-info">
|
|
75
|
+
<view>联系电话</view>
|
|
76
|
+
<view>{{ info.phone_number }}</view>
|
|
77
|
+
</view>
|
|
78
|
+
<view
|
|
79
|
+
v-if="info.invoice_number"
|
|
80
|
+
class="jfb-base-invoice-detail__body-content-item-info"
|
|
81
|
+
>
|
|
82
|
+
<view>税号</view>
|
|
83
|
+
<view>{{ info.invoice_number }}</view>
|
|
84
|
+
</view>
|
|
85
|
+
<view class="jfb-base-invoice-detail__body-content-item-info">
|
|
86
|
+
<view>接收邮箱</view>
|
|
87
|
+
<view>{{ info.email }}</view>
|
|
88
|
+
</view>
|
|
89
|
+
<view class="jfb-base-invoice-detail__body-content-item-info">
|
|
90
|
+
<view>申请时间</view>
|
|
91
|
+
<view>{{ info.apply_time }}</view>
|
|
92
|
+
</view>
|
|
93
|
+
<view
|
|
94
|
+
v-if="info.status === 'Y'"
|
|
95
|
+
class="jfb-base-invoice-detail__body-content-item-info"
|
|
96
|
+
>
|
|
97
|
+
<view>开票时间</view>
|
|
98
|
+
<view>{{ info.open_time }}</view>
|
|
99
|
+
</view>
|
|
100
|
+
</view>
|
|
101
|
+
</view>
|
|
102
|
+
<view
|
|
103
|
+
v-if="info.status === 'Y'"
|
|
104
|
+
class="jfb-base-invoice-detail__body-images"
|
|
105
|
+
>
|
|
106
|
+
<view
|
|
107
|
+
class="jfb-base-invoice-detail__body-images-item"
|
|
108
|
+
v-for="(item, index) in images"
|
|
109
|
+
:key="index"
|
|
110
|
+
>
|
|
111
|
+
<image @click="handlePreview(index, item)" :src="item"></image>
|
|
112
|
+
</view>
|
|
113
|
+
</view>
|
|
114
|
+
<view v-if="info.status === 'Y'" class="fixe_bottom" :style="prod_bottom">
|
|
115
|
+
<view :style="[bottomBtnWrapStyle]">
|
|
116
|
+
<XdButton
|
|
117
|
+
:wrapStyle="[wrapStyle]"
|
|
118
|
+
width="240rpx"
|
|
119
|
+
@click="handleSend"
|
|
120
|
+
size="small"
|
|
121
|
+
type="primary"
|
|
122
|
+
>发送邮箱</XdButton
|
|
123
|
+
>
|
|
124
|
+
</view>
|
|
125
|
+
</view>
|
|
126
|
+
<xd-dailog
|
|
127
|
+
title="请确认邮箱地址"
|
|
128
|
+
:cancel="false"
|
|
129
|
+
:confirm="false"
|
|
130
|
+
:showTitle="false"
|
|
131
|
+
:showClose="false"
|
|
132
|
+
:show.sync="showDialog"
|
|
133
|
+
>
|
|
134
|
+
<view class="dialog">
|
|
135
|
+
<view class="dialog-title">请确认邮箱地址</view>
|
|
136
|
+
<view class="dialog-content">
|
|
137
|
+
<input type="text" v-model="email" placeholder="请输入邮箱地址" />
|
|
138
|
+
</view>
|
|
139
|
+
<view class="dialog-footer">
|
|
140
|
+
<xd-button @click="handleCancel" width="220rpx" type="info"
|
|
141
|
+
>取消</xd-button
|
|
142
|
+
>
|
|
143
|
+
<xd-button @click="handleConfirm" width="220rpx" type="primary"
|
|
144
|
+
>确定</xd-button
|
|
145
|
+
>
|
|
146
|
+
</view>
|
|
147
|
+
</view>
|
|
148
|
+
</xd-dailog>
|
|
18
149
|
</view>
|
|
19
150
|
</view>
|
|
20
151
|
</template>
|
|
21
152
|
|
|
22
153
|
<script>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
154
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
155
|
+
import XdDailog from "@/components/XdDailog/XdDailog";
|
|
156
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
157
|
+
import JfbBaseInvoiceDetailMixin from "./JfbBaseInvoiceDetailMixin";
|
|
158
|
+
import { getContainerPropsValue, gCPVal } from "@/utils/xd.base";
|
|
159
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
160
|
+
import getServiceUrl from "@/common/getServiceUrl";
|
|
161
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
162
|
+
export default {
|
|
163
|
+
name: "JfbBaseInvoiceDetail",
|
|
164
|
+
components: {
|
|
165
|
+
XdFontIcon,
|
|
166
|
+
XdDailog,
|
|
167
|
+
},
|
|
168
|
+
mixins: [componentsMixins, extsMixins, JfbBaseInvoiceDetailMixin],
|
|
169
|
+
data() {
|
|
170
|
+
return {
|
|
171
|
+
statusBg: "",
|
|
172
|
+
status: "ing",
|
|
173
|
+
images: [],
|
|
174
|
+
showDialog: false,
|
|
175
|
+
email: "",
|
|
176
|
+
main_order_id: "",
|
|
177
|
+
pay_order_id: "",
|
|
178
|
+
info: null,
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
computed: {
|
|
182
|
+
statusStyle() {
|
|
38
183
|
return {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
184
|
+
backgroundImage: `url(${this.statusBg})`,
|
|
185
|
+
backgroundRepeat: "no-repeat",
|
|
186
|
+
backgroundSize: "100% 100%",
|
|
187
|
+
};
|
|
42
188
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
if (this.$configProject['isPreview']) this.init(value)
|
|
47
|
-
},
|
|
189
|
+
prod_bottom() {
|
|
190
|
+
let style = this.fixedStyle({ bottom: 0 });
|
|
191
|
+
return style;
|
|
48
192
|
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
193
|
+
bottomBtnWrapStyle() {
|
|
194
|
+
let style = {
|
|
195
|
+
display: "flex",
|
|
196
|
+
"justify-content": "flex-end",
|
|
197
|
+
};
|
|
198
|
+
return style;
|
|
53
199
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
200
|
+
wrapStyle() {
|
|
201
|
+
let style = {
|
|
202
|
+
margin: 0,
|
|
203
|
+
};
|
|
204
|
+
return style;
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
watch: {
|
|
208
|
+
container(value, oldValue) {
|
|
209
|
+
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
210
|
+
if (this.$configProject["isPreview"]) this.init(value);
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
created() {
|
|
214
|
+
setTimeout(() => {
|
|
215
|
+
this.status = "success";
|
|
216
|
+
}, 1000);
|
|
217
|
+
this.init(this.container);
|
|
64
218
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
219
|
+
//todo
|
|
220
|
+
},
|
|
221
|
+
methods: {
|
|
222
|
+
onJfbLoad(options) {
|
|
223
|
+
this.main_order_id = options.main_order_id;
|
|
224
|
+
this.pay_order_id = options.pay_order_id;
|
|
225
|
+
this.getDetail();
|
|
226
|
+
},
|
|
227
|
+
getDetail() {
|
|
228
|
+
jfbRootExec("userInvoiceDetail", {
|
|
229
|
+
vm: this,
|
|
230
|
+
data: {
|
|
231
|
+
main_order_id: this.main_order_id,
|
|
232
|
+
pay_order_id: this.pay_order_id,
|
|
233
|
+
},
|
|
234
|
+
})
|
|
235
|
+
.then((res) => {
|
|
236
|
+
if (res.invoice_result.apply_time) {
|
|
237
|
+
res.invoice_result.apply_time = this.$xdUniHelper.getDate(
|
|
238
|
+
res.invoice_result.apply_time * 1000
|
|
239
|
+
).fullTime;
|
|
240
|
+
}
|
|
241
|
+
if (res.invoice_result.open_time) {
|
|
242
|
+
res.invoice_result.open_time = this.$xdUniHelper.getDate(
|
|
243
|
+
res.invoice_result.open_time * 1000
|
|
244
|
+
).fullTime;
|
|
245
|
+
}
|
|
246
|
+
if (res.invoice_result.file_info) {
|
|
247
|
+
res.invoice_result.file_info = JSON.parse(res.invoice_result.file_info)
|
|
248
|
+
this.images= res.invoice_result.file_info.map(item=>{
|
|
249
|
+
return getServiceUrl(item.url,'size3')
|
|
250
|
+
})
|
|
251
|
+
}
|
|
252
|
+
this.info = res.invoice_result;
|
|
253
|
+
})
|
|
254
|
+
.catch();
|
|
255
|
+
},
|
|
256
|
+
/**
|
|
257
|
+
* @description 监听事件变化
|
|
258
|
+
* @param container {object} 业务组件对象自己
|
|
259
|
+
*/
|
|
260
|
+
init(container) {
|
|
261
|
+
this.statusBg = getServiceUrl(
|
|
262
|
+
gCPVal(container, "statusBg", { url: "" }, {}).url
|
|
263
|
+
);
|
|
264
|
+
},
|
|
265
|
+
handlePreview(i, item) {
|
|
266
|
+
//#ifdef H5
|
|
267
|
+
// 调用 uni.previewImage() 方法预览图片
|
|
268
|
+
let images = this.images.map((item) => item);
|
|
269
|
+
uni.previewImage({
|
|
270
|
+
// 预览时,默认显示图片的索引
|
|
271
|
+
current: i,
|
|
272
|
+
indicator: "number",
|
|
273
|
+
// 所有图片 url 路径的数组 //这里直接把图片列表的数组放入即可
|
|
274
|
+
urls: images,
|
|
275
|
+
});
|
|
276
|
+
//#endif
|
|
277
|
+
//#ifdef MP-WEIXIN
|
|
278
|
+
uni.previewImage({
|
|
279
|
+
// 预览时,默认显示图片的索引
|
|
280
|
+
current: i,
|
|
281
|
+
indicator: "number",
|
|
282
|
+
// 所有图片 url 路径的数组 //这里直接把图片列表的数组放入即可
|
|
283
|
+
urls: this.images.map((item) => item),
|
|
284
|
+
});
|
|
285
|
+
//#endif
|
|
286
|
+
},
|
|
287
|
+
handleCancel() {
|
|
288
|
+
this.showDialog = false;
|
|
289
|
+
this.email = "";
|
|
290
|
+
},
|
|
291
|
+
handleConfirm() {
|
|
292
|
+
jfbRootExec("userInvoiceSend", {
|
|
293
|
+
vm: this,
|
|
294
|
+
data: {
|
|
295
|
+
main_order_id: this.main_order_id,
|
|
296
|
+
pay_order_id: this.pay_order_id,
|
|
297
|
+
email: this.email,
|
|
298
|
+
},
|
|
299
|
+
}).then((res) => {
|
|
300
|
+
this.showDialog = false;
|
|
301
|
+
this.email = "";
|
|
302
|
+
});
|
|
303
|
+
},
|
|
304
|
+
handleSend() {
|
|
305
|
+
this.showDialog = true;
|
|
306
|
+
},
|
|
307
|
+
onJfbScroll(options) {
|
|
308
|
+
console.log("event.onJfbScroll", options);
|
|
309
|
+
},
|
|
310
|
+
onJfbReachBottom(options) {
|
|
311
|
+
console.log("event.onJfbReachBottom", options);
|
|
312
|
+
},
|
|
313
|
+
onJfbShow(options) {
|
|
314
|
+
console.log("event.onJfbShow", options);
|
|
315
|
+
},
|
|
316
|
+
onJfbHide(options) {
|
|
317
|
+
console.log("event.onJfbHide", options);
|
|
318
|
+
},
|
|
319
|
+
onJfbBack(options) {
|
|
320
|
+
console.log("event.onJfbBack", options);
|
|
321
|
+
},
|
|
322
|
+
onJfbUpdate(...data) {
|
|
323
|
+
console.log("event.onJfbUpdate", data);
|
|
324
|
+
},
|
|
325
|
+
onJfbCustomEvent(options) {
|
|
326
|
+
console.log("event.onJfbReachBottom", options);
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
};
|
|
330
|
+
</script>
|
|
72
331
|
|
|
73
|
-
|
|
332
|
+
<style scoped lang="less">
|
|
333
|
+
@import "./JfbBaseInvoiceDetailLess.less";
|
|
74
334
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
335
|
+
.jfb-base-invoice-detail {
|
|
336
|
+
&__body {
|
|
337
|
+
&-status {
|
|
338
|
+
height: 180rpx;
|
|
339
|
+
color: #fff;
|
|
340
|
+
display: flex;
|
|
341
|
+
flex-direction: column;
|
|
342
|
+
align-items: center;
|
|
343
|
+
justify-content: center;
|
|
344
|
+
&-name {
|
|
345
|
+
display: flex;
|
|
346
|
+
align-items: center;
|
|
347
|
+
justify-content: center;
|
|
348
|
+
font-size: 36rpx;
|
|
349
|
+
& > view {
|
|
350
|
+
margin-left: 16rpx;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
&-text {
|
|
354
|
+
margin-left: 0rpx !important;
|
|
355
|
+
margin-top: 16rpx;
|
|
356
|
+
font-size: 26rpx;
|
|
357
|
+
display: flex;
|
|
358
|
+
align-items: center;
|
|
359
|
+
}
|
|
98
360
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
361
|
+
&-content {
|
|
362
|
+
padding: 24rpx;
|
|
363
|
+
position: relative;
|
|
364
|
+
top: -18rpx;
|
|
365
|
+
border-radius: 16rpx;
|
|
366
|
+
background: #f8f8f8;
|
|
367
|
+
&-item {
|
|
368
|
+
background: #fff;
|
|
369
|
+
border-radius: 8rpx;
|
|
370
|
+
&-info {
|
|
371
|
+
padding: 20rpx 48rpx;
|
|
372
|
+
display: flex;
|
|
373
|
+
justify-content: space-between;
|
|
374
|
+
align-items: center;
|
|
375
|
+
color: #333333;
|
|
376
|
+
font-size: 28rpx;
|
|
377
|
+
border-bottom: 2rpx solid #f7f7f7;
|
|
378
|
+
position: relative;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
&-images {
|
|
383
|
+
display: flex;
|
|
384
|
+
flex-wrap: wrap;
|
|
385
|
+
padding: 16rpx;
|
|
386
|
+
border-radius: 16rpx;
|
|
387
|
+
background: #fff;
|
|
388
|
+
margin: -18rpx 24rpx 24rpx 24rpx;
|
|
102
389
|
|
|
103
|
-
|
|
104
|
-
|
|
390
|
+
&-item {
|
|
391
|
+
background: #f2f1f6;
|
|
392
|
+
display: flex;
|
|
393
|
+
align-items: center;
|
|
394
|
+
justify-content: center;
|
|
395
|
+
padding: 8rpx;
|
|
396
|
+
margin-right: 16rpx;
|
|
105
397
|
|
|
106
|
-
|
|
107
|
-
|
|
398
|
+
& > image {
|
|
399
|
+
width: 192rpx;
|
|
400
|
+
height: 128rpx;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
&-item:nth-child(3n) {
|
|
404
|
+
margin-right: 0;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
.fixe_bottom {
|
|
408
|
+
display: flex;
|
|
409
|
+
align-items: center;
|
|
410
|
+
justify-content: flex-end !important;
|
|
411
|
+
height: unit(100, rpx);
|
|
412
|
+
padding: 0 unit(40, rpx);
|
|
413
|
+
flex-flow: nowrap;
|
|
414
|
+
background: #fff;
|
|
415
|
+
box-shadow: 0 0 unit(16, rpx) rgba(0, 0, 0, 0.05);
|
|
416
|
+
.flex_l {
|
|
417
|
+
display: flex;
|
|
418
|
+
align-items: center;
|
|
419
|
+
font-size: unit(32, rpx);
|
|
420
|
+
}
|
|
108
421
|
|
|
422
|
+
& > view {
|
|
423
|
+
flex: 1;
|
|
424
|
+
padding: 0 unit(15, rpx);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
.dialog {
|
|
428
|
+
.dialog-title {
|
|
429
|
+
font-size: 32rpx;
|
|
430
|
+
text-align: center;
|
|
431
|
+
padding-top: 40rpx;
|
|
432
|
+
}
|
|
433
|
+
.dialog-content {
|
|
434
|
+
font-size: 28rpx;
|
|
435
|
+
margin: 28rpx 0;
|
|
436
|
+
text-align: center;
|
|
437
|
+
& > input {
|
|
438
|
+
font-size: 28rpx;
|
|
439
|
+
background: #f8f8f8;
|
|
440
|
+
padding: 16rpx;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
.dialog-footer {
|
|
444
|
+
display: flex;
|
|
445
|
+
justify-content: space-around;
|
|
446
|
+
align-items: center;
|
|
447
|
+
border-top: 2rpx dashed #e5e5e5;
|
|
448
|
+
padding-top: 28rpx;
|
|
449
|
+
}
|
|
109
450
|
}
|
|
110
451
|
}
|
|
452
|
+
}
|
|
111
453
|
</style>
|