喻文俊 3 سال پیش
والد
کامیت
f8bd6faecf
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 3 3
      src/views/admin/audit/device/index.vue
  2. 1 1
      src/views/normal/club/device/edit.vue

+ 3 - 3
src/views/admin/audit/device/index.vue

@@ -64,7 +64,7 @@
       </el-table-column>
       <el-table-column label="操作" width="240px" align="center">
         <template slot-scope="{ row }">
-          <el-badge :hidden="row.lowerAuditStatus === 1" :value="row.waitAuditNum" :max="99">
+          <el-badge :hidden="row.lowerAuditStatus === 1" :value="row.productTypeWaitNum" :max="99">
             <el-button
               type="primary"
               icon="el-icon-s-check"
@@ -95,7 +95,7 @@ export default {
   data() {
     return {
       listQuery: {
-        listType: 2,
+        listType: 6,
         brandId: '', // 品牌id
         linkMan: '', // 联系人
         mobile: '', // 手机号
@@ -120,7 +120,7 @@ export default {
     getList() {
       this.listLoading = true
       fetchSupplierList(this.listQuery)
-        .then(res => {
+        .then((res) => {
           if (res.code !== 0) return
           this.list = res.data.list
           this.total = res.data.total

+ 1 - 1
src/views/normal/club/device/edit.vue

@@ -279,7 +279,7 @@ export default {
           const h = this.$createElement
           this.$notify.success({
             title: '新增设备',
-            message: h('i', { style: 'color: #333' }, `已添加设备:"${this.formData.productName}"`),
+            message: h('i', { style: 'color: #333' }, `已添加设备`),
             duration: 2000
           })
           this.$refs.addFormRef.resetFields()