Commit 418a72da by 前端

第三轮BUG修复

1 parent b700dd6f
<template> <template>
<baseDialog :is-show.sync="dialogShow" :config="dialogConfig.setting" :dialog-config="dialogConfig.config" <baseDialog :is-show.sync="dialogShow"
@closeDialog="handleDetailClose"> :config="dialogConfig.setting"
<div class="detail-content" v-if="dialogShow"> :dialog-config="dialogConfig.config"
@closeDialog="handleDetailClose">
<div class="detail-content"
v-if="dialogShow">
<div class="addressTitle"> <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> <span class="title">{{ paramsObj.merchantName }}</span>
</div> </div>
<div class="address-info"> <div class="address-info">
...@@ -16,23 +21,31 @@ ...@@ -16,23 +21,31 @@
<span class="address">驳回原因:<span class="label">{{ detailInfo.rejectCause }}</span></span> <span class="address">驳回原因:<span class="label">{{ detailInfo.rejectCause }}</span></span>
</div> --> </div> -->
<div class="table-class"> <div class="table-class">
<d2-table ref="purchaseOrderDetailTable" :table-params="tableParams" @refreshTable="refreshTable" <d2-table ref="purchaseOrderDetailTable"
:table-data="detailInfo.tableData" :table-total="detailInfo.tableTotal"> :table-params="tableParams"
@refreshTable="refreshTable"
:table-data="detailInfo.tableData"
:table-total="detailInfo.tableTotal">
</d2-table> </d2-table>
</div> </div>
<div class="examine-record" v-if="detailInfo.auditDetaiList"> <div class="examine-record"
v-if="detailInfo.auditDetaiList">
<div class="title">审核记录</div> <div class="title">审核记录</div>
<div class="record-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="dot"></span>
<span class="span-txt-one">{{ item.status ? $$(statusForShow, [item.status], text) : '' }}</span><span <span
class="span-txt-two"> class="span-txt-one">{{ item.status ? $$(statusForShow, [item.status], 'text') : '' }}</span><span
class="span-txt-two">
<span :class="item.status ? examineStatusClass[item.status] : ''"> <span :class="item.status ? examineStatusClass[item.status] : ''">
{{ item.status ? $$(statusForShow, [item.status], status) : '' }}</span> {{ item.status ? $$(statusForShow, [item.status], 'status') : '' }}</span>
</span> </span>
<span class="span-txt-two">审核人:{{ item.reviewedBy }}</span> <span class="span-txt-two">审核人:{{ item.reviewedBy }}</span>
<span class="span-txt-two">审核时间:{{ item.reviewedDateFormat }}</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>
<!-- <div class="record-div-d"><span class="dot"></span><span <!-- <div class="record-div-d"><span class="dot"></span><span
class="span-txt-one">运营审核</span><span class="span-txt-two">通过</span><span class="span-txt-one">运营审核</span><span class="span-txt-two">通过</span><span
...@@ -159,7 +172,6 @@ export default { ...@@ -159,7 +172,6 @@ export default {
5: { text: '商务审核', status: '通过' }, 5: { text: '商务审核', status: '通过' },
6: { text: '商务审核', status: '驳回' }, 6: { text: '商务审核', status: '驳回' },
7: { text: '采购驳回', status: '驳回' } 7: { text: '采购驳回', status: '驳回' }
} }
} }
}, },
...@@ -259,7 +271,7 @@ export default { ...@@ -259,7 +271,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
>span { > span {
margin-right: 20px; margin-right: 20px;
margin-bottom: 10px; margin-bottom: 10px;
} }
......
<!-- 采购发货 --> <!-- 采购发货 -->
<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,69 @@ ...@@ -20,42 +28,69 @@
<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" <d2-table ref="purchaseAndDeliveryTable"
:table-data="tableData" :get-list-api="getListApi" :before-search-fn="beforeSearchFn"> :search-form="tableSearchForm"
<div slot="auth-button" slot-scope="scope"> :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.deliveryStatus != 2" style="margin-right: 10px;"> <span v-show="scope.scope.deliveryStatus != 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 != 2 && scope.scope.status != 7"> <span v-show="scope.scope.deliveryStatus != 2 && scope.scope.status != 7">
<!-- <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" v-if="detailVisible" :params-obj="paramsObj"></orderDeatilDialog> <orderDeatilDialog :visible.sync="detailVisible"
<EditOrderDialog v-if="editVisible" :visible.sync="editVisible" :params-obj="dialogData" @editClose="editClose"> v-if="detailVisible"
:params-obj="paramsObj"></orderDeatilDialog>
<EditOrderDialog v-if="editVisible"
:visible.sync="editVisible"
:params-obj="dialogData"
@editClose="editClose">
</EditOrderDialog> </EditOrderDialog>
<!-- :config="rejectConfig.setting" :dialog-config="rejectConfig.config" :config="rejectConfig.setting"--> <!-- :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" <!-- <d2-dialog v-if="rejectVisible" :is-visible="rejectVisible" title="驳回提2" @confirmDialog="handleRejectConfirm"
@closeDialog="handleRejectClose"> --> @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" :rows="3" show-word-limit label-width="150px"
v-model.trim="rejectData.rejectCause" class="dis-in-block reject-input" /> 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-item>
</el-form> </el-form>
</div> </div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!