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 d12a97b9
authored
May 19, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
线上代码合并
2 parents
8a83b2e2
772c2a47
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
411 additions
and
300 deletions
src/api/index.js
src/api/request.js
src/router/modules/904_orderManagement.js
src/router/modules/909_purchase.js
src/router/modules/910_rightsAndInterestsManage.js
src/router/modules/911_vehicleDamage.js
src/views/goods/grounding/components/groundingForm.vue
src/views/index/components/outputValueDialog.vue
src/views/orderManage/signRefundDialog.vue
src/views/purchase/components/EditOrderDialog.vue
src/views/purchase/components/orderDetailDialog.vue
src/views/purchase/components/rejectDialog.vue
src/views/purchase/constant/index.js
src/views/purchase/invoiceRecord.vue
src/views/purchase/procurementReview.vue
src/views/purchase/purchaseAndDelivery.vue
src/views/purchase/purchaseOrder.vue
src/views/rightsAndInterestsManage/components/ruleConfigurationDialog.vue
src/views/stockManage/warehousing/warehousingList.vue
src/views/systemConfig/merchant/setDetail.vue
src/views/systemConfig/serviceManage/serviceManage.vue
src/views/vehicleDamage/vehicleDamageList.vue
vue.config.js
src/api/index.js
View file @
d12a97b
...
...
@@ -66,7 +66,8 @@ export function getMerchantOutputValueTarget(data) {
export
function
setMerchantOutputValueTarget
(
data
)
{
data
.
method
=
`
${
path2
}
workbench.inputMerchantOutputValueTarget`
return
request
(
data
)
return
request
(
data
,
"post"
)
// return request(data)
}
// 隐私协议标题查询
...
...
src/api/request.js
View file @
d12a97b
...
...
@@ -57,6 +57,7 @@ const request = (
* 调后端接口 - url = ''
*/
const
url
=
baseConfig
[
baseApiName
].
baseURL
// const url = "/api"
/**
* 调后端接口,请使用以下代码。
*/
...
...
src/router/modules/904_orderManagement.js
View file @
d12a97b
...
...
@@ -208,7 +208,15 @@ export const routerName = {
authId
:
"9040603"
,
parentId
:
"90406"
,
label
:
"打印"
,
handle
:
"handlePrint"
handle
:
"handlePrint"
,
ruleObj
:
{
attr
:
"mode"
,
rule
:
{
0
:
"打印"
,
1
:
"打印"
},
disabledStatusList
:
[
1
]
}
},
{
authId
:
"9040605"
,
...
...
src/router/modules/909_purchase.js
View file @
d12a97b
...
...
@@ -71,6 +71,12 @@ export const routerName = {
}
},
handle
:
"handleWarehousing"
},
{
authId
:
"9090105"
,
parentId
:
"90901"
,
label
:
"发货单"
,
handle
:
"handleSendgoods"
}
],
component
:
_import
(
"purchase/purchaseOrder"
)
...
...
src/router/modules/910_rightsAndInterestsManage.js
View file @
d12a97b
...
...
@@ -42,7 +42,7 @@ export const routerName = {
ruleObj
:
{
attr
:
"status"
,
rule
:
{
0
:
"待
编辑
"
,
0
:
"待
配置
"
,
1
:
"编辑"
}
// disabledStatusList: [0]
...
...
src/router/modules/911_vehicleDamage.js
View file @
d12a97b
...
...
@@ -40,8 +40,8 @@ export const routerName = {
ruleObj
:
{
attr
:
"mode"
,
rule
:
{
0
:
"
查看
"
,
1
:
"
查看
"
0
:
"
打印
"
,
1
:
"
打印
"
},
disabledStatusList
:
[
1
]
}
...
...
src/views/goods/grounding/components/groundingForm.vue
View file @
d12a97b
...
...
@@ -387,6 +387,9 @@ export default {
_formData
.
goodsTypeName
=
_valueObj
?.
goodsTypeName
_formData
.
goodsType
=
_valueObj
?.
goodsType
_formData
.
serviceItemNames
=
_valueObj
?.
serviceItemNames
_formData
.
productType
=
[]
// 切换上架商品 将服务类型清空
_formData
.
baseSupplyMode
=
''
// 切换上架商品 将基础供货模式清空
_formData
.
upgradeSupplyMode
=
''
// 切换上架商品 将升级/产品供货模式清空
}
},
handleClose
()
{
...
...
src/views/index/components/outputValueDialog.vue
View file @
d12a97b
...
...
@@ -5,7 +5,7 @@
<div
class=
"searchWrap"
>
<el-col
:span=
"11"
>
<el-date-picker
v-model=
"search.targetDate"
:clearable=
"false"
type=
"month"
format=
"yyyy 年 MM 月"
value-format=
"yyyy-MM"
:picker-options=
"pickerOptions"
placeholder=
"选择月"
/>
@
change=
"getList"
value-format=
"yyyy-MM"
:picker-options=
"pickerOptions"
placeholder=
"选择月"
/>
</el-col>
<el-col
:span=
"9"
>
<el-input
v-model=
"search.keyword"
clearable
placeholder=
"输入门店名称搜索"
/>
...
...
@@ -165,16 +165,31 @@ export default {
return
'background:#F4F6FC'
},
async
handleConfirmImport
()
{
cons
t
filterList
=
this
.
tableData
.
filter
((
item
)
=>
{
le
t
filterList
=
this
.
tableData
.
filter
((
item
)
=>
{
// 删除无需字段 避免后台类型报错
delete
item
.
createdDate
delete
item
.
updatedDate
// delete item.createdDate
// delete item.updatedDate
// delete item.createdBy
// delete item.updatedBy
// delete item.deletedFlag
// delete item.targetDate
return
(
item
.
isEdit
&&
item
.
outputValue
)
||
item
.
deployScene
||
item
.
businessScene
})
filterList
=
filterList
.
map
((
item
)
=>
{
return
{
merchantName
:
item
.
merchantName
,
merchantId
:
item
.
merchantId
,
outputValue
:
item
.
outputValue
,
deployScene
:
item
.
deployScene
,
businessScene
:
item
.
businessScene
,
dataMonth
:
item
.
dataMonth
}
})
if
(
filterList
.
length
)
{
// console.log('请求修改')
// const result =
await
setMerchantOutputValueTarget
({
list
:
filterList
})
// await setMerchantOutputValueTarget({ list: filterList })
await
setMerchantOutputValueTarget
({
dataString
:
JSON
.
stringify
(
filterList
)
})
// console.log(result)
}
// else {
...
...
src/views/orderManage/signRefundDialog.vue
View file @
d12a97b
<!-- 下载对账单 -->
<
template
>
<d2-dialog
title=
"退款备注"
:is-visible=
"signRefundVisible"
class=
"accountDailog"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
<el-form
ref=
"refundForm"
:model=
"infoForm"
:rules=
"formRules"
>
<d2-dialog
title=
"退款备注"
:is-visible=
"signRefundVisible"
class=
"accountDailog"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
<el-form
ref=
"refundForm"
:model=
"infoForm"
:rules=
"formRules"
>
<el-form-item
prop=
"remark"
>
<el-input
v-clear-emoij
type=
"textarea"
:rows=
"5"
placeholder=
"不超过100个字。"
maxlength=
"100"
show-word-limit
v-model=
"infoForm.remark"
/>
<el-input
v-clear-emoij
type=
"textarea"
:rows=
"5"
placeholder=
"不超过100个字。"
maxlength=
"100"
show-word-limit
v-model=
"infoForm.remark"
/>
</el-form-item>
</el-form>
</d2-dialog>
...
...
@@ -85,11 +75,12 @@ export default {
}
}
</
script
>
<
style
>
<
style
scoped
>
.accountDailog
.el-dialog
{
margin-top
:
20vh
!important
;
min-width
:
700px
;
}
.accountDailog
.el-select-dropdown__item
{
width
:
395px
!important
;
}
...
...
src/views/purchase/components/EditOrderDialog.vue
View file @
d12a97b
...
...
@@ -208,8 +208,7 @@ export default {
}
const
attrNameList
=
[
'upgradeGoodsId'
,
'type'
,
'upgradeGoodsName'
,
'conversionValue'
,
'goodsName'
,
'goodsCode'
,
'goodsType'
,
'goodsTypeName'
]
this
.
detailInfo
.
tableData
.
forEach
((
item
,
idx
)
=>
{
console
.
log
(
this
.
nowPurNumList
[
idx
])
if
(
this
.
nowPurNumList
[
idx
]
!=
0
)
{
if
(
this
.
nowPurNumList
[
idx
]
&&
this
.
nowPurNumList
[
idx
]
!=
0
)
{
params
.
deliveryDetailList
.
push
({
...
_
.
pick
(
item
,
attrNameList
),
purchaseNumber
:
this
.
nowPurNumList
[
idx
]
...
...
src/views/purchase/components/orderDetailDialog.vue
View file @
d12a97b
...
...
@@ -66,6 +66,9 @@ export default {
}
}
},
mounted
()
{
this
.
dynamicParams
()
},
data
()
{
return
{
dialogConfig
:
{
...
...
@@ -106,7 +109,17 @@ export default {
label
:
'采购数量'
,
prop
:
'goodsNumber'
,
formatter
:
(
cellValue
)
=>
{
return
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
`
${
cellValue
.
goodsNumber
}
卷/
${
cellValue
.
conversionValue
?
cellValue
.
goodsNumber
*
cellValue
.
conversionValue
:
'-'
}
米`
:
`
${
cellValue
.
goodsNumber
}
件`
// return membraneTypeList.includes(cellValue.goodsType) ? `${cellValue.goodsNumber}卷/${cellValue.conversionValue ? cellValue.goodsNumber * cellValue.conversionValue : '-'}米` : `${cellValue.goodsNumber}件`
let
condition
=
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
`
${
cellValue
.
goodsNumber
}
卷`
:
`
${
cellValue
.
goodsNumber
}
件`
return
this
.
paramsObj
.
purchaseType
==
1
?
condition
:
`
${
cellValue
.
goodsNumber
}
件`
}
},
{
label
:
'库存总量'
,
prop
:
'goodsTypeName'
,
formatter
:
cellValue
=>
{
let
condition
=
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
`
${
cellValue
.
conversionValue
?
cellValue
.
goodsNumber
*
cellValue
.
conversionValue
:
'-'
}
米`
:
`
${
cellValue
.
goodsNumber
}
件`
return
this
.
paramsObj
.
purchaseType
==
1
?
condition
:
`
${
cellValue
.
goodsNumber
}
件`
}
},
{
...
...
@@ -122,6 +135,42 @@ export default {
}
},
methods
:
{
dynamicParams
()
{
console
.
log
(
this
.
paramsObj
.
purchaseType
);
if
(
this
.
paramsObj
.
purchaseType
==
1
)
{
this
.
tableParams
.
tableColumns
.
push
(
{
label
:
'已发货数量'
,
prop
:
'purchaseNumber'
,
width
:
110
,
line
:
1
},
{
label
:
'已入库数量'
,
prop
:
'inputNumber'
,
width
:
110
,
line
:
1
}
)
}
else
{
this
.
tableParams
.
tableColumns
.
push
(
{
label
:
'入库仓库'
,
prop
:
'putYqMerchantName'
,
width
:
100
,
line
:
1
},
{
label
:
'入库门店'
,
prop
:
'putMerchantName'
,
width
:
100
,
line
:
1
}
)
}
},
handleDetailClose
()
{
this
.
dialogShow
=
false
},
...
...
src/views/purchase/components/rejectDialog.vue
View file @
d12a97b
<!-- 驳回 -->
<
template
>
<d2-dialog
title=
"驳回提示"
:is-visible=
"rejectVisible"
class=
"accountDailog"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
<baseDialog
:dialog-config=
"dialogConfig"
:is-show
.
sync=
"visible"
class=
"accountDailog"
@
handleClick=
"handleAddConfirm"
>
<div
class=
"reject-dialog"
>
<el-form
ref=
"refundForm"
label-width=
"150px"
:model=
"infoForm"
:rules=
"formRules"
>
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
<el-input
type=
"textarea"
placeholder=
"请输入驳回原因"
maxlength=
"50"
show-word-limit
v-model=
"infoForm.rejectCause"
class=
"dis-in-block reject-input"
/>
<el-form
ref=
"refundForm"
label-width=
"150px"
:model=
"infoForm"
:rules=
"formRules"
>
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
<el-input
type=
"textarea"
placeholder=
"请输入驳回原因"
maxlength=
"50"
show-word-limit
v-model=
"infoForm.rejectCause"
:row=
"3"
class=
"dis-in-block reject-input"
/>
</el-form-item>
</el-form>
</div>
</
d2-d
ialog>
</
baseD
ialog>
</
template
>
<
script
>
...
...
@@ -35,7 +23,10 @@ export default {
infoForm
:
{
rejectCause
:
''
},
dialogConfig
:
{
title
:
'驳回提示'
,
width
:
'750px'
},
formRules
:
{
rejectCause
:
[{
required
:
true
,
message
:
'请输入驳回原因'
,
trigger
:
'change'
}]
}
...
...
@@ -52,6 +43,21 @@ export default {
default
:
{}
}
},
computed
:
{
visible
:
{
get
()
{
// if (this.visible) {
// // 注册全局监听事件 [ 目前只考虑鼠标解除触发 ]
// window.addEventListener('mousedown', this.watchContextmenu)
// }
return
this
.
rejectVisible
},
set
(
newVal
)
{
this
.
$emit
(
'dialogClose'
,
newVal
)
// this.$emit('update:visible', newVal)
}
}
},
watch
:
{
},
...
...
@@ -67,15 +73,19 @@ export default {
methods
:
{
handleAddConfirm
()
{
// return
this
.
$refs
.
refundForm
.
validate
(
valid
=>
{
if
(
valid
)
{
// console.log(valid)
// return
var
infoForm
=
deepClone
(
this
.
infoForm
)
var
params
=
{}
params
.
rejectCause
=
infoForm
.
rejectCause
params
.
orderCode
=
this
.
paramsObj
.
orderCode
purchaseOrderReject
(
params
).
then
(
res
=>
{
this
.
notice
.
okTips
(
'操作成功'
)
this
.
handleClose
(
true
)
// this.handleClose(true)
this
.
visible
=
true
})
}
})
...
...
@@ -90,16 +100,19 @@ export default {
<
style
lang=
"scss"
scoped
>
.reject-dialog
{
margin
:
65px
0
;
.reject-input
.el-textarea__inner
{
height
:
79px
;
width
:
432px
;
}
.el-textarea
.el-input__count
{
right
:
90px
;
bottom
:
-10px
;
font-size
:
12px
;
color
:
#999999
;
}
.tips
{
color
:
#999999
;
}
...
...
src/views/purchase/constant/index.js
View file @
d12a97b
...
...
@@ -26,7 +26,7 @@ export const defaultDeliveryStatusOptions = [
},
{
id
:
2
,
label
:
"
已
发货"
label
:
"
全部
发货"
},
{
id
:
3
,
...
...
@@ -42,7 +42,11 @@ export const defaultPutStatusOptions = [
},
{
id
:
2
,
label
:
"已入库"
label
:
"全部入库"
},
{
id
:
3
,
label
:
"部分入库"
}
]
...
...
@@ -69,3 +73,15 @@ export const purchasingPatternOptions = [
// 5: "按(产值-流量成本-其他费用不包含产品成本))比例",
// 6: "按(产值-流量成本-其他费用包含产品成本)比例"
// }
//采购类型
export
const
purchaseTypeList
=
[
{
id
:
1
,
label
:
"商城采购"
},
{
id
:
2
,
label
:
"自采入库"
}
]
src/views/purchase/invoiceRecord.vue
View file @
d12a97b
...
...
@@ -62,7 +62,7 @@ export default {
deliveryNumber
:
''
,
deliveryCompany
:
''
,
deliveryDate
:
''
,
orderCode
:
''
,
orderCode
:
this
.
$route
.
params
.
orderCode
||
''
,
merchantName
:
''
,
putStatus
:
''
},
...
...
src/views/purchase/procurementReview.vue
View file @
d12a97b
<!-- 采购审核 -->
<
template
>
<d2-container
class=
"container"
>
<div
class=
"header"
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
@
handleChangeSelect=
"handleChangeSelect"
:form-data=
"showFormData"
>
<div
class=
"header"
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
@
handleChangeSelect=
"handleChangeSelect"
:form-data=
"showFormData"
>
</d2-search>
<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
size=
"small"
@
click=
"handleReset"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
</div>
...
...
@@ -29,30 +21,18 @@
<auth-button
category=
"Button"
/>
</span>
<span>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
导出
</el-button>
</span>
</d2-table-header>
<d2-table
ref=
"purchasementReviewTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
<d2-table
ref=
"purchasementReviewTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
</d2-table>
</div>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<rejectDialog
:reject-visible=
"rejectVisible"
v-if=
"rejectVisible"
:params-obj=
"paramsObj"
@
dialogClose=
"dialogClose"
>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
v-if=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<rejectDialog
:reject-visible=
"rejectVisible"
v-if=
"rejectVisible"
:params-obj=
"paramsObj"
@
dialogClose=
"dialogClose"
>
</rejectDialog>
</d2-container>
</
template
>
...
...
@@ -139,7 +119,8 @@ export default {
optionId
:
'id'
,
optionLabel
:
'label'
,
optionsName
:
'purchasingPatternOptions'
},
{
},
{
label
:
'发货主体'
,
name
:
'sendOutMerchantName'
,
type
:
'input'
,
...
...
@@ -198,7 +179,10 @@ export default {
},
{
label
:
'发货主体'
,
prop
:
'sendOutMerchantName'
prop
:
'sendOutMerchantName'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
sendOutMerchantName
?
cellValue
.
sendOutMerchantName
:
'-'
}
},
{
label
:
'发货状态'
,
...
...
@@ -208,8 +192,9 @@ export default {
},
className
:
(
cellValue
)
=>
{
return
{
1
:
'yellowSpot'
,
2
:
'greenSpot'
1
:
'ashSpot'
,
2
:
'greenSpot'
,
3
:
'yellowSpot'
}[
cellValue
.
deliveryStatus
]
}
},
...
...
@@ -360,11 +345,12 @@ export default {
handleDetail
(
row
)
{
this
.
paramsObj
=
{
orderCode
:
row
.
orderCode
,
merchantName
:
row
.
merchantName
merchantName
:
row
.
merchantName
,
purchaseType
:
row
.
purchaseType
}
this
.
detailVisible
=
true
},
//驳回
//
驳回
handleReject
(
row
)
{
this
.
paramsObj
=
{
orderCode
:
row
.
orderCode
...
...
@@ -372,14 +358,14 @@ export default {
this
.
rejectVisible
=
true
},
dialogClose
(
flag
)
{
console
.
log
(
flag
)
this
.
rejectVisible
=
!
this
.
rejectVisible
if
(
flag
)
{
this
.
$refs
.
purchasementReviewTable
.
refreshTable
()
}
}
,
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
</
style
>
<
style
lang=
"scss"
scoped
></
style
>
src/views/purchase/purchaseAndDelivery.vue
View file @
d12a97b
<!-- 采购发货 -->
<
template
>
<d2-container
class=
"container"
>
<div
class=
"header"
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
>
<div
class=
"header"
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
>
</d2-search>
<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
size=
"small"
@
click=
"handleReset"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
</div>
...
...
@@ -28,75 +20,51 @@
<auth-button
category=
"Button"
/>
</span>
<span>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"handleExport"
>
导出
</el-button>
</span>
</d2-table-header>
<d2-table
ref=
"purchaseAndDeliveryTable"
:search-form=
"tableSearchForm"
:table-params=
"tableParams"
:table-data=
"tableData"
:get-list-api=
"getListApi"
:before-search-fn=
"beforeSearchFn"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<d2-table
ref=
"purchaseAndDeliveryTable"
: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;"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090401']"
/>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090401']"
/>
</span>
<!-- 确认发货 -->
<span
v-show=
"scope.scope.status == 2"
style=
"margin-right: 10px;"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090402']"
/>
<span
v-show=
"scope.scope.status == 2"
style=
"margin-right: 10px;"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090402']"
/>
</span>
<!-- 驳回 -->
<span
v-show=
"scope.scope.deliveryStatus == 1"
>
<!--
<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>
</div>
</d2-table>
</div>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<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"
>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
v-if=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<EditOrderDialog
v-if=
"editVisible"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
@
editClose=
"editClose"
>
</EditOrderDialog>
<!-- :config="rejectConfig.setting" :dialog-config="rejectConfig.config" :config="rejectConfig.setting"-->
<baseDialog
:is-show
.
sync=
"rejectVisible"
:dialog-config=
"rejectConfig.config"
@
handleClick=
"handleRejectConfirm"
>
<!--
<d2-dialog
v-if=
"rejectVisible"
:is-visible=
"rejectVisible"
title=
"驳回提2"
@
confirmDialog=
"handleRejectConfirm"
@
closeDialog=
"handleRejectClose"
>
-->
<div
class=
"reject-dialog"
>
<el-form
:rules=
"rejectRules"
:model=
"rejectData"
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
:rules=
"rejectRules"
:model=
"rejectData"
label-width=
"150px"
ref=
"delivery-dialog-form"
>
<el-form-item
label=
"驳回原因:"
prop=
"rejectCause"
>
<el-input
type=
"textarea"
placeholder=
"请输入驳回原因"
maxlength=
"50"
:rows=
"3"
show-word-limit
v-model
.
trim=
"rejectData.rejectCause"
class=
"dis-in-block reject-input"
/>
</el-form-item>
</el-form>
</div>
<div
class=
"footer"
>
<
!--
<
div
class=
"footer"
>
<el-button
@
click=
"handleRejectClose"
>
取消
</el-button>
<el-button
@
click=
"handleRejectConfirm"
type=
"primary"
v-preventReClick
:loading=
"$store.state.d2admin.loading.value"
>
确认
</el-button>
</div>
<el-button
@
click=
"handleRejectConfirm"
type=
"primary"
v-preventReClick
:loading=
"$store.state.d2admin.loading.value"
>
确认
</el-button>
</div>
-->
<!--
</d2-dialog>
-->
</baseDialog>
</d2-container>
</
template
>
...
...
@@ -125,9 +93,10 @@ export default {
rejectConfig
:
{
setting
:
{
showClose
:
true
,
appendToBody
:
true
,
btnList
:
[
]
// appendToBody: true,
isShowFooter
:
true
// btnList: [
// ]
},
config
:
{
title
:
'驳回提示'
,
...
...
@@ -259,7 +228,10 @@ export default {
},
{
label
:
'发货主体'
,
prop
:
'sendOutMerchantName'
prop
:
'sendOutMerchantName'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
sendOutMerchantName
?
cellValue
.
sendOutMerchantName
:
'-'
}
},
{
label
:
'发货状态'
,
...
...
@@ -269,9 +241,9 @@ export default {
},
className
:
(
cellValue
)
=>
{
return
{
1
:
'
yellow
Spot'
,
1
:
'
ash
Spot'
,
2
:
'greenSpot'
,
3
:
'
ash
Spot'
3
:
'
yellow
Spot'
}[
cellValue
.
deliveryStatus
]
}
},
...
...
@@ -430,6 +402,8 @@ export default {
handleRejectConfirm
()
{
this
.
$refs
[
'delivery-dialog-form'
].
validate
(
valid
=>
{
if
(
valid
)
{
// console.log(valid)
// return
purchaseOrderReject
({
...
this
.
rejectData
}).
then
(
res
=>
{
this
.
handleRejectClose
()
this
.
notice
.
okTips
()
...
...
@@ -452,26 +426,30 @@ export default {
handleDetail
(
row
)
{
this
.
paramsObj
=
{
orderCode
:
row
.
orderCode
,
merchantName
:
row
.
merchantName
merchantName
:
row
.
merchantName
,
purchaseType
:
row
.
purchaseType
}
this
.
detailVisible
=
true
}
}
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.reject-dialog
{
margin
:
65px
0
;
.reject-input
.el-textarea__inner
{
height
:
79px
;
width
:
432px
;
}
.el-textarea
.el-input__count
{
right
:
90px
;
bottom
:
-10px
;
font-size
:
12px
;
color
:
#999999
;
}
.tips
{
color
:
#999999
;
}
...
...
src/views/purchase/purchaseOrder.vue
View file @
d12a97b
...
...
@@ -56,21 +56,28 @@
:show-btn-ids=
"['9090103']"
/>
</span>
<!-- 入库 -->
<span
v-show=
"scope.scope.putStatus == 1 && !userInfo.beSuper && userInfo.beYQMerchant"
>
<span
style=
"margin-right: 10px;"
v-show=
"scope.scope.putStatus == 1 && !userInfo.beSuper && userInfo.beYQMerchant"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090104']"
/>
</span>
<span
style=
"margin-right: 10px;"
v-show=
"(scope.scope.purchaseType == 1 && scope.scope.deliveryStatus == 2) || (scope.scope.purchaseType == 1 && scope.scope.deliveryStatus == 3)"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090105']"
/>
</span>
</div>
</d2-table>
</div>
<orderDeatilDialog
:visible
.
sync=
"detailVisible"
v-if=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
</d2-container>
</
template
>
<
script
>
import
{
Util
,
deepClone
}
from
'@/common/util'
import
{
defaultStatusOptions
,
defaultDeliveryStatusOptions
,
defaultPutStatusOptions
}
from
'./constant'
import
{
defaultStatusOptions
,
defaultDeliveryStatusOptions
,
defaultPutStatusOptions
,
purchaseTypeList
}
from
'./constant'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
getPurchaseOrderList
,
getMerchantList
,
purchaseOrderCancelOrCheck
,
purchaseOrderPutIn
}
from
'@/api/purchaseShopping.js'
import
orderDeatilDialog
from
'./components/orderDetailDialog'
...
...
@@ -92,7 +99,8 @@ export default {
putMerchantName
:
''
,
sortType
:
1
,
orderTimeStr
:
[],
putTimeStr
:
[]
// putTimeStr: [],
purchaseType
:
''
},
tableSearchForm
:
{},
tableData
:
[],
...
...
@@ -104,6 +112,19 @@ export default {
isClear
:
true
},
{
label
:
'下单时间'
,
name
:
'placeOrderTimeStr'
,
type
:
'datePicker'
,
isClear
:
true
,
pickerOptions
:
'rangePickerOptions'
},
{
label
:
'下单商户'
,
name
:
'merchantName'
,
type
:
'input'
,
isClear
:
true
},
{
label
:
'订单状态'
,
name
:
'status'
,
type
:
'select'
,
...
...
@@ -131,19 +152,21 @@ export default {
optionsName
:
'defaultPutStatusOptions'
},
{
label
:
'下单时间'
,
name
:
'placeOrderTimeStr'
,
type
:
'datePicker'
,
isClear
:
true
,
pickerOptions
:
'rangePickerOptions'
},
{
label
:
'入库时间'
,
name
:
'warehousingTimeStr'
,
type
:
'datePicker'
,
isClear
:
true
,
pickerOptions
:
'rangePickerOptions'
},
label
:
'采购类型'
,
name
:
'purchaseType'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'id'
,
optionLabel
:
'label'
,
optionsName
:
'purchaseTypeList'
}
// {
// label: '入库时间',
// name: 'warehousingTimeStr',
// type: 'datePicker',
// isClear: true,
// pickerOptions: 'rangePickerOptions'
// },
// {
// label: '下单门店',
// name: 'merchantId',
...
...
@@ -153,12 +176,6 @@ export default {
// optionLabel: 'merchantName',
// optionsName: 'merchantName'
// },
{
label
:
'下单门店'
,
name
:
'merchantName'
,
type
:
'input'
,
isClear
:
true
},
// {
// label: '入库门店',
// name: 'putMerchantId',
...
...
@@ -168,12 +185,12 @@ export default {
// optionLabel: 'merchantName',
// optionsName: 'merchantName'
// }
{
label
:
'入库门店'
,
name
:
'putMerchantName'
,
type
:
'input'
,
isClear
:
true
},
//
{
//
label: '入库门店',
//
name: 'putMerchantName',
//
type: 'input',
//
isClear: true
//
},
],
getListApi
:
getPurchaseOrderList
,
// 表格参数
...
...
@@ -202,10 +219,17 @@ export default {
width
:
150
},
{
label
:
'下单
门店
'
,
label
:
'下单
商户
'
,
prop
:
'merchantName'
},
{
label
:
'采购类型'
,
prop
:
'purchaseType'
,
formatter
:
(
cellValue
)
=>
{
return
purchaseTypeList
.
find
(
item
=>
item
.
id
==
cellValue
.
purchaseType
)?.
label
||
'-'
}
},
{
label
:
'发货状态'
,
prop
:
'deliveryStatus'
,
formatter
:
(
cellValue
)
=>
{
...
...
@@ -213,25 +237,26 @@ export default {
},
className
:
(
cellValue
)
=>
{
return
{
1
:
'yellowSpot'
,
2
:
'greenSpot'
1
:
'ashSpot'
,
2
:
'greenSpot'
,
3
:
'yellowSpot'
}[
cellValue
.
deliveryStatus
]
}
},
{
label
:
'承运公司'
,
prop
:
'deliveryCompany'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
deliveryCompany
||
'--'
}
},
{
label
:
'承运单号'
,
prop
:
'deliveryNumber'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
deliveryNumber
||
'--'
}
},
//
{
//
label: '承运公司',
//
prop: 'deliveryCompany',
//
formatter: (cellValue) => {
//
return cellValue.deliveryCompany || '--'
//
}
//
},
//
{
//
label: '承运单号',
//
prop: 'deliveryNumber',
//
formatter: (cellValue) => {
//
return cellValue.deliveryNumber || '--'
//
}
//
},
{
label
:
'入库状态'
,
prop
:
'putStatus'
,
...
...
@@ -240,26 +265,27 @@ export default {
},
className
:
(
cellValue
)
=>
{
return
{
1
:
'yellowSpot'
,
2
:
'greenSpot'
1
:
'ashSpot'
,
2
:
'greenSpot'
,
3
:
'yellowSpot'
}[
cellValue
.
putStatus
]
}
},
{
label
:
'入库时间'
,
prop
:
'putTime'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
putTime
?
Util
.
dateFormate
(
cellValue
.
putTime
,
'YYYY-MM-DD HH:mm:ss'
)
:
'--'
},
width
:
150
},
{
label
:
'入库门店'
,
prop
:
'putMerchantName'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
putMerchantName
||
'--'
}
},
//
{
//
label: '入库时间',
//
prop: 'putTime',
//
formatter: (cellValue) => {
//
return cellValue.putTime ? Util.dateFormate(cellValue.putTime, 'YYYY-MM-DD HH:mm:ss') : '--'
//
},
//
width: 150
//
},
//
{
//
label: '入库门店',
//
prop: 'putMerchantName',
//
formatter: (cellValue) => {
//
return cellValue.putMerchantName || '--'
//
}
//
},
{
label
:
'订单状态'
,
prop
:
'status'
,
...
...
@@ -283,7 +309,8 @@ export default {
baseData
:
{
defaultStatusOptions
:
[],
defaultDeliveryStatusOptions
:
[],
defaultPutStatusOptions
:
[]
defaultPutStatusOptions
:
[],
purchaseTypeList
:
[]
},
paramsObj
:
{}
}
...
...
@@ -315,7 +342,8 @@ export default {
this
.
baseData
=
{
defaultStatusOptions
:
deepClone
(
defaultStatusOptions
),
defaultDeliveryStatusOptions
:
deepClone
(
defaultDeliveryStatusOptions
),
defaultPutStatusOptions
:
deepClone
(
defaultPutStatusOptions
)
defaultPutStatusOptions
:
deepClone
(
defaultPutStatusOptions
),
purchaseTypeList
:
deepClone
(
purchaseTypeList
)
}
this
.
showFormData
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
type
===
'select'
&&
this
.
baseData
[
item
.
optionsName
])
{
...
...
@@ -341,11 +369,11 @@ export default {
this
.
tableSearchForm
.
orderTimeStr
[
1
]
=
new
Date
(
this
.
tableSearchForm
.
placeOrderTimeStr
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 23:59:59'
delete
this
.
tableSearchForm
.
placeOrderTimeStr
}
if
(
this
.
tableSearchForm
.
warehousingTimeStr
)
{
this
.
tableSearchForm
.
putTimeStr
[
0
]
=
new
Date
(
this
.
tableSearchForm
.
warehousingTimeStr
[
0
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 00:00:00'
this
.
tableSearchForm
.
putTimeStr
[
1
]
=
new
Date
(
this
.
tableSearchForm
.
warehousingTimeStr
[
1
]).
toLocaleDateString
().
replace
(
/
\/
/g
,
'-'
)
+
' 23:59:59'
delete
this
.
tableSearchForm
.
warehousingTimeStr
}
//
if (this.tableSearchForm.warehousingTimeStr) {
//
this.tableSearchForm.putTimeStr[0] = new Date(this.tableSearchForm.warehousingTimeStr[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00'
//
this.tableSearchForm.putTimeStr[1] = new Date(this.tableSearchForm.warehousingTimeStr[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59'
//
delete this.tableSearchForm.warehousingTimeStr
//
}
},
handleReset
()
{
for
(
const
key
in
this
.
searchForm
)
{
...
...
@@ -353,7 +381,7 @@ export default {
}
this
.
searchForm
.
sortType
=
1
this
.
searchForm
.
orderTimeStr
=
[]
this
.
searchForm
.
putTimeStr
=
[]
//
this.searchForm.putTimeStr = []
this
.
$refs
.
purchaseOrderTable
.
refreshTable
()
},
// 创建采购
...
...
@@ -422,9 +450,19 @@ export default {
handleDetail
(
row
)
{
this
.
paramsObj
=
{
orderCode
:
row
.
orderCode
,
merchantName
:
row
.
merchantName
merchantName
:
row
.
merchantName
,
purchaseType
:
row
.
purchaseType
}
this
.
detailVisible
=
true
},
//发货单
handleSendgoods
(
row
)
{
this
.
$router
.
push
({
name
:
'invoiceRecord'
,
params
:
{
orderCode
:
row
.
orderCode
}
})
}
}
}
...
...
src/views/rightsAndInterestsManage/components/ruleConfigurationDialog.vue
View file @
d12a97b
...
...
@@ -323,8 +323,10 @@ export default {
},
methods
:
{
validateAccount
(
rule
,
value
,
callback
,
item
)
{
console
.
log
(
item
)
value
<
item
.
low
// console.log(item)
// console.log(value)
// 避免字符串转换问题
Number
(
value
)
<
Number
(
item
.
low
)
?
callback
(
new
Error
(
`价格不能小于
${
item
.
low
}
万元`
))
:
callback
()
},
...
...
src/views/stockManage/warehousing/warehousingList.vue
View file @
d12a97b
...
...
@@ -2,21 +2,13 @@
<
template
>
<div>
<d2-container>
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px;"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px;"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
>
查询
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
</div>
...
...
@@ -25,14 +17,9 @@
<d2-table-header>
<auth-button
category=
"Button"
/>
</d2-table-header>
<d2-table
ref=
"recordTable"
:get-list-api=
"getListApi"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
<d2-table
ref=
"recordTable"
:get-list-api=
"getListApi"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
>
<auth-button
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
/>
</d2-table>
</div>
</d2-container>
...
...
@@ -231,6 +218,10 @@ export default {
{
confId
:
'3'
,
confLabel
:
'调拨入库'
},
{
confId
:
'4'
,
confLabel
:
'订单入库'
}
],
productTypeList
:
[],
...
...
@@ -276,10 +267,10 @@ export default {
yqMerchantId
:
merchantId
}).
then
(
res
=>
{
this
.
baseData
.
merchantIdList
=
res
||
[]
//总店
le
t
_headOffice
=
this
.
baseData
.
yqMerchantList
.
find
(
item
=>
item
.
merchantNo
===
merchantId
)
//
总店
cons
t
_headOffice
=
this
.
baseData
.
yqMerchantList
.
find
(
item
=>
item
.
merchantNo
===
merchantId
)
_headOffice
.
merchantId
=
_headOffice
.
merchantNo
//门店选项中加入总店
//
门店选项中加入总店
this
.
baseData
.
merchantIdList
.
push
(
_headOffice
)
this
.
getOptionsList
()
})
...
...
src/views/systemConfig/merchant/setDetail.vue
View file @
d12a97b
This diff is collapsed.
Click to expand it.
src/views/systemConfig/serviceManage/serviceManage.vue
View file @
d12a97b
...
...
@@ -73,12 +73,15 @@ export default {
tableOption
:
true
,
tableColumns
:
[{
label
:
'服务商名称'
,
width
:
180
,
prop
:
'partnerMerchantName'
},
{
label
:
'商户号'
,
width
:
150
,
prop
:
'partnerMerchantId'
},
{
label
:
'登录账号'
,
width
:
150
,
prop
:
'accountName'
},
{
label
:
'采购模式'
,
...
...
@@ -95,21 +98,41 @@ export default {
}
},
{
label
:
'下级园区店'
,
prop
:
'subMerchantName'
,
prop
:
''
,
html
:
true
,
width
:
200
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
?.
subMerchantName
||
'-'
var
html
=
'-'
var
list
=
[]
if
(
cellValue
.
subMerchantsInfo
&&
cellValue
.
subMerchantsInfo
.
length
>
0
)
{
cellValue
.
subMerchantsInfo
.
map
(
item
=>
{
list
.
push
(
item
.
merchantName
)
})
html
=
list
.
join
(
'<br>'
)
}
return
html
}
},
{
label
:
'下级园区店商户号'
,
width
:
'180'
,
prop
:
'subMerchantName'
,
prop
:
''
,
html
:
true
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
?.
subMerchantId
||
'-'
var
html
=
'-'
var
list
=
[]
if
(
cellValue
.
subMerchantsInfo
&&
cellValue
.
subMerchantsInfo
.
length
>
0
)
{
cellValue
.
subMerchantsInfo
.
map
(
item
=>
{
list
.
push
(
item
.
merchantId
)
})
html
=
list
.
join
(
'<br>'
)
}
return
html
}
},
{
label
:
'关联园区店'
,
prop
:
'yqMerchantId'
,
html
:
true
,
width
:
200
,
formatter
:
(
cellValue
)
=>
{
var
html
=
''
var
list
=
[]
...
...
src/views/vehicleDamage/vehicleDamageList.vue
View file @
d12a97b
...
...
@@ -2,52 +2,34 @@
<
template
>
<div>
<d2-container>
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
>
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
>
查询
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
</div>
</div>
<div
class=
"d2-container-content"
>
<d2-table-header>
<el-button
class=
"default-blue-btn"
plain
@
click=
"handleExport"
size=
"small"
>
导出
</el-button>
<el-button
class=
"default-blue-btn"
plain
@
click=
"handleExport"
size=
"small"
>
导出
</el-button>
</d2-table-header>
<d2-table
ref=
"damageTable"
:get-list-api=
"getListApi"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
>
<div
slot-scope=
"scope"
slot=
"auth-button"
class=
"btnClass"
>
<d2-table
ref=
"damageTable"
:get-list-api=
"getListApi"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
>
<div
slot-scope=
"scope"
slot=
"auth-button"
class=
"btnClass"
>
<!-- 查看 -->
<!--
<auth-button
v-if=
"[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)"
:show-btn-ids=
"['9040601']"
:data=
"scope.scope"
/>
-->
<!-- 打印报价单 -->
<auth-button
v-if=
"[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)"
:show-btn-ids=
"['9040603']
"
:data=
"scope.scope"
/>
<auth-button
v-if=
"[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)
"
:show-btn-ids=
"['9040603']"
:data=
"scope.scope"
/>
<!-- 打印合同 -->
<auth-button
v-if=
"[2].includes(scope.scope.equityOrderStatus) && [3, 5].includes(scope.scope.orderStatus)"
:show-btn-ids=
"['9040605']"
:data=
"scope.scope"
/>
<auth-button
:show-btn-ids=
"['9040602']"
:data=
"scope.scope"
/>
:show-btn-ids=
"['9040605']"
:data=
"scope.scope"
/>
<auth-button
:show-btn-ids=
"['9040602']"
:data=
"scope.scope"
/>
</div>
</d2-table>
</div>
...
...
@@ -175,17 +157,26 @@ export default {
{
label
:
"报价金额/元"
,
prop
:
"quotedPrice"
,
width
:
"200px"
width
:
"200px"
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
quotedPrice
?
(
cellValue
.
quotedPrice
/
100
).
toFixed
(
2
)
:
"-"
}
},
{
label
:
"预计权益金额/元"
,
prop
:
"estEquityPrice"
,
width
:
"250px"
width
:
"250px"
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
estEquityPrice
?
(
cellValue
.
estEquityPrice
/
100
).
toFixed
(
2
)
:
"-"
}
},
{
label
:
"实际权益金额/元"
,
prop
:
"equityPrice"
,
width
:
"250px"
width
:
"250px"
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
equityPrice
?
(
cellValue
.
equityPrice
/
100
).
toFixed
(
2
)
:
"-"
}
},
{
label
:
"商户名称"
,
...
...
vue.config.js
View file @
d12a97b
...
...
@@ -74,19 +74,19 @@ module.exports = {
// lintOnSave: true,
lintOnSave
:
false
,
devServer
:
{
// port: 8082,
// publicPath, // 和 publicPath 保持一致
// port: 8082,
// proxy: {
// "/
dj-carlife-web
": {
// //
拦截链接中有/musicApi
// target: "http://
192.168.3.226:9203
/rop-dj-smartcarlife/router", // API服务器的地址
// "/
api
": {
// //
target: "http://192.168.3.102:9203/rop-dj-smartcarlife/router", // API服务器的地址
// target: "http://
dj.glsx.com.cn
/rop-dj-smartcarlife/router", // API服务器的地址
// changeOrigin: true,
// pathRewrite: {
//
// "^/dev-api/vue-admin-template/user/login": "/user
"
//
"^/api": "
"
// }
// }
// },
https
:
fals
e
,
// https: tru
e,
host
:
getIpAddress
()
},
css
:
{
...
...
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