|
@@ -491,22 +491,33 @@ export default {
|
|
|
handleUpdate(row) {
|
|
|
this.reset();
|
|
|
const id = row.id || this.ids;
|
|
|
+ let dataList = null;
|
|
|
+ listQUOTAFEERole().then(res=>{
|
|
|
+ dataList = res.data;
|
|
|
+ console.log(res,'res');
|
|
|
+ })
|
|
|
getQUOTABONDED(id).then((response) => {
|
|
|
+ console.log(response,'response');
|
|
|
this.form = response.data;
|
|
|
this.basicInfo = false;
|
|
|
this.isShowBtn = true;
|
|
|
this.QUOTAFEEList = response.data.bondedFeeList;
|
|
|
this.QUOTAFEEList.forEach((item) => (item.fileList = []));
|
|
|
this.QUOTAFEEList.forEach((item, i) => {
|
|
|
- item.flag = true;
|
|
|
+ dataList.forEach((it,j)=>{
|
|
|
+ if(item.quotaId == it.id){
|
|
|
+ item.flag = it.flag;
|
|
|
+ }
|
|
|
+
|
|
|
+ })
|
|
|
+
|
|
|
if (item.fileNames && item.linkUrls) {
|
|
|
item.fileList.push({ name: item.fileNames, url: item.linkUrls });
|
|
|
}
|
|
|
});
|
|
|
- console.log(this.QUOTAFEEList);
|
|
|
- this.open = true;
|
|
|
this.$forceUpdate();
|
|
|
this.title = "辅助指标录入修改";
|
|
|
+ this.open = true;
|
|
|
});
|
|
|
},
|
|
|
|