Commit 42d55633 authored by 华国豪's avatar 华国豪 🙄

团订单优惠券使用2

parent f3ebff50
......@@ -43,7 +43,8 @@
</td>
<td>{{item.createDate}}</td>
<td>
<span class="hgh_pay_money_bth" v-if="item.orderType==1" @click="goUrl('OrderInvoice')">支付团款</span>
<payurlItem v-if="item.orderType==1" @b2b_get_GetWaitDealOrderPageList='b2b_get_GetWaitDealOrderPageList' :item="item"></payurlItem>
<!-- <span class="hgh_pay_money_bth" v-if="item.orderType==1" @click="goUrl('OrderInvoice')">支付团款</span> -->
</td>
</tr>
</tbody>
......@@ -66,9 +67,10 @@
</el-row>
</template>
<script>
import payURL from "../global/pay.vue";
export default {
components: {
payurlItem: payURL,
},
data(){
return {
......@@ -92,8 +94,22 @@ export default {
},
mounted() {
this.getList();
this.b2b_get_GetWaitDealOrderPageList();
},
methods: {
b2b_get_GetWaitDealOrderPageList(){ //获取待处理订单
let msg = {
pageIndex:1,
pageSize:100,
}
this.apipost('b2b_get_GetWaitDealOrderPageList',msg,r=>{
if(r.data.resultCode==1){
this.WaitDealOrderPageList = r.data.data.pageData;
}else{
this.$message.error(r.data.message);
}
},null)
},
goUrl(path){ //页面跳转
this.$router.push({name:path})
},
......
......@@ -75,6 +75,7 @@
if(res.data.resultCode == 1) {
this.$message.success(res.data.message)
this.$emit("b2b_get_GetWaitDealOrderPageList")
this.$router.go(0)
}else{
this.$message.error(res.data.message)
}
......
......@@ -563,7 +563,7 @@ export default {
}
}
}
if (this.UserCanUseCouponList.length>1) {
if (this.UserCanUseCouponList.length>0) {
let CouponIds = ''
let CouponMoney = 0
let CouponSale = 1
......
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