Commit 0d345705 authored by liudong1993's avatar liudong1993

1

parent 83fa32cb
......@@ -740,6 +740,8 @@
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="this.userId == 2994"
@click="outerVisible3=true">车行ETC补差</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 "
......@@ -1651,6 +1653,14 @@
<div slot="tip" class="el-upload__tip">{{$t("ground.znscexcel")}}</div>
</el-upload>
</el-dialog>
<el-dialog custom-class='w700' title="导入车行ETC差额" :visible.sync="outerVisible3" center>
<el-upload drag class="upload-demo" :action="importFileUrl5+'&EmployeeId='+userId" :on-success="handleAvatarSuccess3"
:before-upload="beforeAvatarUpload2">
<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>
<el-dialog custom-class='w700' title="导入快递费" :visible.sync="outerVisible2" center>
<el-upload drag class="upload-demo" :action="importFileUrl3" :on-success="handleAvatarSuccess2"
:before-upload="beforeAvatarUpload2">
......@@ -1829,6 +1839,7 @@
isTerminate: -1,
outerVisible: false,
outerVisible2: false,
outerVisible3: false,
importData: "",
importDataIndex: 0,
picObj: [],
......@@ -1838,6 +1849,8 @@
tabLoading: false,
importFileUrl2: this.domainManager().UploadFileUrl +
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=18",
importFileUrl5: this.domainManager().UploadFileUrl +
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=22",
expressageMsg: [],
importFileUrl3: this.domainManager().UploadFileUrl +
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=21",
......@@ -2485,6 +2498,13 @@
this.$message.error(res.message);
}
},
handleAvatarSuccess3(res, file) {
if (res.resultCode == 1) {
this.Success(res.message);
} 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