Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
d58c9e05
提交
d58c9e05
authored
12月 27, 2021
作者:
郑伟娜
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
去除空格
上级
143ad73d
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
29 行增加
和
29 行删除
+29
-29
goodsinfomation.vue
src/views/system/goods/add/components/goodsinfomation.vue
+10
-10
goodsparameter.vue
src/views/system/goods/add/components/goodsparameter.vue
+10
-10
goodsspecifications.vue
...views/system/goods/add/components/goodsspecifications.vue
+3
-3
goodsgement.vue
src/views/system/goodsimport/goodsgement.vue
+6
-6
没有找到文件。
src/views/system/goods/add/components/goodsinfomation.vue
浏览文件 @
d58c9e05
...
@@ -2,23 +2,23 @@
...
@@ -2,23 +2,23 @@
<div
class=
"goods-info"
>
<div
class=
"goods-info"
>
<el-form
:model=
"goodsInfoForm"
:rules=
"goodsInfoRules"
ref=
"goodsInfoForm"
label-width=
"150px"
class=
"demo-goodsInfoForm"
size=
"small"
>
<el-form
:model=
"goodsInfoForm"
:rules=
"goodsInfoRules"
ref=
"goodsInfoForm"
label-width=
"150px"
class=
"demo-goodsInfoForm"
size=
"small"
>
<el-form-item
label=
"商品分类:"
prop=
"categoryStr"
>
<el-form-item
label=
"商品分类:"
prop=
"categoryStr"
>
<el-input
style=
"width:420px;"
v-model=
"goodsInfoForm.categoryStr"
:disabled=
"true"
></el-input>
<el-input
style=
"width:420px;"
v-model
.
trim
=
"goodsInfoForm.categoryStr"
:disabled=
"true"
></el-input>
<el-link
class=
"edit-type-span el-icon-edit"
type=
"primary"
:underline=
"false"
@
click=
"editType"
>
修改所在类目
</el-link>
<el-link
class=
"edit-type-span el-icon-edit"
type=
"primary"
:underline=
"false"
@
click=
"editType"
>
修改所在类目
</el-link>
<span
class=
"tip-span"
>
该商品所在类目须支持七天无理由退货
</span>
<span
class=
"tip-span"
>
该商品所在类目须支持七天无理由退货
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
'商品标题:'
prop=
"goods_name"
>
<el-form-item
label=
'商品标题:'
prop=
"goods_name"
>
<el-input
v-model=
"goodsInfoForm.goods_name"
placeholder=
"请输入商品标题"
style=
"width:420px;"
></el-input>
<el-input
v-model
.
trim
=
"goodsInfoForm.goods_name"
placeholder=
"请输入商品标题"
style=
"width:420px;"
></el-input>
<span
class=
"tip-span ml20"
>
商品名称限制在50字以内,不要填写与商品无关的词
</span>
<span
class=
"tip-span ml20"
>
商品名称限制在50字以内,不要填写与商品无关的词
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
'商品关键词:'
prop=
"goods_des"
>
<el-form-item
label=
'商品关键词:'
prop=
"goods_des"
>
<el-input
v-model=
"goodsInfoForm.goods_des"
placeholder=
"请输入商品关键词"
style=
"width:420px;"
></el-input>
<el-input
v-model
.
trim
=
"goodsInfoForm.goods_des"
placeholder=
"请输入商品关键词"
style=
"width:420px;"
></el-input>
<span
class=
"tip-span ml20"
>
关键词之间用
<strong>
英文逗号
</strong>
分开,最多可以添加5个
</span>
<span
class=
"tip-span ml20"
>
关键词之间用
<strong>
英文逗号
</strong>
分开,最多可以添加5个
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品产地:"
prop=
"producing_area"
>
<el-form-item
label=
"商品产地:"
prop=
"producing_area"
>
<el-select
v-model=
"goodsInfoForm.producing_area"
placeholder=
"请选择商品产地"
style=
"width: 420px;"
>
<el-select
v-model
.
trim
=
"goodsInfoForm.producing_area"
placeholder=
"请选择商品产地"
style=
"width: 420px;"
>
<el-option
<el-option
v-for=
"item in areaOptions"
v-for=
"item in areaOptions"
:key=
"item.id"
:key=
"item.id"
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品发货地:"
prop=
"deliver_area"
>
<el-form-item
label=
"商品发货地:"
prop=
"deliver_area"
>
<el-select
v-model=
"goodsInfoForm.deliver_area"
placeholder=
"请选择商品发货地"
style=
"width: 420px;"
>
<el-select
v-model
.
trim
=
"goodsInfoForm.deliver_area"
placeholder=
"请选择商品发货地"
style=
"width: 420px;"
>
<el-option
<el-option
v-for=
"item in areaOptions"
v-for=
"item in areaOptions"
:key=
"item.id"
:key=
"item.id"
...
@@ -40,12 +40,12 @@
...
@@ -40,12 +40,12 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
'商品单位:'
prop=
"unit"
>
<el-form-item
label=
'商品单位:'
prop=
"unit"
>
<el-input
v-model=
"goodsInfoForm.unit"
placeholder=
"请输入商品单位"
style=
"width:420px;"
></el-input>
<el-input
v-model
.
trim
=
"goodsInfoForm.unit"
placeholder=
"请输入商品单位"
style=
"width:420px;"
></el-input>
<!--
<span
class=
"tip-span ml20"
>
关键词之间用逗号分开,最多可以添加5个
</span>
-->
<!--
<span
class=
"tip-span ml20"
>
关键词之间用逗号分开,最多可以添加5个
</span>
-->
</el-form-item>
</el-form-item>
<el-form-item
label=
"所属品牌:"
prop=
"brand_id"
>
<el-form-item
label=
"所属品牌:"
prop=
"brand_id"
>
<el-select
v-model=
"goodsInfoForm.brand_id"
placeholder=
"请选择商品品牌"
style=
"width: 420px;"
>
<el-select
v-model
.
trim
=
"goodsInfoForm.brand_id"
placeholder=
"请选择商品品牌"
style=
"width: 420px;"
>
<el-option
<el-option
v-for=
"item in brandOptions"
v-for=
"item in brandOptions"
:key=
"item.id"
:key=
"item.id"
...
@@ -57,11 +57,11 @@
...
@@ -57,11 +57,11 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
'市场参考价链接:'
prop=
"web_url"
>
<el-form-item
label=
'市场参考价链接:'
prop=
"web_url"
>
<el-input
v-model=
"goodsInfoForm.web_url"
placeholder=
"请输入京东或者淘宝的商品链接"
style=
"width:420px;"
></el-input>
<el-input
v-model
.
trim
=
"goodsInfoForm.web_url"
placeholder=
"请输入京东或者淘宝的商品链接"
style=
"width:420px;"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
'商品编码:'
prop=
"out_goods_id"
>
<el-form-item
label=
'商品编码:'
prop=
"out_goods_id"
>
<el-input
v-model=
"goodsInfoForm.out_goods_id"
placeholder=
"请输入商品编码(非必须)"
style=
"width:420px;"
></el-input>
<el-input
v-model
.
trim
=
"goodsInfoForm.out_goods_id"
placeholder=
"请输入商品编码(非必须)"
style=
"width:420px;"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品图片:"
prop=
"imgs"
>
<el-form-item
label=
"商品图片:"
prop=
"imgs"
>
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
width=
"60%"
width=
"60%"
center
center
>
>
<el-cascader-panel
v-show=
"editGoodsTypeDialog"
v-model=
"SSQGoodsList"
:props=
'goodsprops'
:options=
"fuckoptions"
@
active-item-change=
"SSQGoodsChange"
ref=
"ssqGoodsCascader"
></el-cascader-panel>
<el-cascader-panel
v-show=
"editGoodsTypeDialog"
v-model
.
trim
=
"SSQGoodsList"
:props=
'goodsprops'
:options=
"fuckoptions"
@
active-item-change=
"SSQGoodsChange"
ref=
"ssqGoodsCascader"
></el-cascader-panel>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"cancelType"
size=
"mini"
>
取 消
</el-button>
<el-button
@
click=
"cancelType"
size=
"mini"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"saveType"
size=
"mini"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"saveType"
size=
"mini"
>
确 定
</el-button>
...
...
src/views/system/goods/add/components/goodsparameter.vue
浏览文件 @
d58c9e05
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
>
>
<el-table-column
align=
"center"
prop=
"js_price"
label=
"协议价"
>
<el-table-column
align=
"center"
prop=
"js_price"
label=
"协议价"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.js_price"
placeholder=
"请输入协议价"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.js_price"
placeholder=
"请输入协议价"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"sl_price"
label=
"结算价"
>
<el-table-column
align=
"center"
prop=
"sl_price"
label=
"结算价"
>
...
@@ -26,23 +26,23 @@
...
@@ -26,23 +26,23 @@
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"price"
label=
"指导价"
>
<el-table-column
align=
"center"
prop=
"price"
label=
"指导价"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.price"
placeholder=
"请输入指导价"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.price"
placeholder=
"请输入指导价"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"sc_price"
label=
"市场价"
>
<el-table-column
align=
"center"
prop=
"sc_price"
label=
"市场价"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.sc_price"
placeholder=
"请输入市场价"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.sc_price"
placeholder=
"请输入市场价"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"stock"
label=
"库存量"
>
<el-table-column
align=
"center"
prop=
"stock"
label=
"库存量"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.stock"
placeholder=
"请输入库存量"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.stock"
placeholder=
"请输入库存量"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"weight"
label=
"重量"
>
<el-table-column
align=
"center"
prop=
"weight"
label=
"重量"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.weight"
placeholder=
"请输入重量"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.weight"
placeholder=
"请输入重量"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.js_price"
placeholder=
"请输入协议价"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.js_price"
placeholder=
"请输入协议价"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"sl_price"
label=
"结算价"
>
<el-table-column
align=
"center"
prop=
"sl_price"
label=
"结算价"
>
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.price"
placeholder=
"请输入指导价"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.price"
placeholder=
"请输入指导价"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"sc_price"
label=
"市场价"
>
<el-table-column
align=
"center"
prop=
"sc_price"
label=
"市场价"
>
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.sc_price"
placeholder=
"请输入市场价"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.sc_price"
placeholder=
"请输入市场价"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"stock"
label=
"库存量"
>
<el-table-column
align=
"center"
prop=
"stock"
label=
"库存量"
>
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.stock"
placeholder=
"请输入库存量"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.stock"
placeholder=
"请输入库存量"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"weight"
label=
"重量"
>
<el-table-column
align=
"center"
prop=
"weight"
label=
"重量"
>
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-input
size=
"mini"
style=
"width:90%"
v-model=
"scope.row.weight"
placeholder=
"请输入重量"
></el-input>
<el-input
size=
"mini"
style=
"width:90%"
v-model
.
trim
=
"scope.row.weight"
placeholder=
"请输入重量"
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"thumb"
label=
"图片"
>
<el-table-column
align=
"center"
prop=
"thumb"
label=
"图片"
>
...
...
src/views/system/goods/add/components/goodsspecifications.vue
浏览文件 @
d58c9e05
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div>
<div>
<el-select
<el-select
:ref=
"'speNameDom' + index "
:ref=
"'speNameDom' + index "
v-model=
"speItem.spec_name"
v-model
.
trim
=
"speItem.spec_name"
size=
"small"
size=
"small"
style=
"width: 300px"
style=
"width: 300px"
filterable
filterable
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</div>
</div>
<div
class=
"spe-params-con"
>
<div
class=
"spe-params-con"
>
<div
style=
"display: inline-block"
v-for=
"(itemSV,indexSV) in speItem.spec_value"
:key=
"indexSV"
>
<div
style=
"display: inline-block"
v-for=
"(itemSV,indexSV) in speItem.spec_value"
:key=
"indexSV"
>
<el-input
v-model=
"itemSV.value"
size=
"small"
placeholder=
"请输入规格参数"
class=
"spe-params-input-item"
@
blur=
"paramNameInputBlur(index,indexSV)"
>
<el-input
v-model
.
trim
=
"itemSV.value"
size=
"small"
placeholder=
"请输入规格参数"
class=
"spe-params-input-item"
@
blur=
"paramNameInputBlur(index,indexSV)"
>
<i
v-if=
"speItem.spec_value.length !== 1"
slot=
"suffix"
class=
"el-input__icon el-icon-delete el-icon-delete-h"
@
click=
"deleteSpeParam(index,indexSV)"
></i>
<i
v-if=
"speItem.spec_value.length !== 1"
slot=
"suffix"
class=
"el-input__icon el-icon-delete el-icon-delete-h"
@
click=
"deleteSpeParam(index,indexSV)"
></i>
</el-input>
</el-input>
</div>
</div>
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<p
class=
"add-spec-dialog-con"
>
<p
class=
"add-spec-dialog-con"
>
<span
style=
"margin-right:30px;"
>
输入规格名称:
</span>
<span
style=
"margin-right:30px;"
>
输入规格名称:
</span>
<span>
<span>
<el-input
v-model=
"specName_sm"
placeholder=
"请输入规格名称"
size=
"small"
style=
"width: 280px;"
></el-input>
<el-input
v-model
.
trim
=
"specName_sm"
placeholder=
"请输入规格名称"
size=
"small"
style=
"width: 280px;"
></el-input>
</span>
</span>
</p>
</p>
</div>
</div>
...
...
src/views/system/goodsimport/goodsgement.vue
浏览文件 @
d58c9e05
...
@@ -13,13 +13,13 @@
...
@@ -13,13 +13,13 @@
<el-row
:span=
"24"
type=
"flex"
align=
"middle"
justify=
"space-between"
>
<el-row
:span=
"24"
type=
"flex"
align=
"middle"
justify=
"space-between"
>
<el-col
:span=
"20"
>
<el-col
:span=
"20"
>
<el-form-item
label=
"商品编号"
>
<el-form-item
label=
"商品编号"
>
<el-input
v-model=
"formInline.goods_id"
size=
"mini"
placeholder=
"填写商品编号"
></el-input>
<el-input
v-model
.
trim
=
"formInline.goods_id"
size=
"mini"
placeholder=
"填写商品编号"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品名称"
>
<el-form-item
label=
"商品名称"
>
<el-input
v-model=
"formInline.goods_name"
size=
"mini"
placeholder=
"填写商品名称"
></el-input>
<el-input
v-model
.
trim
=
"formInline.goods_name"
size=
"mini"
placeholder=
"填写商品名称"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品状态"
v-show=
"radiomodel==3"
>
<el-form-item
label=
"商品状态"
v-show=
"radiomodel==3"
>
<el-select
v-model=
"formInline.status"
placeholder=
"请选择"
size=
"mini"
style=
'width:100px;'
>
<el-select
v-model
.
trim
=
"formInline.status"
placeholder=
"请选择"
size=
"mini"
style=
'width:100px;'
>
<el-option
label=
"全部"
value=
"5"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"全部"
value=
"5"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"审核中"
value=
"1"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"审核中"
value=
"1"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"审核拒绝"
value=
"2"
v-if=
'radiomodel==3'
></el-option>
<el-option
label=
"审核拒绝"
value=
"2"
v-if=
'radiomodel==3'
></el-option>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<el-form-item
label=
"发布时间"
>
<el-form-item
label=
"发布时间"
>
<el-date-picker
<el-date-picker
style=
'width:315px;'
style=
'width:315px;'
v-model=
"formInline.uptime"
v-model
.
trim
=
"formInline.uptime"
type=
"daterange"
type=
"daterange"
range-separator=
"至"
range-separator=
"至"
size=
"mini"
size=
"mini"
...
@@ -40,9 +40,9 @@
...
@@ -40,9 +40,9 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"价格区间"
>
<el-form-item
label=
"价格区间"
>
<el-input
v-model=
"formInline.price_min"
size=
"mini"
placeholder=
"最小价格"
style=
"width:100px;"
></el-input>
<el-input
v-model
.
trim
=
"formInline.price_min"
size=
"mini"
placeholder=
"最小价格"
style=
"width:100px;"
></el-input>
-
-
<el-input
v-model=
"formInline.price_max"
size=
"mini"
placeholder=
"最大价格"
style=
"width:100px;"
></el-input>
<el-input
v-model
.
trim
=
"formInline.price_max"
size=
"mini"
placeholder=
"最大价格"
style=
"width:100px;"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论