Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cbf49596
authored
Jul 21, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.8.4' of
http://192.168.3.233:8090/saas_plus/dj-car-life-sy…
…stem into feature/584/zxw
2 parents
0e44659c
7b07c20c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
51 additions
and
12 deletions
src/views/goods/shelfProduct/components/formProvider/index.vue
src/views/goods/shelfProduct/components/profitMarginTable/index.vue
src/views/goods/shelfProduct/components/shelfProductConfirm/index.vue
src/views/goods/shelfProduct/components/shelfProductImport/components/modify/index.vue
src/views/goods/shelfProduct/view/normalModify/index.vue
vue.config.js
src/views/goods/shelfProduct/components/formProvider/index.vue
View file @
cbf4959
...
@@ -273,7 +273,9 @@ export default {
...
@@ -273,7 +273,9 @@ export default {
try
{
try
{
await
this
.
validate
(
step
.
name
);
await
this
.
validate
(
step
.
name
);
}
catch
(
err
)
{
}
catch
(
err
)
{
console
.
log
(
"校验失败"
,
err
);
if
(
!
next
)
{
throw
new
Error
(
"校验失败"
);
}
}
}
await
this
.
submitStep
(
step
.
name
);
await
this
.
submitStep
(
step
.
name
);
if
(
next
)
{
if
(
next
)
{
...
...
src/views/goods/shelfProduct/components/profitMarginTable/index.vue
View file @
cbf4959
...
@@ -33,10 +33,12 @@
...
@@ -33,10 +33,12 @@
</div>
</div>
</div>
</div>
<div
ref=
"tableWrapperRef"
class=
"table-wrapper"
>
<div
ref=
"tableWrapperRef"
class=
"table-wrapper"
>
<!-- table-wrapper -> paddingTop 20 滚动条10 -->
<!-- 所以要剪掉20 -->
<el-table
ref=
"tableRef"
<el-table
ref=
"tableRef"
border
border
:data=
"table.data"
:data=
"table.data"
:height=
"table.height -
1
0"
>
:height=
"table.height -
2
0"
>
<el-table-column
align=
"center"
<el-table-column
align=
"center"
label=
"序号"
label=
"序号"
type=
"index"
type=
"index"
...
@@ -424,8 +426,7 @@ export default {
...
@@ -424,8 +426,7 @@ export default {
}
}
}
}
>
.table-wrapper
{
>
.table-wrapper
{
flex
:
1
;
flex
:
1
0
0
;
flex-shrink
:
0
;
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
20px
20px
0
;
padding
:
20px
20px
0
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -468,6 +469,7 @@ export default {
...
@@ -468,6 +469,7 @@ export default {
flex-shrink
:
0
;
flex-shrink
:
0
;
background-color
:
#fff
;
background-color
:
#fff
;
margin-top
:
20px
;
margin-top
:
20px
;
box-sizing
:
border-box
;
padding
:
0
20px
20px
;
padding
:
0
20px
20px
;
}
}
}
}
...
...
src/views/goods/shelfProduct/components/shelfProductConfirm/index.vue
View file @
cbf4959
...
@@ -22,17 +22,17 @@
...
@@ -22,17 +22,17 @@
<span
class=
"label"
>
<span
class=
"label"
>
{{
row
.
productName
}}
{{
row
.
productName
}}
</span>
</span>
<!-- 5.8.4
不允许删除
-->
<!-- 5.8.4
特殊上架 取消删除 , 常规上架保留
-->
<
!--
<span
v-if=
"useEdit && isView(editState)
"
<
span
v-if=
"useEdit && isView(editState) && shelfModel === 2
"
class=
"actions el-icon-close"
class=
"actions el-icon-close"
@
click
.
stop=
"handleRemoveTitleSelectItem(row)"
>
@
click
.
stop=
"handleRemoveTitleSelectItem(row)"
>
</span>
-->
</span>
</div>
</div>
</
template
>
</
template
>
</RemoteSelect>
</RemoteSelect>
</div>
</div>
<!-- 5.8.4
取消新增功能
-->
<!-- 5.8.4
特殊上架 取消新增功能 , 常规上架保留
-->
<
!-- <div v-if="useEdit && isView(editState)
" class="actions-wrapper">
<
div
v-if=
"useEdit && isView(editState) && shelfModel === 2
"
class=
"actions-wrapper"
>
<el-dropdown
@
command=
"handleAppendProductPackages"
>
<el-dropdown
@
command=
"handleAppendProductPackages"
>
<el-button
size=
"small"
plain
>
<el-button
size=
"small"
plain
>
新增
新增
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</el-dropdown-menu>
</el-dropdown-menu>
</
template
>
</
template
>
</el-dropdown>
</el-dropdown>
</div>
-->
</div>
</div>
</div>
<div
class=
"content-wrapper"
>
<div
class=
"content-wrapper"
>
...
@@ -146,6 +146,10 @@ export default {
...
@@ -146,6 +146,10 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
default
:
true
,
default
:
true
,
},
},
shelfModel
:
{
type
:
Number
,
default
:
1
,
},
businessCode
:
{
businessCode
:
{
type
:
String
,
type
:
String
,
...
...
src/views/goods/shelfProduct/components/shelfProductImport/components/modify/index.vue
View file @
cbf4959
...
@@ -15,7 +15,8 @@
...
@@ -15,7 +15,8 @@
:file-list=
"form.fileList"
:file-list=
"form.fileList"
:limit=
"1"
:limit=
"1"
:on-change=
"handleGoodsCreateExcelChange"
:on-change=
"handleGoodsCreateExcelChange"
:on-exceed=
"handleExceed"
>
:on-exceed=
"handleExceed"
:on-remove=
"handleGoodsCreateExcelRemove"
>
<template
#
trigger
>
<template
#
trigger
>
<el-button
size=
"small"
>
<el-button
size=
"small"
>
+ 添加附件
+ 添加附件
...
@@ -68,7 +69,13 @@ export default {
...
@@ -68,7 +69,13 @@ export default {
merchantId
:
[{
required
:
true
,
message
:
"请选择流量方信息"
,
trigger
:
"change"
}],
merchantId
:
[{
required
:
true
,
message
:
"请选择流量方信息"
,
trigger
:
"change"
}],
goodsCreateExcel
:
[{
required
:
true
,
message
:
"请上传商品上架表"
,
trigger
:
"change"
}],
goodsCreateExcel
:
[{
required
:
true
,
message
:
"请上传商品上架表"
,
trigger
:
"change"
}],
},
},
data
:
{
},
data
:
{
baseSceneCode
:
undefined
,
shelfType
:
1
,
goodsCreateExcel
:
null
,
merchantId
:
undefined
,
},
// 临时用
// 临时用
fileList
:
[],
fileList
:
[],
},
},
...
@@ -109,6 +116,12 @@ export default {
...
@@ -109,6 +116,12 @@ export default {
this
.
form
.
fileList
=
[
file
];
this
.
form
.
fileList
=
[
file
];
this
.
form
.
data
.
goodsCreateExcel
=
file
;
this
.
form
.
data
.
goodsCreateExcel
=
file
;
},
},
handleGoodsCreateExcelRemove
()
{
console
.
log
(
"删除?"
);
this
.
form
.
data
.
goodsCreateExcel
=
null
;
this
.
form
.
fileList
=
[];
console
.
log
(
"删除?"
,
this
.
form
.
data
.
goodsCreateExcel
);
},
handleGoodsCreateExcelChange
(
_file
,
fileList
)
{
handleGoodsCreateExcelChange
(
_file
,
fileList
)
{
if
(
_file
.
status
===
"ready"
&&
_file
.
size
/
1024
/
1024
>
20
)
{
if
(
_file
.
status
===
"ready"
&&
_file
.
size
/
1024
/
1024
>
20
)
{
this
.
$message
.
error
(
"上传文件大小不能超过 20MB!"
);
this
.
$message
.
error
(
"上传文件大小不能超过 20MB!"
);
...
@@ -119,6 +132,10 @@ export default {
...
@@ -119,6 +132,10 @@ export default {
if
(
file
)
{
if
(
file
)
{
this
.
form
.
fileList
=
[
file
];
this
.
form
.
fileList
=
[
file
];
this
.
form
.
data
.
goodsCreateExcel
=
file
.
raw
;
this
.
form
.
data
.
goodsCreateExcel
=
file
.
raw
;
const
formRef
=
this
?.
$refs
?.
formRef
?.
$refs
?.
formRef
;
if
(
formRef
)
{
formRef
.
validateField
(
"goodsCreateExcel"
);
}
}
else
{
}
else
{
this
.
form
.
fileList
=
[];
this
.
form
.
fileList
=
[];
this
.
form
.
data
.
goodsCreateExcel
=
null
;
this
.
form
.
data
.
goodsCreateExcel
=
null
;
...
...
src/views/goods/shelfProduct/view/normalModify/index.vue
View file @
cbf4959
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
<ShelfProductConfirm
:base-scene-code=
"baseSceneCode"
<ShelfProductConfirm
:base-scene-code=
"baseSceneCode"
:business-code=
"businessCode"
:business-code=
"businessCode"
:merchant-id=
"merchantId"
:merchant-id=
"merchantId"
:shelf-model=
"shelfModel"
:shelf-type=
"shelfType"
/>
:shelf-type=
"shelfType"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.isStepLoading"
<FormStep
v-loading=
"data.isStepLoading"
...
@@ -144,6 +145,8 @@ export default {
...
@@ -144,6 +145,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
sceneTypeOptions
,
sceneTypeOptions
,
// 常规上架
shelfModel
,
step
:
{
step
:
{
confirmStep
:
0
,
confirmStep
:
0
,
},
},
...
...
vue.config.js
View file @
cbf4959
...
@@ -98,6 +98,17 @@ module.exports = {
...
@@ -98,6 +98,17 @@ module.exports = {
// lintOnSave: true,
// lintOnSave: true,
lintOnSave
:
false
,
lintOnSave
:
false
,
devServer
:
{
devServer
:
{
// webpack-dev-server v5: overlay 已迁到 client.overlay
// 推荐:保留编译错红屏,只关掉 throw 这类运行时错
client
:
{
// overlay: {
// errors: true,
// warnings: false,
// runtimeErrors: false,
// },
// 想完全静默就把上面注释掉,改成:
overlay
:
false
,
},
// publicPath, // 和 publicPath 保持一致
// publicPath, // 和 publicPath 保持一致
// port: 8081
// port: 8081
// proxy: {
// proxy: {
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment