Commit 3f3986a5 authored by zhengke's avatar zhengke

no message

parent 0dd1ce45
...@@ -728,32 +728,15 @@ export default { ...@@ -728,32 +728,15 @@ export default {
} }
} }
} else { } else {
if (num == 1 || num == 2) { data = [{
data = [ path: 'ChoiceAddFinancialDocuments',
{ type: type,
path: "ChoiceAddFinancialDocuments", OtherType: 55,
type: type, ReFinanceId: row.OrderId,
OtherType: 55, ReFinanceId2: num,
ReFinanceId: row.OrderId, GuestId: row.GuestId,
ReFinanceId2: num, RelevanceFrId: num==3?1:row.OrderType, // 单据类型
GuestId: row.GuestId, }]
RelevanceFrId: row.OrderType, // 单据类型
},
];
}
if (num == 3) {
data = [
{
path: "ChoiceAddFinancialDocuments",
type: type,
OtherType: 55,
ReFinanceId: row.OrderId,
ReFinanceId2: num,
GuestId: row.GuestId,
RelevanceFrId: row.OrderType,
},
];
}
href = href =
url + url +
"automaticLogin?token=" + "automaticLogin?token=" +
......
...@@ -861,27 +861,15 @@ ...@@ -861,27 +861,15 @@
} }
} else { } else {
if (num == 1 || num == 2) { data = [{
data = [{ path: 'ChoiceAddFinancialDocuments',
path: 'ChoiceAddFinancialDocuments', type: type,
type: type, OtherType: 55,
OtherType: 55, ReFinanceId: row.OrderId,
ReFinanceId: row.OrderId, ReFinanceId2: num,
ReFinanceId2: num, GuestId: row.GuestId,
GuestId: row.GuestId, RelevanceFrId: num==3?1:row.OrderType, // 单据类型
RelevanceFrId: row.OrderType, // 单据类型 }]
}]
}
if (num == 3) {
data = [{
path: 'ChoiceAddFinancialDocuments',
type: type,
OtherType: 55,
ReFinanceId: row.OrderId,
ReFinanceId2: num,
GuestId: row.GuestId,
}]
}
href = url + 'automaticLogin?token=' + this.getLocalStorage().token + '&data=' + JSON href = url + 'automaticLogin?token=' + this.getLocalStorage().token + '&data=' + JSON
.stringify(data) .stringify(data)
window.open(href); window.open(href);
......
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