Commit c699a405 authored by Mac's avatar Mac

跳转修改

parent 5e2315db
...@@ -660,14 +660,18 @@ ...@@ -660,14 +660,18 @@
methods: { methods: {
goUrlNew(item) { goUrlNew(item) {
let path = "CashAccDetail"; let path = "CashAccDetail";
this.$router.push({ // this.$router.push({
name: path, // name: path,
query: { // query: {
"TypeId": item.TypeId, // "TypeId": item.TypeId,
// 'ID': item.ID,
// blank: "y",
// }
// })
this.OpenNewUrl('/financial/accDetail/'+path, {
"TypeId": item.TypeId,
'ID': item.ID, 'ID': item.ID,
blank: "y", });
}
})
}, },
regNum(n, t) { // 判断数字 n 值 t 类型 regNum(n, t) { // 判断数字 n 值 t 类型
let reg = /^\d+(\.\d{0,6})?$/ let reg = /^\d+(\.\d{0,6})?$/
......
...@@ -850,14 +850,19 @@ ...@@ -850,14 +850,19 @@
}, },
goUrlNew(item) { goUrlNew(item) {
let path = "CompanyAccDetail"; let path = "CompanyAccDetail";
this.$router.push({ // this.$router.push({
name: path, // name: path,
query: { // query: {
"TypeId": item.TypeId, // "TypeId": item.TypeId,
'ID': item.ID, // 'ID': item.ID,
blank: "y", // blank: "y",
} // }
}) // })
this.OpenNewUrl('/financial/accDetail/'+path, {
"TypeId": item.TypeId,
'ID': item.ID,
});
}, },
goUrl(path, id, name, source, CurrencyId) { goUrl(path, id, name, source, CurrencyId) {
this.$router.push({ this.$router.push({
......
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