zhangdan 4 лет назад
Родитель
Сommit
9532e62d81

+ 1 - 0
src/views/recoveryManage/bannerSet.vue

@@ -311,6 +311,7 @@ export default {
         }, 500)
       }
       this.assignment(row)
+      this.disabled = type == 1
       this.visible = true
     },
     // 删除

+ 8 - 8
src/views/recoveryManage/recoveryPriceSet.vue

@@ -62,7 +62,7 @@ export default {
       type: '',
       // 表头
       columns: [
-        { title: '序号', dataIndex: 'no', width: 60, align: 'center'},
+        { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
         { title: '回收类型', dataIndex: 'fatherName', width: 100, align: 'center' },
         { title: '回收名称', dataIndex: 'name', width: 100, align: 'center' },
         { title: '回收价格(元/kg)', dataIndex: 'advicePrice', width: 100, align: 'center', scopedSlots: { customRender: 'advicePrice' } },
@@ -81,8 +81,8 @@ export default {
       gePriceList({ adviceType: key }).then(res => {
         if (res.status == 200) {
           this.loadData = res.data
-          this.loadData.forEach((item,index)=>{
-             item.no=index+1
+          this.loadData.forEach((item, index) => {
+            item.no = index + 1
           })
         }
       })
@@ -93,8 +93,8 @@ export default {
       gePriceList({ adviceType: '1' }).then(res => {
         if (res.status == 200) {
           this.loadData = res.data
-          this.loadData.forEach((item,index)=>{
-             item.no=index+1
+          this.loadData.forEach((item, index) => {
+            item.no = index + 1
           })
         }
       })
@@ -117,9 +117,9 @@ export default {
           gePriceList({ adviceType: this.type ? this.type : 1 }).then(res => {
             if (res.status == 200) {
               this.loadData = res.data
-              // this.loadData.forEach((item,index)=>{
-              //    item.no=index+1
-              // })
+              this.loadData.forEach((item, index) => {
+                item.no = index + 1
+              })
             }
           })
         } else {