Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
panyongping
uni-pdtravel
Commits
a37e46a9
Commit
a37e46a9
authored
Apr 02, 2025
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
静态数据
parent
1384dd05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
12 deletions
+31
-12
billingApplication.vue
...ectronicInvoice/billingApplication/billingApplication.vue
+30
-11
billingList.vue
pages/my/electronicInvoice/billingList/billingList.vue
+1
-1
No files found.
pages/my/electronicInvoice/billingApplication/billingApplication.vue
View file @
a37e46a9
...
...
@@ -7,7 +7,7 @@
<view
class=
"listIn-inputBox"
>
<radio-group
class=
"inputBox-radio"
@
change=
"radioChange"
>
<label
class=
"radio-txt"
v-for=
"(item,index) in riseList"
:key=
"index"
>
<radio
style=
"transform: scale(0.7)"
:value=
"item.value"
:checked=
"index ===
riseNum
"
/>
<radio
style=
"transform: scale(0.7)"
:value=
"item.value"
:checked=
"index ===
uploadMes.headType
"
/>
{{
item
.
name
}}
</label>
</radio-group>
...
...
@@ -22,25 +22,25 @@
<view
class=
"application-listIn"
>
<view
class=
"listIn-name"
>
发票抬头
<text>
*
</text></view>
<view
class=
"listIn-inputBox"
>
<input
class=
"uni-input inputBox-inputStyle"
placeholder=
"填写发票抬头"
/>
<input
class=
"uni-input inputBox-inputStyle"
v-model=
"uploadMes.buyerName"
placeholder=
"填写发票抬头"
/>
</view>
</view>
<view
class=
"application-listIn"
>
<view
class=
"listIn-name"
>
公司税号
<text>
*
</text></view>
<view
class=
"listIn-inputBox"
>
<input
class=
"uni-input inputBox-inputStyle"
placeholder=
"填写纳税人识别码(必填)"
/>
<input
class=
"uni-input inputBox-inputStyle"
v-model=
"uploadMes.taxNumber"
placeholder=
"填写纳税人识别码(必填)"
/>
</view>
</view>
<view
class=
"application-listIn"
>
<view
class=
"listIn-name"
>
地址电话
</view>
<view
class=
"listIn-inputBox"
>
<input
class=
"uni-input inputBox-inputStyle"
placeholder=
"填写企业注册地址、电话"
/>
<input
class=
"uni-input inputBox-inputStyle"
v-model=
"uploadMes.buyerAddress"
placeholder=
"填写企业注册地址、电话"
/>
</view>
</view>
<view
class=
"application-listIn"
>
<view
class=
"listIn-name"
>
开户行及账号
</view>
<view
class=
"listIn-inputBox"
>
<input
class=
"uni-input inputBox-inputStyle"
placeholder=
"填写开户行及账号"
/>
<input
class=
"uni-input inputBox-inputStyle"
v-model=
"uploadMes.bankAccount"
placeholder=
"填写开户行及账号"
/>
</view>
</view>
</view>
...
...
@@ -52,7 +52,7 @@
<view
class=
"application-listIn"
>
<view
class=
"listIn-name"
>
电子邮箱
<text>
*
</text></view>
<view
class=
"listIn-inputBox"
>
<input
class=
"uni-input inputBox-inputStyle"
placeholder=
"填写邮箱地址"
/>
<input
class=
"uni-input inputBox-inputStyle"
v-model=
"uploadMes.emailAddress"
placeholder=
"填写邮箱地址"
/>
</view>
</view>
</view>
...
...
@@ -62,7 +62,7 @@
<view
class=
"label-name"
>
备注说明
</view>
</view>
<view
class=
"application-textarea"
>
<u--textarea
v-model=
"
textareaModel
"
placeholder=
"该内容会打印在发票上"
height=
"100rpx"
maxlength=
"80"
count
border=
"none"
></u--textarea>
<u--textarea
v-model=
"
uploadMes.note
"
placeholder=
"该内容会打印在发票上"
height=
"100rpx"
maxlength=
"80"
count
border=
"none"
></u--textarea>
</view>
</view>
<!--发票金额-->
...
...
@@ -116,18 +116,37 @@ export default {
name
:
'企业'
},
],
riseNum
:
0
,
//头部选择类型
textareaModel
:
''
,
//多行输入框
//正式数据
uploadMes
:{
companyId
:
''
,
merchantId
:
''
,
openid
:
''
,
phone
:
''
,
headType
:
''
,
//抬头类型0个人1企业
taxNumber
:
''
,
//税号
buyerName
:
''
,
//购买方名称
buyerAddress
:
''
,
//购买方地址
invoiceType
:
'81'
,
//发票类型81 专票82普票
invoicePrice
:
''
,
//开票金额 总金额
emailAddress
:
''
,
//邮箱地址
note
:
''
,
//备注
bankAccount
:
''
,
//银行账号
orderVoList
:[],
}
}
},
onLoad
(
option
)
{
this
.
uploadMes
.
merchantId
=
option
.
merchantId
this
.
uploadMes
.
companyId
=
option
.
companyId
this
.
uploadMes
.
orderVoList
=
JSON
.
parse
(
option
.
checkMessage
)
this
.
uploadMes
.
openid
=
uni
.
getStorageSync
(
'openid'
)
this
.
uploadMes
.
phone
=
this
.
uploadMes
.
orderVoList
[
0
].
ticketPhone
},
methods
:
{
radioChange
(){
//点击radio
for
(
let
i
=
0
;
i
<
this
.
riseList
.
length
;
i
++
)
{
if
(
this
.
riseList
[
i
].
value
===
evt
.
detail
.
value
)
{
this
.
riseNum
=
i
this
.
uploadMes
.
headType
=
i
break
}
}
...
...
pages/my/electronicInvoice/billingList/billingList.vue
View file @
a37e46a9
...
...
@@ -80,7 +80,7 @@ export default {
}
checkMessage
=
JSON
.
stringify
(
checkMessage
)
uni
.
navigateTo
({
url
:
'/pages/my/electronicInvoice/billingApplication/billingApplication?merchantId='
+
this
.
merchantId
+
'&companyId='
+
this
.
companyId
+
'&checkMessage='
+
this
.
checkMessage
url
:
'/pages/my/electronicInvoice/billingApplication/billingApplication?merchantId='
+
this
.
merchantId
+
'&companyId='
+
this
.
companyId
+
'&checkMessage='
+
checkMessage
})
},
getData
(){
//列表加载
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment