Commit 84c39c62 authored by 黄奎's avatar 黄奎

页面修改

parent 749c0d27
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
<template v-slot:body-cell-OrderIdList="props"> <template v-slot:body-cell-OrderIdList="props">
<q-td :props="props"> <q-td :props="props">
<span title="点击查看订单" v-for="item in props.row.OrderIdList" <span title="点击查看订单" v-for="item in props.row.OrderIdList"
style="cursor:pointer;color:blue;margin-left:5px;" @click="goOrderList(item)">{{item}}</span> style="cursor:pointer;color:blue;margin-left:5px;" @click="goOrderList(props.row,item)">{{item}}</span>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
...@@ -368,9 +368,9 @@ ...@@ -368,9 +368,9 @@
}) })
}, },
//跳转到订单列表 //跳转到订单列表
goOrderList(item) { goOrderList(obj,item) {
var url = "/sale/myOrder"; var url = "/sale/myOrder";
if (item.OfferType != 1) { if (obj.OfferType != 1) {
url = "/sale/studyOrder"; url = "/sale/studyOrder";
} }
this.$router.push({ this.$router.push({
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
<template v-slot:body-cell-OrderIdList="props"> <template v-slot:body-cell-OrderIdList="props">
<q-td :props="props"> <q-td :props="props">
<span title="点击查看订单" v-for="item in props.row.OrderIdList" <span title="点击查看订单" v-for="item in props.row.OrderIdList"
style="cursor:pointer;color:blue;margin-left:5px;" @click="goOrderList(item)">{{item}}</span> style="cursor:pointer;color:blue;margin-left:5px;" @click="goOrderList(props.row,item)">{{item}}</span>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
...@@ -399,9 +399,9 @@ ...@@ -399,9 +399,9 @@
this.isShowviewQuo = false; this.isShowviewQuo = false;
}, },
//跳转到订单列表 //跳转到订单列表
goOrderList(item) { goOrderList(obj,item) {
var url = "/sale/myOrder"; var url = "/sale/myOrder";
if (item.OfferType != 1) { if (obj.OfferType != 1) {
url = "/sale/studyOrder"; url = "/sale/studyOrder";
} }
this.$router.push({ this.$router.push({
...@@ -439,7 +439,7 @@ ...@@ -439,7 +439,7 @@
this.showStudyForm = true; this.showStudyForm = true;
} }
} else { } else {
this.showForm = true; this.showForm = true;
} }
this.offerObj = item; this.offerObj = item;
}, },
......
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