Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit da3a605c
authored
Nov 07, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v3.1' of 192.168.3.233:saas_plus/business-assistant into dev_v3.1
2 parents
ec0ec7b0
9e9a6c4a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
11 deletions
packagesList/packageOutput/pages/summary.js
packagesList/packageOutput/pages/summary.scss
packagesList/packageOutput/pages/summary.wxml
pages/tab/output/components/client/client.js
packagesList/packageOutput/pages/summary.js
View file @
da3a605
...
@@ -19,13 +19,13 @@ Page({
...
@@ -19,13 +19,13 @@ Page({
},
},
sceneActive
:
4
,
sceneActive
:
4
,
scenePriceList
:
[{
scenePriceList
:
[{
total
:
0
total
:
0
.00
},
{
},
{
total
:
0
total
:
0
.00
},
{
},
{
total
:
0
total
:
0
.00
},
{
},
{
total
:
0
total
:
0
.00
}],
}],
// 活动内容
// 活动内容
scrollLeft
:
0
,
scrollLeft
:
0
,
...
@@ -110,7 +110,7 @@ Page({
...
@@ -110,7 +110,7 @@ Page({
sceneActive
:
this
.
data
.
sceneActive
sceneActive
:
this
.
data
.
sceneActive
// sceneCodeList: this.data.sceneCodeList
// sceneCodeList: this.data.sceneCodeList
}
}
wx
.
$router
.
go
(
'package
Outpu
t.openBusiness'
,
params
)
wx
.
$router
.
go
(
'package
sLis
t.openBusiness'
,
params
)
},
},
getSceneProStatus
(
sceneCode
,
isFirst
=
false
)
{
getSceneProStatus
(
sceneCode
,
isFirst
=
false
)
{
...
@@ -195,7 +195,7 @@ Page({
...
@@ -195,7 +195,7 @@ Page({
if
(
idx
!=
-
1
)
{
if
(
idx
!=
-
1
)
{
var
orderTotal
=
item
.
orderTotal
var
orderTotal
=
item
.
orderTotal
if
(
item
.
orderTotal
)
{
if
(
item
.
orderTotal
)
{
item
.
orderTotal
.
calCustomerUnitPrice
=
Math
.
round
(
orderTotal
.
totalSubOrderOrderMoney
/
orderTotal
.
upgradeCount
).
toFixed
(
0
)
item
.
orderTotal
.
calCustomerUnitPrice
=
Math
.
round
(
orderTotal
.
totalSubOrderOrderMoney
/
orderTotal
.
upgradeCount
).
toFixed
(
2
)
item
.
orderTotal
.
calExperience
=
Math
.
round
((
orderTotal
.
experienceCount
*
100
)
/
orderTotal
.
toShopCount
).
toFixed
(
0
)
item
.
orderTotal
.
calExperience
=
Math
.
round
((
orderTotal
.
experienceCount
*
100
)
/
orderTotal
.
toShopCount
).
toFixed
(
0
)
item
.
orderTotal
.
calTransform
=
Math
.
round
((
orderTotal
.
upgradeCount
*
100
)
/
orderTotal
.
experienceCount
).
toFixed
(
0
)
item
.
orderTotal
.
calTransform
=
Math
.
round
((
orderTotal
.
upgradeCount
*
100
)
/
orderTotal
.
experienceCount
).
toFixed
(
0
)
}
}
...
...
packagesList/packageOutput/pages/summary.scss
View file @
da3a605
...
@@ -38,9 +38,16 @@
...
@@ -38,9 +38,16 @@
border-bottom
:
1rpx
dashed
#CCCED1
;
border-bottom
:
1rpx
dashed
#CCCED1
;
}
}
.title-open
{
float
:
right
;
font-size
:
28rpx
;
color
:
#3666FE
;
font-weight
:
400
;
}
.icon-open
{
.icon-open
{
width
:
40
rpx
;
width
:
38
rpx
;
height
:
40
rpx
;
height
:
38
rpx
;
}
}
.scene-box
{
.scene-box
{
...
...
packagesList/packageOutput/pages/summary.wxml
View file @
da3a605
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}">
<view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}">
<view class="title bg-white">
<view class="title bg-white">
选产品/活动
选产品/活动
<view>
<view
class="title-open" bindtap="handleJump"
>
<
image class="icon-open" webp src="{{IMGURL}}output/icon-open.png?v={{img_version}}"></
image>
<
glsx-image class="icon-open" :webp="{{true}}" src="output/icon-open.webp"></glsx-
image>
开通活动
开通活动
</view>
</view>
</view>
</view>
...
...
pages/tab/output/components/client/client.js
View file @
da3a605
...
@@ -117,7 +117,7 @@ Component({
...
@@ -117,7 +117,7 @@ Component({
pMerchantName
:
this
.
data
.
pMerchantInfo
.
subLoginUser
.
merchantName
,
pMerchantName
:
this
.
data
.
pMerchantInfo
.
subLoginUser
.
merchantName
,
isSuper
:
this
.
data
.
pMerchantInfo
.
isSuper
isSuper
:
this
.
data
.
pMerchantInfo
.
isSuper
}
}
wx
.
$router
.
go
(
'
packageOutput.
summary'
,
params
)
wx
.
$router
.
go
(
'
/packagesList/packageOutput/pages/
summary'
,
params
)
}
}
}
}
})
})
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