Commit c9414dda by 前端

Merge branch 'develop' into 'master'

Develop

See merge request !207
2 parents af55ee68 29d5e92a
......@@ -58,7 +58,7 @@
</el-table-column>
<el-table-column prop="outputValue" label="驻店负责人" width="150">
<template slot-scope="scope">
<el-select clearable value-key="userId" v-model="scope.row['residentManager']" class="select"
<el-select clearable filterable value-key="userId" v-model="scope.row['residentManager']" class="select"
@focus="getSelectList(scope.row, scope.$index,)" collapse-tags placeholder="请选择">
<el-option v-for="item in scope.row['residentManagerOptionsList']" :key="item.userId"
:label="item.userName" :value="item">
......
<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">
......@@ -21,31 +16,23 @@
<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 && !paramsObj.factoryType">
<div class="examine-record" v-if="detailInfo.auditDetaiList && !paramsObj.factoryType">
<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>
</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, 6, 7].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
......@@ -279,7 +266,7 @@ export default {
font-size: 14px;
color: #666666;
> span {
>span {
margin-right: 20px;
margin-bottom: 10px;
}
......
<!-- 采购发货 -->
<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,76 +20,50 @@
<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"
width="300">
<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" width="300">
<!-- 查看 -->
<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"
style="margin-right: 10px;">
<span v-show="scope.scope.deliveryStatus != 2" style="margin-right: 10px;">
<!-- <el-button :data="scope.scope" type="text" @click="handleAllocat(scope.scope)">分配</el-button> -->
<auth-button :data="scope.scope"
:show-btn-ids="['9090404']" />
<auth-button :data="scope.scope" :show-btn-ids="['9090404']" />
</span>
<!-- 驳回 -->
<span v-show="scope.scope.deliveryStatus == 1 && scope.scope.status == 5">
<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" :is-empty-edit="true" :visible.sync="editVisible" :params-obj="dialogData" @editClose="editClose">
<EditOrderDialog v-if="editVisible" :is-empty-edit="true" :visible.sync="editVisible" :params-obj="dialogData"
@editClose="editClose">
</EditOrderDialog>
<AllocateDialog v-if="allocateVisible"
:visible.sync="allocateVisible"
:params-obj="allocateData"
@editClose="allocateClose">
<AllocateDialog v-if="allocateVisible" :visible.sync="allocateVisible" :params-obj="allocateData"
@editClose="allocateClose">
</AllocateDialog>
<!-- :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>
......@@ -427,6 +393,7 @@ export default {
}
}
params.method = 'dj.api.smarcarlife.purchaseOrder.export.async'
params.sortType = 3
const list = [
...this.dowloadList,
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!