Commit 4e15102e authored by liudong1993's avatar liudong1993

1

parent 5c5e5284
......@@ -717,6 +717,7 @@
v-if="msg.Conditon == 3">{{BOSSBtn2 ? $t('objFill.noOneclicktransfer') : $t('objFill.oneclicktransfer')}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon == 3 && BOSSBtn2" @click="BOSSBtnClick(2)">{{$t('fnc.zhuanjiao')}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon == 1&&ActionMenuCode.indexOf('batchAddWages')!=-1 " @click="outerVisible=true">{{$t('objFill.payroll')}}</button>
<button class="hollowFixedBtn" v-if="msg.Conditon == 1&&ActionMenuCode.indexOf('batchAddWages')!=-1 " @click="outerVisible2=true">快递费</button>
<template v-if="msg.Conditon == 1 || (isBatchPrinting&&msg.Conditon == 3)">
<button class="hollowFixedBtn" v-if="!BOSSBtn3"
@click="BOSSBtn3 = true">一键打印</button>
......@@ -1601,6 +1602,14 @@
<div slot="tip" class="el-upload__tip">{{$t("ground.znscexcel")}}</div>
</el-upload>
</el-dialog>
<el-dialog custom-class='w700' title="导入快递费" :visible.sync="outerVisible2" center>
<el-upload drag class="upload-demo" :action="importFileUrl3" :on-success="handleAvatarSuccess2"
:before-upload="beforeAvatarUpload">
<i class="el-icon-upload"></i>
<div class="el-upload__text">{{$t("tips.tuodongwenjian")}}<em>{{$t('tips.dianjishanhcuan')}}</em></div>
<div slot="tip" class="el-upload__tip">{{$t("ground.znscexcel")}}</div>
</el-upload>
</el-dialog>
<editExchangeRate v-if="costmodeHL" :hlData="trabeListHL" @success="resetPageIndex(),
getPageList(),
......@@ -1734,6 +1743,7 @@
yfcdLoading: false,
isTerminate: -1,
outerVisible: false,
outerVisible2: false,
importData:"",
importDataIndex:0,
picObj: [],
......@@ -1743,6 +1753,8 @@
tabLoading:false,
importFileUrl2: this.domainManager().UploadFileUrl +
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=18",
importFileUrl3: this.domainManager().UploadFileUrl +
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=21",
hbMsg: {
FrIDList: [],
Type: 1
......@@ -2276,6 +2288,15 @@
this.$message.error(res.message);
}
},
handleAvatarSuccess2(res, file) {
if (res.resultCode == 1) {
this.Success(res.message);
resetPageIndex();
}
else{
this.$message.error(res.message);
}
},
getRate(value) {
return this.moneyFormatB(value)
},
......
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