|
@@ -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 {
|