sunlupeng 1 year ago
parent
commit
7b60184f97

+ 2 - 0
src/views/giftManage/giftList.vue

@@ -111,6 +111,8 @@
                 </el-table-column>
                 <el-table-column align="center" label="兑换方式" prop="deliveryTypeName">
                 </el-table-column>
+                <el-table-column align="center" label="兑换数量" prop="skuCount">
+                </el-table-column>
                 <el-table-column align="center" label="联系人" prop="contact">
                 </el-table-column>
                 <el-table-column align="center" width="120px" label="联系方式" prop="contactPhone">

+ 2 - 0
src/views/goodsManage/goodsList.vue

@@ -108,6 +108,8 @@
                 </el-table-column>
                 <el-table-column align="center" label="兑换方式" prop="deliveryTypeName">
                 </el-table-column>
+                <el-table-column align="center" label="兑换数量" prop="skuCount">
+                </el-table-column>
                 <el-table-column align="center" label="联系人" prop="contact">
                 </el-table-column>
                 <el-table-column align="center" width="120px" label="联系方式" prop="contactPhone">

+ 3 - 3
src/views/noticeManage/noticeList.vue

@@ -39,7 +39,7 @@
                         @click="changeState(scope.row.msgId, 1)">开启</el-button>
                     <el-button v-if="scope.row.status == 1" type="warning" size="small"
                         @click="changeState(scope.row.msgId, 0)">关闭</el-button>
-                    <el-button type="danger" size="mini" @click="handleDelete(scope.row.welfareId, -1)">删除</el-button>
+                    <el-button type="danger" size="mini" @click="handleDelete(scope.row.msgId, -1)">删除</el-button>
                 </template>
             </el-table-column>
         </el-table>
@@ -271,13 +271,13 @@ export default {
                 this.getList()
             })
         },
-        handleDelete(welfareId, index) {
+        handleDelete(msgId, index) {
             this.$confirm('确认删除吗?', '提示', {
                 confirmButtonText: '确定',
                 cancelButtonText: '取消',
                 type: 'warning'
             }).then(() => {
-                state({ welfareId: welfareId, status: index }).then(response => {
+                state({ msgId: msgId, status: index }).then(response => {
                     this.$notify({
                         title: '成功',
                         message: '删除成功',