Commit 2f33d328 authored by 黄媛媛's avatar 黄媛媛

update

parent 93cfac96
......@@ -502,6 +502,7 @@ export default {
Remark:'',
VoucherList:[],
}
this.saveMsg=[];
},
......
This diff is collapsed.
......@@ -551,6 +551,19 @@
</div>
</div>
</div>
<el-dialog
title="提示"
:visible.sync="maxmoneyTips"
width="380px">
<div style="margin: 0px 0 15px 0;">
<p><span style="color: #e6a23c;font-size: 16px;" class="el-notification__icon el-icon-warning"></span>根据公司规定,每张付款单不能超过{{maxmoneyData}}元。</p>
<p style="padding-left: 23px;margin-top: 10px;">超过需额外制单,谢谢配合!</p>
</div>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="maxmoneyTips = false">取 消</el-button>
<el-button size="small" type="danger" @click="maxmoneyTips=false">确 定</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
......@@ -627,6 +640,7 @@ export default {
emplyeeName:'',
allPrice:0,
allPriceTo:'',
allPriceTocalc:'',
chinaAllPrice:this.$commonUtils.changeMoneyToChinese(this.allPrice),
DepartIDs:'0',
GetDetail:{},
......@@ -672,6 +686,7 @@ export default {
XSTC: false,
czmsg:{},
czmsgState:false,
maxmoneyTips:false,
}
},
methods:{
......@@ -920,8 +935,9 @@ export default {
// }
}
// 判断付款金额与最大金额
if(this.maxmoneyData>0 && this.allPriceTo>this.maxmoneyData){
this.Error(`根据公司规定,每张付款单不能超过${this.maxmoneyData}元,超过需额外制单,谢谢配合!`)
if(Number(this.maxmoneyData)>0 && (Number(this.allPriceTocalc) > Number(this.maxmoneyData))){
this.maxmoneyTips=true;
return;
}
//旅客名单数据组装
......@@ -1027,6 +1043,8 @@ export default {
this.$forceUpdate()
this.allPrice = allPrice;
this.allPriceTo =this.$commonUtils.addCommas(Math.round(this.allPrice* 100) / 100)
this.allPriceTocalc =Math.round(this.allPrice* 100) / 100
this.chinaAllPrice=this.$commonUtils.changeMoneyToChinese(this.allPrice)
this.detailList = {
ID:0,
......@@ -1314,6 +1332,8 @@ export default {
});
this.allPrice = allPrice;
this.allPriceTo =this.$commonUtils.addCommas(Math.round(this.allPrice* 100) / 100)
this.allPriceTocalc =Math.round(this.allPrice* 100) / 100
this.chinaAllPrice=this.$commonUtils.changeMoneyToChinese(this.allPrice)
this.BillName = data.CompanyName;
this.BillSonName = data.FinanceName;
......
......@@ -3583,6 +3583,14 @@ export default {
title: '财务单据'
},
},
{
path: '/OutstandingAccounts',
name: 'OutstandingAccounts',
component: resolve => require(['@/components/FinancialModule/OutstandingAccounts'], resolve),
meta: {
title: '审核未付账'
},
},
{
path: '/JumpReport',
name: 'JumpReport',
......
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