Commit ead8f7bd authored by youjie's avatar youjie

no message

parent 80d744b5
......@@ -226,6 +226,7 @@
</span>
<button class="hollowFixedBtn" @click="resetPageIndex(),getPageList()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" @click="method5()">导出</button>
<button v-if="userinfo.PostName=='财务总监'" class="normalBtn" @click="method5(1)">日本导出</button>
</li>
</ul>
</div>
......@@ -699,6 +700,7 @@
export default {
data() {
return {
userinfo:{},
alltransaction: [],
transactionmode: false,
transTax: {
......@@ -835,6 +837,7 @@
}
},
created() {
this.userinfo = this.getLocalStorage();
let userinfo = this.getLocalStorage();
let ActionMenuCode = userinfo.ActionMenuCode;
if (ActionMenuCode.indexOf('Finance_ExpenseType') != -1) {
......@@ -1108,7 +1111,15 @@
this.currentPage = parseInt(this.msg.pageIndex);
}, err => {})
},
method5: function () {
method5(type) {
let url = 'Financial_post_DownInOrOut'
if(type==1){
url = 'Financial_post_DownInOrOutForJapanPay'
if(this.msg.AuditId==''&&!this.msg.AuditId){
this.$message.error('请选择待审核人');
return
}
}
if (!this.msg.ClientID) this.msg.ClientID = 0;
if (!this.msg.ClientType) this.msg.ClientType = 0;
if (!this.msg.CurrencyId) this.msg.CurrencyId = 0;
......@@ -1126,7 +1137,7 @@
if (!this.msg.AccountType) this.msg.AccountType = 0;
if (!this.msg.KJCostTypeId) this.msg.KJCostTypeId = 0;
if (!this.msg.IsSelectKJSetCostType) this.msg.IsSelectKJSetCostType = 0;
this.GetLocalFile("Financial_post_DownInOrOut", this.msg, "收支款.xls");
this.GetLocalFile(url, this.msg, "收支款.xls");
},
financeRemove(id) { //作废
this.$confirm('是否对申请单进行作废操作?作废后不可恢复!', '提示', {
......
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