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 ea0938a5
authored
Jul 06, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style: 格式化
1 parent
899afbe6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
222 additions
and
217 deletions
src/views/goods/shelfProduct/components/btn/index.vue
src/views/goods/shelfProduct/components/empty/index.vue
src/views/goods/shelfProduct/components/formProvider/formItemMixin.js
src/views/goods/shelfProduct/components/formProvider/formStep.vue
src/views/goods/shelfProduct/components/formProvider/index.vue
src/views/goods/shelfProduct/components/operateList/index.vue
src/views/goods/shelfProduct/components/profitMarginTable/index.vue
src/views/goods/shelfProduct/components/profitSharingConfig/components/costAttributionSetting/index.vue
src/views/goods/shelfProduct/components/profitSharingConfig/components/specialCategory/specialCategoryModify.vue
src/views/goods/shelfProduct/components/profitSharingConfig/index.vue
src/views/goods/shelfProduct/components/reconciliationConfig/components/specialCategory/modify.vue
src/views/goods/shelfProduct/components/reconciliationConfig/index.vue
src/views/goods/shelfProduct/components/rejectDialog/index.vue
src/views/goods/shelfProduct/components/shelfProductConfirm/components/combo/components/modify/index.vue
src/views/goods/shelfProduct/components/shelfProductConfirm/components/combo/index.vue
src/views/goods/shelfProduct/components/shelfProductImport/components/detail/index.vue
src/views/goods/shelfProduct/components/shelfProductImport/components/importProgress/index.vue
src/views/goods/shelfProduct/components/shelfProductImport/components/modify/index.vue
src/views/goods/shelfProduct/components/shelfProductImport/index.vue
src/views/goods/shelfProduct/view/detail/index.vue
src/views/goods/shelfProduct/view/modify/index.vue
src/views/goods/shelfProduct/view/table/index.vue
src/views/goods/shelfProduct/components/btn/index.vue
View file @
ea0938a
src/views/goods/shelfProduct/components/empty/index.vue
View file @
ea0938a
<
template
>
<
template
>
<div
style=
"text-align: center; padding:20px 0"
>
<div
style=
"text-align: center; padding:20px 0"
>
<img
style=
"width:360px"
src=
"@/assets/empty-1.png
"
/>
<img
src=
"@/assets/empty-1.png"
style=
"width:360px
"
/>
<div
v-if=
"useTips"
style=
"font-size: 14px;color: #5e6d82;"
>
<div
v-if=
"useTips"
style=
"font-size: 14px;color: #5e6d82;"
>
<span>
<span>
暂无数据,请
暂无数据,请
</span>
</span>
<el-button
type=
"primary
"
<el-button
size=
"small
"
size=
"small
"
type=
"primary
"
@
click=
"handleCreate"
>
@
click=
"handleCreate"
>
新增
新增
</el-button>
</el-button>
...
...
src/views/goods/shelfProduct/components/formProvider/formItemMixin.js
View file @
ea0938a
...
@@ -51,8 +51,9 @@ export default {
...
@@ -51,8 +51,9 @@ export default {
return
this
.
editState
===
VIEW_MODE
.
SAVING
;
return
this
.
editState
===
VIEW_MODE
.
SAVING
;
},
},
async
startEdit
(
fn
)
{
async
startEdit
(
fn
)
{
if
(
this
.
editState
!==
VIEW_MODE
.
VIEW
)
if
(
this
.
editState
!==
VIEW_MODE
.
VIEW
)
{
return
;
return
;
}
// 缓存数据
// 缓存数据
console
.
log
(
"得到数据 -> this.getData()"
,
this
.
getData
());
console
.
log
(
"得到数据 -> this.getData()"
,
this
.
getData
());
this
.
editCache
=
cloneDeep
(
this
.
getData
());
this
.
editCache
=
cloneDeep
(
this
.
getData
());
...
@@ -67,8 +68,9 @@ export default {
...
@@ -67,8 +68,9 @@ export default {
if
(
useValidate
)
{
if
(
useValidate
)
{
await
this
.
validate
();
await
this
.
validate
();
}
}
if
(
this
.
editState
!==
VIEW_MODE
.
EDIT
)
if
(
this
.
editState
!==
VIEW_MODE
.
EDIT
)
{
return
;
return
;
}
this
.
editState
=
VIEW_MODE
.
SAVING
;
this
.
editState
=
VIEW_MODE
.
SAVING
;
try
{
try
{
await
this
.
withLoading
(
this
.
handleSave
);
await
this
.
withLoading
(
this
.
handleSave
);
...
@@ -85,8 +87,9 @@ export default {
...
@@ -85,8 +87,9 @@ export default {
},
},
cancelEdit
()
{
cancelEdit
()
{
if
(
this
.
editState
!==
VIEW_MODE
.
EDIT
)
if
(
this
.
editState
!==
VIEW_MODE
.
EDIT
)
{
return
;
return
;
}
this
.
setData
(
this
.
editCache
);
this
.
setData
(
this
.
editCache
);
this
.
editState
=
VIEW_MODE
.
VIEW
;
this
.
editState
=
VIEW_MODE
.
VIEW
;
this
.
editCache
=
null
;
this
.
editCache
=
null
;
...
...
src/views/goods/shelfProduct/components/formProvider/formStep.vue
View file @
ea0938a
src/views/goods/shelfProduct/components/formProvider/index.vue
View file @
ea0938a
...
@@ -241,8 +241,9 @@ export default {
...
@@ -241,8 +241,9 @@ export default {
async
submitStep
(
group
)
{
async
submitStep
(
group
)
{
const
step
=
this
.
steps
.
find
(
s
=>
s
.
name
===
group
);
const
step
=
this
.
steps
.
find
(
s
=>
s
.
name
===
group
);
const
payload
=
await
this
.
collect
(
group
);
const
payload
=
await
this
.
collect
(
group
);
if
(
!
step
?.
onSubmit
)
if
(
!
step
?.
onSubmit
)
{
return
payload
;
return
payload
;
}
// 1. 提交前:设置当前步骤 loading 为 true
// 1. 提交前:设置当前步骤 loading 为 true
this
.
$set
(
this
.
stepLoadingMap
,
group
,
true
);
this
.
$set
(
this
.
stepLoadingMap
,
group
,
true
);
...
...
src/views/goods/shelfProduct/components/operateList/index.vue
View file @
ea0938a
src/views/goods/shelfProduct/components/profitMarginTable/index.vue
View file @
ea0938a
This diff is collapsed.
Click to expand it.
src/views/goods/shelfProduct/components/profitSharingConfig/components/costAttributionSetting/index.vue
View file @
ea0938a
<
template
>
<
template
>
<div
class=
"attribution-setting-wrapper"
>
<div
class=
"attribution-setting-wrapper"
>
<el-form-item
:label=
"title"
style=
"flex:1;
"
>
<el-form-item
style=
"flex:1;"
:label=
"title
"
>
<table
cellpadding=
"0"
<table
cellpadding=
"0"
cellspacing=
"0"
cellspacing=
"0"
class=
"table-block"
>
class=
"table-block"
>
...
@@ -25,26 +25,26 @@
...
@@ -25,26 +25,26 @@
<td
:key=
"`$
{colIndex}colList`" class="radio-wrapper">
<td
:key=
"`$
{colIndex}colList`" class="radio-wrapper">
<!-- 只在最后一行渲染 el-form-item 用于校验整列,避免每行都产生校验规则和报错 -->
<!-- 只在最后一行渲染 el-form-item 用于校验整列,避免每行都产生校验规则和报错 -->
<el-form-item
v-if=
"rowIndex === tableRows.length - 1"
<el-form-item
v-if=
"rowIndex === tableRows.length - 1"
class=
"column-validator-item"
label-width=
"0"
:prop=
"propPrefix ? `$
{propPrefix}_${colItem.expenseCategoryId}` : ''"
:prop=
"propPrefix ? `$
{propPrefix}_${colItem.expenseCategoryId}` : ''"
:rules="[{
:rules="[{
required: true,
required: true,
validator: validateCostAttributionSetting,
validator: validateCostAttributionSetting,
trigger: 'change',
trigger: 'change',
colItem,
colItem,
}]"
}]">
class="column-validator-item"
<el-radio
:disabled=
"disabled"
label-width="0">
<el-radio
:value=
"value[colItem.expenseCategoryId]"
:label=
"item.targetMerchantType"
:label=
"item.targetMerchantType"
:disabled=
"disabled
"
:value=
"value[colItem.expenseCategoryId]
"
@
input=
"val => handleRadioChange(colItem.expenseCategoryId, val)"
>
@
input=
"val => handleRadioChange(colItem.expenseCategoryId, val)"
>
{{
""
}}
{{
""
}}
</el-radio>
</el-radio>
</el-form-item>
</el-form-item>
<el-radio
v-else
<el-radio
v-else
:value=
"value[colItem.expenseCategoryId]"
:label=
"item.targetMerchantType"
:disabled=
"disabled"
:disabled=
"disabled"
:label=
"item.targetMerchantType"
:value=
"value[colItem.expenseCategoryId]"
@
input=
"val => handleRadioChange(colItem.expenseCategoryId, val)"
>
@
input=
"val => handleRadioChange(colItem.expenseCategoryId, val)"
>
{{
""
}}
{{
""
}}
</el-radio>
</el-radio>
...
...
src/views/goods/shelfProduct/components/profitSharingConfig/components/specialCategory/specialCategoryModify.vue
View file @
ea0938a
...
@@ -20,41 +20,41 @@
...
@@ -20,41 +20,41 @@
<RemoteSelect
v-if=
"form.categoryType === 2"
<RemoteSelect
v-if=
"form.categoryType === 2"
:key=
"form.categoryType"
:key=
"form.categoryType"
v-model=
"form.goodsTypeGroupRelationList"
v-model=
"form.goodsTypeGroupRelationList"
:options
.
sync=
"options.upgradeGoods
"
placeholder=
"请选择商品
"
style=
"width:390px"
style=
"width:390px"
:immediate=
"tru
e"
value-key=
"merchantGoodsCod
e"
:fetch-api=
"fetchUpgradeGoodsList"
:fetch-api=
"fetchUpgradeGoodsList"
:field-name=
"
{
value: 'merchantGoodsCode',
label: 'upgradeGoodsName',
}"
:immediate="true"
:option-props="(subItem) => {
:option-props="(subItem) => {
return ({
return ({
label: `${subItem.productType === 2 ? `${subItem.packageName}-` : ''}${subItem.upgradeGoodsName}(${subItem.merchantGoodsCode})`,
label: `${subItem.productType === 2 ? `${subItem.packageName}-` : ''}${subItem.upgradeGoodsName}(${subItem.merchantGoodsCode})`,
disabled: subItem.disabled,
disabled: subItem.disabled,
})
})
}"
}"
:field-name="{
:options.sync="options.upgradeGoods">
value: 'merchantGoodsCode',
label: 'upgradeGoodsName',
}"
placeholder="请选择商品"
value-key="merchantGoodsCode">
</RemoteSelect>
</RemoteSelect>
<RemoteSelect
v-if=
"form.categoryType === 3"
<RemoteSelect
v-if=
"form.categoryType === 3"
ref=
"packageGoods"
:key=
"form.categoryType"
:key=
"form.categoryType"
ref=
"packageGoods"
v-model=
"form.goodsTypeGroupRelationList"
v-model=
"form.goodsTypeGroupRelationList"
placeholder=
"请选择套餐"
style=
"width:390px"
style=
"width:390px"
:options
.
sync=
"options.packageGoods"
value-key=
"packageCode"
:immediate=
"true"
:fetch-api=
"getPackagesGoodsList"
:fetch-api=
"getPackagesGoodsList"
:option-props=
"(subItem) => (
{
label: `${subItem.packageName}(${subItem.packageCode})`,
disabled: subItem.disabled,
})"
:field-name=
"
{
:field-name=
"
{
value: 'packageCode',
value: 'packageCode',
label: 'packageName',
label: 'packageName',
}"
}"
placeholder="请选择套餐"
:immediate="true"
value-key="packageCode">
:option-props="(subItem) => ({
label: `${subItem.packageName}(${subItem.packageCode})`,
disabled: subItem.disabled,
})"
:options.sync="options.packageGoods">
</RemoteSelect>
</RemoteSelect>
</el-form-item>
</el-form-item>
</div>
</div>
...
@@ -62,10 +62,10 @@
...
@@ -62,10 +62,10 @@
:key=
"index"
:key=
"index"
class=
"traffic-side"
>
class=
"traffic-side"
>
<div>
<div>
<el-form-item
:label=
"item.expenseCategoryName || item.applicationObjectName
"
<el-form-item
style=
"margin-bottom:4px
"
style=
"margin-bottom:4px"
required
:prop=
"getTrafficSideRuleProp(item, 'calculateMode')
"
:label=
"item.expenseCategoryName || item.applicationObjectName
"
required
>
:prop=
"getTrafficSideRuleProp(item, 'calculateMode')"
>
<el-radio-group
v-model=
"item.calculateMode"
style=
"display:flex;align-items:center;line-height:32px;height:32px"
>
<el-radio-group
v-model=
"item.calculateMode"
style=
"display:flex;align-items:center;line-height:32px;height:32px"
>
<el-radio
:label=
"1"
>
<el-radio
:label=
"1"
>
按品类计算
按品类计算
...
@@ -81,8 +81,8 @@
...
@@ -81,8 +81,8 @@
<el-form-item
:prop=
"getTrafficSideRuleProp(item, 'expenseCategoryCalculateType')"
<el-form-item
:prop=
"getTrafficSideRuleProp(item, 'expenseCategoryCalculateType')"
:rules=
"[
{ required: true, message: '请选择分润模式', trigger: 'change' }]">
:rules=
"[
{ required: true, message: '请选择分润模式', trigger: 'change' }]">
<el-select
v-model=
"item.expenseCategoryCalculateType"
<el-select
v-model=
"item.expenseCategoryCalculateType"
style=
"width:414px
"
placeholder=
"请选择分润模式
"
placeholder=
"请选择分润模式
"
>
style=
"width:414px
"
>
<el-option
v-for=
"option in getExpenseCategoryCalculateTypeOptions(item.applicationObjectType)"
<el-option
v-for=
"option in getExpenseCategoryCalculateTypeOptions(item.applicationObjectType)"
:key=
"option.expenseCategoryCalculateType"
:key=
"option.expenseCategoryCalculateType"
:label=
"option.label"
:label=
"option.label"
...
@@ -90,17 +90,17 @@
...
@@ -90,17 +90,17 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label-width=
"12px"
<el-form-item
label-width=
"12px"
:rules=
"[
{ required: true, message: '请输入分润数额', trigger: 'blur' }]
"
:prop=
"getTrafficSideRuleProp(item, 'expenseCategoryValue')
"
:prop="getTrafficSideRuleProp(item, 'expenseCategoryValue')
">
:rules=
"[
{ required: true, message: '请输入分润数额', trigger: 'blur' }]
">
<div
style=
"display:flex;width:390px"
>
<div
style=
"display:flex;width:390px"
>
<VenusNumberInput
v-model=
"item.expenseCategoryValue"
<VenusNumberInput
v-model=
"item.expenseCategoryValue"
style=
"flex:1;"
:controls=
"false"
:controls=
"false"
:disabled=
"!item.expenseCategoryCalculateType"
:disabled=
"!item.expenseCategoryCalculateType"
style=
"flex:1;"
:min=
"0"
:max=
"[3, 10].includes(item.expenseCategoryCalculateType) ? 9999999999 : 100"
:max=
"[3, 10].includes(item.expenseCategoryCalculateType) ? 9999999999 : 100"
:precision=
"2
"
:min=
"0
"
:placeholder=
"filerExpenseCategoryValuePlaceholder(item.expenseCategoryCalculateType)"
:placeholder=
"filerExpenseCategoryValuePlaceholder(item.expenseCategoryCalculateType)"
:precision=
"2"
:title=
"filerExpenseCategoryValuePlaceholder(item.expenseCategoryCalculateType)"
>
:title=
"filerExpenseCategoryValuePlaceholder(item.expenseCategoryCalculateType)"
>
</VenusNumberInput>
</VenusNumberInput>
<div
class=
"prefix"
style=
"margin-left:4px"
>
<div
class=
"prefix"
style=
"margin-left:4px"
>
...
...
src/views/goods/shelfProduct/components/profitSharingConfig/index.vue
View file @
ea0938a
...
@@ -16,11 +16,11 @@
...
@@ -16,11 +16,11 @@
<div
class=
"public-container"
>
<div
class=
"public-container"
>
<el-form-item
v-for=
"(item, index) in profitSharingForm.divisionRuleAutos"
<el-form-item
v-for=
"(item, index) in profitSharingForm.divisionRuleAutos"
:key=
"index"
:key=
"index"
class=
"payment-channel-form-item"
label-width=
"200px"
label-width=
"200px"
prop=
""
size=
"mini"
size=
"mini"
class=
"payment-channel-form-item"
style=
"margin-bottom:0"
>
style=
"margin-bottom:0"
prop=
""
>
<template
#
label
>
<template
#
label
>
<span
class=
"pay-channel"
>
<span
class=
"pay-channel"
>
<span
class=
""
>
<span
class=
""
>
...
@@ -42,10 +42,10 @@
...
@@ -42,10 +42,10 @@
</span>
</span>
</
template
>
</
template
>
<el-switch
v-model=
"item.autoFlag"
<el-switch
v-model=
"item.autoFlag"
class=
"switch"
:disabled=
"!useEdit"
active-value=
"Y"
active-value=
"Y"
class=
"switch"
inactive-value=
"N"
inactive-value=
"N"
:disabled=
"!useEdit"
@
change=
"handleAutoFlagChange($event, index)"
/>
@
change=
"handleAutoFlagChange($event, index)"
/>
</el-form-item>
</el-form-item>
...
@@ -74,10 +74,10 @@
...
@@ -74,10 +74,10 @@
<div
class=
"input-number-wrapper"
>
<div
class=
"input-number-wrapper"
>
<VenusNumberInput
v-model=
"item.settleTime"
<VenusNumberInput
v-model=
"item.settleTime"
controls-position=
"right"
controls-position=
"right"
size=
"small"
:disabled=
"item.autoFlag === 'N' || (!useEdit)"
:disabled=
"item.autoFlag === 'N' || (!useEdit)"
:max=
"20"
:max=
"20"
:min=
"0"
:min=
"0"
size=
"small"
@
change=
"handleSaveDivisionRuleAutoForm"
/>
@
change=
"handleSaveDivisionRuleAutoForm"
/>
</div>
</div>
<span>
日
</span>
<span>
日
</span>
...
@@ -90,9 +90,9 @@
...
@@ -90,9 +90,9 @@
label=
"流量方分账方"
label=
"流量方分账方"
prop=
"realityShopLevel"
>
prop=
"realityShopLevel"
>
<el-select
v-model=
"profitSharingForm.realityShopLevel"
<el-select
v-model=
"profitSharingForm.realityShopLevel"
placeholder=
"请选择流量方分账方"
style=
"width:530px"
style=
"width:530px"
:disabled=
"!useEdit "
:disabled=
"!useEdit "
placeholder=
"请选择流量方分账方"
@
change=
"handleSaveDivisionRuleAutoForm"
>
@
change=
"handleSaveDivisionRuleAutoForm"
>
<el-option
v-for=
"item in options.realityShopLevelList"
<el-option
v-for=
"item in options.realityShopLevelList"
:key=
"item.realityShopLevel"
:key=
"item.realityShopLevel"
...
@@ -105,8 +105,8 @@
...
@@ -105,8 +105,8 @@
label=
"流量方分账方"
label=
"流量方分账方"
prop=
"realityShopMerchantId"
>
prop=
"realityShopMerchantId"
>
<el-select
v-model=
"profitSharingForm.realityShopMerchantId"
<el-select
v-model=
"profitSharingForm.realityShopMerchantId"
:disabled=
"!useEdit "
placeholder=
"请选择流量方分账方"
placeholder=
"请选择流量方分账方"
:disabled=
"!useEdit "
@
change=
"handleRealityShopMerchantIdChange"
>
@
change=
"handleRealityShopMerchantIdChange"
>
<el-option
v-for=
"item in options.merchantLevel"
<el-option
v-for=
"item in options.merchantLevel"
:key=
"item.merchantId"
:key=
"item.merchantId"
...
@@ -122,10 +122,10 @@
...
@@ -122,10 +122,10 @@
<div
class=
"select-wrapper"
>
<div
class=
"select-wrapper"
>
<el-select
v-model=
"tabsActive"
<el-select
v-model=
"tabsActive"
class=
"tab-select"
class=
"tab-select"
placeholder=
"请选择特殊品类"
size=
"small"
size=
"small"
:disabled=
"isEdit(editState) || isSaving(editState)"
:disabled=
"isEdit(editState) || isSaving(editState)"
:popper-append-to-body=
"false"
:popper-append-to-body=
"false"
placeholder=
"请选择特殊品类"
@
change=
"handleSpecialChange($event)"
>
@
change=
"handleSpecialChange($event)"
>
<el-option
v-for=
"(item) in tabsList"
<el-option
v-for=
"(item) in tabsList"
:key=
"item.id"
:key=
"item.id"
...
@@ -145,9 +145,9 @@
...
@@ -145,9 +145,9 @@
</div>
</div>
<span
v-if=
"useEdit && editState === VIEW_MODE.VIEW"
class=
"actions-wrapper"
>
<span
v-if=
"useEdit && editState === VIEW_MODE.VIEW"
class=
"actions-wrapper"
>
<el-button
plain
<el-button
icon=
"el-icon-plus"
size=
"small"
size=
"small"
icon=
"el-icon-plus"
plain
@
click=
"handleAppendSpecialCategory"
>
@
click=
"handleAppendSpecialCategory"
>
新增
新增
</el-button>
</el-button>
...
@@ -157,23 +157,23 @@
...
@@ -157,23 +157,23 @@
<div
v-if=
"tabsActive"
class=
"public-container"
>
<div
v-if=
"tabsActive"
class=
"public-container"
>
<div
v-if=
"useEdit "
class=
"actions-wrapper"
>
<div
v-if=
"useEdit "
class=
"actions-wrapper"
>
<el-button
v-if=
"isView(editState)"
<el-button
v-if=
"isView(editState)"
plain
style=
"width:160px"
size=
"small"
size=
"small"
style=
"width:160px"
type=
"primary"
type=
"primary"
plain
@
click=
"handleChangeMode"
>
@
click=
"handleChangeMode"
>
编辑
编辑
</el-button>
</el-button>
<div
v-else
>
<div
v-else
>
<el-button
style=
"width:160px"
<el-button
class=
"cancel-btn"
class=
"cancel-btn"
size=
"small"
size=
"small"
style=
"width:160px"
@
click=
"handleCancelEdit"
>
@
click=
"handleCancelEdit"
>
取消
取消
</el-button>
</el-button>
<el-button
style=
"width:160px"
<el-button
size=
"small"
style=
"width:160px"
type=
"primary"
type=
"primary"
size=
"small"
@
click=
"saveEdit"
>
@
click=
"saveEdit"
>
保存
保存
</el-button>
</el-button>
...
@@ -182,11 +182,11 @@
...
@@ -182,11 +182,11 @@
<div
style=
"min-height:500px"
>
<div
style=
"min-height:500px"
>
<SpecialCategory
v-bind=
"omit(profitSharingForm, ['divisionRuleAutos'])"
<SpecialCategory
v-bind=
"omit(profitSharingForm, ['divisionRuleAutos'])"
:key=
"profitSharingForm.specialDetail.id"
:key=
"profitSharingForm.specialDetail.id"
:edit-state=
"editState"
:base-scene-code=
"baseSceneCode"
:base-scene-code=
"baseSceneCode"
:business-code=
"businessCode"
:business-code=
"businessCode"
:shelf-type=
"shelfTyp
e"
:edit-state=
"editStat
e"
:prefix=
"$data._prefix"
:prefix=
"$data._prefix"
:shelf-type=
"shelfType"
@
update:specialDetail=
"(e) => profitSharingForm.specialDetail = e"
/>
@
update:specialDetail=
"(e) => profitSharingForm.specialDetail = e"
/>
</div>
</div>
...
...
src/views/goods/shelfProduct/components/reconciliationConfig/components/specialCategory/modify.vue
View file @
ea0938a
...
@@ -22,51 +22,51 @@
...
@@ -22,51 +22,51 @@
<RemoteSelect
v-if=
"form.categoryType === 2"
<RemoteSelect
v-if=
"form.categoryType === 2"
:key=
"form.categoryType"
:key=
"form.categoryType"
v-model=
"form.goodsTypeGroupRelationList"
v-model=
"form.goodsTypeGroupRelationList"
:options
.
sync=
"options.upgradeGoods"
style=
"width:390px"
style=
"width:390px"
:immediate=
"true"
:fetch-api=
"fetchUpgradeGoodsList"
:fetch-api=
"fetchUpgradeGoodsList"
placeholder=
"请选择商品"
:field-name=
"
{
value: 'merchantGoodsCode',
label: 'upgradeGoodsName',
}"
value-key="merchantGoodsCode"
:immediate="true"
:option-props="(subItem) => {
:option-props="(subItem) => {
return ({
return ({
label: `${subItem.productType === 2 ? `${subItem.packageName}-` : ''}${subItem.upgradeGoodsName}(${subItem.merchantGoodsCode})`,
label: `${subItem.productType === 2 ? `${subItem.packageName}-` : ''}${subItem.upgradeGoodsName}(${subItem.merchantGoodsCode})`,
disabled: subItem.disabled,
disabled: subItem.disabled,
})
})
}"
}"
:field-name="{
:options.sync="options.upgradeGoods">
value: 'merchantGoodsCode',
label: 'upgradeGoodsName',
}"
placeholder="请选择商品"
value-key="merchantGoodsCode">
</RemoteSelect>
</RemoteSelect>
<RemoteSelect
v-if=
"form.categoryType === 3"
<RemoteSelect
v-if=
"form.categoryType === 3"
ref=
"packageGoods"
:key=
"form.categoryType"
:key=
"form.categoryType"
ref=
"packageGoods"
v-model=
"form.goodsTypeGroupRelationList"
v-model=
"form.goodsTypeGroupRelationList"
style=
"width:390px"
style=
"width:390px"
:options
.
sync=
"options.packageGoods"
placeholder=
"请选择套餐商品"
:immediate=
"true"
:fetch-api=
"fetchPackagesGoodsList"
:fetch-api=
"fetchPackagesGoodsList"
:option-props=
"(subItem) => (
{
value-key=
"packageCode"
label: `${subItem.packageName}(${subItem.packageCode})`,
disabled: subItem.disabled,
})"
:field-name=
"
{
:field-name=
"
{
value: 'packageCode',
value: 'packageCode',
label: 'packageName',
label: 'packageName',
}"
}"
placeholder="请选择套餐商品"
:immediate="true"
value-key="packageCode">
:option-props="(subItem) => ({
label: `${subItem.packageName}(${subItem.packageCode})`,
disabled: subItem.disabled,
})"
:options.sync="options.packageGoods">
</RemoteSelect>
</RemoteSelect>
</el-form-item>
</el-form-item>
</div>
</div>
<template
v-if=
"getGoodsTypeGroupRelationList.length > 0"
>
<template
v-if=
"getGoodsTypeGroupRelationList.length > 0"
>
<div
v-for=
"(item) in getGoodsTypeGroupRelationList"
:key=
"`$
{item.id}`">
<div
v-for=
"(item) in getGoodsTypeGroupRelationList"
:key=
"`$
{item.id}`">
<div
class=
"special-temporary-wrapper"
>
<div
class=
"special-temporary-wrapper"
>
<el-form-item
:label=
"item.feeCategoryName
"
<el-form-item
label-width=
"154px
"
:rules=
"[
{ required: true, message: '请选择分润模式', trigger: 'change' }]
"
:label=
"item.feeCategoryName
"
:prop=
"getTrafficSideRuleProp(item, 'calculateMode')"
:prop=
"getTrafficSideRuleProp(item, 'calculateMode')"
label-width="154px
">
:rules=
"[
{ required: true, message: '请选择分润模式', trigger: 'change' }]
">
<el-radio-group
v-model=
"item.calculateMode"
>
<el-radio-group
v-model=
"item.calculateMode"
>
<el-radio
:label=
"1"
>
<el-radio
:label=
"1"
>
按品类计算
按品类计算
...
@@ -78,12 +78,12 @@
...
@@ -78,12 +78,12 @@
</el-form-item>
</el-form-item>
<div
style=
"display: flex"
>
<div
style=
"display: flex"
>
<el-form-item
label=
""
<el-form-item
label=
""
:rules=
"[
{ required: true, message: '请选择分润模式', trigger: 'change' }]
"
label-width=
"154px
"
:prop=
"getTrafficSideRuleProp(item, 'expenseCategoryCalculateType')"
:prop=
"getTrafficSideRuleProp(item, 'expenseCategoryCalculateType')"
label-width="154px
">
:rules=
"[
{ required: true, message: '请选择分润模式', trigger: 'change' }]
">
<el-select
v-model=
"item.expenseCategoryCalculateType"
<el-select
v-model=
"item.expenseCategoryCalculateType"
style=
"width:414px
"
placeholder=
"请选择对账模式
"
placeholder=
"请选择对账模式
"
>
style=
"width:414px
"
>
<el-option
v-for=
"(option, index) in getExpenseCategoryCalculateTypeOptions(item.applicationObjectType)"
<el-option
v-for=
"(option, index) in getExpenseCategoryCalculateTypeOptions(item.applicationObjectType)"
:key=
"`$
{index}${option.label}`"
:key=
"`$
{index}${option.label}`"
:label="option.label"
:label="option.label"
...
@@ -92,18 +92,18 @@
...
@@ -92,18 +92,18 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"item.expenseCategoryCalculateType"
<el-form-item
v-if=
"item.expenseCategoryCalculateType"
:rules=
"[
{ required: true, message: '请输入分润数额', trigger: 'blur' }]
"
label-width=
"12px
"
:prop=
"getTrafficSideRuleProp(item, 'expenseCategoryValue')"
:prop=
"getTrafficSideRuleProp(item, 'expenseCategoryValue')"
label-width="12px
">
:rules=
"[
{ required: true, message: '请输入分润数额', trigger: 'blur' }]
">
<div
style=
"display:flex;width:390px"
>
<div
style=
"display:flex;width:390px"
>
<VenusNumberInput
v-model=
"item.expenseCategoryValue"
<VenusNumberInput
v-model=
"item.expenseCategoryValue"
style=
"flex:1;"
style=
"flex:1;"
:min=
"0
"
:controls=
"false
"
:max=
"[3, 10].includes(item.expenseCategoryCalculateType) ? 9999999999 : 100"
:max=
"[3, 10].includes(item.expenseCategoryCalculateType) ? 9999999999 : 100"
:min=
"0"
:placeholder=
"item.expenseCategoryCalculateType | filerPlaceName"
:precision=
"2"
:precision=
"2"
:controls=
"false"
:title=
"item.expenseCategoryCalculateType | filerPlaceName"
/>
:title=
"item.expenseCategoryCalculateType | filerPlaceName"
:placeholder=
"item.expenseCategoryCalculateType | filerPlaceName"
/>
<div
class=
"prefix"
style=
"margin-left:4px"
>
<div
class=
"prefix"
style=
"margin-left:4px"
>
{{
[
3
,
10
].
includes
(
item
.
expenseCategoryCalculateType
)
?
'元'
:
'%'
}}
{{
[
3
,
10
].
includes
(
item
.
expenseCategoryCalculateType
)
?
'元'
:
'%'
}}
...
@@ -138,8 +138,9 @@ export default {
...
@@ -138,8 +138,9 @@ export default {
filters
:
{
filters
:
{
filerPlaceName
(
value
)
{
filerPlaceName
(
value
)
{
// value? :''
// value? :''
if
(
!
value
)
if
(
!
value
)
{
return
""
;
return
""
;
}
return
value
===
3
||
value
===
10
?
"请输入金额"
:
"请输入比例"
;
return
value
===
3
||
value
===
10
?
"请输入金额"
:
"请输入比例"
;
},
},
},
},
...
...
src/views/goods/shelfProduct/components/reconciliationConfig/index.vue
View file @
ea0938a
...
@@ -30,8 +30,8 @@
...
@@ -30,8 +30,8 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"一线阳光2是否开启线上积分"
<el-form-item
label=
"一线阳光2是否开启线上积分"
label-width=
"224px"
label-width=
"224px"
style=
"margin-bottom:0
"
prop=
"firstLineSunshine2OnlinePointsFlag
"
prop=
"firstLineSunshine2OnlinePointsFlag
"
>
style=
"margin-bottom:0
"
>
<el-select
v-model=
"form.firstLineSunshine2OnlinePointsFlag"
<el-select
v-model=
"form.firstLineSunshine2OnlinePointsFlag"
size=
"small"
size=
"small"
style=
"width:320px"
style=
"width:320px"
...
@@ -53,10 +53,10 @@
...
@@ -53,10 +53,10 @@
<div
class=
"select-wrapper"
>
<div
class=
"select-wrapper"
>
<el-select
v-model=
"tabsActive"
<el-select
v-model=
"tabsActive"
class=
"tab-select"
class=
"tab-select"
placeholder=
"请选择特殊品类"
size=
"small"
size=
"small"
:disabled=
"isEdit() || isSaving()"
:disabled=
"isEdit() || isSaving()"
:popper-append-to-body=
"false"
:popper-append-to-body=
"false"
placeholder=
"请选择特殊品类"
@
change=
"handleSpecialChange($event, false)"
>
@
change=
"handleSpecialChange($event, false)"
>
<el-option
v-for=
"(item) in tabsList"
<el-option
v-for=
"(item) in tabsList"
:key=
"item.id"
:key=
"item.id"
...
@@ -64,9 +64,9 @@
...
@@ -64,9 +64,9 @@
:value=
"item.id"
>
:value=
"item.id"
>
<div
class=
"tab-select-options-wrapper"
>
<div
class=
"tab-select-options-wrapper"
>
<span
v-if=
"item.integrity === 'N'"
<span
v-if=
"item.integrity === 'N'"
title=
"该项目有空值"
class=
"el-icon-warning icons"
class=
"el-icon-warning icons"
style=
"color: #EB4E4E;"
>
style=
"color: #EB4E4E;"
title=
"该项目有空值"
>
</span>
</span>
<span
class=
"label"
>
<span
class=
"label"
>
{{
item
.
title
}}
{{
item
.
title
}}
...
@@ -81,9 +81,9 @@
...
@@ -81,9 +81,9 @@
</el-select>
</el-select>
</div>
</div>
<span
v-if=
"useEdit && isView(editState)"
class=
"actions-wrapper"
>
<span
v-if=
"useEdit && isView(editState)"
class=
"actions-wrapper"
>
<el-button
plain
<el-button
icon=
"el-icon-plus"
size=
"small"
size=
"small"
icon=
"el-icon-plus"
plain
@
click=
"handleAppendSpecialCategory"
>
@
click=
"handleAppendSpecialCategory"
>
新增
新增
</el-button>
</el-button>
...
@@ -93,23 +93,23 @@
...
@@ -93,23 +93,23 @@
<div
v-if=
"tabsActive"
class=
"public-container"
>
<div
v-if=
"tabsActive"
class=
"public-container"
>
<div
v-if=
"useEdit "
class=
"actions-wrapper"
>
<div
v-if=
"useEdit "
class=
"actions-wrapper"
>
<el-button
v-if=
"isView(editState)"
<el-button
v-if=
"isView(editState)"
plain
style=
"width:160px"
size=
"small"
size=
"small"
style=
"width:160px"
type=
"primary"
type=
"primary"
plain
@
click=
"handleChangeMode()"
>
@
click=
"handleChangeMode()"
>
编辑
编辑
</el-button>
</el-button>
<div
v-else
>
<div
v-else
>
<el-button
style=
"width:160px"
<el-button
class=
"cancel-btn"
class=
"cancel-btn"
size=
"small"
size=
"small"
style=
"width:160px"
@
click=
"handleCancelEdit"
>
@
click=
"handleCancelEdit"
>
取消
取消
</el-button>
</el-button>
<el-button
style=
"width:160px"
<el-button
size=
"small"
style=
"width:160px"
type=
"primary"
type=
"primary"
size=
"small"
@
click=
"saveEdit()"
>
@
click=
"saveEdit()"
>
保存
保存
</el-button>
</el-button>
...
@@ -118,18 +118,18 @@
...
@@ -118,18 +118,18 @@
</div>
</div>
<div
style=
"min-height:310px;margin-top:20px;"
>
<div
style=
"min-height:310px;margin-top:20px;"
>
<SpecialCategoryDetail
v-show=
"isView()"
<SpecialCategoryDetail
v-show=
"isView()"
:special-detail=
"form.specialDetail
"
:base-scene-code=
"baseSceneCode
"
:fee-platform-list=
"options.platform"
:fee-platform-list=
"options.platform"
:operation-mode=
"form.operationMode"
:operation-mode=
"form.operationMode"
:base-scene-code=
"baseSceneCode
"
/>
:special-detail=
"form.specialDetail
"
/>
<SpecialCategoryModify
v-show=
"isEdit() || isSaving()"
<SpecialCategoryModify
v-show=
"isEdit() || isSaving()"
:key=
"form.specialDetail.id"
:key=
"form.specialDetail.id"
:special-detail=
"form.specialDetail"
:base-scene-code=
"baseSceneCode"
:prefix=
"$data._prefix"
:fee-platform-list=
"options.platform"
:business-code=
"businessCode"
:business-code=
"businessCode"
:fee-platform-list=
"options.platform"
:operation-mode=
"form.operationMode"
:operation-mode=
"form.operationMode"
:base-scene-code=
"baseSceneCode"
/>
:prefix=
"$data._prefix"
:special-detail=
"form.specialDetail"
/>
</div>
</div>
</div>
</div>
...
...
src/views/goods/shelfProduct/components/rejectDialog/index.vue
View file @
ea0938a
<!-- 驳回 -->
<!-- 驳回 -->
<
template
>
<
template
>
<VenusDialog
:visible=
"visible
"
<VenusDialog
height=
"196px
"
title=
"驳回"
title=
"驳回"
width=
"480px"
width=
"480px"
height=
"196px
"
:visible=
"visible
"
@
change=
"handleVisibleChange"
@
change=
"handleVisibleChange"
@
close=
"handleClose"
@
close=
"handleClose"
@
confirm=
"handleAddConfirm"
>
@
confirm=
"handleAddConfirm"
>
...
@@ -14,11 +14,11 @@
...
@@ -14,11 +14,11 @@
<glsx-combi-form
ref=
"formRef"
<glsx-combi-form
ref=
"formRef"
class=
"edit-form-container"
class=
"edit-form-container"
default-width=
"100%"
default-width=
"100%"
form-ref=
"formRef"
label-width=
"90px"
:form-data=
"formSchema"
:form-data=
"formSchema"
:form-obj=
"infoForm"
:form-obj=
"infoForm"
form-ref=
"formRef"
:form-rules=
"formRules"
>
:form-rules=
"formRules"
label-width=
"90px"
>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
</VenusDialog>
</VenusDialog>
...
...
src/views/goods/shelfProduct/components/shelfProductConfirm/components/combo/components/modify/index.vue
View file @
ea0938a
...
@@ -40,10 +40,10 @@
...
@@ -40,10 +40,10 @@
<el-form-item
label=
"销售占比:"
prop=
"salesProportionPercent"
>
<el-form-item
label=
"销售占比:"
prop=
"salesProportionPercent"
>
<div
class=
"form-item-append-fix"
>
<div
class=
"form-item-append-fix"
>
<VenusNumberInput
v-model=
"packageForm.salesProportionPercent"
<VenusNumberInput
v-model=
"packageForm.salesProportionPercent"
placeholder=
"请输入销售占比"
:controls=
"false"
:controls=
"false"
:max=
"100"
:max=
"100"
:min=
"0"
:min=
"0"
placeholder=
"请输入销售占比"
:precision=
"2"
>
:precision=
"2"
>
</VenusNumberInput>
</VenusNumberInput>
<span
class=
"fix-symbol"
>
%
</span>
<span
class=
"fix-symbol"
>
%
</span>
...
@@ -51,79 +51,79 @@
...
@@ -51,79 +51,79 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
title=
"按子商品的售价进行累计,实时计算
"
>
<el-col
title=
"按子商品的售价进行累计,实时计算"
:span=
"12
"
>
<el-form-item
label=
"售价/件:"
prop=
"sellPrice"
>
<el-form-item
label=
"售价/件:"
prop=
"sellPrice"
>
<div
class=
"form-item-append-fix"
>
<div
class=
"form-item-append-fix"
>
<VenusNumberInput
:value=
"getSumValue.totalSellPrice"
<VenusNumberInput
placeholder=
"自动带入产品对应的售价"
:controls=
"false"
disabled
disabled
:controls=
"false"
:min=
"0"
:min=
"0"
placeholder=
"自动带入产品对应的售价
"
:precision=
"2
"
:precision=
"2
"
/>
:value=
"getSumValue.totalSellPrice
"
/>
<span
class=
"fix-symbol"
>
元
</span>
<span
class=
"fix-symbol"
>
元
</span>
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
title=
"按子商品的最低售价进行累计,实时计算
"
>
<el-col
title=
"按子商品的最低售价进行累计,实时计算"
:span=
"12
"
>
<el-form-item
label=
"最低售价/件:"
prop=
"minSellPrice"
>
<el-form-item
label=
"最低售价/件:"
prop=
"minSellPrice"
>
<div
class=
"form-item-append-fix"
>
<div
class=
"form-item-append-fix"
>
<VenusNumberInput
:value=
"getSumValue.totalMinSellPrice"
<VenusNumberInput
placeholder=
"自动带入产品对应的售价"
:controls=
"false"
disabled
disabled
:controls=
"false"
:min=
"0"
:min=
"0"
placeholder=
"自动带入产品对应的售价
"
:precision=
"2
"
:precision=
"2
"
/>
:value=
"getSumValue.totalMinSellPrice
"
/>
<span
class=
"fix-symbol"
>
元
</span>
<span
class=
"fix-symbol"
>
元
</span>
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
title=
"按子商品的嘀加成本进行累计,实时计算
"
>
<el-col
title=
"按子商品的嘀加成本进行累计,实时计算"
:span=
"12
"
>
<el-form-item
label=
"嘀加成本/件:"
prop=
"djCost"
>
<el-form-item
label=
"嘀加成本/件:"
prop=
"djCost"
>
<div
class=
"form-item-append-fix"
>
<div
class=
"form-item-append-fix"
>
<el-input
:value=
"getSumValue.totalDjCost"
<el-input
disabled
disabled
/>
:value=
"getSumValue.totalDjCost"
/>
<span
class=
"fix-symbol"
>
元
</span>
<span
class=
"fix-symbol"
>
元
</span>
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
title=
"按子商品的第三方成本进行累计,实时计算
"
>
<el-col
title=
"按子商品的第三方成本进行累计,实时计算"
:span=
"12
"
>
<el-form-item
label=
"第三方成本/件:"
prop=
"thirdPartyCost"
>
<el-form-item
label=
"第三方成本/件:"
prop=
"thirdPartyCost"
>
<div
class=
"form-item-append-fix"
>
<div
class=
"form-item-append-fix"
>
<VenusNumberInput
:value=
"getSumValue.totalThirdPartyCost"
<VenusNumberInput
disabled
:controls=
"false"
:controls=
"false"
disabled
:min=
"0"
:min=
"0"
:precision=
"2"
>
:precision=
"2"
:value=
"getSumValue.totalThirdPartyCost"
>
</VenusNumberInput>
</VenusNumberInput>
<span
class=
"fix-symbol"
>
元
</span>
<span
class=
"fix-symbol"
>
元
</span>
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
v-if=
"isQualityUpgrade(baseSceneCode)"
<el-col
v-if=
"isQualityUpgrade(baseSceneCode)"
:span=
"12
"
title=
"按子商品的产品、升级成本进行累计,实时计算
"
title=
"按子商品的产品、升级成本进行累计,实时计算
"
>
:span=
"12
"
>
<el-form-item
label=
"产品、升级成本:"
prop=
"upgradeProductCost"
>
<el-form-item
label=
"产品、升级成本:"
prop=
"upgradeProductCost"
>
<div
class=
"form-item-append-fix"
>
<div
class=
"form-item-append-fix"
>
<VenusNumberInput
:value=
"getSumValue.totalUpgradeProductCost"
<VenusNumberInput
disabled
:controls=
"false"
:controls=
"false"
disabled
:min=
"0"
:min=
"0"
:precision=
"2"
>
:precision=
"2"
:value=
"getSumValue.totalUpgradeProductCost"
>
</VenusNumberInput>
</VenusNumberInput>
<span
class=
"fix-symbol"
>
元
</span>
<span
class=
"fix-symbol"
>
元
</span>
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
v-if=
"isQualityUpgrade(baseSceneCode)"
<el-col
v-if=
"isQualityUpgrade(baseSceneCode)"
:span=
"12
"
title=
"按子商品的回收成本进行累计,实时计算
"
title=
"按子商品的回收成本进行累计,实时计算
"
>
:span=
"12
"
>
<el-form-item
label=
"回收成本:"
prop=
"recoveryCost"
>
<el-form-item
label=
"回收成本:"
prop=
"recoveryCost"
>
<div
class=
"form-item-append-fix"
>
<div
class=
"form-item-append-fix"
>
<VenusNumberInput
:value=
"getSumValue.totalRecoveryCost"
<VenusNumberInput
disabled
:controls=
"false"
:controls=
"false"
disabled
:min=
"0"
:min=
"0"
:precision=
"2"
>
:precision=
"2"
:value=
"getSumValue.totalRecoveryCost"
>
</VenusNumberInput>
</VenusNumberInput>
<span
class=
"fix-symbol"
>
元
</span>
<span
class=
"fix-symbol"
>
元
</span>
</div>
</div>
...
@@ -144,17 +144,17 @@
...
@@ -144,17 +144,17 @@
<div
v-for=
"(goodsForm, index) in productList"
<div
v-for=
"(goodsForm, index) in productList"
:key=
"goodsForm.merchantGoodsCode"
>
:key=
"goodsForm.merchantGoodsCode"
>
<Product
:ref=
"goodsForm.merchantGoodsCode"
<Product
:ref=
"goodsForm.merchantGoodsCode"
:product
.
sync=
"goodsForm"
use-remove-btn
:edit-state=
"VIEW_MODE.EDIT"
:base-scene-code=
"baseSceneCode"
:base-scene-code=
"baseSceneCode"
:disabled-positions=
"getProductDisabledPositions(goodsForm.upgradeGoodsId, goodsForm.merchantGoodsCode)"
:edit-state=
"VIEW_MODE.EDIT"
:merchant-id-list=
"merchantIdList"
:product
.
sync=
"goodsForm"
:show-gift-cost=
"false"
:show-gift-cost=
"false"
:show-sales-proportion-percent=
"false"
:show-sales-proportion-percent=
"false"
:show-settlement-type=
"false"
:show-settlement-type=
"false"
:disabled-positions=
"getProductDisabledPositions(goodsForm.upgradeGoodsId, goodsForm.merchantGoodsCode)"
@
remove=
"handleRemoveProduct(goodsForm.id, index)"
:merchant-id-list=
"merchantIdList"
@
update:upgradeGoods=
"handleUpdateProduct($event, index)"
/>
use-remove-btn
@
update:upgradeGoods=
"handleUpdateProduct($event, index)"
@
remove=
"handleRemoveProduct(goodsForm.id, index)"
/>
<el-divider
v-if=
"index !== (productList.length - 1)"
class=
"divider-product"
/>
<el-divider
v-if=
"index !== (productList.length - 1)"
class=
"divider-product"
/>
</div>
</div>
...
...
src/views/goods/shelfProduct/components/shelfProductConfirm/components/combo/index.vue
View file @
ea0938a
src/views/goods/shelfProduct/components/shelfProductImport/components/detail/index.vue
View file @
ea0938a
src/views/goods/shelfProduct/components/shelfProductImport/components/importProgress/index.vue
View file @
ea0938a
<
template
>
<
template
>
<div
class=
"import-progress-wrapper"
>
<div
class=
"import-progress-wrapper"
>
<transition
name=
"fade"
mode=
"out-in
"
>
<transition
mode=
"out-in"
name=
"fade
"
>
<div
v-if=
"status === 'starting'"
<div
v-if=
"status === 'starting'"
key=
"starting"
key=
"starting"
class=
"starting-wrapper"
>
class=
"starting-wrapper"
>
<el-progress
stroke-linecap=
"square"
<el-progress
color=
"#2A58AD"
stroke-linecap=
"square"
type=
"circle"
type=
"circle"
:width=
"80"
:percentage=
"percentage"
color=
"#2A58AD"
:width=
"80"
>
:percentage=
"percentage"
>
</el-progress>
</el-progress>
<div
class=
"progress-tips"
>
<div
class=
"progress-tips"
>
正在处理中
正在处理中
...
@@ -23,8 +23,8 @@
...
@@ -23,8 +23,8 @@
<div
class=
"el-icon el-icon-warning"
></div>
<div
class=
"el-icon el-icon-warning"
></div>
<span
class=
"failed-tips"
>
处理失败。可点击
</span>
<span
class=
"failed-tips"
>
处理失败。可点击
</span>
<el-button
class=
"download-btn"
<el-button
class=
"download-btn"
type=
"text"
size=
"small"
size=
"small"
type=
"text"
@
click=
"handleDownloadFile"
>
@
click=
"handleDownloadFile"
>
下载失败模板
下载失败模板
</el-button>
</el-button>
...
...
src/views/goods/shelfProduct/components/shelfProductImport/components/modify/index.vue
View file @
ea0938a
<
template
>
<
template
>
<div
class=
"shelf-product-import-modify-wrapper"
>
<div
class=
"shelf-product-import-modify-wrapper"
>
<glsx-combi-form
ref=
"formRef"
<glsx-combi-form
ref=
"formRef"
:form-data=
"form.schema"
:form-obj=
"form.data"
:form-rules=
"form.rules"
is-block
default-width=
"530px"
default-width=
"530px"
label-width=
"150px"
size=
"mini"
size=
"mini"
label-width=
"150px"
>
is-block
:form-data=
"form.schema"
:form-obj=
"form.data"
:form-rules=
"form.rules"
>
<template
#
goodsCreateExcel
>
<template
#
goodsCreateExcel
>
<el-upload
:auto-upload=
"false"
<el-upload
accept=
".xls,.xlsx"
:limit=
"1"
action=
"1"
action=
"1"
accept=
".xls,.xlsx"
:auto-upload=
"false"
:file-list=
"form.fileList"
:limit=
"1"
:on-change=
"handleGoodsCreateExcelChange"
:on-change=
"handleGoodsCreateExcelChange"
:on-exceed=
"handleExceed"
:on-exceed=
"handleExceed"
>
:file-list=
"form.fileList"
>
<template
#
trigger
>
<template
#
trigger
>
<el-button
size=
"small"
>
<el-button
size=
"small"
>
+ 添加附件
+ 添加附件
</el-button>
</el-button>
</
template
>
</
template
>
<el-button
type=
"text
"
<el-button
size=
"small
"
style=
"margin-left:8px"
style=
"margin-left:8px"
size=
"small
"
type=
"text
"
@
click=
"handleDownloadTemplate"
>
@
click=
"handleDownloadTemplate"
>
下载模板
下载模板
</el-button>
</el-button>
...
...
src/views/goods/shelfProduct/components/shelfProductImport/index.vue
View file @
ea0938a
...
@@ -19,15 +19,15 @@
...
@@ -19,15 +19,15 @@
title=
"提示"
title=
"提示"
width=
"480"
width=
"480"
draggable
draggable
:show-cancel=
"false"
:show-close=
"false"
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
:confirm-loading=
"false"
:confirm-loading=
"false"
:show-cancel=
"false"
:show-close=
"false"
v-bind=
"dialog.importProgress[dialog.importProgress.status]"
v-bind=
"dialog.importProgress[dialog.importProgress.status]"
@
confirm=
"handleConfirm"
>
@
confirm=
"handleConfirm"
>
<ImportProgress
:fail-url=
"dialog.importProgress.failed.url"
<ImportProgress
:fail-url=
"dialog.importProgress.failed.url"
:status=
"dialog.importProgress.status
"
:percentage=
"dialog.importProgress.percentage
"
:percentage=
"dialog.importProgress.percentage
"
/>
:status=
"dialog.importProgress.status
"
/>
</VenusDialog>
</VenusDialog>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/goods/shelfProduct/view/detail/index.vue
View file @
ea0938a
...
@@ -21,44 +21,44 @@
...
@@ -21,44 +21,44 @@
</div>
</div>
</div>
-->
</div>
-->
<FormProvider
v-if=
"isReadyForNextStep"
<FormProvider
v-if=
"isReadyForNextStep"
:use-edit=
"false
"
class=
"form-provide-wrapper
"
class=
"form-provide-wrapper
"
>
:use-edit=
"false
"
>
<template
#
default=
"
{ data }">
<template
#
default=
"
{ data }">
<FormStep
name=
"ProductImport"
>
<FormStep
name=
"ProductImport"
>
<ShelfProductImport
ref=
"shelfProductImportRef"
<ShelfProductImport
ref=
"shelfProductImportRef"
:use-edit=
"fals
e"
:business-code=
"businessCod
e"
:business-code=
"businessCod
e"
/>
:use-edit=
"fals
e"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.getSomeItemStepLoading('ProductConfirm')"
<FormStep
v-loading=
"data.getSomeItemStepLoading('ProductConfirm')"
style=
"margin-top:20px
"
name=
"ProductConfirm
"
name=
"ProductConfirm
"
>
style=
"margin-top:20px
"
>
<ShelfProductConfirm
:business-code=
"business
Code"
<ShelfProductConfirm
:base-scene-code=
"baseScene
Code"
:use-edit=
"fals
e"
:business-code=
"businessCod
e"
:base-scene-code=
"baseSceneCod
e"
:shelf-type=
"shelfTyp
e"
:shelf-type=
"shelfTyp
e"
/>
:use-edit=
"fals
e"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.getSomeItemStepLoading('ProfitSharingConfig')"
<FormStep
v-loading=
"data.getSomeItemStepLoading('ProfitSharingConfig')"
style=
"margin-top:20px
"
name=
"ProfitSharingConfig
"
name=
"ProfitSharingConfig
"
>
style=
"margin-top:20px
"
>
<ProfitSharingConfig
:business-code=
"business
Code"
<ProfitSharingConfig
:base-scene-code=
"baseScene
Code"
:use-edit=
"fals
e"
:business-code=
"businessCod
e"
:base-scene-code=
"baseSceneCod
e"
:shelf-type=
"shelfTyp
e"
:shelf-type=
"shelfTyp
e"
/>
:use-edit=
"fals
e"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.getSomeItemStepLoading('ReconciliationConfig')"
<FormStep
v-loading=
"data.getSomeItemStepLoading('ReconciliationConfig')"
style=
"margin-top:20px
"
name=
"ReconciliationConfig
"
name=
"ReconciliationConfig
"
>
style=
"margin-top:20px
"
>
<ReconciliationConfig
:business-code=
"business
Code"
<ReconciliationConfig
:base-scene-code=
"baseScene
Code"
:use-edit=
"fals
e"
:business-code=
"businessCod
e"
:base-scene-code=
"baseSceneCod
e"
:shelf-type=
"shelfTyp
e"
:shelf-type=
"shelfTyp
e"
/>
:use-edit=
"fals
e"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.getSomeItemStepLoading('ProfitMarginTable')"
<FormStep
v-loading=
"data.getSomeItemStepLoading('ProfitMarginTable')"
style=
"height:100%
"
name=
"ProfitMarginTable
"
name=
"ProfitMarginTable
"
>
style=
"height:100%
"
>
<ProfitMarginTable
style=
"height:680px;overflow:hidden"
<ProfitMarginTable
style=
"height:680px;overflow:hidden"
:use-edit=
"fals
e"
:business-code=
"businessCod
e"
:business-code=
"businessCod
e"
/>
:use-edit=
"fals
e"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.getSomeItemStepLoading('OperateOperateList')"
<FormStep
v-loading=
"data.getSomeItemStepLoading('OperateOperateList')"
...
@@ -68,9 +68,9 @@
...
@@ -68,9 +68,9 @@
</FormStep>
</FormStep>
<div
style=
"text-align:center"
>
<div
style=
"text-align:center"
>
<el-button
style=
"width:60px"
<el-button
size=
"small"
style=
"width:60px"
type=
"info"
type=
"info"
size=
"small"
@
click=
"handleBack"
>
@
click=
"handleBack"
>
返回
返回
</el-button>
</el-button>
...
...
src/views/goods/shelfProduct/view/modify/index.vue
View file @
ea0938a
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
class=
"form-provide-wrapper"
>
class=
"form-provide-wrapper"
>
<template
#
default=
"
{ data }">
<template
#
default=
"
{ data }">
<div
class=
"step-wrapper"
>
<div
class=
"step-wrapper"
>
<el-steps
:active=
"step.confirmStep"
finish-status=
"success
"
>
<el-steps
finish-status=
"success"
:active=
"step.confirmStep
"
>
<el-step
title=
"1、商品上架表导入"
></el-step>
<el-step
title=
"1、商品上架表导入"
></el-step>
<el-step
title=
"2、上架商品确认"
></el-step>
<el-step
title=
"2、上架商品确认"
></el-step>
<el-step
title=
"3、分账配置"
></el-step>
<el-step
title=
"3、分账配置"
></el-step>
...
@@ -44,20 +44,20 @@
...
@@ -44,20 +44,20 @@
@
handleNext=
"handleNextProductImport()"
/>
@
handleNext=
"handleNextProductImport()"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.isStepLoading"
name=
"ProductConfirm"
>
<FormStep
v-loading=
"data.isStepLoading"
name=
"ProductConfirm"
>
<ShelfProductConfirm
:business-code=
"business
Code"
<ShelfProductConfirm
:base-scene-code=
"baseScene
Code"
:base-scene-code=
"baseScene
Code"
:business-code=
"business
Code"
:shelf-type=
"shelfType"
/>
:shelf-type=
"shelfType"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.isStepLoading"
name=
"ProfitSharingConfig"
>
<FormStep
v-loading=
"data.isStepLoading"
name=
"ProfitSharingConfig"
>
<ProfitSharingConfig
:business-code=
"business
Code"
<ProfitSharingConfig
:base-scene-code=
"baseScene
Code"
:base-scene-code=
"baseScene
Code"
:business-code=
"business
Code"
:shelf-type=
"shelfType"
/>
:shelf-type=
"shelfType"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.isStepLoading"
name=
"ReconciliationConfig"
>
<FormStep
v-loading=
"data.isStepLoading"
name=
"ReconciliationConfig"
>
<ReconciliationConfig
ref=
"reconciliationConfigRef"
<ReconciliationConfig
ref=
"reconciliationConfigRef"
:business-code=
"businessCode"
:base-scene-code=
"baseSceneCode"
:base-scene-code=
"baseSceneCode"
:business-code=
"businessCode"
:shelf-type=
"shelfType"
/>
:shelf-type=
"shelfType"
/>
</FormStep>
</FormStep>
<FormStep
v-loading=
"data.isStepLoading"
<FormStep
v-loading=
"data.isStepLoading"
...
@@ -69,27 +69,27 @@
...
@@ -69,27 +69,27 @@
</div>
</div>
<div
class=
"footer-wrapper"
>
<div
class=
"footer-wrapper"
>
<VenusButton
v-if=
"step.confirmStep > 1"
<VenusButton
v-if=
"step.confirmStep > 1"
plain
size=
"small"
size=
"small"
:loading=
"data.globalLoading || btnLoading"
plain
:disabled=
"data.isEditing || data.isSaving"
:disabled=
"data.isEditing || data.isSaving"
:loading=
"data.globalLoading || btnLoading"
@
click=
"handlePreviousSteps"
>
@
click=
"handlePreviousSteps"
>
上一步
上一步
</VenusButton>
</VenusButton>
<VenusButton
v-if=
"step.confirmStep
< 4
"
<VenusButton
v-if=
"step.confirmStep
< 4
"
:loading=
"data.globalLoading || btnLoading"
:disabled=
"data.isEditing || data.isSaving"
size=
"small"
size=
"small"
type=
"primary"
type=
"primary"
:disabled=
"data.isEditing || data.isSaving"
:loading=
"data.globalLoading || btnLoading"
@
click=
"handleNextSteps"
>
@
click=
"handleNextSteps"
>
下一步
下一步
</VenusButton>
</VenusButton>
<VenusButton
v-else
<VenusButton
v-else
:loading=
"data.globalLoading || btnLoading"
:disabled=
"data.isEditing || data.isSaving"
type=
"primary"
size=
"small"
size=
"small"
type=
"primary"
:disabled=
"data.isEditing || data.isSaving"
:loading=
"data.globalLoading || btnLoading"
@
click=
"handleSubmit"
>
@
click=
"handleSubmit"
>
提交
提交
</VenusButton>
</VenusButton>
...
...
src/views/goods/shelfProduct/view/table/index.vue
View file @
ea0938a
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
<template
#
header
>
<template
#
header
>
<div
class=
"header"
>
<div
class=
"header"
>
<d2-search
class=
"show-search"
<d2-search
class=
"show-search"
:form-data=
"table.formSchema"
label-width=
"100px"
label-width=
"100px"
:form-data=
"table.formSchema"
:search-form=
"table.searchForm"
>
:search-form=
"table.searchForm"
>
</d2-search>
</d2-search>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
</span>
</span>
<!-- 审核 handleApprove 待审核才出现 -->
<!-- 审核 handleApprove 待审核才出现 -->
<span
v-if=
"scope.systemStatus === 1"
style=
"margin-right: 10px"
>
<span
v-if=
"scope.systemStatus === 1"
style=
"margin-right: 10px"
>
<auth-button
:show-btn-ids=
"['9031809']"
:data=
"scope
"
/>
<auth-button
:data=
"scope"
:show-btn-ids=
"['9031809']
"
/>
</span>
</span>
</div>
</div>
</
template
>
</
template
>
...
...
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