Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 528a006c
authored
Apr 10, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更换支付 merchantId
1 parent
90115526
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
7 deletions
pages/detail/components/payPop.vue
pages/informationEntry/informationEntry.vue
pages/detail/components/payPop.vue
View file @
528a006
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-04-07 14:54:28
* @Date: 2024-04-07 14:54:28
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-04-10 1
0:26:3
7
* @LastEditTime: 2024-04-10 1
4:07:5
7
-->
-->
<
template
>
<
template
>
<uni-popup
<uni-popup
...
@@ -117,8 +117,9 @@ export default {
...
@@ -117,8 +117,9 @@ export default {
},
},
// 查询门店支付配置
// 查询门店支付配置
async
findPayInfo
()
{
async
findPayInfo
()
{
const
{
shopMerchantId
}
=
uni
.
$storage
.
get
(
"userInfo"
);
const
data
=
await
uni
.
$api
.
commonApi
.
findPayInfo
({
const
data
=
await
uni
.
$api
.
commonApi
.
findPayInfo
({
merchantId
:
44209880
,
merchantId
:
shopMerchantId
,
});
});
this
.
payInfo
=
data
.
find
((
item
)
=>
item
.
paymentType
==
1
);
this
.
payInfo
=
data
.
find
((
item
)
=>
item
.
paymentType
==
1
);
this
.
accountInfo
=
data
.
find
((
item
)
=>
item
.
paymentType
==
2
);
this
.
accountInfo
=
data
.
find
((
item
)
=>
item
.
paymentType
==
2
);
...
...
pages/informationEntry/informationEntry.vue
View file @
528a006
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* @Description:
* @Description:
* @Author: huyue
* @Author: huyue
* @Date: 2024-04-07 14:54:28
* @Date: 2024-04-07 14:54:28
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditors:
huyue
* @LastEditTime: 2024-04-10 1
0:25:03
* @LastEditTime: 2024-04-10 1
4:00:05
-->
-->
<
template
>
<
template
>
<view
class=
"information-entry"
>
<view
class=
"information-entry"
>
...
@@ -41,9 +41,9 @@
...
@@ -41,9 +41,9 @@
</view>
</view>
</view>
</view>
<view
class=
"information-done"
@
click=
"done()"
>
完成接待
</view>
<view
class=
"information-done"
@
click=
"done()"
>
完成接待
</view>
<uni-popup
ref=
"preview"
type=
"center"
border-radius=
"10px 10px 0 0"
>
<
!--
<
uni-popup
ref=
"preview"
type=
"center"
border-radius=
"10px 10px 0 0"
>
<image
class=
"preview-img"
:src=
"previewImg"
mode=
"aspectFit"
/>
<image
class=
"preview-img"
:src=
"previewImg"
mode=
"aspectFit"
/>
</uni-popup>
</uni-popup>
-->
<MessageBox
<MessageBox
ref=
"formRef"
ref=
"formRef"
@
cancel=
"cancel"
@
cancel=
"cancel"
...
@@ -299,7 +299,19 @@ export default {
...
@@ -299,7 +299,19 @@ export default {
// 预览图片
// 预览图片
preview
(
index
)
{
preview
(
index
)
{
this
.
previewImg
=
this
.
infoList
[
index
].
imgUrl
;
this
.
previewImg
=
this
.
infoList
[
index
].
imgUrl
;
this
.
$refs
.
preview
.
open
(
"center"
);
uni
.
previewImage
({
urls
:
[
this
.
infoList
[
index
].
imgUrl
],
longPressActions
:
{
// itemList: ['发送给朋友', '保存图片', '收藏'],
success
:
function
(
data
)
{
console
.
log
(
'选中了第'
+
(
data
.
tapIndex
+
1
)
+
'个按钮,第'
+
(
data
.
index
+
1
)
+
'张图片'
);
},
fail
:
function
(
err
)
{
console
.
log
(
err
.
errMsg
);
}
}
});
// this.$refs.preview.open("center");
},
},
handleSelect
(
item
,
popkey
)
{
handleSelect
(
item
,
popkey
)
{
console
.
log
(
item
);
console
.
log
(
item
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment