chengkun
2025-09-09 1ff9e27b020822168a95edd83be567e7153837f3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!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>
                &ensp;<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="publish_order_code" label="刊登单号" show-overflow-tooltip width="150"></el-table-column>
                <el-table-column prop="public_type" label="刊登类型" show-overflow-tooltip width="180">
                  <template #default="scope">
                    <template v-if="scope.row.public_type == 1">无属性</template>
                    <template v-else-if="scope.row.public_type == 2">多属性</template>
                  </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.reason_id == 1">不合作</template>
                    <template v-else-if="scope.row.reason_id == 2">商品更新换代</template>
                    <template v-else-if="scope.row.reason_id == 3">商品侵权</template>
                    <template v-else-if="scope.row.reason_id == 4">商品收货问题严重</template>
                    <template v-else-if="scope.row.reason_id == 5">其他</template>
                  </template>
                </el-table-column>
                <el-table-column label="审核状态" width="150" align="center">
                  <template #default="scope">
                    <template v-if="scope.row.status == 0">未审核</template>
                    <template v-else-if="scope.row.status == 1">已审核</template>
                  </template>
                </el-table-column>
                <el-table-column prop="remark" label="备注" show-overflow-tooltip width="180"></el-table-column>
                <el-table-column prop="add_time" label="创建时间" width="180"></el-table-column>
                <el-table-column label="操作选项" fixed="right" min-width="140" :align="alignValue(200)">
                  <template #default="scope">
                    <el-button type="primary" @click="editPublishOrder(scope.row.id,scope.row.cancel_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/cancel_publish_order/index.js?v=<?php echo rand(1000,9999)?>"></script>
 
 
</html>