Commit a27a1818 by 张立顺

fix 去掉无用数据

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