Commit ad46409e authored by 吴春's avatar 吴春

1

parent 6d46b155
...@@ -127,15 +127,21 @@ ...@@ -127,15 +127,21 @@
</td> </td>
<td width="80"> <td width="80">
{{subItem.LeaderCommission}} {{subItem.LeaderCommission}}
<span v-if="subItem.LeaderCommission>0&&subItem.LeaderCommissionFrId" style="color:red;text-decoration: underline;cursor:pointer;" @click="goUrlFinancial('财务单据','FinancialDocumentsDetail',subItem.LeaderCommissionFrId)"> {{subItem.LeaderCommissionFrId}}</span>
</td> </td>
<td width="80"> <td width="80">
{{subItem.GuideCommission}} {{subItem.GuideCommission}}
<span v-if="subItem.GuideCommission>0&&subItem.GuideCommissionFrId" style="color:red;text-decoration: underline;cursor:pointer;" @click="goUrlFinancial('财务单据','FinancialDocumentsDetail',subItem.GuideCommissionFrId)"> {{subItem.GuideCommissionFrId}}</span>
</td> </td>
<td width="80"> <td width="80">
{{subItem.PICCommission}} {{subItem.PICCommission}}
<span v-if="subItem.PICCommission>0&&subItem.CompanyCommissionFrId" style="color:red;text-decoration: underline;cursor:pointer;" @click="goUrlFinancial('财务单据','FinancialDocumentsDetail',subItem.CompanyCommissionFrId)"> {{subItem.CompanyCommissionFrId}}</span>
</td> </td>
<td width="80"> <td width="80">
{{subItem.CompanyCommission}} {{subItem.CompanyCommission}}
<span v-if="subItem.CompanyCommission>0&&subItem.PICCommissionFrId" style="color:red;text-decoration: underline;cursor:pointer;" @click="goUrlFinancial('财务单据','FinancialDocumentsDetail',subItem.PICCommissionFrId)"> {{subItem.PICCommissionFrId}}</span>
</td> </td>
<td width="80" :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'> <td width="80" :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'>
{{subItem.OtherDeduct}} {{subItem.OtherDeduct}}
...@@ -398,6 +404,10 @@ ...@@ -398,6 +404,10 @@
} }
}); });
}, },
goUrlFinancial: function (name, path, id ) {
this.$router.push({ name: path, query: { id: id, blank: 'y', tab: name} });
},
goUrl(path, obj, title) { goUrl(path, obj, title) {
this.$router.push({ this.$router.push({
name: path, name: path,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment