Commit a994a4a4 authored by liudong1993's avatar liudong1993

1

parent 17eac151
...@@ -93,10 +93,13 @@ ...@@ -93,10 +93,13 @@
<th>类型</th> <th>类型</th>
<th>{{$t('fnc.feiyongleixing')}}</th> <th>{{$t('fnc.feiyongleixing')}}</th>
<th>是否启用月结</th> <th>是否启用月结</th>
<th>是否启用预付冲抵</th>
<th>总公司流程</th> <th>总公司流程</th>
<th>分公司流程</th> <th>分公司流程</th>
<th>月结总公司流程</th> <th>月结总公司流程</th>
<th>月结分公司流程</th> <th>月结分公司流程</th>
<th>冲抵总公司流程</th>
<th>冲抵分公司流程</th>
<th>操作人</th> <th>操作人</th>
<th>{{$t('system.table_operation')}}</th> <th>{{$t('system.table_operation')}}</th>
</tr> </tr>
...@@ -110,6 +113,9 @@ ...@@ -110,6 +113,9 @@
<td> <td>
<span style="color: red;" v-if="subItem.IsMonthly">启用</span> <span style="color: red;" v-if="subItem.IsMonthly">启用</span>
</td> </td>
<td>
<span style="color: red;" v-if="subItem.IsAdvanceMatch">启用</span>
</td>
<td> <td>
{{subItem.CompanyCourseStr}} {{subItem.CompanyCourseStr}}
</td> </td>
...@@ -122,6 +128,12 @@ ...@@ -122,6 +128,12 @@
<td> <td>
{{subItem.BranchMonthlyCourseStr}} {{subItem.BranchMonthlyCourseStr}}
</td> </td>
<td>
{{subItem.AdvanceCourseStr}}
</td>
<td>
{{subItem.BranchAdvanceCourseStr}}
</td>
<td> <td>
<p>{{subItem.CreateByStr}}</p> <p>{{subItem.CreateByStr}}</p>
<p>{{subItem.CreateDate}}</p> <p>{{subItem.CreateDate}}</p>
...@@ -310,6 +322,37 @@ ...@@ -310,6 +322,37 @@
</el-switch> </el-switch>
</el-form-item> </el-form-item>
</el-col> </el-col>
<template v-if="addMsg.IsAdvanceMatch==1">
<el-col :span="8">
<el-form-item label="冲抵流程" prop="AdvanceCourse">
<el-select filterable v-model="addMsg.AdvanceCourse" placeholder="选择预付冲抵总公司流程" style="width: 100%;">
<el-option v-for="item in TemplateGetList" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="冲抵分流程" prop="BranchAdvanceCourse">
<el-select filterable v-model="addMsg.BranchAdvanceCourse" placeholder="选择预付冲抵分公司流程"
style="width: 100%;">
<el-option v-for="item in TemplateGetList" :label='item.Name' :value='item.Id' :key='item.Id'>
</el-option>
</el-select>
</el-form-item>
</el-col>
</template>
<el-col v-if="addMsg.IsAdvanceMatch==1" :span="16">
<el-form-item label="" prop="">
&nbsp;
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="启用预付冲抵" prop="">
<el-switch v-model="addMsg.IsAdvanceMatch" active-value="1" inactive-value="0">
</el-switch>
</el-form-item>
</el-col>
</el-row> </el-row>
</template> </template>
</el-form> </el-form>
...@@ -806,6 +849,9 @@ ...@@ -806,6 +849,9 @@
IsMonthly: this.addMsg.IsMonthly, IsMonthly: this.addMsg.IsMonthly,
MonthlyCourse: this.addMsg.MonthlyCourse, MonthlyCourse: this.addMsg.MonthlyCourse,
BranchMonthlyCourse: this.addMsg.BranchMonthlyCourse, BranchMonthlyCourse: this.addMsg.BranchMonthlyCourse,
IsAdvanceMatch: this.addMsg.IsAdvanceMatch,
AdvanceCourse: this.addMsg.AdvanceCourse,
BranchAdvanceCourse: this.addMsg.BranchAdvanceCourse,
} }
this.submitLoading = true this.submitLoading = true
this.apipost( this.apipost(
......
...@@ -187,6 +187,18 @@ ...@@ -187,6 +187,18 @@
</el-tooltip> </el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="是否冲抵" width="80">
<template slot-scope="scope">
<el-tooltip v-if="scope.row.IsAdvanceMatch" content="否/是" placement="top">
<el-switch
v-model="scope.row.OtherType"
active-value="3"
inactive-value="1">
</el-switch>
</el-tooltip>
<el-input v-if="scope.row.OtherType==3" style="width: 80px;" v-model="scope.row.HandFeeFrId" placeholder="预付单号"></el-input>
</template>
</el-table-column>
</el-table> </el-table>
</div> </div>
<div style="margin-top: 10px;display: flex;flex-wrap: wrap;" <div style="margin-top: 10px;display: flex;flex-wrap: wrap;"
...@@ -236,7 +248,8 @@ ...@@ -236,7 +248,8 @@
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<div style="color: red;text-align: right;font-size: 13px;margin-bottom: 5px;"> <div style="color: red;text-align: right;font-size: 13px;margin-bottom: 5px;">
一键制单 暂不支持 预付款冲抵, 需冲抵的单据请先手动制单 <!-- 一键制单 暂不支持 预付款冲抵, 需冲抵的单据请先手动制单 -->
* 注意使用冲抵时 需要手动填入预付款单号,如果预付款单余额不足 则无法提交
</div> </div>
<el-button class="hollowFixedBtn" @click="close">{{$t('pub.cancelBtn')}}</el-button> <el-button class="hollowFixedBtn" @click="close">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="submit" :loading="submitLoading">{{$t('pub.sureBtn')}}</el-button> <el-button class="normalBtn" type="primary" @click="submit" :loading="submitLoading">{{$t('pub.sureBtn')}}</el-button>
...@@ -387,6 +400,7 @@ export default { ...@@ -387,6 +400,7 @@ export default {
CurrencyId: x.CurrencyId, CurrencyId: x.CurrencyId,
IsPublic: x.IsPublic, IsPublic: x.IsPublic,
ClientID: x.ClientID, ClientID: x.ClientID,
HandFeeFrId: x.HandFeeFrId
// vorcherInos: x.vorcherInos // vorcherInos: x.vorcherInos
} }
msg.detailList.push(obj) msg.detailList.push(obj)
...@@ -410,9 +424,11 @@ export default { ...@@ -410,9 +424,11 @@ export default {
this.submitLoading = true this.submitLoading = true
this.apipost("Financial_post_SetVisaBathCreateFinance",msg, res => { this.apipost("Financial_post_SetVisaBathCreateFinance",msg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.showState = false this.Success(`操作成功`) ;
this.$emit('success') this.showState = false;
this.close() this.close()
}else{
this.Error(res.data.message+",请核实 是否已创建有部分单据");
} }
this.submitLoading = false this.submitLoading = false
}, null) }, null)
...@@ -498,12 +514,14 @@ export default { ...@@ -498,12 +514,14 @@ export default {
SetUpTypeStr: x.SetUpTypeStr, SetUpTypeStr: x.SetUpTypeStr,
TemplateId: x.SetUpType, TemplateId: x.SetUpType,
IsMonthly: x.IsMonthly, IsMonthly: x.IsMonthly,
IsAdvanceMatch: x.IsAdvanceMatch,
UnitPrice: x.SetUpTypeStr=='签证费'?this.visaInfor.CostPrice:null, UnitPrice: x.SetUpTypeStr=='签证费'?this.visaInfor.CostPrice:null,
CurrencyId: null, CurrencyId: null,
IsPublic: null, IsPublic: null,
ClientType: '', ClientType: '',
ClientID: null, ClientID: null,
OtherType: 1, OtherType: 1,
HandFeeFrId : '',
ClientAccountList: [], ClientAccountList: [],
// vorcherInos:[], // vorcherInos:[],
loading: false loading: false
......
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