Commit f98f3078 authored by 吴春's avatar 吴春

入境财务单据修改

parent e9a39e36
...@@ -756,6 +756,7 @@ ...@@ -756,6 +756,7 @@
return { return {
isUpdate: 'false', isUpdate: 'false',
loading: false, loading: false,
LineId:0,
defaultSelectValue: 0, defaultSelectValue: 0,
initialIndex: 0, initialIndex: 0,
picIsShow: false, picIsShow: false,
...@@ -972,11 +973,17 @@ ...@@ -972,11 +973,17 @@
CurrencyId: leadr.CurrencyId, CurrencyId: leadr.CurrencyId,
} }
let id = []; let id = [];
if (obj.OutBranchId === 0) { if (obj.LineId==this.LineId){
id = [43, 48] id = [98, 99]
} else { }
id = [56, 53] else{
if (obj.OutBranchId === 0) {
id = [43, 48]
} else {
id = [56, 53]
}
} }
this.$router.push({ this.$router.push({
name: 'ChoiceAddFinancialDocuments', name: 'ChoiceAddFinancialDocuments',
query: { query: {
...@@ -1179,6 +1186,7 @@ ...@@ -1179,6 +1186,7 @@
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let nav = res.data.data.list; let nav = res.data.data.list;
this.LineId=res.data.data.EntryId;
let num = 0; let num = 0;
nav.forEach(x => { nav.forEach(x => {
x.CurrencyIdArr = []; x.CurrencyIdArr = [];
......
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