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 ee62ac81
authored
Aug 27, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'V4.56.0' of
http://192.168.3.233:8090/glsx/gl_tape
into V4.56.0
2 parents
e942705d
4f0bc783
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
14 deletions
components/OrderPopup/components/CouponList.vue
pages/boutique/tool/components/CreateOrder.vue
pages/boutique/tool/components/Package.vue
uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue
uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
components/OrderPopup/components/CouponList.vue
View file @
ee62ac8
...
...
@@ -221,7 +221,8 @@ export default {
}
}
.disabled
{
opacity
:
0.5
;
border
:
2
rpx
solid
#dce0e666
;
color
:
#3333331
a
;
}
.active
{
border-color
:
#2c66f7
;
...
...
pages/boutique/tool/components/CreateOrder.vue
View file @
ee62ac8
This diff is collapsed.
Click to expand it.
pages/boutique/tool/components/Package.vue
View file @
ee62ac8
...
...
@@ -19,7 +19,7 @@
<!--
<view
class=
"alias-name"
>
商品别名:阿尔法 T5极狐非三电整车延保(新车2年6万公里)
</view>
-->
<view
class=
"front-gear-box"
>
<view
class=
"front-gear-input-box"
>
<
view
class=
"front-gear-label"
v-if=
"goods.merchantGoodsPosition || goods.goodsInfo.goodsTypeName"
>
{{
goods
.
goodsInfo
.
goodsType
===
1
?
formatPosition
(
goods
.
merchantGoodsPosition
,
positionTypeList
):
goods
.
goodsInfo
.
goodsTypeName
}}
</view
>
<
!--
<view
class=
"front-gear-label"
v-if=
"goods.merchantGoodsPosition || goods.goodsInfo.goodsTypeName"
>
{{
goods
.
goodsInfo
.
goodsType
===
1
?
formatPosition
(
goods
.
merchantGoodsPosition
,
positionTypeList
):
goods
.
goodsInfo
.
goodsTypeName
}}
</view>
--
>
<view
class=
"front-gear-input"
>
<view
class=
"unit"
>
¥
</view>
<input
class=
"uni-input"
type=
"digit"
maxlength=
"9"
placeholder=
"请输入价格"
placeholder-style=
"font-size: 14px"
v-model=
"goods.sellPrice"
@
blur=
"validatePrice($event, goods, ind, index)"
/>
...
...
@@ -48,6 +48,7 @@ export default {
created
()
{
// 初始化商品数量
this
.
initProductNumbers
()
console
.
log
(
this
.
list
,
'Package-list'
)
},
mounted
()
{
// 确保每次使用组件时都检查并设置number属性
...
...
@@ -56,6 +57,7 @@ export default {
updated
()
{
// 当组件数据更新时也检查number属性
this
.
initProductNumbers
()
console
.
log
(
this
.
list
,
'Package-list'
)
},
methods
:
{
// 初始化商品数量方法
...
...
@@ -65,14 +67,20 @@ export default {
if
(
!
item
.
packageGoods
.
number
)
{
this
.
$set
(
item
.
packageGoods
,
'number'
,
'1'
)
}
// 存储旧值
item
.
packageGoods
.
goodsList
.
forEach
(
goods
=>
{
if
(
!
goods
.
price
)
{
goods
.
oldPrice
=
goods
.
sellPrice
}
})
})
}
},
// 格式化位置信息
formatPosition
(
item
,
positionTypeList
)
{
const
filterData
=
positionTypeList
.
filter
(
v
=>
v
.
positionValue
==
item
)
return
(
filterData
.
length
&&
filterData
[
0
]
&&
filterData
[
0
].
positionName
)
||
''
},
//
//
格式化位置信息
//
formatPosition(item, positionTypeList) {
//
const filterData = positionTypeList.filter(v => v.positionValue == item)
//
return (filterData.length && filterData[0] && filterData[0].positionName) || ''
//
},
// 验证数量输入
validateNumber
(
event
,
item
)
{
let
value
=
event
.
detail
.
value
...
...
uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue
View file @
ee62ac8
...
...
@@ -190,20 +190,24 @@ $uni-primary: #4673ff !default;
.uni-calendar-item--checked
{
background-color
:
$
uni-primary
;
color
:
#fff
;
opacity
:
0.8
;
//
opacity
:
0.8
;
}
.uni-calendar-item--multiple
{
background-color
:
$
uni-primary
;
background-color
:
rgba
(
$
color
:
$
uni-primary
,
$
alpha
:
0.8
)
;
color
:
#fff
;
opacity
:
0.8
;
.uni-calendar-item--multiple{
background
:
none
;
}
//
opacity
:
0
.8
;
}
.uni-calendar-item--before-checked
{
background-color
:
#
ff5a5f
;
background-color
:
#
4673FF
;
color
:
#fff
;
}
.uni-calendar-item--after-checked
{
background-color
:
#
ff5a5f
;
background-color
:
#
4673FF
;
color
:
#fff
;
border-radius
:
inherit
;
}
</
style
>
uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
View file @
ee62ac8
...
...
@@ -22,6 +22,7 @@
>
<text
class=
"uni-calendar__header-text uni-calendar--fixed-width"
>
{{
cancelText
}}
</text>
</view>
<viw
class=
"uni-calendar__header-title"
>
{{
title
}}
</viw>
<view
class=
"uni-calendar__header-btn-box"
@
click=
"confirm"
...
...
@@ -184,9 +185,13 @@ export default {
type
:
Object
,
default
:
()
=>
{
{
}
}
},
backgroundColor
:{
backgroundColor
:
{
type
:
String
,
default
:
'#fff'
},
title
:{
type
:
String
,
default
:
'选择日期'
}
},
data
()
{
...
...
@@ -308,7 +313,7 @@ export default {
}
this
.
choiceDate
(
before
)
setTimeout
(()
=>
{
uni
.
hideLoading
()
uni
.
hideLoading
()
this
.
choiceDate
(
after
)
},
100
)
}
...
...
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