Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
b4310939
提交
b4310939
authored
7月 02, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
云仓bug修复;新接口梳理;添加商品分类功能
上级
f18380ba
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
67 行增加
和
46 行删除
+67
-46
bankcard.js
src/api/module/bankcard.js
+1
-1
fillMainInf.vue
src/views/entry/fillMainInf.vue
+1
-1
index.vue
src/views/system/asset/bankcard/index.vue
+42
-39
index.vue
src/views/system/asset/verifyrecord/index.vue
+2
-2
index.vue
src/views/system/asset/withdraw/index.vue
+3
-3
addIndex.vue
src/views/system/goods/add/addIndex.vue
+18
-0
没有找到文件。
src/api/module/bankcard.js
浏览文件 @
b4310939
...
@@ -49,6 +49,6 @@ export function delBankcard(ids) {
...
@@ -49,6 +49,6 @@ export function delBankcard(ids) {
return
request
({
return
request
({
url
:
'/system/bankcard/delete'
,
url
:
'/system/bankcard/delete'
,
method
:
'delete'
,
method
:
'delete'
,
data
:{
id
s
:
ids
}
data
:{
id
:
ids
}
})
})
}
}
src/views/entry/fillMainInf.vue
浏览文件 @
b4310939
...
@@ -326,7 +326,7 @@
...
@@ -326,7 +326,7 @@
upLoadImg
(
data
).
then
((
res
)
=>
{
upLoadImg
(
data
).
then
((
res
)
=>
{
if
(
res
&&
res
.
data
.
code
==
1
){
if
(
res
&&
res
.
data
.
code
==
1
){
this
.
licenseImgFileList
.
push
({
'url'
:
res
.
data
.
data
.
imageUrl
});
this
.
licenseImgFileList
.
push
({
'url'
:
res
.
data
.
data
.
imageUrl
});
this
.
$message
(
'上传成功'
);
this
.
$message
(
{
type
:
'success'
,
message
:
'上传成功'
}
);
this
.
$refs
.
mainForm
.
clearValidate
(
'license'
);
this
.
$refs
.
mainForm
.
clearValidate
(
'license'
);
}
}
});
});
...
...
src/views/system/asset/bankcard/index.vue
浏览文件 @
b4310939
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
v-loading=
"loading"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<div
slot=
"header"
class=
"clearfix"
>
<el-row
:span=
"24"
type=
"flex"
align=
"middle"
justify=
"space-between"
>
<el-row
:span=
"24"
type=
"flex"
align=
"middle"
justify=
"space-between"
>
...
@@ -20,18 +20,17 @@
...
@@ -20,18 +20,17 @@
</el-row>
</el-row>
</div>
</div>
<el-table
v-loading=
"loading"
:height=
"tableHeight"
:data=
"bankcardList"
<el-table
:height=
"tableHeight"
:data=
"bankcardList"
@
selection-change=
"handleSelectionChange"
>
@
selection-change=
"handleSelectionChange"
>
<el-table-column
label=
"商户ID"
align=
"center"
prop=
"Id"
/>
<el-table-column
label=
"商户ID"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"开户名"
align=
"center"
prop=
"BankAccountName"
/>
<el-table-column
label=
"开户名"
align=
"center"
prop=
"bank_account_name"
/>
<el-table-column
label=
"城市名"
align=
"center"
prop=
"ProvinceCity"
/>
<!--
<el-table-column
label=
"城市名"
align=
"center"
prop=
"ProvinceCity"
/>
-->
<el-table-column
label=
"银行名称"
align=
"center"
prop=
"BankName"
/>
<el-table-column
label=
"银行名称"
align=
"center"
prop=
"bank_name"
/>
<el-table-column
label=
"开户行"
align=
"center"
prop=
"Kaihuhang"
/>
<el-table-column
label=
"开户行"
align=
"center"
prop=
"bank_branch_name"
/>
<el-table-column
label=
"户名"
align=
"center"
prop=
"BankAccountName"
/>
<el-table-column
label=
"账号"
align=
"center"
prop=
"bank_account_sn"
/>
<el-table-column
label=
"账号"
align=
"center"
prop=
"BankAccountNo"
/>
<!--
<el-table-column
label=
"支付宝账户名称"
align=
"center"
prop=
"ZfbAccountName"
/>
-->
<!--
<el-table-column
label=
"支付宝账户名称"
align=
"center"
prop=
"ZfbAccountName"
/>
-->
<!--
<el-table-column
label=
"支付宝账户"
align=
"center"
prop=
"ZfbAccount"
/>
-->
<!--
<el-table-column
label=
"支付宝账户"
align=
"center"
prop=
"ZfbAccount"
/>
-->
<el-table-column
label=
"类型"
:formatter=
"btypa"
align=
"center"
prop=
"State"
/
>
<!--
<el-table-column
label=
"类型"
:formatter=
"btypa"
align=
"center"
prop=
"State"
/>
--
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -67,19 +66,19 @@
...
@@ -67,19 +66,19 @@
<!-- </el-dialog>-->
<!-- </el-dialog>-->
<el-dialog
:visible
.
sync=
"bank"
:title=
"banktitle"
>
<el-dialog
:visible
.
sync=
"bank"
:title=
"banktitle"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"90px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"90px"
size=
"small"
>
<el-row
>
<!-- <el-row>--
>
<el-col
:span=
"16"
:offset=
"3"
>
<!-- <el-col :span="16" :offset="3">--
>
<el-form-item
label=
"开户城市"
prop=
"ProvinceCity"
>
<!-- <el-form-item label="开户城市" prop="ProvinceCity">--
>
<el-input
v-model=
"form.ProvinceCity"
placeholder=
"请输入城市名和商户提交时一致"
/
>
<!-- <el-input v-model="form.ProvinceCity" placeholder="请输入城市名和商户提交时一致"/>--
>
</el-form-item
>
<!-- </el-form-item>--
>
</el-col
>
<!-- </el-col>--
>
</el-row
>
<!-- </el-row>--
>
<el-row>
<el-row>
<el-col
:span=
"16"
:offset=
"3"
>
<el-col
:span=
"16"
:offset=
"3"
>
<el-form-item
label=
"银行名称"
>
<el-form-item
label=
"银行名称"
>
<el-select
v-model=
"form.
B
ankName"
placeholder=
"状态"
style=
"width: 100%"
>
<el-select
v-model=
"form.
b
ankName"
placeholder=
"状态"
style=
"width: 100%"
>
<el-option
v-for=
"item in bankList"
:key=
"item.value"
:label=
"item.value"
<el-option
v-for=
"item in bankList"
:key=
"item.value"
:label=
"item.value"
:value=
"item.value"
></el-option>
:value=
"item.value"
></el-option>
</el-select>
</el-select>
...
@@ -89,32 +88,32 @@
...
@@ -89,32 +88,32 @@
<el-row>
<el-row>
<el-col
:span=
"16"
:offset=
"3"
>
<el-col
:span=
"16"
:offset=
"3"
>
<el-form-item
label=
"开户行"
prop=
"
kaihuhang
"
>
<el-form-item
label=
"开户行"
prop=
"
bank_branch_name
"
>
<el-input
v-model=
"form.
kaihuhang
"
placeholder=
"请输入开户行"
/>
<el-input
v-model=
"form.
bank_branch_name
"
placeholder=
"请输入开户行"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"16"
:offset=
"3"
>
<el-col
:span=
"16"
:offset=
"3"
>
<el-form-item
label=
"户名"
prop=
"
B
ankAccountName"
>
<el-form-item
label=
"户名"
prop=
"
b
ankAccountName"
>
<el-input
v-model=
"form.
B
ankAccountName"
placeholder=
"请输入户名"
/>
<el-input
v-model=
"form.
b
ankAccountName"
placeholder=
"请输入户名"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"16"
:offset=
"3"
>
<el-col
:span=
"16"
:offset=
"3"
>
<el-form-item
label=
"账号"
prop=
"BankAccount
No
"
>
<el-form-item
label=
"账号"
prop=
"BankAccount
Sn
"
>
<el-input
v-model=
"form.BankAccount
No
"
placeholder=
"请输入账号"
/>
<el-input
v-model=
"form.BankAccount
Sn
"
placeholder=
"请输入账号"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
<el-button
@
click=
"cancel"
size=
"small"
>
取 消
</el-button>
<el-button
@
click=
"cancel"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
size=
"small"
>
确 定
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
...
@@ -249,8 +248,8 @@
...
@@ -249,8 +248,8 @@
getList
()
{
getList
()
{
listBankcard
(
this
.
queryParams
).
then
(
response
=>
{
listBankcard
(
this
.
queryParams
).
then
(
response
=>
{
this
.
bankcardList
=
response
.
data
.
data
;
this
.
bankcardList
=
response
.
data
.
data
;
//
this.total = response.data.count;
//
debugger
this
.
total
=
1
;
this
.
total
=
response
.
data
.
count
;
if
(
this
.
total
>=
3
)
{
if
(
this
.
total
>=
3
)
{
this
.
isAddbank
=
true
;
this
.
isAddbank
=
true
;
}
else
{
}
else
{
...
@@ -307,10 +306,12 @@
...
@@ -307,10 +306,12 @@
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
form
.
sellerId
=
this
.
queryParams
.
sellerId
;
this
.
form
.
sellerId
=
this
.
queryParams
.
sellerId
;
this
.
form
.
TxType
=
1
;
// this.form.TxType = 1;
this
.
loading
=
true
;
addBankcard
(
this
.
form
).
then
(
response
=>
{
addBankcard
(
this
.
form
).
then
(
response
=>
{
if
(
response
.
code
===
0
)
{
if
(
response
.
code
===
1
)
{
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
loading
=
false
;
this
.
open
=
false
;
this
.
open
=
false
;
this
.
bank
=
false
;
this
.
bank
=
false
;
this
.
zfb
=
false
;
this
.
zfb
=
false
;
...
@@ -323,18 +324,20 @@
...
@@ -323,18 +324,20 @@
},
},
/** 删除按钮操作 */
/** 删除按钮操作 */
handleDelete
(
row
)
{
handleDelete
(
row
)
{
const
ids
=
row
.
I
d
const
ids
=
row
.
i
d
this
.
$confirm
(
'是否确认删除商户银行卡编号为"'
+
ids
+
'"的数据项?'
,
"警告"
,
{
this
.
$confirm
(
'是否确认删除商户银行卡编号为"'
+
ids
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
type
:
"warning"
}).
then
(
function
()
{
}).
then
(
async
()
=>
{
return
delBankcard
(
ids
);
this
.
loading
=
true
;
}).
then
(()
=>
{
let
result
=
await
delBankcard
(
ids
);
this
.
getList
();
if
(
result
.
code
===
1
)
{
this
.
msgSuccess
(
"删除成功"
);
this
.
$message
({
type
:
'success'
,
message
:
'删除成功'
});
}).
catch
(
function
()
{
this
.
getList
()
});
}
this
.
loading
=
false
;
}).
catch
(()
=>
{});
},
},
}
//methods结束
}
//methods结束
};
};
...
...
src/views/system/asset/verifyrecord/index.vue
浏览文件 @
b4310939
...
@@ -210,8 +210,8 @@
...
@@ -210,8 +210,8 @@
/** 查询商户账单列表 */
/** 查询商户账单列表 */
getList
()
{
getList
()
{
listVerifyrecord
(
this
.
queryParams
).
then
(
response
=>
{
listVerifyrecord
(
this
.
queryParams
).
then
(
response
=>
{
this
.
verifyrecordList
=
response
.
data
.
list
;
this
.
verifyrecordList
=
response
.
data
.
data
;
this
.
total
=
response
.
data
.
total
;
this
.
total
=
response
.
data
.
count
;
});
});
},
},
// 取消按钮
// 取消按钮
...
...
src/views/system/asset/withdraw/index.vue
浏览文件 @
b4310939
...
@@ -211,8 +211,8 @@
...
@@ -211,8 +211,8 @@
},
},
//获取商户的信息
//获取商户的信息
getSellerInfoFn
()
{
getSellerInfoFn
()
{
const
seller
i
d
=
this
.
sellerId
;
const
seller
I
d
=
this
.
sellerId
;
getSellerInfo
({
sellerId
:
seller
i
d
}).
then
(
response
=>
{
getSellerInfo
({
sellerId
:
seller
I
d
}).
then
(
response
=>
{
this
.
sellerinfo
=
response
.
data
;
this
.
sellerinfo
=
response
.
data
;
this
.
sellerinfo
.
Balance
=
response
.
data
.
Balance
/
100
;
this
.
sellerinfo
.
Balance
=
response
.
data
.
Balance
/
100
;
this
.
sellerinfo
.
FrozenMoney
=
response
.
data
.
FrozenMoney
/
100
;
this
.
sellerinfo
.
FrozenMoney
=
response
.
data
.
FrozenMoney
/
100
;
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
//获取商户的银行卡列表
//获取商户的银行卡列表
getBankcardList
()
{
getBankcardList
()
{
getBankcardList
({
sellerId
:
this
.
sellerId
}).
then
(
response
=>
{
getBankcardList
({
sellerId
:
this
.
sellerId
}).
then
(
response
=>
{
this
.
banklist
=
response
.
data
.
list
;
this
.
banklist
=
response
.
data
.
data
;
});
});
},
},
...
...
src/views/system/goods/add/addIndex.vue
0 → 100644
浏览文件 @
b4310939
<
template
>
<div>
<p>
hi,你好
</p>
</div>
</
template
>
<
script
>
export
default
{
name
:
"AddIndex"
,
data
()
{
return
{}
}
}
</
script
>
<
style
lang=
"scss"
type=
"text/stylus"
scoped
>
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论