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 418a72da
authored
May 30, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第三轮BUG修复
1 parent
b700dd6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
33 deletions
src/views/purchase/components/orderDetailDialog.vue
src/views/purchase/purchaseAndDelivery.vue
src/views/purchase/components/orderDetailDialog.vue
View file @
418a72d
<
template
>
<baseDialog
:is-show
.
sync=
"dialogShow"
:config=
"dialogConfig.setting"
:dialog-config=
"dialogConfig.config"
@
closeDialog=
"handleDetailClose"
>
<div
class=
"detail-content"
v-if=
"dialogShow"
>
<baseDialog
:is-show
.
sync=
"dialogShow"
:config=
"dialogConfig.setting"
:dialog-config=
"dialogConfig.config"
@
closeDialog=
"handleDetailClose"
>
<div
class=
"detail-content"
v-if=
"dialogShow"
>
<div
class=
"addressTitle"
>
<img
src=
"../images/addressIcon.webp"
alt=
""
class=
"icon"
>
<img
src=
"../images/addressIcon.webp"
alt=
""
class=
"icon"
>
<span
class=
"title"
>
{{
paramsObj
.
merchantName
}}
</span>
</div>
<div
class=
"address-info"
>
...
...
@@ -16,23 +21,31 @@
<span
class=
"address"
>
驳回原因:
<span
class=
"label"
>
{{
detailInfo
.
rejectCause
}}
</span></span>
</div>
-->
<div
class=
"table-class"
>
<d2-table
ref=
"purchaseOrderDetailTable"
:table-params=
"tableParams"
@
refreshTable=
"refreshTable"
:table-data=
"detailInfo.tableData"
:table-total=
"detailInfo.tableTotal"
>
<d2-table
ref=
"purchaseOrderDetailTable"
:table-params=
"tableParams"
@
refreshTable=
"refreshTable"
:table-data=
"detailInfo.tableData"
:table-total=
"detailInfo.tableTotal"
>
</d2-table>
</div>
<div
class=
"examine-record"
v-if=
"detailInfo.auditDetaiList"
>
<div
class=
"examine-record"
v-if=
"detailInfo.auditDetaiList"
>
<div
class=
"title"
>
审核记录
</div>
<div
class=
"record-div"
>
<div
class=
"record-div-d"
v-for=
"(item, index) in detailInfo.auditDetaiList"
:key=
"index"
>
<div
class=
"record-div-d"
v-for=
"(item, index) in detailInfo.auditDetaiList"
:key=
"index"
>
<span
class=
"dot"
></span>
<span
class=
"span-txt-one"
>
{{
item
.
status
?
$$
(
statusForShow
,
[
item
.
status
],
text
)
:
''
}}
</span><span
class=
"span-txt-two"
>
<span
class=
"span-txt-one"
>
{{
item
.
status
?
$$
(
statusForShow
,
[
item
.
status
],
'text'
)
:
''
}}
</span><span
class=
"span-txt-two"
>
<span
:class=
"item.status ? examineStatusClass[item.status] : ''"
>
{{
item
.
status
?
$$
(
statusForShow
,
[
item
.
status
],
status
)
:
''
}}
</span>
{{
item
.
status
?
$$
(
statusForShow
,
[
item
.
status
],
'status'
)
:
''
}}
</span>
</span>
<span
class=
"span-txt-two"
>
审核人:
{{
item
.
reviewedBy
}}
</span>
<span
class=
"span-txt-two"
>
审核时间:
{{
item
.
reviewedDateFormat
}}
</span>
<span
class=
"span-txt-two"
v-if=
"[4, 7, 8].includes(item.status)"
>
驳回原因:
{{
item
.
rejectCause
}}
</span>
<span
class=
"span-txt-two"
v-if=
"[4,6,7].includes(item.status)"
>
驳回原因:
{{
item
.
rejectCause
}}
</span>
</div>
<!--
<div
class=
"record-div-d"
><span
class=
"dot"
></span><span
class=
"span-txt-one"
>
运营审核
</span><span
class=
"span-txt-two"
>
通过
</span><span
...
...
@@ -159,7 +172,6 @@ export default {
5
:
{
text
:
'商务审核'
,
status
:
'通过'
},
6
:
{
text
:
'商务审核'
,
status
:
'驳回'
},
7
:
{
text
:
'采购驳回'
,
status
:
'驳回'
}
}
}
},
...
...
@@ -259,7 +271,7 @@ export default {
font-size
:
14px
;
color
:
#666666
;
>span
{
>
span
{
margin-right
:
20px
;
margin-bottom
:
10px
;
}
...
...
src/views/purchase/purchaseAndDelivery.vue
View file @
418a72d
<!-- 采购发货 -->
<
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>
...
...
@@ -20,42 +28,69 @@
<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.deliveryStatus != 2"
style=
"margin-right: 10px;"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090402']"
/>
<span
v-show=
"scope.scope.deliveryStatus != 2"
style=
"margin-right: 10px;"
>
<auth-button
:data=
"scope.scope"
:show-btn-ids=
"['9090402']"
/>
</span>
<!-- 驳回 -->
<span
v-show=
"scope.scope.deliveryStatus != 2 && scope.scope.status != 7"
>
<!--
<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"
v-if=
"detailVisible"
:params-obj=
"paramsObj"
></orderDeatilDialog>
<EditOrderDialog
v-if=
"editVisible"
:visible
.
sync=
"editVisible"
:params-obj=
"dialogData"
@
editClose=
"editClose"
>
<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"
>
<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"
:rows=
"3"
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>
...
...
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