Commit 796c400c authored by youjie's avatar youjie

no message

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