Commit 7bf96143 authored by youjie's avatar youjie

no message

parent 961a2052
...@@ -807,10 +807,6 @@ export default { ...@@ -807,10 +807,6 @@ export default {
if(this.total==0){ if(this.total==0){
this.DataList=[]; this.DataList=[];
}else{ }else{
data.forEach(x=>{
// this.columns[0].filters.push({label:x.FrID,value:x.FrID})
x.modelShow = false;
})
this.DataList = data; this.DataList = data;
} }
this.loading=false; this.loading=false;
......
...@@ -245,12 +245,13 @@ ...@@ -245,12 +245,13 @@
Money=item.SumPrice Money=item.SumPrice
} }
let obj = { let obj = {
CostType: 16,//112 CostType: 112,
Money: Money, Money: Money,
CurrencyId: 1, CurrencyId: 1,
XSTC: 1, XSTC: 1,
OtherType:73, OtherType:73,
ReFinanceId: item.ID, ReFinanceId: item.ID,
SelectState: true,
isRB_Branch_Id: true, isRB_Branch_Id: true,
RB_Branch_Id: this.msg.OutBranchId, RB_Branch_Id: this.msg.OutBranchId,
} }
...@@ -261,11 +262,11 @@ ...@@ -261,11 +262,11 @@
IsUploadPic: 1, IsUploadPic: 1,
orderObj: JSON.stringify(obj) orderObj: JSON.stringify(obj)
} }
if(this.msg.OutBranchId>-1){ if(this.msg.OutBranchId > 0){
query.id = 30 query.id = 31
query.Name = "分公司OP提成单" query.Name = "分公司OP提成单"
}else{ }else{
query.id = 28 query.id = 29
query.Name = "总部OP提成单" query.Name = "总部OP提成单"
} }
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
{{item.OPFinanceIdList.length == y+1 ?'':'、'}} {{item.OPFinanceIdList.length == y+1 ?'':'、'}}
</span> </span>
</div> </div>
</td> </td>
<td :rowspan="1"> <td :rowspan="1">
<div>{{item.CreateByStr}}</div> <div>{{item.CreateByStr}}</div>
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
icon="iconfont icon-chakan" circle></el-button> icon="iconfont icon-chakan" circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip v-if="cMaker==true" class="item" effect="dark" content="制单" placement="top"> <el-tooltip v-if="cMaker==true" class="item" effect="dark" content="制单" placement="top">
<el-button @click="YijianZD(item,1)" type="danger" class="CM_look" v-if="cMaker==true" <el-button @click="YijianZD(item,1)" type="danger" class="CM_look" v-if="cMaker==true"
icon="iconfont icon-mui-icon-add" circle></el-button> icon="iconfont icon-mui-icon-add" circle></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
...@@ -126,11 +126,11 @@ ...@@ -126,11 +126,11 @@
icon="iconfont icon-chakan" circle></el-button> icon="iconfont icon-chakan" circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip v-if="cMaker==true" class="item" effect="dark" content="制单" placement="top"> <el-tooltip v-if="cMaker==true" class="item" effect="dark" content="制单" placement="top">
<el-button @click="YijianZD(item,2)" type="danger" class="CM_look" v-if="cMaker==true" <el-button @click="YijianZD(item,2)" type="danger" class="CM_look" v-if="cMaker==true"
icon="iconfont icon-mui-icon-add" circle></el-button> icon="iconfont icon-mui-icon-add" circle></el-button>
</el-tooltip> </el-tooltip>
</div> </div>
</td> </td>
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.PeriodsList = res.data.data; this.PeriodsList = res.data.data;
// if(this.PeriodsList && this.PeriodsList.length>0){ // if(this.PeriodsList && this.PeriodsList.length>0){
// this.msg.Periods = Number(this.PeriodsList[0].Id) // this.msg.Periods = Number(this.PeriodsList[0].Id)
// } // }
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
); );
}, },
YijianZD(item,type) { YijianZD(item,type) {
let Money let Money
if(this.msg.OutBranchId>-1){ if(this.msg.OutBranchId>-1){
if(type==1){ if(type==1){
if(item.BranchCommission>0){ if(item.BranchCommission>0){
...@@ -302,7 +302,7 @@ ...@@ -302,7 +302,7 @@
return; return;
} }
} }
}else{ }else{
Money=item.SumPrice Money=item.SumPrice
} }
...@@ -329,7 +329,7 @@ ...@@ -329,7 +329,7 @@
query.id = 28 query.id = 28
query.Name = "总部销售提成单" query.Name = "总部销售提成单"
} }
this.$router.push({ this.$router.push({
path: "/addFinancialDocuments", path: "/addFinancialDocuments",
query query
...@@ -353,7 +353,7 @@ ...@@ -353,7 +353,7 @@
IsUploadPic: 1, IsUploadPic: 1,
orderObj: JSON.stringify(obj) orderObj: JSON.stringify(obj)
} }
if (this.msg.OutBranchId > -1) { if (this.msg.OutBranchId > 0) {
query.id = 31 query.id = 31
query.Name = "分公司销售提成单" query.Name = "分公司销售提成单"
} else { } else {
...@@ -366,7 +366,7 @@ ...@@ -366,7 +366,7 @@
query query
}); });
} }
}, },
gofinancialdetail(item){ gofinancialdetail(item){
...@@ -383,4 +383,4 @@ ...@@ -383,4 +383,4 @@
} }
} }
</script> </script>
\ No newline at end of file
...@@ -558,7 +558,7 @@ ...@@ -558,7 +558,7 @@
<el-select filterable v-model='da.CostTypeId' ref='CostTypeId' :placeholder="$t('rule.qxzfyshuoming')" <el-select filterable v-model='da.CostTypeId' ref='CostTypeId' :placeholder="$t('rule.qxzfyshuoming')"
@change="getCostTypeName(da.CostTypeId, daIn),getRate(da.CostTypeId,da.CurrencyId,2,daIn),addList(2,daIn+1)" @change="getCostTypeName(da.CostTypeId, daIn),getRate(da.CostTypeId,da.CurrencyId,2,daIn),addList(2,daIn+1)"
class=" _border_b_1"> class=" _border_b_1">
<el-option v-for='item in GetCostTypeList' :label='item.Name' :value='item.ID' :key='item.ID'> <el-option v-for='item in GetCostTypeList' :label='item.Name' :value='item.ID' :key='item.ID' :disabled="SelectDisablsed!=item.ID">
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
...@@ -1871,6 +1871,7 @@ ...@@ -1871,6 +1871,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.GetCostTypeList = res.data.data; this.GetCostTypeList = res.data.data;
console.log(this.GetCostTypeList,'======')
if (type) { if (type) {
this.msg.detailList.forEach(x => { this.msg.detailList.forEach(x => {
this.GetCostTypeList.forEach(y => { this.GetCostTypeList.forEach(y => {
......
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
IsUploadPic: 1, IsUploadPic: 1,
orderObj: JSON.stringify(obj) orderObj: JSON.stringify(obj)
} }
if (this.msg.OutBranchId > -1) { if (this.msg.OutBranchId > 0) {
query.id = 31 query.id = 31
query.Name = "分公司销售提成单" query.Name = "分公司销售提成单"
} else { } else {
...@@ -274,4 +274,4 @@ ...@@ -274,4 +274,4 @@
} }
} }
</script> </script>
\ No newline at end of file
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