Commit 6ba092ef authored by youjie's avatar youjie

no message

parent c4bee8a6
...@@ -654,6 +654,7 @@ tr._item_list td:last-child { ...@@ -654,6 +654,7 @@ tr._item_list td:last-child {
> >
批量制单 批量制单
</button> </button>
<button <button
class="normalBtn" class="normalBtn"
v-if="checkboxShow" v-if="checkboxShow"
...@@ -670,6 +671,10 @@ tr._item_list td:last-child { ...@@ -670,6 +671,10 @@ tr._item_list td:last-child {
> >
{{ $t("fnc.gzweituo") }} {{ $t("fnc.gzweituo") }}
</button> </button>
<button
class="hollowFixedBtn" @click="isPrepaymentOffset=true">
预付款冲抵
</button>
<!-- <button v-if="active==3 && !hbState && hbShow" class="hollowFixedBtn" @click="HebingSP">合并审批</button> --> <!-- <button v-if="active==3 && !hbState && hbShow" class="hollowFixedBtn" @click="HebingSP">合并审批</button> -->
<!-- <button v-if="active==3 && hbState" class="hollowFixedBtn" @click="hbState=false,getPageList">关闭合并审批</button> --> <!-- <button v-if="active==3 && hbState" class="hollowFixedBtn" @click="hbState=false,getPageList">关闭合并审批</button> -->
<button <button
...@@ -681,7 +686,7 @@ tr._item_list td:last-child { ...@@ -681,7 +686,7 @@ tr._item_list td:last-child {
审批 审批
</button> </button>
<!-- <button v-if="HandShow" class="hollowFixedBtn" @click="Handwithfee">手配费收入</button>--> <!-- <button v-if="HandShow" class="hollowFixedBtn" @click="Handwithfee">手配费收入</button>-->
<!-- <button class="hollowFixedBtn" @click="ZhiDanChongDi"> 预付款冲抵</button>-->
<!-- <button class="hollowFixedBtn" @click="BOSSBtn = !BOSSBtn, checkList = [], getPageList(1), BOSSBtn2 = false" <!-- <button class="hollowFixedBtn" @click="BOSSBtn = !BOSSBtn, checkList = [], getPageList(1), BOSSBtn2 = false"
v-if="msg.Conditon === 3 ">{{BOSSBtn ? '关闭一键审批' : '一键审批'}}</button> --> v-if="msg.Conditon === 3 ">{{BOSSBtn ? '关闭一键审批' : '一键审批'}}</button> -->
<button <button
...@@ -1960,122 +1965,6 @@ tr._item_list td:last-child { ...@@ -1960,122 +1965,6 @@ tr._item_list td:last-child {
</template> </template>
</el-dialog> </el-dialog>
<el-dialog
title="预付款冲抵"
width="860px"
:visible.sync="yfcdState"
center
>
<el-form class="cdForm" label-width="90px">
<el-form-item label="单号" prop="FrID">
<el-input
class="w220"
@keyup.native="checkInteger(czMsg, 'FrID')"
v-model="czMsg.FrID"
></el-input>
</el-form-item>
<el-form-item label="费用类型">
<el-select filterable v-model="czMsg.CostTypeID" class="">
<el-option label="不限" value=""></el-option>
<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="查询"
class="hollowFixedBtn"
@click="czgetList"
/>
</el-form-item>
<el-form-item label="交易日期" size="small">
<el-date-picker
v-model="czdateList"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
</el-date-picker>
</el-form-item>
</el-form>
<table class="leaderPayTable" border="0" cellspacing="1" cellpadding="0">
<tr>
<th></th>
<th>单号</th>
<th>公司</th>
<th>费用类型</th>
<th>币种</th>
<th>汇率</th>
<th>金额</th>
<th>冲抵金额</th>
<th>状态</th>
<th>付款对象</th>
</tr>
<tr v-for="(item, index) in czList" :key="index">
<td>
<input
type="checkbox"
:value="item"
v-model="yfcheckList"
@change="ckeckOne"
/>
</td>
<td>{{ item.FrID }}</td>
<td>{{ item.BranchName }}</td>
<td>{{ item.CostTypeName }}</td>
<td>{{ item.CurrencyName }}</td>
<td>{{ item.Rate }}</td>
<td>{{ item.Money }}</td>
<td>{{ item.MatchMoney }}</td>
<td>{{ item.StatusStr }}</td>
<td>
<el-tooltip
class="item"
effect="dark"
:content="
item.ClientTypeName +
':' +
item.RemitterName +
'(' +
item.AccountNumber +
')'
"
placement="top-start"
>
<div style="width:250px;overflow:hidden">
{{ item.ClientTypeName }}:{{ item.RemitterName }}
</div>
</el-tooltip>
</td>
</tr>
<tr v-if="czList.length == 0">
<td colspan="12">暂无数据</td>
</tr>
</table>
<el-pagination
background
@current-change="handleCurrentChange2"
layout="total,prev, pager, next, jumper"
:page-size="czMsg.pageSize"
:total="total2"
>
</el-pagination>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="yfcdState = false">
{{ $t("pub.cancelBtn") }}
</button>
<button class="normalBtn" type="primary" @click="goUrlZD">
{{ $t("pub.sureBtn") }}
</button>
</div>
</el-dialog>
<el-dialog <el-dialog
title="修改单据手续费" title="修改单据手续费"
width="370px" width="370px"
...@@ -2130,6 +2019,11 @@ tr._item_list td:last-child { ...@@ -2130,6 +2019,11 @@ tr._item_list td:last-child {
</button> </button>
</div> </div>
</el-dialog> </el-dialog>
<!-- 预付款冲抵 -->
<PrepaymentOffset v-if="isPrepaymentOffset"
@close="isPrepaymentOffset=false"
></PrepaymentOffset>
</div> </div>
</template> </template>
<script> <script>
...@@ -2144,8 +2038,16 @@ import { ...@@ -2144,8 +2038,16 @@ import {
getClassNameList, getClassNameList,
queryStudyNameList queryStudyNameList
} from "../../../api/finance/index"; } from "../../../api/finance/index";
import PrepaymentOffset from "../components/PrepaymentOffset.vue";
export default { export default {
components: {
"my-Bill": myBill,
"my-RVB-Bill": myrbvBill,
"my-HB-Bill": myhrBill,
"my-GZ-Bill": myGZBill,
PrepaymentOffset,
},
props: { props: {
isComponents: { isComponents: {
type: Boolean, type: Boolean,
...@@ -2154,6 +2056,7 @@ export default { ...@@ -2154,6 +2056,7 @@ export default {
}, },
data() { data() {
return { return {
isPrepaymentOffset: false,
hbMsg: { hbMsg: {
FrIDList: [], FrIDList: [],
Type: 1 Type: 1
...@@ -2390,12 +2293,6 @@ export default { ...@@ -2390,12 +2293,6 @@ export default {
cH = allH - 380; //298 = 顶部导航 50 面包屑83 查询框75 table表头41 分页49 cH = allH - 380; //298 = 顶部导航 50 面包屑83 查询框75 table表头41 分页49
this.minHeight = cH; this.minHeight = cH;
}, },
components: {
"my-Bill": myBill,
"my-RVB-Bill": myrbvBill,
"my-HB-Bill": myhrBill,
"my-GZ-Bill": myGZBill
},
mounted() { mounted() {
this.GetAuth(); this.GetAuth();
this.getCostTypeList(); this.getCostTypeList();
...@@ -2445,7 +2342,7 @@ export default { ...@@ -2445,7 +2342,7 @@ export default {
return; return;
} }
if (this.yfcheckList.length == 0) { if (this.yfcheckList.length == 0) {
this.Error("至少选择一项"); this.Error("选择一项");
return; return;
} }
...@@ -3172,7 +3069,7 @@ export default { ...@@ -3172,7 +3069,7 @@ export default {
msg, msg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
let ClientAccountList = []; let ClientAccountList = [];
data.forEach(x => { data.forEach(x => {
...@@ -3586,7 +3483,7 @@ export default { ...@@ -3586,7 +3483,7 @@ export default {
} else { } else {
this.transTax.loading = false; this.transTax.loading = false;
this.Error("请选择付款对象"); this.Error("请选择付款对象");
} }
}, },
// 确定编辑手续费 // 确定编辑手续费
handlingSureFee(){ handlingSureFee(){
...@@ -3612,7 +3509,7 @@ export default { ...@@ -3612,7 +3509,7 @@ export default {
} else { } else {
this.transTax.loading = false; this.transTax.loading = false;
this.Error("请输入手续费"); this.Error("请输入手续费");
} }
}, },
// 编辑手续费 // 编辑手续费
goSet(item,type){ goSet(item,type){
...@@ -3626,7 +3523,7 @@ export default { ...@@ -3626,7 +3523,7 @@ export default {
this.transTax.ClientID = '' this.transTax.ClientID = ''
this.PaymentSync = true this.PaymentSync = true
} }
}, },
goEit(type, id, edit, Conditon, pageIndex, item, iscopy = 1) { goEit(type, id, edit, Conditon, pageIndex, item, iscopy = 1) {
//iscopy是否复制 现在只做type为1和2 //iscopy是否复制 现在只做type为1和2
......
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