Commit 796c400c authored by youjie's avatar youjie

no message

parent aee6a193
...@@ -350,33 +350,67 @@ ...@@ -350,33 +350,67 @@
}else{ }else{
Money=item.SumPrice Money=item.SumPrice
} }
let obj = { if(type==1){
CostType: 16, let obj = {
Money: Money, CostType: 16,
CurrencyId: 1, Money: Money,
XSTC: 1, CurrencyId: 1,
OtherType:type==1?63:64, XSTC: 1,
ReFinanceId:item.Id OtherType:type==1?63:64,
} ReFinanceId:item.Id
let query = { }
blank: "y", let query = {
tab: "新增付款单据", blank: "y",
Type: 2, tab: "新增付款单据",
IsUploadPic: 1, Type: 2,
orderObj: JSON.stringify(obj) IsUploadPic: 1,
} orderObj: JSON.stringify(obj)
if(this.msg.OutBranchId>-1){ }
query.id = 30 if(this.msg.OutBranchId>-1){
query.Name = "分公司销售提成单" query.id = 30
query.Name = "分公司销售提成单"
}else{
query.id = 28
query.Name = "总部销售提成单"
}
this.$router.push({
path: "/addFinancialDocuments",
query
});
}else{ }else{
query.id = 28 let obj = {
query.Name = "总部销售提成单" CostType: 112,
Money: Money,
// CurrencyId: 1,
// XSTC: 1,
OtherType: 48,
ReFinanceId: item.Id,
SelectState: true,
OrderSource: 8,
OrderID: 0,
}
let query = {
blank: "y",
tab: "新增付款单据",
Type: 2,
IsUploadPic: 1,
orderObj: JSON.stringify(obj)
}
if (this.msg.OutBranchId > -1) {
query.id = 31
query.Name = "分公司销售提成单"
} else {
query.id = 29
query.Name = "总部销售提成单"
}
this.$router.push({
path: "/addFinancialDocuments",
query
});
} }
this.$router.push({
path: "/addFinancialDocuments",
query
});
}, },
gofinancialdetail(id){ gofinancialdetail(id){
......
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