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 8a83b2e2
authored
May 17, 2023
by
王琦琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v4.21.1' into 'dev_v4.22.0'
Dev v4.21.1 See merge request
!182
2 parents
d048d49b
ef748bf0
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
120 additions
and
36 deletions
src/router/modules/910_rightsAndInterestsManage.js
src/router/modules/911_vehicleDamage.js
src/views/purchase/components/EditOrderDialog.vue
src/views/purchase/procurementReview.vue
src/views/purchase/purchaseAndDelivery.vue
src/views/purchase/purchaseOrder.vue
src/views/rightsAndInterestsManage/components/ruleConfigurationDialog.vue
src/views/rightsAndInterestsManage/ruleConfigurationList.vue
src/views/stockManage/earlyWarning/earlyWarningList.vue
src/views/stockManage/outbound/outboundList.vue
src/views/stockManage/warehousing/warehousingList.vue
src/views/systemConfig/merchant/financialRules/index.vue
src/views/systemConfig/merchant/merchantStep/merchantCheck.vue
src/views/systemConfig/serviceManage/serviceManage.vue
src/router/modules/910_rightsAndInterestsManage.js
View file @
8a83b2e
...
@@ -38,7 +38,15 @@ export const routerName = {
...
@@ -38,7 +38,15 @@ export const routerName = {
authId
:
"9100102"
,
authId
:
"9100102"
,
parentId
:
"91001"
,
parentId
:
"91001"
,
label
:
"编辑"
,
label
:
"编辑"
,
handle
:
"handleEdit"
handle
:
"handleEdit"
,
ruleObj
:
{
attr
:
"status"
,
rule
:
{
0
:
"待编辑"
,
1
:
"编辑"
}
// disabledStatusList: [0]
}
},
},
{
{
authId
:
"9100103"
,
authId
:
"9100103"
,
...
...
src/router/modules/911_vehicleDamage.js
View file @
8a83b2e
...
@@ -36,7 +36,15 @@ export const routerName = {
...
@@ -36,7 +36,15 @@ export const routerName = {
authId
:
"9110103"
,
authId
:
"9110103"
,
parentId
:
"91101"
,
parentId
:
"91101"
,
label
:
"打印"
,
label
:
"打印"
,
handle
:
"handlePrint"
handle
:
"handlePrint"
,
ruleObj
:
{
attr
:
"mode"
,
rule
:
{
0
:
"查看"
,
1
:
"查看"
},
disabledStatusList
:
[
1
]
}
}
}
],
],
component
:
_import
(
"vehicleDamage/vehicleDamageList"
)
component
:
_import
(
"vehicleDamage/vehicleDamageList"
)
...
...
src/views/purchase/components/EditOrderDialog.vue
View file @
8a83b2e
...
@@ -83,7 +83,7 @@ export default {
...
@@ -83,7 +83,7 @@ export default {
},
},
config
:
{
config
:
{
title
:
'采购发货'
,
title
:
'采购发货'
,
width
:
'10
1
0px'
width
:
'10
5
0px'
}
}
},
},
isSubmit
:
false
,
isSubmit
:
false
,
...
@@ -188,7 +188,7 @@ export default {
...
@@ -188,7 +188,7 @@ export default {
const
_index
=
scope
.
index
const
_index
=
scope
.
index
const
_oldVal
=
this
.
oldPurNumList
[
_index
]
||
0
const
_oldVal
=
this
.
oldPurNumList
[
_index
]
||
0
const
_maxVal
=
_row
.
goodsNumber
-
_row
.
purchaseNumber
const
_maxVal
=
_row
.
goodsNumber
-
_row
.
purchaseNumber
this
.
nowPurNumList
[
_index
]
=
limitPrice
(
val
,
_oldVal
,
2
,
0
,
0
,
_maxVal
)
this
.
nowPurNumList
[
_index
]
=
limitPrice
(
val
,
_oldVal
,
9999
,
0
,
0
,
_maxVal
)
this
.
oldPurNumList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
nowPurNumList
))
this
.
oldPurNumList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
nowPurNumList
))
},
},
submit
()
{
submit
()
{
...
...
src/views/purchase/procurementReview.vue
View file @
8a83b2e
...
@@ -217,14 +217,14 @@ export default {
...
@@ -217,14 +217,14 @@ export default {
label
:
'状态'
,
label
:
'状态'
,
prop
:
'status'
,
prop
:
'status'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
defaultStatusOptions
.
find
(
item
=>
item
.
id
==
cellValue
.
status
).
label
||
'-'
return
defaultStatusOptions
.
find
(
item
=>
item
.
id
==
cellValue
.
status
)
?
.
label
||
'-'
},
},
className
:
(
cellValue
)
=>
{
className
:
(
cellValue
)
=>
{
return
{
return
{
1
:
'yellowSpot'
,
1
:
'yellowSpot'
,
2
:
'greenSpot'
,
2
:
'greenSpot'
,
3
:
'ashSpot'
,
3
:
'ashSpot'
,
4
:
'
ash
Spot'
4
:
'
red
Spot'
}[
cellValue
.
status
]
}[
cellValue
.
status
]
}
}
}
}
...
...
src/views/purchase/purchaseAndDelivery.vue
View file @
8a83b2e
<!-- 采购发货 -->
<!-- 采购发货 -->
<
template
>
<
template
>
<d2-container
class=
"container"
>
<d2-container
class=
"container"
>
<div
class=
"header"
slot=
"header"
>
<div
class=
"header"
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
>
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
>
</d2-search>
</d2-search>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
handle
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
handle
>
查询
查询
</el-button>
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
重置
</el-button>
</el-button>
</div>
</div>
...
@@ -20,42 +28,74 @@
...
@@ -20,42 +28,74 @@
<auth-button
category=
"Button"
/>
<auth-button
category=
"Button"
/>
</span>
</span>
<span>
<span>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
导出
导出
</el-button>
</el-button>
</span>
</span>
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"purchaseAndDeliveryTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<d2-table
ref=
"purchaseAndDeliveryTable"
<div
slot=
"auth-button"
slot-scope=
"scope"
>
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<!-- 查看 -->
<!-- 查看 -->
<span
style=
"margin-right: 10px;"
>
<span
style=
"margin-right: 10px;"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090401']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090401']"
/>
</span>
</span>
<!-- 确认发货 -->
<!-- 确认发货 -->
<span
v-show=
"scope.scope.status == 2"
style=
"margin-right: 10px;"
>
<span
v-show=
"scope.scope.status == 2"
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090402']"
/>
style=
"margin-right: 10px;"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090402']"
/>
</span>
</span>
<!-- 驳回 -->
<!-- 驳回 -->
<span
v-show=
"scope.scope.deliveryStatus == 1"
>
<span
v-show=
"scope.scope.deliveryStatus == 1"
>
<!--
<el-button
:data=
"scope.scope"
type=
"text"
@
click=
"handleReject(scope.scope)"
>
驳回
</el-button>
-->
<!--
<el-button
:data=
"scope.scope"
type=
"text"
@
click=
"handleReject(scope.scope)"
>
驳回
</el-button>
-->
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090403']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090403']"
/>
</span>
</span>
</div>
</div>
</d2-table>
</d2-table>
</div>
</div>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
<EditOrderDialog
v-if=
"editVisible"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
@
editClose=
"editClose"
></EditOrderDialog>
:params-obj=
"paramsObj"
></orderDeatilDialog>
<baseDialog
v-if=
"rejectVisible"
:is-show
.
sync=
"rejectVisible"
:config=
"rejectConfig.setting"
:dialog-config=
"rejectConfig.config"
@
closeDialog=
"handleRejectClose"
>
<EditOrderDialog
v-if=
"editVisible"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
@
editClose=
"editClose"
></EditOrderDialog>
<baseDialog
v-if=
"rejectVisible"
:is-show
.
sync=
"rejectVisible"
:config=
"rejectConfig.setting"
:dialog-config=
"rejectConfig.config"
@
closeDialog=
"handleRejectClose"
>
<div
class=
"reject-dialog"
>
<div
class=
"reject-dialog"
>
<el-form
:rules=
"rejectRules"
:model=
"rejectData"
label-width=
"150px"
ref=
"delivery-dialog-form"
>
<el-form
:rules=
"rejectRules"
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
:model=
"rejectData"
<el-input
type=
"textarea"
placeholder=
"请输入驳回原因"
maxlength=
"50"
show-word-limit
v-model
.
trim=
"rejectData.rejectCause"
class=
"dis-in-block reject-input"
/>
label-width=
"150px"
ref=
"delivery-dialog-form"
>
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
<el-input
type=
"textarea"
placeholder=
"请输入驳回原因"
maxlength=
"50"
show-word-limit
v-model
.
trim=
"rejectData.rejectCause"
class=
"dis-in-block reject-input"
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<div
class=
"footer"
>
<div
class=
"footer"
>
<el-button
@
click=
"handleRejectClose"
>
取消
</el-button>
<el-button
@
click=
"handleRejectClose"
>
取消
</el-button>
<el-button
@
click=
"handleRejectConfirm"
type=
"primary"
v-preventReClick
:loading=
"$store.state.d2admin.loading.value"
>
确认
</el-button>
<el-button
@
click=
"handleRejectConfirm"
type=
"primary"
v-preventReClick
:loading=
"$store.state.d2admin.loading.value"
>
确认
</el-button>
</div>
</div>
</baseDialog>
</baseDialog>
</d2-container>
</d2-container>
...
@@ -239,13 +279,14 @@ export default {
...
@@ -239,13 +279,14 @@ export default {
label
:
'订单状态'
,
label
:
'订单状态'
,
prop
:
'status'
,
prop
:
'status'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
defaultStatusOptions
.
find
(
item
=>
item
.
id
==
cellValue
.
status
).
label
||
'-'
return
defaultStatusOptions
.
find
(
item
=>
item
.
id
==
cellValue
.
status
)
?
.
label
||
'-'
},
},
className
:
(
cellValue
)
=>
{
className
:
(
cellValue
)
=>
{
return
{
return
{
1
:
'yellowSpot'
,
1
:
'yellowSpot'
,
2
:
'greenSpot'
,
2
:
'greenSpot'
,
3
:
'ashSpot'
3
:
'ashSpot'
,
4
:
'redSpot'
}[
cellValue
.
status
]
}[
cellValue
.
status
]
}
}
},
},
...
...
src/views/purchase/purchaseOrder.vue
View file @
8a83b2e
...
@@ -236,7 +236,7 @@ export default {
...
@@ -236,7 +236,7 @@ export default {
label
:
'入库状态'
,
label
:
'入库状态'
,
prop
:
'putStatus'
,
prop
:
'putStatus'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
defaultPutStatusOptions
.
find
(
item
=>
item
.
id
==
cellValue
.
putStatus
).
label
||
'-'
return
defaultPutStatusOptions
.
find
(
item
=>
item
.
id
==
cellValue
.
putStatus
)
?
.
label
||
'-'
},
},
className
:
(
cellValue
)
=>
{
className
:
(
cellValue
)
=>
{
return
{
return
{
...
@@ -270,7 +270,8 @@ export default {
...
@@ -270,7 +270,8 @@ export default {
return
{
return
{
1
:
'yellowSpot'
,
1
:
'yellowSpot'
,
2
:
'greenSpot'
,
2
:
'greenSpot'
,
3
:
'ashSpot'
3
:
'ashSpot'
,
4
:
'redSpot'
}[
cellValue
.
status
]
}[
cellValue
.
status
]
}
}
}
}
...
...
src/views/rightsAndInterestsManage/components/ruleConfigurationDialog.vue
View file @
8a83b2e
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<el-form
label-width=
"154px"
:model=
"storeForm"
ref=
"storeRef"
:rules=
"storeRules"
>
<el-form
label-width=
"154px"
:model=
"storeForm"
ref=
"storeRef"
:rules=
"storeRules"
>
<el-form-item
label=
"门店名称:"
>
{{
storeForm
.
merchantName
}}
</el-form-item>
<el-form-item
label=
"门店名称:"
>
{{
storeForm
.
merchantName
}}
</el-form-item>
<el-form-item
label=
"权益销售模式:"
>
<el-form-item
label=
"权益销售模式:"
>
<el-radio-group
v-model=
"storeForm.mode"
>
<el-radio-group
v-model=
"storeForm.mode"
:disabled=
"isEdit"
>
<el-radio
v-for=
"(item, index) in modeList"
:label=
"item.value"
:key=
"index"
>
{{
item
.
label
}}
</el-radio>
<el-radio
v-for=
"(item, index) in modeList"
:label=
"item.value"
:key=
"index"
>
{{
item
.
label
}}
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
class=
"label"
>
<el-col
:span=
"4"
class=
"label"
>
<el-button
v-show=
"!isEdit"
@
click=
"deleteFormItem(index)"
>
删除
</el-button>
<el-button
v-show=
"!isEdit
&& index != 0
"
@
click=
"deleteFormItem(index)"
>
删除
</el-button>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
required
label=
"建议售价:"
:prop=
"'vdRuleIntervalList.' + index + '.recommendation'"
<el-form-item
required
label=
"建议售价:"
:prop=
"'vdRuleIntervalList.' + index + '.recommendation'"
...
@@ -333,8 +333,16 @@ export default {
...
@@ -333,8 +333,16 @@ export default {
},
},
deleteFormItem
(
index
)
{
deleteFormItem
(
index
)
{
if
(
index
==
0
&&
this
.
form
.
vdRuleIntervalList
.
length
==
1
)
return
this
.
$message
.
error
(
'至少保留一条价格区间'
)
if
(
index
==
0
&&
this
.
form
.
vdRuleIntervalList
.
length
==
1
)
return
this
.
$message
.
error
(
'至少保留一条价格区间'
)
this
.
$confirm
(
'是否确认删除?'
,
'提示'
,
{
confirmButtonText
:
'删除'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
form
.
vdRuleIntervalList
=
this
.
form
.
vdRuleIntervalList
.
filter
((
item
,
i
)
=>
i
!==
index
)
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
// console.log(this.form.vdRuleIntervalList.filter((item, i) => i !== index))
// console.log(this.form.vdRuleIntervalList.filter((item, i) => i !== index))
this
.
form
.
vdRuleIntervalList
=
this
.
form
.
vdRuleIntervalList
.
filter
((
item
,
i
)
=>
i
!==
index
)
},
},
addFormItem
()
{
addFormItem
()
{
const
vdRuleIntervalList
=
deepClone
(
this
.
form
.
vdRuleIntervalList
)
const
vdRuleIntervalList
=
deepClone
(
this
.
form
.
vdRuleIntervalList
)
...
...
src/views/rightsAndInterestsManage/ruleConfigurationList.vue
View file @
8a83b2e
...
@@ -76,6 +76,21 @@ export default {
...
@@ -76,6 +76,21 @@ export default {
keyFn
:
this
.
keyDowmGetList
keyFn
:
this
.
keyDowmGetList
},
},
{
{
label
:
'配置状态'
,
name
:
'status'
,
type
:
'select'
,
optionList
:
[{
label
:
'待配置'
,
value
:
0
},
{
label
:
'已配置'
,
value
:
1
}],
optionId
:
'value'
,
optionLabel
:
'label'
// optionsName: 'productTypeList'
},
{
label
:
"创建时间"
,
label
:
"创建时间"
,
name
:
"createTime"
,
name
:
"createTime"
,
type
:
"datePicker"
,
type
:
"datePicker"
,
...
...
src/views/stockManage/earlyWarning/earlyWarningList.vue
View file @
8a83b2e
...
@@ -113,7 +113,7 @@ export default {
...
@@ -113,7 +113,7 @@ export default {
label
:
'所属门店'
,
label
:
'所属门店'
,
name
:
'merchantId'
,
name
:
'merchantId'
,
type
:
'select'
,
type
:
'select'
,
noDataText
:
'请先选择仓库'
,
noDataText
:
'请先选择
所属
仓库'
,
optionList
:
[],
optionList
:
[],
optionId
:
'merchantId'
,
optionId
:
'merchantId'
,
optionLabel
:
'merchantName'
,
optionLabel
:
'merchantName'
,
...
...
src/views/stockManage/outbound/outboundList.vue
View file @
8a83b2e
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
label
:
'出库门店'
,
label
:
'出库门店'
,
name
:
'merchantId'
,
name
:
'merchantId'
,
type
:
'select'
,
type
:
'select'
,
noDataText
:
'请先选择仓库'
,
noDataText
:
'请先选择
出库
仓库'
,
optionList
:
[],
optionList
:
[],
optionId
:
'merchantId'
,
optionId
:
'merchantId'
,
optionLabel
:
'merchantName'
,
optionLabel
:
'merchantName'
,
...
...
src/views/stockManage/warehousing/warehousingList.vue
View file @
8a83b2e
...
@@ -146,7 +146,7 @@ export default {
...
@@ -146,7 +146,7 @@ export default {
label
:
'入库门店'
,
label
:
'入库门店'
,
name
:
'merchantId'
,
name
:
'merchantId'
,
type
:
'select'
,
type
:
'select'
,
noDataText
:
'请先选择仓库'
,
noDataText
:
'请先选择
入库
仓库'
,
optionList
:
[],
optionList
:
[],
optionId
:
'merchantId'
,
optionId
:
'merchantId'
,
optionLabel
:
'merchantName'
,
optionLabel
:
'merchantName'
,
...
...
src/views/systemConfig/merchant/financialRules/index.vue
View file @
8a83b2e
...
@@ -344,6 +344,7 @@ export default {
...
@@ -344,6 +344,7 @@ export default {
// 判空处理
// 判空处理
// result.goodsTypeGroupRules = [...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules]
// result.goodsTypeGroupRules = [...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules, ...result?.goodsTypeGroupRules]
const
goodsTypeGroupRules
=
result
?.
goodsTypeGroupRules
const
goodsTypeGroupRules
=
result
?.
goodsTypeGroupRules
result
=
result
||
this
.
financialObj
// result.autoFlag = null
// result.autoFlag = null
// result.settleTimeType = null
// result.settleTimeType = null
// 解决老财务规则只做了一部分的问题 就不取老的了
// 解决老财务规则只做了一部分的问题 就不取老的了
...
...
src/views/systemConfig/merchant/merchantStep/merchantCheck.vue
View file @
8a83b2e
...
@@ -516,6 +516,8 @@ export default {
...
@@ -516,6 +516,8 @@ export default {
}
}
})
})
this
.
getSelectingList
(
upgradeArr
)
this
.
getSelectingList
(
upgradeArr
)
}
else
{
this
.
getSelectingList
()
}
}
},
},
// 显示smcode弹框
// 显示smcode弹框
...
...
src/views/systemConfig/serviceManage/serviceManage.vue
View file @
8a83b2e
...
@@ -84,14 +84,14 @@ export default {
...
@@ -84,14 +84,14 @@ export default {
label
:
'采购模式'
,
label
:
'采购模式'
,
prop
:
'merchantName'
,
prop
:
'merchantName'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
this
.
procureModeList
[
cellValue
?.
procurement
InfoDTO
?.
procurement
Type
-
1
]?.
confName
||
'-'
return
this
.
procureModeList
[
cellValue
?.
procurementType
-
1
]?.
confName
||
'-'
}
}
},
{
},
{
label
:
'发货主体'
,
label
:
'发货主体'
,
prop
:
'merchantId'
,
prop
:
'merchantId'
,
width
:
'200'
,
width
:
'200'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
cellValue
?.
procurementInfoDTO
?.
shippingEntity
||
'-'
return
cellValue
?.
shippingEntity
||
'-'
}
}
},
{
},
{
label
:
'下级园区店'
,
label
:
'下级园区店'
,
...
...
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