Commit ce2909d4 authored by huangyuanyuan's avatar huangyuanyuan

update

parent af5a9f97
...@@ -842,6 +842,12 @@ export default { ...@@ -842,6 +842,12 @@ export default {
if(this.$route.query.Type){ if(this.$route.query.Type){
this.msg.Type = this.$route.query.Type+''; this.msg.Type = this.$route.query.Type+'';
} }
if(this.$route.query.rec){
this.msg.AccountType=15;
this.msg.TradeWay=4;
this.getAccountList(this.msg.AccountType,this.msg.TradeWay)
this.msg.BankID=14;
}
},components: { },components: {
"my-Bill": myBill, "my-Bill": myBill,
"my-RVB-Bill":myrbvBill, "my-RVB-Bill":myrbvBill,
...@@ -949,7 +955,7 @@ export default { ...@@ -949,7 +955,7 @@ export default {
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
// this.msg.TCID= this.msg.TCID==0?this.msg.TCID:''; // this.msg.TCID= this.msg.TCID==0?this.msg.TCID:'';
this.queryInfoInit(); // this.queryInfoInit();
this.currentPage = parseInt(this.msg.pageIndex); this.currentPage = parseInt(this.msg.pageIndex);
},err=>{}) },err=>{})
}, },
...@@ -1049,7 +1055,6 @@ export default { ...@@ -1049,7 +1055,6 @@ export default {
}, },
getAccountList(i,t){ //收款账户 getAccountList(i,t){ //收款账户
let accountList = []; let accountList = [];
this.msg.BankID="";
if(t==1){ // 银行 if(t==1){ // 银行
this.apipost('bankaccount_post_GetList',{TypeId:i}, res => { this.apipost('bankaccount_post_GetList',{TypeId:i}, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
......
...@@ -614,6 +614,7 @@ tr._item_list td:last-child { ...@@ -614,6 +614,7 @@ tr._item_list td:last-child {
</div> </div>
</template> </template>
<script> <script>
import moment from 'moment'
import Vue from "vue"; import Vue from "vue";
import XLSX from "xlsx"; import XLSX from "xlsx";
import downloadExcelEasy from "../../../assets/utils/downloadExcelEasy"; import downloadExcelEasy from "../../../assets/utils/downloadExcelEasy";
...@@ -663,8 +664,8 @@ Vue.component("TCNUMJump", { ...@@ -663,8 +664,8 @@ Vue.component("TCNUMJump", {
<span style="cursor: pointer" v-if="rowData.DataType===2" @click="goUrlExtend('individualTicket',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer" v-if="rowData.DataType===2" @click="goUrlExtend('individualTicket',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer" v-if="rowData.DataType===3" @click="goUrlVisa('VisaProductOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===4" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span> <span style="cursor: pointer" v-if="rowData.DataType===4" @click="goUrlExtend('SettlementOrder',rowData.TCID)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===6">{{rowData.TCNUM}}</span> <span style="cursor: pointer" v-if="rowData.DataType===6" @click="goRec('RecPayQuery',rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer" v-if="rowData.DataType===7">{{rowData.TCNUM}}</span> <span style="cursor: pointer" v-if="rowData.DataType===7" @click="goRec('RecPayQuery',rowData)">{{rowData.TCNUM}}</span>
</div>`, </div>`,
props: { props: {
rowData: { rowData: {
...@@ -678,6 +679,23 @@ Vue.component("TCNUMJump", { ...@@ -678,6 +679,23 @@ Vue.component("TCNUMJump", {
} }
}, },
methods: { methods: {
goRec(path,rowData){
let BankID="";
let StartDate="";
if(rowData.DataType===6){
BankID=14;
}
if(rowData.DataType===7){
BankID=15;
}
if(rowData.TCNUM.indexOf('JAP')!=-1 || rowData.TCNUM.indexOf('LAO')!=-1){
StartDate=moment(rowData.StartDate).format("YYYY-MM-DD");
}
this.$router.push({
path: "/" + path,
query: {'rec':'rec','StartDate':StartDate,"BankID":BankID,blank: "y"}
});
},
goUrl(path, id) { goUrl(path, id) {
this.$router.push({ this.$router.push({
path: "/" + path, path: "/" + path,
......
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