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 ef474882
authored
Jun 26, 2026
by
岑成威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 更改谈客Ai
1 parent
e1e013c1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
10 deletions
assets/css/sprite.scss
assets/images/sprite.png
manifest.json
pages/boutique/tool/components/MinPriceApprovalDrawer.vue
utils/marketingFlag.js
utils/minSellPrice.js
utils/recordManager/RecordService.js
assets/css/sprite.scss
View file @
ef47488
This diff is collapsed.
Click to expand it.
assets/images/sprite.png
View file @
ef47488
3.23 MB
|
W:
|
H:
3.24 MB
|
W:
|
H:
2-up
Swipe
Onion skin
manifest.json
View file @
ef47488
...
...
@@ -2,8 +2,8 @@
"name"
:
"展业助手"
,
"appid"
:
"__UNI__D3BD3DF"
,
"description"
:
""
,
"versionName"
:
"2.2
5.4
"
,
"versionCode"
:
22
54
,
"versionName"
:
"2.2
6.0
"
,
"versionCode"
:
22
60
,
"transformPx"
:
false
,
"sassImplementationName"
:
"node-sass"
,
/*
5
+App特有相关
*/
...
...
pages/boutique/tool/components/MinPriceApprovalDrawer.vue
View file @
ef47488
...
...
@@ -27,9 +27,9 @@
></view>
</view>
<view
v-if=
"item.type === 'single' && has
MinSellPrice(item.minSell
Price)"
v-if=
"item.type === 'single' && has
ActivityPrice(item.activity
Price)"
class=
"min-price"
>
活动价 ¥
{{
item
.
minSell
Price
}}
</view>
>
活动价 ¥
{{
item
.
activity
Price
}}
</view>
</view>
</view>
</view>
...
...
@@ -50,9 +50,9 @@
<view
class=
"child-name"
>
{{
child
.
name
}}
</view>
</view>
<view
v-if=
"has
MinSellPrice(child.minSell
Price)"
v-if=
"has
ActivityPrice(child.activity
Price)"
class=
"min-price"
>
活动价 ¥
{{
child
.
minSell
Price
}}
</view>
>
活动价 ¥
{{
child
.
activity
Price
}}
</view>
</view>
<view
class=
"card-right"
>
<view
class=
"current-price"
>
¥
{{
child
.
sellPrice
}}
</view>
...
...
@@ -84,7 +84,7 @@ export default {
}
},
methods
:
{
has
MinSell
Price
(
value
)
{
has
Activity
Price
(
value
)
{
return
value
!=
null
&&
value
!==
''
},
shouldShowMarketingIcon
(
item
)
{
...
...
utils/marketingFlag.js
View file @
ef47488
...
...
@@ -108,6 +108,14 @@ export function snapshotOrderItemsOriginalPrice(items) {
items
.
forEach
(
snapshotOrderItemOriginalPrice
)
}
// 活动价:选品时商品列表售价快照,改价后不变
export
function
getActivityPrice
(
goods
)
{
if
(
!
goods
)
return
null
const
source
=
goods
.
oldPrice
??
goods
.
upgradePrice
??
goods
.
price
if
(
!
hasActivityValue
(
source
))
return
null
return
source
}
export
function
getSubmitModifyFlag
(
goods
)
{
if
(
!
goods
)
return
0
const
current
=
parseFloat
(
goods
.
sellPrice
??
0
)
...
...
utils/minSellPrice.js
View file @
ef47488
import
{
getActivityPrice
}
from
'@/utils/marketingFlag'
export
function
isBelowMinSellPrice
(
goods
,
value
)
{
if
(
!
goods
||
goods
.
validMinSellPrice
!==
'Y'
||
goods
.
minSellPrice
==
null
||
goods
.
minSellPrice
===
''
)
{
return
false
...
...
@@ -17,7 +19,7 @@ function buildSingleApprovalItem(item, goods, number) {
type
:
'single'
,
name
:
getGoodsDisplayName
(
goods
),
sellPrice
,
minSellPrice
:
goods
.
minSellPrice
,
activityPrice
:
getActivityPrice
(
goods
)
,
number
:
number
||
'1'
,
sourceItem
:
item
}
...
...
@@ -47,7 +49,7 @@ function buildPackageApprovalItem(item, orderTypeCode) {
return
{
name
:
getGoodsDisplayName
(
goods
),
sellPrice
,
minSellPrice
:
goods
.
minSellPrice
,
activityPrice
:
getActivityPrice
(
goods
)
,
number
:
item
.
packageGoods
.
number
||
'1'
,
sourceGoods
:
goods
}
...
...
utils/recordManager/RecordService.js
View file @
ef47488
...
...
@@ -295,7 +295,7 @@ class RecordService {
const
useWs
=
!!
wsBase
const
transport
=
useWs
?
TransportType
.
WEBSOCKET
:
TransportType
.
HTTP
// HTTP 服务端固定为 /health(可在 AiAssistantBall 内按需覆盖)
const
httpBaseUrl
=
'http
://192.168.3.84:8616
'
const
httpBaseUrl
=
'http
s://lightmodification.test.glsx.com.cn
'
const
client
=
new
NativeChannelClient
(
useWs
?
{
transport
}
:
{
transport
,
baseUrl
:
httpBaseUrl
}
...
...
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