Commit d94ce28e authored by 吴春's avatar 吴春

1

parent d64f7568
......@@ -1403,15 +1403,15 @@
<el-option v-for="(item,index) in costList" :key="index" :label="item.Name" :value='item.ID'></el-option>
</el-select>
</el-form-item>
<el-form-item>
<input type="button" :value="$t('pub.searchBtn')" class="hollowFixedBtn" @click="czgetList">
</el-form-item>
<el-form-item :label="$t('fnc.jiaoyiriqi')">
<el-date-picker v-model="czdateList" type="daterange" :range-separator="$t('OrderList.zhi')" :start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')">
</el-date-picker>
</el-form-item>
<el-form-item>
<input type="button" :value="$t('pub.searchBtn')" class="hollowFixedBtn" @click="czgetList">
<input type="button" :value="$t('visa.v_daochu')" class="hollowFixedBtn" @click="downloadczgetList">
</el-form-item>
</el-form>
<p style="color: red;text-align: right;padding: 5px;">{{$t('objFill.balanceouttisp')}}</p>
<table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0" v-loading="yfcdLoading">
......@@ -2167,7 +2167,25 @@
null
);
},
downloadczgetList() {
if (this.czdateList && this.czdateList.length > 0) {
this.czMsg.sTradeDate = this.czdateList[0];
this.czMsg.eTradeDate = this.czdateList[1];
} else {
this.czMsg.sTradeDate = "";
this.czMsg.eTradeDate = "";
}
let msg = Object.assign({}, this.czMsg);
if (msg.FrID == "") {
msg.FrID = 0;
}
msg.EmployeeId=this.getLocalStorage().EmployeeId
this.yfcdLoading = true
this.GetLocalFile("Financial_get_OutToAdvanceFinance", msg, "预付款冲抵"+
".xls");
this.yfcdLoading = false
},
HebingSPLast() {
if (this.checkList.length == 0) {
this.Error(this.$t('fnc.a_qxzdanju'));
......
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