Commit 438cee97 authored by youjie's avatar youjie

no message

parent 73b015dc
......@@ -514,7 +514,10 @@ tr._item_list td:last-child {
background-color: #1296db;
font-size: 18px;
}
._icon_btn i.icon-shezhi1 {
background-color: #1296db;
font-size: 18px;
}
.boss_btn_tips,
.boss_btn {
text-align: center;
......@@ -1634,6 +1637,17 @@ tr._item_list td:last-child {
"
></i>
</el-tooltip>
<el-tooltip
class="item"
content="手续费设置"
placement="top"
>
<i
v-if="active==1 && istransaction == true && item.Type==1"
class="iconfont icon-shezhi1"
@click="goSet(item)"
></i>
</el-tooltip>
</td>
</tr>
</table>
......@@ -2051,6 +2065,28 @@ tr._item_list td:last-child {
</button>
</div>
</el-dialog>
<el-dialog
title="修改单据手续费"
width="370px"
:visible.sync="handlingFeeSync"
center>
<el-form class="cdForm" label-width="90px">
<el-form-item label="交易手续费" prop="Fee">
<el-input
class="w220"
v-model="transTax.Fee"
></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="handlingFeeSync = false">
{{ $t("pub.cancelBtn") }}
</button>
<button class="normalBtn" type="primary" @click="handlingSureFee" :loading="transTax.loading">
{{ $t("pub.sureBtn") }}
</button>
</div>
</el-dialog>
</div>
</template>
<script>
......@@ -2259,7 +2295,13 @@ export default {
accountList2: [],
trabeList: [], //获取的交易方式列表
alltransaction: [],
istransaction: false
istransaction: false,
handlingFeeSync:false,
transTax:{
Fee:'0.00',
loading: true,
FrId:0
}
};
},
created() {
......@@ -3459,6 +3501,38 @@ export default {
});
}
},
// 确定编辑手续费
handlingSureFee(){
if (this.transTax.loading) return;
this.transTax.loading = true;
if (this.transTax.Fee && this.transTax.Fee != "") {
this.apipost(
"Financial_post_UpdateFinanceFee",
{ FrId: this.transTax.FrId, Fee: this.transTax.Fee },
res => {
if (res.data.resultCode == 1) {
this.Success("修改成功");
this.getPageList();
this.handlingFeeSync = false;
}
this.transTax.loading = false;
},
err => {
this.transTax.loading = false;
}
);
} else {
this.transTax.loading = false;
this.Error("请输入手续费");
}
},
// 编辑手续费
goSet(item){
this.handlingFeeSync = true
this.transTax.loading = false
this.transTax.Fee = "0.00";
this.transTax.FrId = item.FrID
},
goEit(type, id, edit, Conditon, pageIndex, item, iscopy = 1) {
//iscopy是否复制 现在只做type为1和2
let path = "";
......
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