Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
617dc63d
提交
617dc63d
authored
9月 22, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev_hxz' into test
上级
d8699191
04c47c27
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
355 行增加
和
289 行删除
+355
-289
.env.development
.env.development
+1
-1
bankcard.js
src/api/module/bankcard.js
+9
-2
index.js
src/api/module/operation/index.js
+6
-6
national.png
src/assets/image/national.png
+0
-0
newyuncang.vue
src/views/entry/newyuncang.vue
+287
-250
index.vue
src/views/system/asset/myAsset/index.vue
+2
-2
index.vue
src/views/system/asset/withdraw/index.vue
+31
-6
index.vue
src/views/system/freight/freight_list/index.vue
+19
-22
没有找到文件。
.env.development
浏览文件 @
617dc63d
...
...
@@ -3,7 +3,7 @@ ENV = 'development'
# 正式环境
#VUE_APP_BASE_API = 'http://sjapi.jxhh.com'
#
VUE_APP_BASE_SYS_API = 'http://sysapi.jxhh.com'
VUE_APP_BASE_SYS_API = 'http://sysapi.jxhh.com'
# 开发环境
#VUE_APP_BASE_API = 'http://192.168.111.34:8200'
VUE_APP_BASE_API = 'http://192.168.26.179:8200'
...
...
src/api/module/bankcard.js
浏览文件 @
617dc63d
...
...
@@ -171,10 +171,17 @@ export function addInvoiceData (data) {
}
// 获取验证码
// export function getCheckCodeData(data) {
// return request({
// url: '/system/withdrawlog/getCheckCode',
// method: 'post',
// data: data
// })
// }
export
function
getCheckCodeData
(
data
)
{
return
request
({
url
:
'/
system/withdrawlog/getCheckCod
e'
,
method
:
'
pos
t'
,
url
:
'/
local/seller/sendMobil
e'
,
method
:
'
ge
t'
,
data
:
data
})
}
...
...
src/api/module/operation/index.js
浏览文件 @
617dc63d
//
import request from '@/utils/request';
import
request
from
'@/utils/request'
;
import
axios
from
'axios'
// 获取分类列表
//
//
//
获取分类列表
// export function getDocList (docType) {
// return request({
// url: '/api/v1/document/externalTypeListALL?docType='+docType,
// url: '/
/sysapi.jxhh.com/
api/v1/document/externalTypeListALL?docType='+docType,
// method: 'get'
// })
// }
//
// // 查询文档
//
//
// //
//
查询文档
// export function getDoc (query) {
// return request({
// url: '/api/v1/document/externalShow',
...
...
src/assets/image/national.png
0 → 100644
浏览文件 @
617dc63d
824 Bytes
src/views/entry/newyuncang.vue
浏览文件 @
617dc63d
差异被折叠。
点击展开。
src/views/system/asset/myAsset/index.vue
浏览文件 @
617dc63d
...
...
@@ -4,7 +4,7 @@
<!-- 商品信息 -->
<div
class=
"card-header-custom"
>
<div
class=
"card-header-title"
>
<span
class=
"blue-block blue-block-goods-title"
></span>
账
号
资产
<span
class=
"blue-block blue-block-goods-title"
></span>
账
户
资产
</div>
<div
class=
"card-header-handle"
>
<el-button
plain
type=
"primary"
size=
"small"
@
click=
"explainWithdrawal"
>
提现说明
</el-button>
...
...
@@ -111,7 +111,7 @@
</el-form-item>
<el-form-item
label=
"对公银行账号:"
prop=
"bank_account_sn"
>
<el-input
v-model=
"bankcardForm.bank_account_sn"
placeholder=
"请输入
快递单
号"
style=
"width: 70%"
></el-input>
<el-input
v-model=
"bankcardForm.bank_account_sn"
placeholder=
"请输入
对公银行账
号"
style=
"width: 70%"
></el-input>
</el-form-item>
<el-form-item>
...
...
src/views/system/asset/withdraw/index.vue
浏览文件 @
617dc63d
...
...
@@ -20,7 +20,7 @@
<el-form-item
label=
"提现至:"
prop=
"bank_id"
>
<el-select
v-model=
"assetForm.bank_id"
placeholder=
"选择到账银行卡"
style=
"width:420px;"
>
<el-option
v-for=
"item in bankList"
:key=
"item.id"
:label=
"
item.bank_name
"
:value=
"item.id"
></el-option>
<el-option
v-for=
"item in bankList"
:key=
"item.id"
:label=
"
formatBankName(item.bank_name,item.bank_account_sn)
"
:value=
"item.id"
></el-option>
</el-select>
<span
class=
"withdraw-tip"
>
您还没有账户,
<span
class=
"spe-span-a"
@
click=
"goToAddBank"
>
去添加
</span>
...
...
@@ -30,7 +30,8 @@
<el-form-item
label=
"提现金额:"
>
<el-input
v-model=
"withdrawalBalance"
disabled
placeholder=
"全部提现金额"
style=
"width:420px;"
/>
<span
class=
"withdraw-tip"
>
提现金额为全部的可提现余额,手续费将从您的提现金额中扣除,以实际到账为准(开票以实际到账金额开具)
不允许手动输入,提现金额为全部的可提现余额,手续费将从您的提现金额中扣除,以实际到账为准(开票以实际到账金额开具)。
提现金额至少为100元才可以操作提现
</span>
<p
class=
"withdraw-tip-spe"
>
当前提现手续费为:
{{
chargeCount
}}
元
</p>
</el-form-item>
...
...
@@ -55,7 +56,7 @@
<div
class=
"footer-btn"
>
<el-button
type=
"primary"
@
click=
"submitForm"
:disabled=
"inSureCashOut"
style=
"margin-right:20px;"
>
确 定
</el-button>
<el-button
@
click=
"resetAssetForm"
>
取 消
</el-button
>
<!-- <el-button @click="resetAssetForm">取 消</el-button>--
>
</div>
</el-card>
</div>
...
...
@@ -182,9 +183,12 @@
// 倒计时效果
this
.
getCode
()
getCheckCodeData
({
seller_id
:
this
.
seller_id
}).
then
(
response
=>
{
if
(
response
.
code
==
0
)
{
this
.
msgSuccess
(
response
.
msg
);
// 获取验证码接口
getCheckCodeData
().
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
this
.
$message
({
type
:
'success'
,
message
:
'验证码发送成功'
});
}
else
{
this
.
$message
({
type
:
'error'
,
message
:
res
.
message
?
res
.
message
:
'发送失败'
});
}
});
},
...
...
@@ -233,6 +237,11 @@
/** 提交按钮 */
submitForm
()
{
if
(
Number
(
this
.
withdrawalBalance
)
<
100
)
{
this
.
$message
({
type
:
'warning'
,
message
:
'提现金额至少为100才可操作提现'
});
return
;
}
this
.
$refs
[
"assetForm"
].
validate
(
valid
=>
{
if
(
valid
)
{
applyWithdraw
(
this
.
assetForm
).
then
(
res
=>
{
...
...
@@ -247,6 +256,22 @@
}
});
},
/** 提现 银行卡名称 + ***后四位卡号 */
formatBankName
(
name
,
num
)
{
let
newBnakName
=
''
;
let
newNum
=
''
;
// 为了以防万一,先将num转为字符串
let
numStr
=
num
+
''
;
if
(
numStr
&&
numStr
.
length
>
4
)
{
newNum
=
'****'
+
numStr
.
substring
(
numStr
.
length
-
4
)
}
else
{
newNum
=
numStr
}
newBnakName
=
name
+
' ('
+
newNum
+
')'
return
newBnakName
}
}
//methods结束
};
</
script
>
...
...
src/views/system/freight/freight_list/index.vue
浏览文件 @
617dc63d
...
...
@@ -34,13 +34,13 @@
<el-table
v-loading=
"loading"
:data=
"freightList"
:height=
"tableHeight"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"ID"
align=
"center"
prop=
"
I
d"
/>
<el-table-column
label=
"模板名称"
align=
"center"
prop=
"
N
ame"
/>
<el-table-column
label=
"排序"
align=
"center"
prop=
"
S
ort"
/>
<el-table-column
label=
"是否是默认模板"
align=
"center"
:formatter=
"formatDefault"
prop=
"
IsD
efault"
/>
<el-table-column
label=
"ID"
align=
"center"
prop=
"
i
d"
/>
<el-table-column
label=
"模板名称"
align=
"center"
prop=
"
n
ame"
/>
<el-table-column
label=
"排序"
align=
"center"
prop=
"
s
ort"
/>
<el-table-column
label=
"是否是默认模板"
align=
"center"
:formatter=
"formatDefault"
prop=
"
is_d
efault"
/>
<!--
<el-table-column
label=
"类型"
align=
"center"
:formatter=
"formatType"
prop=
"ChargeType"
/>
-->
<el-table-column
label=
"启用状态"
align=
"center"
:formatter=
"formaStatus"
prop=
"
P
ublish"
/>
<el-table-column
label=
"创建时间"
align=
"center"
:formatter=
"formatTime"
prop=
"
C
reated"
/>
<el-table-column
label=
"启用状态"
align=
"center"
:formatter=
"formaStatus"
prop=
"
p
ublish"
/>
<el-table-column
label=
"创建时间"
align=
"center"
:formatter=
"formatTime"
prop=
"
c
reated"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<template
slot-scope=
"scope"
>
<el-button
...
...
@@ -148,9 +148,9 @@
this
.
isOpen
=
val
;
this
.
getList
();
},
/
/ 模板是否启用状态
/
** 启用状态 格式化*/
formaStatus
(
row
)
{
let
isPublish
=
row
.
P
ublish
;
let
isPublish
=
row
.
p
ublish
;
let
publish
=
''
;
if
(
isPublish
===
1
)
{
publish
=
'启用'
;
...
...
@@ -172,7 +172,7 @@
},
//格式化状态
formatDefault
(
row
)
{
var
types
=
row
.
IsD
efault
var
types
=
row
.
is_d
efault
var
optDes
=
''
if
(
types
==
1
)
{
optDes
=
"是"
...
...
@@ -183,7 +183,7 @@
},
//格式化时间
formatTime
(
row
)
{
var
Time
=
row
.
C
reated
var
Time
=
row
.
c
reated
var
newtime
=
""
if
(
Time
>
0
)
{
newtime
=
dateFormat
(
Time
*
1000
,
"Y-m-d H:i:s"
);
...
...
@@ -194,7 +194,7 @@
getList
()
{
listFreight
(
this
.
queryParams
).
then
(
res
=>
{
if
(
res
.
data
)
{
debugger
//
this
.
freightList
=
res
.
data
.
list
;
this
.
total
=
res
.
data
.
count
;
}
...
...
@@ -234,7 +234,7 @@
},
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
(
item
=>
item
.
I
d
)
this
.
ids
=
selection
.
map
(
item
=>
item
.
i
d
)
this
.
single
=
selection
.
length
!==
1
this
.
multiple
=
!
selection
.
length
},
...
...
@@ -269,10 +269,10 @@
/** 修改按钮操作 */
handleUpdate
(
row
)
{
this
.
reset
();
const
id
=
row
.
I
d
const
id
=
row
.
i
d
getFreight
(
id
).
then
(
response
=>
{
let
formdate
=
response
.
data
debugger
//
response
.
data
.
Dispatching
=
JSON
.
parse
(
formdate
.
Dispatching
)
console
.
log
(
"点击修改获取的数据:"
,
formdate
.
Dispatching
);
this
.
form
=
response
.
data
...
...
@@ -283,7 +283,7 @@
/** 提交按钮 */
submitForm
()
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
debugger
if
(
valid
)
{
if
(
this
.
form
.
id
!=
null
)
{
...
...
@@ -311,8 +311,7 @@
* */
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
ids
=
row
.
Id
||
this
.
ids
;
debugger
const
ids
=
row
.
id
||
this
.
ids
;
this
.
$confirm
(
'是否确认删除运费模板编号为“'
+
ids
+
'"的数据?'
,
'警告'
,{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
...
...
@@ -321,13 +320,11 @@
this
.
loading
=
true
;
let
delResult
=
await
delFreight
(
ids
);
if
(
delResult
.
code
===
1
)
{
this
.
$message
({
type
:
'success'
,
message
:
delResult
.
msg
});
this
.
$message
({
type
:
'success'
,
message
:
'删除成功'
});
this
.
getList
();
}
else
{
this
.
$message
({
type
:
'error'
,
message
:
delResult
.
msg
?
delResult
.
msg
:
'删除失败'
});
}
if
(
delResult
.
code
===
0
)
{
this
.
$message
({
type
:
'error'
,
message
:
delResult
.
msg
});
}
this
.
loading
=
false
;
}).
catch
(()
=>
{});
},
}
//methods结束
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论