Commit 1212c7e1 authored by youjie's avatar youjie

no message

parent 135e7b21
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
<template> <template>
<div style="color: black;font-size: 17px;padding: 0 0 10px 10px;border-bottom: 1px solid #EBEEF5;"> <div style="color: black;font-size: 17px;padding: 0 0 10px 10px;border-bottom: 1px solid #EBEEF5;">
<p>已选中{{multipleSelection.length}}条数据</p> <p>已选中{{multipleSelection.length}}条数据</p>
<p style="margin-top: 15px;">手配总金额: <p style="margin-top: 15px;" v-if="totalZD">手配总金额:
{{totalZD.toFixed(2)}} {{totalZD.toFixed(2)}}
</p> </p>
<p style="margin-top: 15px;" v-if="totalZDFY">返佣总金额: <p style="margin-top: 15px;" v-if="totalZDFY">返佣总金额:
...@@ -427,8 +427,10 @@ ...@@ -427,8 +427,10 @@
} }
}) })
this.totalZD = totalZD / 100 if(totalZD){
this.totalBWZD = totalBWZD / 100 this.totalZD = totalZD / 100
this.totalBWZD = totalBWZD / 100
}
if(totalZDFY){ if(totalZDFY){
this.totalZDFY = totalZDFY / 100 this.totalZDFY = totalZDFY / 100
this.totalBWZDFY = totalBWZDFY / 100 this.totalBWZDFY = totalBWZDFY / 100
...@@ -479,8 +481,10 @@ ...@@ -479,8 +481,10 @@
return this.$message.error('请勾选需要制单的数据'); return this.$message.error('请勾选需要制单的数据');
} }
this.getMoney() this.getMoney()
this.BillMakingMsg.Money = this.totalZD if(this.totalZD){
this.BillMakingMsg.CostType = 130 this.BillMakingMsg.Money = this.totalZD
this.BillMakingMsg.CostType = 130
}
if(this.totalZDFY){ if(this.totalZDFY){
this.BillMakingMsg.CostType2 = 1851 this.BillMakingMsg.CostType2 = 1851
this.BillMakingMsg.Money2 = this.totalZDFY this.BillMakingMsg.Money2 = this.totalZDFY
......
...@@ -1971,10 +1971,8 @@ ...@@ -1971,10 +1971,8 @@
this.OrderSource = this.msg.OrderSource = this.orderObj.OrderSource ? this.orderObj.OrderSource : 0; this.OrderSource = this.msg.OrderSource = this.orderObj.OrderSource ? this.orderObj.OrderSource : 0;
// 用房手配费 房费送客手数料 // 用房手配费 房费送客手数料
if(this.orderObj.Money&&this.orderObj.CostType if(this.orderObj.Money){
&&this.orderObj.Money2&&this.orderObj.CostType2){
let orderObjMoney = this.$commonUtils.addCommas(Math.round(this.orderObj.Money * 100) / 100); let orderObjMoney = this.$commonUtils.addCommas(Math.round(this.orderObj.Money * 100) / 100);
let orderObjMoney2 = this.$commonUtils.addCommas(Math.round(this.orderObj.Money2 * 100) / 100);
let obj = { let obj = {
"ID": 0, "ID": 0,
"UnitPrice": this.orderObj.Money, "UnitPrice": this.orderObj.Money,
...@@ -1994,6 +1992,11 @@ ...@@ -1994,6 +1992,11 @@
"ybFee": 0, "ybFee": 0,
"bbFee": 0 "bbFee": 0
} }
this.msg.detailList.push(obj)
}
// 房费送客手数料
if(this.orderObj.Money2){
let orderObjMoney2 = this.$commonUtils.addCommas(Math.round(this.orderObj.Money2 * 100) / 100);
let obj2 = { let obj2 = {
"ID": 0, "ID": 0,
"UnitPrice": this.orderObj.Money2, "UnitPrice": this.orderObj.Money2,
...@@ -2008,21 +2011,19 @@ ...@@ -2008,21 +2011,19 @@
"yTotalPriceTo": orderObjMoney2, "yTotalPriceTo": orderObjMoney2,
"bTotalPrice": this.orderObj.Money2, "bTotalPrice": this.orderObj.Money2,
"bTotalPriceTo": orderObjMoney2, "bTotalPriceTo": orderObjMoney2,
"show": false, "show": this.orderObj.Money?false:true,
"currenName": "", "currenName": "",
"ybFee": 0, "ybFee": 0,
"bbFee": 0 "bbFee": 0
} }
this.msg.detailList.push(obj)
this.msg.detailList.push(obj2) this.msg.detailList.push(obj2)
} }
// if(this.orderObj.Money&&!this.orderObj.Money2){
if(this.orderObj.Money&&!this.orderObj.Money2){ // this.msg.CostTypeId = this.orderObj.CostType ? this.orderObj.CostType : '';
this.msg.CostTypeId = this.orderObj.CostType ? this.orderObj.CostType : ''; // this.detailList.CostTypeId = this.orderObj.CostType ? this.orderObj.CostType : '';
this.detailList.CostTypeId = this.orderObj.CostType ? this.orderObj.CostType : ''; // this.detailList.UnitPrice = this.orderObj.Money ? this.orderObj.Money : 0;
this.detailList.UnitPrice = this.orderObj.Money ? this.orderObj.Money : 0; // this.detailList.Number = this.orderObj.CostType ? 1 : 0
this.detailList.Number = this.orderObj.CostType ? 1 : 0 // }
}
this.msg.TCID = this.orderObj.TCID ? this.orderObj.TCID : 0; this.msg.TCID = this.orderObj.TCID ? this.orderObj.TCID : 0;
this.msg.TCIDList = this.orderObj.TCIDList ? this.orderObj.TCIDList : []; this.msg.TCIDList = this.orderObj.TCIDList ? this.orderObj.TCIDList : [];
......
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