Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
0e9ea380
提交
0e9ea380
authored
9月 01, 2020
作者:
吴德鹏
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化运费模板
上级
fef533bb
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
28 行增加
和
31 行删除
+28
-31
TbCfStationItemEntity.java
.../main/java/com/platform/entity/TbCfStationItemEntity.java
+5
-5
TbCfStationItemServiceImpl.java
...com/platform/service/impl/TbCfStationItemServiceImpl.java
+2
-2
TbCfStationItemDao.xml
...rc/main/resources/com/platform/dao/TbCfStationItemDao.xml
+7
-7
tbcfstationitem.html
...min/src/main/webapp/WEB-INF/page/sys/tbcfstationitem.html
+4
-4
tbcfexpresstemplate.js
platform-admin/src/main/webapp/js/sys/tbcfexpresstemplate.js
+7
-10
tbcfstationitem.js
platform-admin/src/main/webapp/js/sys/tbcfstationitem.js
+3
-3
没有找到文件。
platform-admin/src/main/java/com/platform/entity/TbCfStationItemEntity.java
浏览文件 @
0e9ea380
...
...
@@ -89,7 +89,7 @@ public class TbCfStationItemEntity implements Serializable {
/**
* 国家
*/
private
String
country
;
private
String
template
;
/**
* sku图片集合
*/
...
...
@@ -487,11 +487,11 @@ public class TbCfStationItemEntity implements Serializable {
return
creator
;
}
public
String
get
Country
()
{
return
country
;
public
String
get
Template
()
{
return
template
;
}
public
void
set
Country
(
String
country
)
{
this
.
country
=
country
;
public
void
set
Template
(
String
template
)
{
this
.
template
=
template
;
}
}
platform-admin/src/main/java/com/platform/service/impl/TbCfStationItemServiceImpl.java
浏览文件 @
0e9ea380
...
...
@@ -123,7 +123,7 @@ public class TbCfStationItemServiceImpl implements TbCfStationItemService {
tbCfStationItem
.
setItemNum
(
0L
);
tbCfStationItem
.
setItemUrl
(
itemSkus
.
getItemUrl
());
tbCfStationItem
.
setSupplier
(
itemSkus
.
getSupplier
());
tbCfStationItem
.
set
Country
(
itemSkus
.
getCountry
());
tbCfStationItem
.
set
Template
(
itemSkus
.
getTemplate
());
tbCfStationItem
.
setItemPrice
(
itemSkus
.
getItemPrice
());
tbCfStationItem
.
setDiscountPrice
(
itemSkus
.
getDiscountPrice
());
tbCfStationItem
.
setCostPrice
(
itemSkus
.
getCostPrice
());
...
...
@@ -265,7 +265,7 @@ public class TbCfStationItemServiceImpl implements TbCfStationItemService {
tbCfStationItem
.
setCostPrice
(
itemSkus
.
getCostPrice
());
tbCfStationItem
.
setItemUrl
(
itemSkus
.
getItemUrl
());
tbCfStationItem
.
setSupplier
(
itemSkus
.
getSupplier
());
tbCfStationItem
.
set
Country
(
itemSkus
.
getCountry
());
tbCfStationItem
.
set
Template
(
itemSkus
.
getTemplate
());
tbCfStationItem
.
setItemBrief
(
itemSkus
.
getItemBrief
());
tbCfStationItem
.
setItemName
(
itemSkus
.
getItemName
());
tbCfStationItem
.
setItemCode
(
itemSkus
.
getItemCode
());
...
...
platform-admin/src/main/resources/com/platform/dao/TbCfStationItemDao.xml
浏览文件 @
0e9ea380
...
...
@@ -22,7 +22,7 @@
<result
property=
"itemSku"
column=
"item_sku"
/>
<result
property=
"itemTop"
column=
"item_top"
/>
<result
property=
"supplier"
column=
"supplier"
/>
<result
property=
"
country"
column=
"country
"
/>
<result
property=
"
template"
column=
"template
"
/>
<result
property=
"skuImgs"
column=
"sku_imgs"
/>
<result
property=
"platformCode"
column=
"platform_code"
/>
<result
property=
"platformName"
column=
"platform_name"
/>
...
...
@@ -52,7 +52,7 @@
`item_sku`,
`item_top`,
`supplier`,
country
,
template
,
`sku_imgs`,
`platform_code`,
`platform_name`,
...
...
@@ -84,7 +84,7 @@
`item_sku`,
`item_top`,
`supplier`,
country
,
template
,
`sku_imgs`,
`platform_code`,
`platform_name`,
...
...
@@ -133,7 +133,7 @@
i.item_descrition_id,
i.item_top,
i.supplier,
i.
country
,
i.
template
,
i.sku_imgs,
i.creator,
d.descripition_name dname,
...
...
@@ -250,7 +250,7 @@
`item_sku`,
`item_top`,
`supplier`,
country
,
template
,
`sku_imgs`,
`platform_code`,
`platform_name`,
...
...
@@ -278,7 +278,7 @@
#{itemSku},
#{itemTop},
#{supplier},
#{
country
},
#{
template
},
#{skuImgs},
#{platformCode},
#{platformName},
...
...
@@ -309,7 +309,7 @@
<if
test=
"itemSku != null"
>
`item_sku` = #{itemSku},
</if>
<if
test=
"itemTop != null"
>
`item_top` = #{itemTop},
</if>
<if
test=
"supplier != null"
>
`supplier` = #{supplier},
</if>
<if
test=
"
country != null"
>
`country` = #{country
},
</if>
<if
test=
"
template != null"
>
`template` = #{template
},
</if>
<if
test=
"skuImgs != null"
>
`sku_imgs` = #{skuImgs},
</if>
<if
test=
"platformCode != null"
>
`platform_code` = #{platformCode},
</if>
<if
test=
"platformName != null"
>
`platform_name` = #{platformName},
</if>
...
...
platform-admin/src/main/webapp/WEB-INF/page/sys/tbcfstationitem.html
浏览文件 @
0e9ea380
...
...
@@ -665,10 +665,10 @@
<Form-item
label=
"供应商"
prop=
"supplier"
style=
"width: 800px"
>
<i-input
v-model=
"tbCfStationItem.supplier"
placeholder=
"供应商"
/>
</Form-item>
<Form-item
label=
"
国家
"
prop=
"country"
style=
"width: 800px"
>
<i-select
label=
"请选择"
v-model=
"tbCfStationItem.
country
"
>
<i-option
v-for=
"c in
countryList"
:key=
'c.i
d'
:value=
"c.
id"
>
{{c.countryNam
e}}
<Form-item
label=
"
运费模板
"
prop=
"country"
style=
"width: 800px"
>
<i-select
label=
"请选择"
v-model=
"tbCfStationItem.
template
"
>
<i-option
v-for=
"c in
templateList"
:key=
'c.templateI
d'
:value=
"c.
templateId"
>
{{c.templateTitl
e}}
</i-option>
</i-select>
</Form-item>
...
...
platform-admin/src/main/webapp/js/sys/tbcfexpresstemplate.js
浏览文件 @
0e9ea380
...
...
@@ -47,15 +47,15 @@ $(function () {
{
label
:
'免邮价格'
,
name
:
'postageFreePrice'
,
index
:
'postage_free_price'
,
width
:
80
},
{
label
:
'创建日期'
,
name
:
'createTime'
,
index
:
'create_time'
,
width
:
80
},
// {label: '最后编辑时间', name: 'updateTime', index: 'update_time', width: 80},
{
/*
{
label: '操作', index: 'operate', width: 80, formatter: function (value, grid, rows) {
if (rows.isDefault === 1) {
return
'<span class="label label-danger pointer" ">
默认
</span> '
+
'<span class="label label-primary pointer" onclick="vm.placedTop(
\'
'
+
rows
.
templateId
+
'
\'
)">取消
默认
</span>'
;
return '<span class="label label-danger pointer" ">
已选择
</span> ' +
'<span class="label label-primary pointer" onclick="vm.placedTop(\'' + rows.templateId + '\')">取消
选择
</span>';
}
return
'<span class="label label-info pointer" onclick="vm.placedTop(
\'
'
+
rows
.
templateId
+
'
\'
)">
设置默认
</span> '
;
return '<span class="label label-info pointer" onclick="vm.placedTop(\'' + rows.templateId + '\')">
选择
</span> ';
}
}]
}
*/
]
});
});
...
...
@@ -66,9 +66,6 @@ let vm = new Vue({
typeList
:
[{
value
:
0
,
label
:
'计件'
},
{
value
:
1
,
label
:
'计重'
}],
countryList
:
[],
showList
:
true
,
...
...
@@ -194,9 +191,9 @@ let vm = new Vue({
handleResetForm
(
this
,
name
);
}
},
created
(){
created
()
{
$
.
get
(
'../country/queryAll'
,
res
=>
{
console
.
log
(
'国家'
,
JSON
.
parse
(
res
))
console
.
log
(
'国家'
,
JSON
.
parse
(
res
))
vm
.
countryList
=
JSON
.
parse
(
res
).
list
;
})
}
...
...
platform-admin/src/main/webapp/js/sys/tbcfstationitem.js
浏览文件 @
0e9ea380
...
...
@@ -28,7 +28,7 @@ $(function () {
let
vm
=
new
Vue
({
el
:
'#rrapp'
,
data
:
{
country
List
:
[],
template
List
:
[],
modal
:
false
,
showList
:
true
,
title
:
null
,
...
...
@@ -998,9 +998,9 @@ let vm = new Vue({
$
.
get
(
'../tbcfgoodstype/queryAll'
,
res
=>
{
this
.
Goodstype
=
res
.
list
;
})
$
.
get
(
'../
country
/queryAll'
,
res
=>
{
$
.
get
(
'../
tbcfexpresstemplate
/queryAll'
,
res
=>
{
console
.
log
(
'国家'
,
JSON
.
parse
(
res
))
vm
.
country
List
=
JSON
.
parse
(
res
).
list
;
vm
.
template
List
=
JSON
.
parse
(
res
).
list
;
})
$
.
get
(
'../tbcfstationitem/queryCreator'
,
res
=>
{
let
parse
=
JSON
.
parse
(
res
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论