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',
{
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: row.OrderType, // 单据类型 RelevanceFrId: num==3?1: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,7 +861,6 @@ ...@@ -861,7 +861,6 @@
} }
} else { } else {
if (num == 1 || num == 2) {
data = [{ data = [{
path: 'ChoiceAddFinancialDocuments', path: 'ChoiceAddFinancialDocuments',
type: type, type: type,
...@@ -869,19 +868,8 @@ ...@@ -869,19 +868,8 @@
ReFinanceId: row.OrderId, ReFinanceId: row.OrderId,
ReFinanceId2: num, ReFinanceId2: num,
GuestId: row.GuestId, GuestId: row.GuestId,
RelevanceFrId: row.OrderType, // 单据类型 RelevanceFrId: num==3?1: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