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 7b07c20c
authored
Jul 21, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/584/jaxon' into 'SAAS+V5.8.4'
Feature/584/jaxon See merge request
!889
2 parents
cb22d9c2
f43aac67
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 @
7b07c20
...
...
@@ -273,7 +273,9 @@ export default {
try
{
await
this
.
validate
(
step
.
name
);
}
catch
(
err
)
{
console
.
log
(
"校验失败"
,
err
);
if
(
!
next
)
{
throw
new
Error
(
"校验失败"
);
}
}
await
this
.
submitStep
(
step
.
name
);
if
(
next
)
{
...
...
src/views/goods/shelfProduct/components/profitMarginTable/index.vue
View file @
7b07c20
...
...
@@ -33,10 +33,12 @@
</div>
</div>
<div
ref=
"tableWrapperRef"
class=
"table-wrapper"
>
<!-- table-wrapper -> paddingTop 20 滚动条10 -->
<!-- 所以要剪掉20 -->
<el-table
ref=
"tableRef"
border
:data=
"table.data"
:height=
"table.height -
1
0"
>
:height=
"table.height -
2
0"
>
<el-table-column
align=
"center"
label=
"序号"
type=
"index"
...
...
@@ -424,8 +426,7 @@ export default {
}
}
>
.table-wrapper
{
flex
:
1
;
flex-shrink
:
0
;
flex
:
1
0
0
;
background-color
:
#fff
;
padding
:
20px
20px
0
;
overflow
:
hidden
;
...
...
@@ -468,6 +469,7 @@ export default {
flex-shrink
:
0
;
background-color
:
#fff
;
margin-top
:
20px
;
box-sizing
:
border-box
;
padding
:
0
20px
20px
;
}
}
...
...
src/views/goods/shelfProduct/components/shelfProductConfirm/index.vue
View file @
7b07c20
...
...
@@ -22,17 +22,17 @@
<span
class=
"label"
>
{{
row
.
productName
}}
</span>
<!-- 5.8.4
不允许删除
-->
<
!--
<span
v-if=
"useEdit && isView(editState)
"
<!-- 5.8.4
特殊上架 取消删除 , 常规上架保留
-->
<
span
v-if=
"useEdit && isView(editState) && shelfModel === 2
"
class=
"actions el-icon-close"
@
click
.
stop=
"handleRemoveTitleSelectItem(row)"
>
</span>
-->
</span>
</div>
</
template
>
</RemoteSelect>
</div>
<!-- 5.8.4
取消新增功能
-->
<
!-- <div v-if="useEdit && isView(editState)
" class="actions-wrapper">
<!-- 5.8.4
特殊上架 取消新增功能 , 常规上架保留
-->
<
div
v-if=
"useEdit && isView(editState) && shelfModel === 2
"
class=
"actions-wrapper"
>
<el-dropdown
@
command=
"handleAppendProductPackages"
>
<el-button
size=
"small"
plain
>
新增
...
...
@@ -49,7 +49,7 @@
</el-dropdown-menu>
</
template
>
</el-dropdown>
</div>
-->
</div>
</div>
<div
class=
"content-wrapper"
>
...
...
@@ -146,6 +146,10 @@ export default {
type
:
Boolean
,
default
:
true
,
},
shelfModel
:
{
type
:
Number
,
default
:
1
,
},
businessCode
:
{
type
:
String
,
...
...
src/views/goods/shelfProduct/components/shelfProductImport/components/modify/index.vue
View file @
7b07c20
...
...
@@ -15,7 +15,8 @@
:file-list=
"form.fileList"
:limit=
"1"
:on-change=
"handleGoodsCreateExcelChange"
:on-exceed=
"handleExceed"
>
:on-exceed=
"handleExceed"
:on-remove=
"handleGoodsCreateExcelRemove"
>
<template
#
trigger
>
<el-button
size=
"small"
>
+ 添加附件
...
...
@@ -68,7 +69,13 @@ export default {
merchantId
:
[{
required
:
true
,
message
:
"请选择流量方信息"
,
trigger
:
"change"
}],
goodsCreateExcel
:
[{
required
:
true
,
message
:
"请上传商品上架表"
,
trigger
:
"change"
}],
},
data
:
{
},
data
:
{
baseSceneCode
:
undefined
,
shelfType
:
1
,
goodsCreateExcel
:
null
,
merchantId
:
undefined
,
},
// 临时用
fileList
:
[],
},
...
...
@@ -109,6 +116,12 @@ export default {
this
.
form
.
fileList
=
[
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
)
{
if
(
_file
.
status
===
"ready"
&&
_file
.
size
/
1024
/
1024
>
20
)
{
this
.
$message
.
error
(
"上传文件大小不能超过 20MB!"
);
...
...
@@ -119,6 +132,10 @@ export default {
if
(
file
)
{
this
.
form
.
fileList
=
[
file
];
this
.
form
.
data
.
goodsCreateExcel
=
file
.
raw
;
const
formRef
=
this
?.
$refs
?.
formRef
?.
$refs
?.
formRef
;
if
(
formRef
)
{
formRef
.
validateField
(
"goodsCreateExcel"
);
}
}
else
{
this
.
form
.
fileList
=
[];
this
.
form
.
data
.
goodsCreateExcel
=
null
;
...
...
src/views/goods/shelfProduct/view/normalModify/index.vue
View file @
7b07c20
...
...
@@ -45,6 +45,7 @@
<ShelfProductConfirm
:base-scene-code=
"baseSceneCode"
:business-code=
"businessCode"
:merchant-id=
"merchantId"
:shelf-model=
"shelfModel"
:shelf-type=
"shelfType"
/>
</FormStep>
<FormStep
v-loading=
"data.isStepLoading"
...
...
@@ -144,6 +145,8 @@ export default {
data
()
{
return
{
sceneTypeOptions
,
// 常规上架
shelfModel
,
step
:
{
confirmStep
:
0
,
},
...
...
vue.config.js
View file @
7b07c20
...
...
@@ -98,6 +98,17 @@ module.exports = {
// lintOnSave: true,
lintOnSave
:
false
,
devServer
:
{
// webpack-dev-server v5: overlay 已迁到 client.overlay
// 推荐:保留编译错红屏,只关掉 throw 这类运行时错
client
:
{
// overlay: {
// errors: true,
// warnings: false,
// runtimeErrors: false,
// },
// 想完全静默就把上面注释掉,改成:
overlay
:
false
,
},
// publicPath, // 和 publicPath 保持一致
// port: 8081
// 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