Commit 16f40d9e authored by liudong1993's avatar liudong1993

账户明细增加发团日期查询

parent d898f0f7
...@@ -99,6 +99,17 @@ ...@@ -99,6 +99,17 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :gutter="35">
<el-form-item label="发团日期">
<el-date-picker class="h34"
@change="timeAddByTC"
v-model="productionDateByTC"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<ul> <ul>
...@@ -362,6 +373,8 @@ export default { ...@@ -362,6 +373,8 @@ export default {
ClientID:'', ClientID:'',
sTradeDate:'', sTradeDate:'',
eTradeDate:'', eTradeDate:'',
QStartDate:'',
QEndDate:'',
BankList:[], BankList:[],
Is_Cashier:-1, Is_Cashier:-1,
}, },
...@@ -379,6 +392,7 @@ export default { ...@@ -379,6 +392,7 @@ export default {
accountList:[], accountList:[],
accountListT:[], accountListT:[],
productionDate:[], productionDate:[],
productionDateByTC:[],
ClientAccountList:[], ClientAccountList:[],
RB_Branch_Id:null, RB_Branch_Id:null,
loading:false, loading:false,
...@@ -438,6 +452,7 @@ export default { ...@@ -438,6 +452,7 @@ export default {
this.msg.sTradeDate = this.$route.query.sTradeDate; this.msg.sTradeDate = this.$route.query.sTradeDate;
this.msg.eTradeDate = this.$route.query.eTradeDate; this.msg.eTradeDate = this.$route.query.eTradeDate;
this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate]; this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate];
this.productionDateByTC = [this.msg.QStartDate, this.msg.QEndDate];
this.getList(); this.getList();
this.BankAccount_post_GetCashAccountList("query"); this.BankAccount_post_GetCashAccountList("query");
} }
...@@ -773,6 +788,15 @@ export default { ...@@ -773,6 +788,15 @@ export default {
this.msg.sTradeDate = this.productionDate[0]; this.msg.sTradeDate = this.productionDate[0];
this.msg.eTradeDate = this.productionDate[1]; this.msg.eTradeDate = this.productionDate[1];
}, },
timeAddByTC(){ // 日期格式
if(!this.productionDateByTC){
this.msg.QStartDate = '';
this.msg.QEndDate = '';
return
}
this.msg.QStartDate = this.productionDateByTC[0];
this.msg.QEndDate = this.productionDateByTC[1];
},
bankaccount_post_GetList(){ // 获取银行账户 bankaccount_post_GetList(){ // 获取银行账户
this.AccountId = ''; this.AccountId = '';
let msg = { let msg = {
......
...@@ -93,6 +93,17 @@ ...@@ -93,6 +93,17 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :gutter="35">
<el-form-item label="发团日期">
<el-date-picker class="h34"
@change="timeAddByTC"
v-model="productionDateByTC"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<ul> <ul>
...@@ -321,6 +332,8 @@ export default { ...@@ -321,6 +332,8 @@ export default {
ClientID:'', ClientID:'',
sTradeDate:'', sTradeDate:'',
eTradeDate:'', eTradeDate:'',
QStartDate:'',
QEndDate:'',
BankList:[], BankList:[],
Is_Cashier:-1, Is_Cashier:-1,
}, },
...@@ -333,6 +346,7 @@ export default { ...@@ -333,6 +346,7 @@ export default {
GetAccountType:[], GetAccountType:[],
accountList:[], accountList:[],
productionDate:[], productionDate:[],
productionDateByTC:[],
ClientAccountList:[], ClientAccountList:[],
loading:false, loading:false,
date:'', date:'',
...@@ -381,6 +395,7 @@ export default { ...@@ -381,6 +395,7 @@ export default {
this.msg.sTradeDate = this.$route.query.sTradeDate; this.msg.sTradeDate = this.$route.query.sTradeDate;
this.msg.eTradeDate = this.$route.query.eTradeDate; this.msg.eTradeDate = this.$route.query.eTradeDate;
this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate]; this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate];
this.productionDateByTC=[this.msg.QStartDate, this.msg.QEndDate];
this.getList(); this.getList();
this.bankaccount_post_GetListS("query"); this.bankaccount_post_GetListS("query");
} }
...@@ -418,6 +433,15 @@ export default { ...@@ -418,6 +433,15 @@ export default {
this.msg.sTradeDate = this.productionDate[0]; this.msg.sTradeDate = this.productionDate[0];
this.msg.eTradeDate = this.productionDate[1]; this.msg.eTradeDate = this.productionDate[1];
}, },
timeAddByTC(){ // 日期格式
if(!this.productionDateByTC){
this.msg.QStartDate = '';
this.msg.QEndDate = '';
return
}
this.msg.QStartDate = this.productionDateByTC[0];
this.msg.QEndDate = this.productionDateByTC[1];
},
bankaccount_post_GetList(){ // 获取银行账户 bankaccount_post_GetList(){ // 获取银行账户
this.AccountId = ''; this.AccountId = '';
this.apipost('bankaccount_post_GetList',{TypeId:this.accType}, res => { this.apipost('bankaccount_post_GetList',{TypeId:this.accType}, res => {
......
...@@ -90,6 +90,17 @@ ...@@ -90,6 +90,17 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :gutter="35">
<el-form-item label="发团日期">
<el-date-picker class="h34"
@change="timeAddByTC"
v-model="productionDateByTC"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<ul> <ul>
...@@ -309,6 +320,8 @@ export default { ...@@ -309,6 +320,8 @@ export default {
ClientID:'', ClientID:'',
sTradeDate:'', sTradeDate:'',
eTradeDate:'', eTradeDate:'',
QStartDate:'',
QEndDate:'',
BankList:[], BankList:[],
Is_Cashier:-1, Is_Cashier:-1,
Status:-1, Status:-1,
...@@ -323,6 +336,7 @@ export default { ...@@ -323,6 +336,7 @@ export default {
GetAccountType:[], GetAccountType:[],
accountList:[], accountList:[],
productionDate:[], productionDate:[],
productionDateByTC:[],
ClientAccountList:[], ClientAccountList:[],
loading:false, loading:false,
RB_Branch_Id:null, RB_Branch_Id:null,
...@@ -372,6 +386,7 @@ export default { ...@@ -372,6 +386,7 @@ export default {
this.msg.sTradeDate = this.$route.query.sTradeDate; this.msg.sTradeDate = this.$route.query.sTradeDate;
this.msg.eTradeDate = this.$route.query.eTradeDate; this.msg.eTradeDate = this.$route.query.eTradeDate;
this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate]; this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate];
this.productionDateByTC = [this.msg.QStartDate, this.msg.QEndDate];
this.getList(); this.getList();
this.BankAccount_post_GetPlatformList("query"); this.BankAccount_post_GetPlatformList("query");
} }
...@@ -409,6 +424,15 @@ export default { ...@@ -409,6 +424,15 @@ export default {
this.msg.sTradeDate = this.productionDate[0]; this.msg.sTradeDate = this.productionDate[0];
this.msg.eTradeDate = this.productionDate[1]; this.msg.eTradeDate = this.productionDate[1];
}, },
timeAddByTC(){ // 日期格式
if(!this.productionDateByTC){
this.msg.QStartDate = '';
this.msg.QEndDate = '';
return
}
this.msg.QStartDate = this.productionDateByTC[0];
this.msg.QEndDate = this.productionDateByTC[1];
},
bankaccount_post_GetList(){ // 获取平台账户 bankaccount_post_GetList(){ // 获取平台账户
this.AccountId = ''; this.AccountId = '';
let msg = { let msg = {
......
...@@ -82,6 +82,17 @@ ...@@ -82,6 +82,17 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :gutter="35">
<el-form-item label="发团日期">
<el-date-picker class="h34"
@change="timeAddByTC"
v-model="productionDateByTC"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<ul> <ul>
...@@ -339,6 +350,8 @@ export default { ...@@ -339,6 +350,8 @@ export default {
ClientID:'', ClientID:'',
sTradeDate:'', sTradeDate:'',
eTradeDate:'', eTradeDate:'',
QStartDate:'',
QEndDate:'',
BankList:[], BankList:[],
Is_Cashier:-1, Is_Cashier:-1,
}, },
...@@ -354,6 +367,7 @@ export default { ...@@ -354,6 +367,7 @@ export default {
GetAccountType:[], GetAccountType:[],
accountList:[], accountList:[],
productionDate:[], productionDate:[],
productionDateByTC:[],
ClientAccountList:[], ClientAccountList:[],
RB_Branch_Id:null, RB_Branch_Id:null,
loading:false, loading:false,
...@@ -402,6 +416,7 @@ export default { ...@@ -402,6 +416,7 @@ export default {
this.msg.sTradeDate = this.$route.query.sTradeDate; this.msg.sTradeDate = this.$route.query.sTradeDate;
this.msg.eTradeDate = this.$route.query.eTradeDate; this.msg.eTradeDate = this.$route.query.eTradeDate;
this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate]; this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate];
this.productionDateByTC = [this.msg.QStartDate, this.msg.QEndDate];
this.getList(); this.getList();
this.BankAccount_post_GetCashPoolList("query"); this.BankAccount_post_GetCashPoolList("query");
} }
...@@ -444,6 +459,15 @@ export default { ...@@ -444,6 +459,15 @@ export default {
this.msg.sTradeDate = this.productionDate[0]; this.msg.sTradeDate = this.productionDate[0];
this.msg.eTradeDate = this.productionDate[1]; this.msg.eTradeDate = this.productionDate[1];
}, },
timeAddByTC(){ // 日期格式
if(!this.productionDateByTC){
this.msg.QStartDate = '';
this.msg.QEndDate = '';
return
}
this.msg.QStartDate = this.productionDateByTC[0];
this.msg.QEndDate = this.productionDateByTC[1];
},
bankaccount_post_GetList(){ // 获取银行账户 bankaccount_post_GetList(){ // 获取银行账户
this.AccountId = ''; this.AccountId = '';
let msg = { let msg = {
......
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