Commit 7bf96143 authored by youjie's avatar youjie

no message

parent 961a2052
......@@ -807,10 +807,6 @@ export default {
if(this.total==0){
this.DataList=[];
}else{
data.forEach(x=>{
// this.columns[0].filters.push({label:x.FrID,value:x.FrID})
x.modelShow = false;
})
this.DataList = data;
}
this.loading=false;
......
......@@ -245,12 +245,13 @@
Money=item.SumPrice
}
let obj = {
CostType: 16,//112
CostType: 112,
Money: Money,
CurrencyId: 1,
XSTC: 1,
OtherType:73,
ReFinanceId: item.ID,
SelectState: true,
isRB_Branch_Id: true,
RB_Branch_Id: this.msg.OutBranchId,
}
......@@ -261,11 +262,11 @@
IsUploadPic: 1,
orderObj: JSON.stringify(obj)
}
if(this.msg.OutBranchId>-1){
query.id = 30
if(this.msg.OutBranchId > 0){
query.id = 31
query.Name = "分公司OP提成单"
}else{
query.id = 28
query.id = 29
query.Name = "总部OP提成单"
}
......
......@@ -353,7 +353,7 @@
IsUploadPic: 1,
orderObj: JSON.stringify(obj)
}
if (this.msg.OutBranchId > -1) {
if (this.msg.OutBranchId > 0) {
query.id = 31
query.Name = "分公司销售提成单"
} else {
......
......@@ -558,7 +558,7 @@
<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)"
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-select>
</td>
......@@ -1871,6 +1871,7 @@
if (res.data.resultCode == 1) {
this.GetCostTypeList = res.data.data;
console.log(this.GetCostTypeList,'======')
if (type) {
this.msg.detailList.forEach(x => {
this.GetCostTypeList.forEach(y => {
......
......@@ -246,7 +246,7 @@
IsUploadPic: 1,
orderObj: JSON.stringify(obj)
}
if (this.msg.OutBranchId > -1) {
if (this.msg.OutBranchId > 0) {
query.id = 31
query.Name = "分公司销售提成单"
} else {
......
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