Commit c23a3a21 authored by 黄奎's avatar 黄奎
parents 628ac1cc fad05ef9
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
font-size:18px; font-size:18px;
color:#333333; color:#333333;
} }
.Summary_login_Div .icon-login-name,.icon-login-password{ .Summary_login_Div .icon-login-name, .Summary_login_Div .icon-login-password{
width:16px; width:16px;
height:15px; height:15px;
display:inline-block; display:inline-block;
......
...@@ -1623,7 +1623,7 @@ export default { ...@@ -1623,7 +1623,7 @@ export default {
let allMoney = 0 let allMoney = 0
this.payMsgList.forEach(x=>{ this.payMsgList.forEach(x=>{
allMoney+= x.allMoney; allMoney+= x.allMoney;
// x.allMoney=(Math.round(x.allMoney * 100)) / 100; x.allMoney=(Math.round(x.allMoney * 100)) / 100;
}) })
if(allMoney.toString().split(".")[1]){ if(allMoney.toString().split(".")[1]){
let num=allMoney.toString().split(".")[1].length; let num=allMoney.toString().split(".")[1].length;
......
...@@ -842,6 +842,14 @@ export default { ...@@ -842,6 +842,14 @@ 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;
this.transactionDate[0]=this.$route.query.StartDate;
this.transactionDate[1]=this.$route.query.StartDate;
}
},components: { },components: {
"my-Bill": myBill, "my-Bill": myBill,
"my-RVB-Bill":myrbvBill, "my-RVB-Bill":myrbvBill,
...@@ -949,7 +957,7 @@ export default { ...@@ -949,7 +957,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 +1057,6 @@ export default { ...@@ -1049,7 +1057,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) {
...@@ -1264,8 +1271,8 @@ export default { ...@@ -1264,8 +1271,8 @@ export default {
QEndDate:this.msg.QEndDate, QEndDate:this.msg.QEndDate,
QStartDate:this.msg.QStartDate, QStartDate:this.msg.QStartDate,
OrderID:this.msg.OrderID==0?'':this.msg.OrderID, OrderID:this.msg.OrderID==0?'':this.msg.OrderID,
Sort:this.msg.Sort, Sort:this.msg.Sort,
EmployeeId:this.msg.EmployeeId, EmployeeId:this.msg.EmployeeId,
} }
this.msg = msg; this.msg = msg;
}, },
......
...@@ -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,
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<el-form-item :label="$t('fnc.fkduixiang')"> <el-form-item :label="$t('fnc.fkduixiang')">
<el-select filterable v-model='msg.ClientID' > <el-select filterable v-model='msg.ClientID' >
<el-option v-for='item in ClientAccountList' <el-option v-for='item in ClientAccountList'
:label='item.AccountAlias' :label='`${item.AccountAlias}(${item.AccountHolder})`'
:value='item.ID' :value='item.ID'
:key='item.ID'> :key='item.ID'>
</el-option> </el-option>
......
...@@ -2,22 +2,15 @@ ...@@ -2,22 +2,15 @@
<div class="roomQuery"> <div class="roomQuery">
<div class="query-box" style="border-bottom: none;"> <div class="query-box" style="border-bottom: none;">
<ul style="position:relative;"> <ul style="position:relative;">
<li> <li>
<span> <span>
<em>月份</em> <em>月份</em>
<!-- <el-date-picker v-model="msg.MonthStr" type="monthrange" range-separator="至" start-placeholder="开始月份"
end-placeholder="结束月份">
</el-date-picker> -->
<el-date-picker <el-date-picker
v-model="msg.MonthStr" v-model="msg.Month"
type="monthrange" type="month"
range-separator="至" placeholder="选择月">
start-placeholder="开始月份"
end-placeholder="结束月份">
</el-date-picker> </el-date-picker>
</span> </span>
</li> </li>
<li style="position:absolute;right:10px;top:0;"> <li style="position:absolute;right:10px;top:0;">
<input type="button" class="normalBtn" value="查询" @click="getList();resetPageIndex()" /> <input type="button" class="normalBtn" value="查询" @click="getList();resetPageIndex()" />
...@@ -79,7 +72,7 @@ ...@@ -79,7 +72,7 @@
TCNUM: '', TCNUM: '',
PriceStatus: 0, PriceStatus: 0,
CombinationNum: '', CombinationNum: '',
MonthStr: "" //月份字符串 Month: "" //月份字符串
}, },
UserInfo: {}, UserInfo: {},
//分公司类表 //分公司类表
......
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