<!DOCTYPE html>
|
<html lang="zh-cn">
|
|
<head>
|
<meta charset="utf-8">
|
<include file="common:title" />
|
<meta name="renderer" content="webkit">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
<include file="common:header" />
|
<include file="common:element-plus" />
|
<style>
|
.el-table th.el-table__cell,
|
.el-table td.el-table__cell,
|
.el-select,
|
.el-select__wrapper {
|
position: unset;
|
}
|
|
.el-image-viewer__img {
|
width: 50%;
|
}
|
</style>
|
</head>
|
|
<body>
|
<div id="vue_item" v-cloak>
|
<el-container>
|
<el-aside class="el-menu-container" :width="el_aside_width">
|
<!-- 侧边菜单 -->
|
<include file="common:side_menu" />
|
</el-aside>
|
<el-container>
|
<el-header>
|
<include file="common:guide" one_word="数据审核" two_word="刊登审核" />
|
</el-header>
|
<el-main>
|
<el-card style="width: 100%">
|
<template #header>
|
<div class="card-header"><span data-i18n="goods_management">刊登审核</span>
|
</div>
|
</template>
|
<el-form :model="searchdata" label-width="auto">
|
<el-input v-model="searchdata.platform_goods_code" placeholder="平台商品编码" style="width: 200px; margin-right: 10px;"></el-input>
|
<el-input v-model="searchdata.supplier_goods_code" placeholder="供应商商品编码" style="width: 200px"></el-input>
|
 <el-button type="success" icon="Search" @click="searchPublishOrder()">搜索</el-button>
|
</el-form>
|
<br />
|
<el-table :data="PublishOrderList" v-loading="loading.loading" border style="width: 100%;position: relative;z-index: 0 !important;" ref="tableRef">
|
<el-table-column align="center" prop="picture" label="图片" show-overflow-tooltip width="100">
|
<template #default="scope">
|
<el-image :src="scope.row.picture" style="width: 60px; height: 60px;" hide-on-click-modal="true" :z-index="99" :preview-src-list="[scope.row.picture]" />
|
</template>
|
|
</el-table-column>
|
<el-table-column prop="goods_title_cn" label="中文标题"></el-table-column>
|
<el-table-column prop="supplier_goods_code" label="供应商商品编码" width="150"></el-table-column>
|
|
<el-table-column label="刊登状态" width="150" align="center">
|
<template #default="scope">
|
<template v-if="scope.row.kd_publish_status == 0">
|
<el-button type="danger">未刊登</el-button>
|
</template>
|
<template v-else-if="scope.row.kd_publish_status == 1"><el-button type="success">已刊登</el-button></template>
|
</template>
|
</el-table-column>
|
<el-table-column label="审核状态" width="150" align="center">
|
<template #default="scope">
|
<template v-if="scope.row.kd_audit_status == 0">待提交</template>
|
<template v-else-if="scope.row.kd_audit_status == 1">审核通过</template>
|
<template v-else-if="scope.row.kd_audit_status == 2">审核中</template>
|
<template v-else-if="scope.row.kd_audit_status == 3">审核不通过</template>
|
</template>
|
</el-table-column>
|
|
<el-table-column label="操作选项" fixed="right" min-width="140" :align="alignValue(200)">
|
<template #default="scope">
|
<el-button type="primary" @click="editGoodsKD(scope.row.id)">审核</el-button>
|
|
|
</template>
|
</el-table-column>
|
</el-table>
|
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="searchdata.p" :page-sizes="[20, 30, 40, 50]"
|
:page-size="searchdata.page_size" layout="total, sizes, prev, pager, next" :total="other.count">
|
</el-pagination>
|
</el-card>
|
</el-main>
|
</el-container>
|
</el-container>
|
</div>
|
</body>
|
<!-- 共用的方法 -->
|
<script src="/static/vue/mixin_admin.js"></script>
|
<script src="/static/admin/js/goodskd/index.js?v=<?php echo rand(1000,9999)?>"></script>
|
|
|
</html>
|