Commit a27a1818 by 张立顺

fix 去掉无用数据

1 parent 257bcc96
<!-- 嘀加上架 -->
<template>
<d2-container class="shelfManage">
<div class="header"
slot="header">
<d2-search ref="showSearch"
class="show-search"
:search-form="searchForm"
:label-width="'100px'"
:form-data="showFormData">
<div class="header" slot="header">
<d2-search ref="showSearch" class="show-search" :search-form="searchForm" :label-width="'100px'"
:form-data="showFormData">
</d2-search>
<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">
......@@ -24,57 +17,41 @@
<span slot="left">
<!-- 嘀加上架与销售合同 -->
<span style="display: inline-block; margin-right: 10px">
<auth-button category="Button"
:show-btn-ids="['9031301']" />
<auth-button category="Button" :show-btn-ids="['9031301']" />
</span>
<!-- 嘀加上架修改 -->
<auth-button style="display: inline-block"
category="Button"
:show-btn-ids="['9031303']" />
<auth-button style="display: inline-block" category="Button" :show-btn-ids="['9031303']" />
</span>
</d2-table-header>
<d2-table ref="packageIndexTable"
:search-form="searchForm"
:table-params="tableParams"
:get-list-api="getListApi"
:before-search-fn="beforeSearchFn">
<div slot="auth-button"
slot-scope="scope">
<d2-table ref="packageIndexTable" :search-form="searchForm" :table-params="tableParams" :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="['9031304']" />
<auth-button :data="scope.scope" :show-btn-ids="['9031304']" />
</span>
<!-- 确认 - 编辑合同 -->
<span style="margin-right: 10px"
v-if="scope.scope.systemStatus == 1">
<auth-button :data="scope.scope"
:show-btn-ids="['9031306']" />
<span style="margin-right: 10px" v-if="scope.scope.systemStatus == 1">
<auth-button :data="scope.scope" :show-btn-ids="['9031306']" />
</span>
<!-- 驳回 -->
<span style="margin-right: 10px"
v-if="scope.scope.systemStatus == 1">
<auth-button :data="scope.scope"
:show-btn-ids="['9031308']" />
<span style="margin-right: 10px" v-if="scope.scope.systemStatus == 1">
<auth-button :data="scope.scope" :show-btn-ids="['9031308']" />
</span>
<!-- 重新发起 -->
<span style="margin-right: 10px"
v-if="
scope.scope.systemStatus == 4 ||
scope.scope.approveStatus == 3 ||
scope.scope.approveStatus == 4
">
<auth-button :data="scope.scope"
:show-btn-ids="['9031309']" />
<span style="margin-right: 10px" v-if="
scope.scope.systemStatus == 4 ||
scope.scope.approveStatus == 3 ||
scope.scope.approveStatus == 4
">
<auth-button :data="scope.scope" :show-btn-ids="['9031309']" />
</span>
</div>
</d2-table>
</div>
<!-- 驳回 -->
<reject-dialog :reject-visible="rejectVisible"
:params-obj="recordInfo"
v-if="rejectVisible"
@dialogClose="rejectDialogClose" />
<reject-dialog :reject-visible="rejectVisible" :params-obj="recordInfo" v-if="rejectVisible"
@dialogClose="rejectDialogClose" />
</d2-container>
</template>
<script>
......@@ -166,16 +143,6 @@ export default {
optionId: "confId",
optionLabel: "confValue",
optionsName: "approveStatusOpt"
},
{
label: "上架类型",
name: "shelfType",
type: "select",
isClear: true,
optionList: [],
optionId: "confId",
optionLabel: "confValue",
optionsName: "shelfTypeOpt"
}
],
getListApi: getPage,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!