Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
shopxo-uniapp
提交
adff31c7
S
shopxo-uniapp
项目概览
纵之格
/
shopxo-uniapp
通知
102
Star
3
Fork
4
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
shopxo-uniapp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
adff31c7
编写于
4月 12, 2024
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
虚拟币
上级
5473dd75
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
29 addition
and
16 deletion
+29
-16
lang/en.json
lang/en.json
+1
-0
lang/zh.json
lang/zh.json
+1
-0
pages/plugins/coin/convert/convert.vue
pages/plugins/coin/convert/convert.vue
+14
-5
pages/user-orderaftersale-detail/user-orderaftersale-detail.css
...user-orderaftersale-detail/user-orderaftersale-detail.css
+1
-1
pages/user-orderaftersale-detail/user-orderaftersale-detail.vue
...user-orderaftersale-detail/user-orderaftersale-detail.vue
+12
-10
未找到文件。
lang/en.json
浏览文件 @
adff31c7
...
...
@@ -28,6 +28,7 @@
"all"
:
"All"
,
"share"
:
"Share"
,
"return"
:
"Return"
,
"view_text"
:
"Check"
,
"processing_in_text"
:
"Processing"
,
"loading_in_text"
:
"Loading"
,
"upload_in_text"
:
"Uploading"
,
...
...
lang/zh.json
浏览文件 @
adff31c7
...
...
@@ -28,6 +28,7 @@
"all"
:
"全部"
,
"share"
:
"分享"
,
"return"
:
"返回"
,
"view_text"
:
"查看"
,
"processing_in_text"
:
"处理中..."
,
"loading_in_text"
:
"加载中..."
,
"upload_in_text"
:
"上传中..."
,
...
...
pages/plugins/coin/convert/convert.vue
浏览文件 @
adff31c7
...
...
@@ -18,7 +18,7 @@
</view>
</view>
<view
class=
"coin-num pr flex-col"
>
<input
type=
"digit"
name=
"coin"
:value=
"default_value"
class=
"num input-br text-size"
placeholder-class=
"text-size-sm cr-grey-9"
placeholder=
"请输入"
@
input=
"default_
value_change
"
/>
<input
type=
"digit"
name=
"coin"
:value=
"default_value"
class=
"num input-br text-size"
placeholder-class=
"text-size-sm cr-grey-9"
placeholder=
"请输入"
@
input=
"default_
coin_change_event
"
/>
<view
class=
"margin-top-main tr text-size-xs"
>
{{
accounts_list
[
send_accounts_id_index
][
'
platform_symbol
'
]
}}{{
accounts_list
[
send_accounts_id_index
][
'
default_coin
'
]
}}
</view>
</view>
</view>
...
...
@@ -214,23 +214,31 @@
popup_coin_status
:
true
,
});
},
// 切换账户
coin_checked_event
(
e
)
{
var
index
=
parseInt
(
e
.
currentTarget
.
dataset
.
index
||
0
);
var
old_index
=
(
this
.
coin_type
==
1
)
?
this
.
receive_accounts_id_index
:
this
.
send_accounts_id_index
;
if
(
index
==
old_index
)
{
app
.
globalData
.
showToast
(
'
转出和接收选择不能相同
'
);
return
false
;
}
if
(
this
.
coin_type
==
1
)
{
this
.
setData
({
send_accounts_id_index
:
parseInt
(
e
.
currentTarget
.
dataset
.
index
||
0
)
,
send_accounts_id_index
:
index
,
send_accounts_id
:
e
.
currentTarget
.
dataset
.
value
,
});
}
else
{
this
.
setData
({
receive_accounts_id_index
:
parseInt
(
e
.
currentTarget
.
dataset
.
index
||
0
)
,
receive_accounts_id_index
:
index
,
receive_accounts_id
:
e
.
currentTarget
.
dataset
.
value
,
});
}
this
.
setData
({
coin_index
:
parseInt
(
e
.
currentTarget
.
dataset
.
index
||
0
)
,
coin_index
:
index
,
popup_coin_status
:
false
,
});
},
// 关闭账户选择弹窗
popup_coin_status_close_event
()
{
this
.
setData
({
popup_coin_status
:
false
,
...
...
@@ -251,7 +259,8 @@
convert_bool
:
!
this
.
convert_bool
,
});
},
default_value_change
(
e
)
{
// 需要转换的值事件
default_coin_change_event
(
e
)
{
this
.
setData
({
default_value
:
e
.
detail
.
value
,
convert_value
:
Math
.
round
(
e
.
detail
.
value
*
this
.
accounts_list
[
this
.
receive_accounts_id_index
][
'
platform_rate
'
]
*
100
)
/
100
,
...
...
pages/user-orderaftersale-detail/user-orderaftersale-detail.css
浏览文件 @
adff31c7
...
...
@@ -18,7 +18,7 @@
* 类型选择
*/
.choose-type
.choose-item
{
width
:
calc
(
50%
-
55
rpx
);
width
:
calc
(
50%
-
60
rpx
);
-webkit-transition
:
border-color
.2s
ease-in
;
-moz-transition
:
border-color
.2s
ease-in
;
-ms-transition
:
border-color
.2s
ease-in
;
...
...
pages/user-orderaftersale-detail/user-orderaftersale-detail.vue
浏览文件 @
adff31c7
...
...
@@ -66,7 +66,7 @@
<!-- 提示/退货 -->
<view
v-if=
"new_aftersale_data.status
<
=
2"
class=
"msg-tips padding-main border-radius-main spacing-mb"
>
<text
class=
"msg-text"
>
{{
new_aftersale_data
.
tips_msg
.
title
}}
</text>
<text
class=
"msg-a"
@
tap=
"show_aftersale_event"
>
查看
>>
</text>
<text
class=
"msg-a"
@
tap=
"show_aftersale_event"
>
{{
$t
(
'
common.view_text
'
)
}}
>>
</text>
<view
v-if=
"new_aftersale_data.status == 1 && new_aftersale_data.type == 1 && return_goods_address != null"
class=
"margin-top-sm oh"
>
<button
class=
"bg-green cr-white round dis-block fl"
type=
"default"
size=
"mini"
@
tap=
"delivery_submit_event"
>
{{
$t
(
'
user-orderaftersale-detail.user-orderaftersale-detail.uuhf62
'
)
}}
</button>
</view>
...
...
@@ -87,7 +87,7 @@
<!-- 提示 -->
<view
v-if=
"new_aftersale_data.status >= 3"
:class=
"'msg-tips padding-main border-radius-main spacing-mb ' + (new_aftersale_data.status == 3 ? 'msg-tips-success' : new_aftersale_data.status == 4 ? 'msg-tips-danger' : 'msg-tips-warning')"
>
<text
class=
"msg-text"
>
{{
new_aftersale_data
.
tips_msg
.
title
}}
</text>
<text
class=
"msg-a margin-left-sm"
@
tap=
"show_aftersale_event"
>
查看
>>
</text>
<text
class=
"msg-a margin-left-sm"
@
tap=
"show_aftersale_event"
>
{{
$t
(
'
common.view_text
'
)
}}
>>
</text>
</view>
<!-- 详情 -->
...
...
@@ -410,7 +410,7 @@ export default {
return_money_goods_reason
:
data
.
return_money_goods_reason
||
[],
aftersale_type_list
:
data
.
aftersale_type_list
||
[],
return_goods_address
:
data
.
return_goods_address
||
null
,
form_price
:
data
.
returned_data
||
null
!=
null
?
data
.
returned_data
.
refund_price
:
0
,
form_price
:
data
.
returned_data
||
null
!=
null
?
data
.
returned_data
.
refund_price
:
''
,
plugins_intellectstools_data
:
data
.
plugins_intellectstools_data
||
null
,
});
}
else
{
...
...
@@ -590,14 +590,16 @@ export default {
images
:
this
.
form_images_list
.
length
>
0
?
JSON
.
stringify
(
this
.
form_images_list
)
:
""
,
};
// 防止金额大于计算的金额
if
(
form_data
[
"
price
"
]
>
this
.
returned_data
[
"
refund_price
"
])
{
form_data
[
"
price
"
]
=
this
.
returned_data
[
"
refund_price
"
];
// 防止金额大于计算的金额
var
refund_price
=
parseFloat
(
this
.
returned_data
[
"
refund_price
"
]);
if
(
form_data
[
"
price
"
]
>
refund_price
)
{
form_data
[
"
price
"
]
=
refund_price
;
}
// 防止数量大于计算的数量
if
(
form_data
[
"
number
"
]
>
this
.
returned_data
[
"
returned_quantity
"
])
{
form_data
[
"
number
"
]
=
this
.
returned_data
[
"
returned_quantity
"
];
// 防止数量大于计算的数量
var
returned_quantity
=
parseInt
(
this
.
returned_data
[
"
returned_quantity
"
]);
if
(
form_data
[
"
number
"
]
>
returned_quantity
)
{
form_data
[
"
number
"
]
=
returned_quantity
;
}
// 数据校验
...
...
@@ -617,7 +619,7 @@ export default {
fields
:
"
number
"
,
msg
:
this
.
$t
(
'
user-orderaftersale-detail.user-orderaftersale-detail.dn3423
'
),
});
}
}
// 校验参数并提交
if
(
app
.
globalData
.
fields_check
(
form_data
,
validation
))
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录