Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
5715125e
提交
5715125e
authored
9月 24, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug修复
上级
ca0a1c3b
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
25 行增加
和
22 行删除
+25
-22
index.html
public/index.html
+1
-1
newyuncang.vue
src/views/entry/newyuncang.vue
+6
-9
wddetails.vue
src/views/system/asset/wddetails.vue
+7
-1
goodsinfomation.vue
src/views/system/goods/add/components/goodsinfomation.vue
+2
-2
goodsparameter.vue
src/views/system/goods/add/components/goodsparameter.vue
+1
-1
index.vue
src/views/system/goods/add/index.vue
+8
-8
没有找到文件。
public/index.html
浏览文件 @
5715125e
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
}
}
}
}
};
};
xhttp
.
open
(
"GET"
,
'
http://192.168.26.179:6601/api/v1/oem/webSite/domainChannel?domain='
+
ssa
+
'&field='
+
op
,
true
);
xhttp
.
open
(
"GET"
,
'
//sysapi.jxhh.com/api/v1/oem/webSite/domainChannel?domain='
+
ssa
+
'&field='
+
op
,
true
);
// 直接上正式,以防上线忘改
xhttp
.
send
();
xhttp
.
send
();
}
}
</script>
</script>
...
...
src/views/entry/newyuncang.vue
浏览文件 @
5715125e
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<img
style=
"width:114px;height:35px;"
:src=
"settitle.topLogo"
alt=
""
>
<img
style=
"width:114px;height:35px;"
:src=
"settitle.topLogo"
alt=
""
>
</li>
</li>
<li>
<li>
<a
href=
""
>
首页
</a>
<a
href=
"
/
"
>
首页
</a>
</li>
</li>
<li
v-if=
"navigationObj.open"
>
<li
v-if=
"navigationObj.open"
>
<a
:href=
" '//' + navigationObj.open"
target=
"_blank"
>
开放平台
</a>
<a
:href=
" '//' + navigationObj.open"
target=
"_blank"
>
开放平台
</a>
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<!--
</el-carousel>
-->
<!--
</el-carousel>
-->
<swiper
:options=
"swiperOption"
v-if=
"bannerList && bannerList.length > 0"
>
<swiper
:options=
"swiperOption"
v-if=
"bannerList && bannerList.length > 0"
>
<swiper-slide
v-for=
"(item,index) in bannerList"
:key=
"index"
>
<swiper-slide
v-for=
"(item,index) in bannerList"
:key=
"index"
>
<a
:href=
"item.redirect_url"
target=
"_blank"
><img
style=
"width: 100%;height: 562px;"
:src=
"item.image_url"
<a
:href=
"
'//' +
item.redirect_url"
target=
"_blank"
><img
style=
"width: 100%;height: 562px;"
:src=
"item.image_url"
alt=
""
></a>
alt=
""
></a>
</swiper-slide>
</swiper-slide>
</swiper>
</swiper>
...
@@ -404,6 +404,7 @@
...
@@ -404,6 +404,7 @@
}
}
})
})
},
},
/** 获取 云仓 banner图信息、核心优势、入驻logo图片集 */
getAllcloud
()
{
getAllcloud
()
{
let
data
=
{
let
data
=
{
new_channel_id
:
this
.
channel_id
new_channel_id
:
this
.
channel_id
...
@@ -453,14 +454,11 @@
...
@@ -453,14 +454,11 @@
},
},
/** 底部 路由跳转 */
/** 底部 路由跳转 */
goToUser
(
id
)
{
goToUser
(
id
)
{
debugger
let
completeWebsite
=
''
let
completeWebsite
=
''
if
(
this
.
navigationObj
.
aboutUs
)
{
if
(
this
.
navigationObj
.
aboutUs
)
{
// completeWebsite = this.navigationObj.aboutUs + '/user'
completeWebsite
=
this
.
navigationObj
.
aboutUs
+
'/user?id='
+
id
// console.log(11111,completeWebsite);
window
.
location
.
href
=
'//'
+
completeWebsite
// this.$router.push({path: completeWebsite ,query:{id:id} })
}
}
},
},
// 去注册
// 去注册
toRegister
()
{
toRegister
()
{
...
@@ -899,7 +897,7 @@
...
@@ -899,7 +897,7 @@
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
flex-direction
:
row
;
flex-direction
:
row
;
margin
:
0
auto
;
margin
:
20px
auto
;
}
}
.card-show
{
.card-show
{
...
@@ -936,7 +934,6 @@
...
@@ -936,7 +934,6 @@
width
:
169px
;
width
:
169px
;
height
:
75px
;
height
:
75px
;
margin
:
20px
10px
;
margin
:
20px
10px
;
background-color
:
#eee
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
...
...
src/views/system/asset/wddetails.vue
浏览文件 @
5715125e
...
@@ -411,10 +411,16 @@
...
@@ -411,10 +411,16 @@
this
.
$refs
.
addInvoiceForm
.
validate
((
valid
)
=>
{
this
.
$refs
.
addInvoiceForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
params
.
id
=
this
.
withdrawId
;
params
.
id
=
this
.
withdrawId
;
params
.
express_company
=
this
.
addInvoiceForm
.
express_name
;
//
params.express_company = this.addInvoiceForm.express_name;
params
.
express_no
=
this
.
addInvoiceForm
.
express_sn
;
params
.
express_no
=
this
.
addInvoiceForm
.
express_sn
;
params
.
invoice_img
=
this
.
invoiceImgBase64List
params
.
invoice_img
=
this
.
invoiceImgBase64List
for
(
let
i
=
0
;
i
<
this
.
expressLists
.
length
;
i
++
)
{
if
(
this
.
addInvoiceForm
.
express_name
==
this
.
expressLists
[
i
].
value
)
{
params
.
express_company
=
this
.
expressLists
[
i
].
label
}
}
addInvoiceData
(
params
).
then
(
res
=>
{
addInvoiceData
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
this
.
$message
({
type
:
'success'
,
message
:
'补充发票信息成功'
});
this
.
$message
({
type
:
'success'
,
message
:
'补充发票信息成功'
});
...
...
src/views/system/goods/add/components/goodsinfomation.vue
浏览文件 @
5715125e
...
@@ -360,7 +360,7 @@
...
@@ -360,7 +360,7 @@
return
file
;
return
file
;
},
()
=>
{
},
()
=>
{
this
.
$message
({
this
.
$message
({
message
:
'商品图片尺寸必须为800 * 800,请重新选择!'
,
message
:
'商品图片尺寸必须为800 * 800
像素
,请重新选择!'
,
type
:
'warning'
type
:
'warning'
});
});
return
Promise
.
reject
();
return
Promise
.
reject
();
...
@@ -380,7 +380,7 @@
...
@@ -380,7 +380,7 @@
urlObj
.
url
=
res
.
data
.
image_url
;
urlObj
.
url
=
res
.
data
.
image_url
;
this
.
goodsImgFileList
.
push
(
urlObj
);
this
.
goodsImgFileList
.
push
(
urlObj
);
this
.
goodsImgFileList
.
forEach
(
item
=>
{
this
.
goodsImgFileList
.
forEach
(
item
=>
{
this
.
goodsInfoForm
.
imgs
.
push
(
item
.
url
)
//
this.goodsInfoForm.imgs.push(item.url)
})
})
this
.
$message
({
type
:
'success'
,
message
:
'图片上传成功'
});
this
.
$message
({
type
:
'success'
,
message
:
'图片上传成功'
});
// 只清除一次,不浪费哦
// 只清除一次,不浪费哦
...
...
src/views/system/goods/add/components/goodsparameter.vue
浏览文件 @
5715125e
...
@@ -320,7 +320,7 @@ export default {
...
@@ -320,7 +320,7 @@ export default {
},
},
// 如果保存失败,将乘以100的价格还原
// 如果保存失败,将乘以100的价格还原
priceReduce
()
{
priceReduce
()
{
debugger
//
debugger
if
(
this
.
parameterdata
.
pamTableList
&&
this
.
parameterdata
.
pamTableList
.
length
>
0
)
{
if
(
this
.
parameterdata
.
pamTableList
&&
this
.
parameterdata
.
pamTableList
.
length
>
0
)
{
this
.
parameterdata
.
pamTableList
.
forEach
((
item
)
=>
{
this
.
parameterdata
.
pamTableList
.
forEach
((
item
)
=>
{
if
(
item
[
0
].
js_price
)
{
if
(
item
[
0
].
js_price
)
{
...
...
src/views/system/goods/add/index.vue
浏览文件 @
5715125e
...
@@ -577,7 +577,7 @@
...
@@ -577,7 +577,7 @@
delete
this
.
goodsAllData
.
specs_group
;
delete
this
.
goodsAllData
.
specs_group
;
}
}
//
商品id 不为 0 是修改
//
修改 商品id不为 0
if
(
this
.
goodsAllData
.
goods_id
)
{
if
(
this
.
goodsAllData
.
goods_id
)
{
// 商品id 为 0 是新增
// 商品id 为 0 是新增
let
goodsStatus
=
1
;
let
goodsStatus
=
1
;
...
@@ -587,6 +587,7 @@
...
@@ -587,6 +587,7 @@
goodsStatus
=
3
;
goodsStatus
=
3
;
}
}
updateGoodsNew
(
this
.
goodsAllData
).
then
(
res
=>
{
updateGoodsNew
(
this
.
goodsAllData
).
then
(
res
=>
{
//debugger
if
(
res
.
code
===
1
)
{
if
(
res
.
code
===
1
)
{
this
.
$message
({
type
:
'success'
,
message
:
'编辑成功'
});
this
.
$message
({
type
:
'success'
,
message
:
'编辑成功'
});
this
.
initAllGoodsInfo
();
this
.
initAllGoodsInfo
();
...
@@ -594,15 +595,15 @@
...
@@ -594,15 +595,15 @@
path
:
'/system/goods/management'
,
path
:
'/system/goods/management'
,
query
:
{
goodsStatus
:
goodsStatus
}
query
:
{
goodsStatus
:
goodsStatus
}
});
});
}
}
else
{
if
(
res
.
code
===
0
)
{
//this.$refs.goodsparameter.priceReduce()
this
.
$refs
.
goodsparameter
.
priceReduce
()
let
msg
=
res
.
message
?
res
.
message
:
'编辑失败'
let
msg
=
res
.
message
?
res
.
message
:
'编辑失败'
this
.
$message
({
type
:
'error'
,
message
:
msg
});
this
.
$message
({
type
:
'error'
,
message
:
msg
});
}
}
});
});
}
else
{
}
else
{
// 商品id 为 0 是新增
//debugger
// 新增 商品id 为 0
let
goodsStatus
=
1
;
let
goodsStatus
=
1
;
if
(
this
.
goodsAllData
.
submit
===
0
)
{
if
(
this
.
goodsAllData
.
submit
===
0
)
{
goodsStatus
=
2
;
goodsStatus
=
2
;
...
@@ -617,10 +618,9 @@
...
@@ -617,10 +618,9 @@
path
:
'/system/goods/management'
,
path
:
'/system/goods/management'
,
query
:
{
goodsStatus
:
goodsStatus
}
query
:
{
goodsStatus
:
goodsStatus
}
});
});
}
}
else
{
if
(
res
.
code
===
0
)
{
// 如果保存失败,将价格还原
// 如果保存失败,将价格还原
this
.
$refs
.
goodsparameter
.
priceReduce
()
//
this.$refs.goodsparameter.priceReduce()
let
msg
=
res
.
message
?
res
.
message
:
'新增失败'
let
msg
=
res
.
message
?
res
.
message
:
'新增失败'
this
.
$message
({
type
:
'error'
,
message
:
msg
});
this
.
$message
({
type
:
'error'
,
message
:
msg
});
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论