Zory il y a 1 semaine
Parent
commit
b23c12f03a

+ 5 - 0
src/views/manage/life/components/search.vue

@@ -17,6 +17,11 @@
                                 <template #prepend>商品ID</template>
                             </el-input>
                         </el-col>
+                        <el-col :span="this.$store.state.global.ismobile?12:4">
+                            <el-input v-model="searchKey.certificate" placeholder="券ID" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
+                                <template #prepend>券ID</template>
+                            </el-input>
+                        </el-col>
                         <el-col :span="this.$store.state.global.ismobile?12:4">
                             <el-input v-model="searchKey.name" placeholder="商品标题" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
                                 <template #prepend>商品标题</template>

+ 6 - 0
src/views/manage/life/components/table.vue

@@ -29,6 +29,12 @@
                 <span class="status-danger" v-else>未设置</span>
             </template>
         </el-table-column>
+        <el-table-column label="券ID" prop="certificate_id" width="150">
+            <template #default="scope">
+                <span v-if="scope.row.certificate_id">{{ scope.row.certificate_id }}</span>
+                <span class="status-danger" v-else>未设置</span>
+            </template>
+        </el-table-column>
         <el-table-column label="商品名称" prop="product_name" width="220">
             <template #default="scope">
                 <span v-if="scope.row.product_name">{{ scope.row.product_name }}</span>

+ 5 - 0
src/views/manage/order/components/search.vue

@@ -17,6 +17,11 @@
                                 <template #prepend>商品ID</template>
                             </el-input>
                         </el-col>
+                        <el-col :span="this.$store.state.global.ismobile?12:4">
+                            <el-input v-model="searchKey.certificate" placeholder="券ID" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
+                                <template #prepend>券ID</template>
+                            </el-input>
+                        </el-col>
                         <el-col :span="this.$store.state.global.ismobile?12:4">
                             <el-input v-model="searchKey.name" placeholder="商品标题" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
                                 <template #prepend>商品标题</template>

+ 6 - 0
src/views/manage/order/components/table.vue

@@ -47,6 +47,12 @@
                 <span class="status-danger" v-else>未设置</span>
             </template>
         </el-table-column>
+        <el-table-column label="券ID" prop="certificate_id" width="150">
+            <template #default="scope">
+                <span v-if="scope.row.certificate_id">{{ scope.row.certificate_id }}</span>
+                <span class="status-danger" v-else>未设置</span>
+            </template>
+        </el-table-column>
         <el-table-column label="商品信息" prop="product_name" width="220">
             <template #default="scope">
                 <div class="el-text" v-if="scope.row.product_name">

+ 5 - 0
src/views/merchant/order/components/search.vue

@@ -17,6 +17,11 @@
                                 <template #prepend>商品ID</template>
                             </el-input>
                         </el-col>
+                        <el-col :span="this.$store.state.global.ismobile?12:4">
+                            <el-input v-model="searchKey.certificate" placeholder="券ID" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
+                                <template #prepend>券ID</template>
+                            </el-input>
+                        </el-col>
                         <el-col :span="this.$store.state.global.ismobile?12:4">
                             <el-input v-model="searchKey.name" placeholder="商品标题" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
                                 <template #prepend>商品标题</template>

+ 6 - 0
src/views/merchant/order/components/table.vue

@@ -42,6 +42,12 @@
                 <span class="status-danger" v-else>未设置</span>
             </template>
         </el-table-column>
+        <el-table-column label="券ID" prop="certificate_id" width="150">
+            <template #default="scope">
+                <span v-if="scope.row.certificate_id">{{ scope.row.certificate_id }}</span>
+                <span class="status-danger" v-else>未设置</span>
+            </template>
+        </el-table-column>
         <el-table-column label="商品信息" prop="product_name" width="220">
             <template #default="scope">
                 <div class="el-text" v-if="scope.row.product_name">

+ 5 - 0
src/views/store/order/components/search.vue

@@ -17,6 +17,11 @@
                                 <template #prepend>商品ID</template>
                             </el-input>
                         </el-col>
+                        <el-col :span="this.$store.state.global.ismobile?12:4">
+                            <el-input v-model="searchKey.certificate" placeholder="券ID" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
+                                <template #prepend>券ID</template>
+                            </el-input>
+                        </el-col>
                         <el-col :span="this.$store.state.global.ismobile?12:4">
                             <el-input v-model="searchKey.name" placeholder="商品标题" clearable :style="{ width: '100%' }" @keyup.enter="searchForm()">
                                 <template #prepend>商品标题</template>