人力资源,顶部,修复头像为空的时候的展示。

保后完善输入数字展示中文金钱数额。
master
e 3 years ago
parent 837289ce22
commit 2c9fe4bb93
  1. BIN
      src/assets/img/defaultHead.png
  2. 2
      src/components/common/Sidebar.vue
  3. 4
      src/components/page/Workbench-Manpower.vue
  4. 114
      src/components/page/afterLoan/afterInsurance.vue

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -32,7 +32,7 @@
</el-badge> </el-badge>
<p></p> <p></p>
<!-- 头像../../assets/img/login-bg-1.jpg --> <!-- 头像../../assets/img/login-bg-1.jpg -->
<img @click="goto('workbench-manpower')" v-if="!this.$store.state.login.headerImg" src="https://www.huorantech.cn/enclosureFile/e55b4a71e37747d1login-bg-1.jpg" alt=""> <img @click="goto('workbench-manpower')" v-if="!this.$store.state.login.headerImg" src="../../assets/img/defaultHead.png" alt="">
<img @click="goto('workbench-manpower')" v-if="this.$store.state.login.headerImg" :src="headerImg"> <img @click="goto('workbench-manpower')" v-if="this.$store.state.login.headerImg" :src="headerImg">
<span class="sidebar_userName">{{userName}}</span> <span class="sidebar_userName">{{userName}}</span>
<el-dropdown class="user-name" trigger="click" @command="handleCommand"> <el-dropdown class="user-name" trigger="click" @command="handleCommand">

@ -355,9 +355,9 @@ export default {
return { return {
// //
// imgdata: require('../../assets/img/login-bg-1.jpg'), // imgdata: require('../../assets/img/login-bg-1.jpg'),
imgdata: 'https://www.huorantech.cn/enclosureFile/e55b4a71e37747d1login-bg-1.jpg', imgdata: require('../../assets/img/defaultHead.png'),
// //
oldImg: 'https://www.huorantech.cn/enclosureFile/e55b4a71e37747d1login-bg-1.jpg', oldImg: require('../../assets/img/defaultHead.png'),
//, //,
change: true, change: true,
// //

@ -291,11 +291,15 @@
</el-form-item> </el-form-item>
<el-form-item label="本次还款(元)" prop="currentRepayment" > <el-form-item label="本次还款(元)" prop="currentRepayment" >
<el-input v-model="repaymentForm.currentRepayment" placeholder="请输入本次还款的本金金额" type="text" maxlength="10" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"></el-input> <el-input v-model="repaymentForm.currentRepayment" placeholder="请输入本次还款的本金金额" type="text" maxlength="10" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.currentRepayment)}}</i>
</el-input>
</el-form-item> </el-form-item>
<el-form-item label="其他费用(元)"> <el-form-item label="其他费用(元)">
<el-input v-model="repaymentForm.otherExpenses" placeholder="请输入其他费用" type="text" maxlength="8" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"></el-input> <el-input v-model="repaymentForm.otherExpenses" placeholder="请输入其他费用" type="text" maxlength="8" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.otherExpenses)}}</i>
</el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -314,34 +318,46 @@
</el-form-item> </el-form-item>
<el-form-item label="本次还款总额(元)"> <el-form-item label="本次还款总额(元)">
<el-input v-model="totalRepayment" disabled placeholder="还款总额" maxlength="8" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"></el-input> <el-input v-model="totalRepayment" disabled placeholder="还款总额" maxlength="8" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(totalRepayment)}}</i>
</el-input>
</el-form-item> </el-form-item>
<el-form-item label="利息(元)" prop="interest"> <el-form-item label="利息(元)" prop="interest">
<el-input v-model="repaymentForm.interest" placeholder="请输入利息" type="text" maxlength="8" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"></el-input> <el-input v-model="repaymentForm.interest" placeholder="请输入利息" type="text" maxlength="8" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.interest)}}</i>
</el-input>
</el-form-item> </el-form-item>
<el-form-item label="减免金额(元)"> <el-form-item label="减免金额(元)">
<el-input v-model="repaymentForm.deductionAmount" maxlength="10" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" placeholder="请输入减免金额"></el-input> <el-input v-model="repaymentForm.deductionAmount" maxlength="10" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" placeholder="请输入减免金额">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.deductionAmount)}}</i>
</el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="清偿方式" required> <el-form-item label="清偿方式" required>
<div class="df"> <div class="df">
<span style="margin-right:20px">1现金</span> <span style="margin-right:20px">1现金</span>
<el-input style="width:20%;min-width:250px" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentCash" placeholder="请输入金额"></el-input> <el-input style="width:20%;min-width:250px" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentCash" placeholder="请输入金额">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.repaymentCash)}}</i>
</el-input>
<span style="margin-left:15px"></span> <span style="margin-left:15px"></span>
</div> </div>
<div class="df" style="margin-top:23px"> <div class="df" style="margin-top:23px">
<span style="margin-right:20px">2资产</span> <span style="margin-right:20px">2资产</span>
<el-input style="width:40%;min-width:250px;" v-model="repaymentForm.repaymentAssetsName" placeholder="请输入资产名称"></el-input> <el-input style="width:40%;min-width:250px;" v-model="repaymentForm.repaymentAssetsName" placeholder="请输入资产名称"></el-input>
<el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentAssetsName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentAssetsAmount" placeholder="请输入金额"></el-input> <el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentAssetsName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentAssetsAmount" placeholder="请输入金额">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.repaymentAssetsAmount)}}</i>
</el-input>
<span style="margin-left:15px"></span> <span style="margin-left:15px"></span>
</div> </div>
<div class="df" style="margin-top:23px"> <div class="df" style="margin-top:23px">
<span style="margin-right:20px">3其他</span> <span style="margin-right:20px">3其他</span>
<el-input style="width:40%;min-width:250px;" v-model="repaymentForm.repaymentOtherName" placeholder="请输入其他方式"></el-input> <el-input style="width:40%;min-width:250px;" v-model="repaymentForm.repaymentOtherName" placeholder="请输入其他方式"></el-input>
<el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentOtherName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentOtherAmount" placeholder="请输入金额"></el-input> <el-input style="width:20%;min-width:250px;margin-left:20px" :disabled="!repaymentForm.repaymentOtherName" oninput="value=value.replace(/[^\d.]/g,'')" v-model="repaymentForm.repaymentOtherAmount" placeholder="请输入金额">
<i slot="suffix" style="margin-right:10px" class="el-input__icon">{{ChinaCost(repaymentForm.repaymentOtherAmount)}}</i>
</el-input>
<span style="margin-left:15px"></span> <span style="margin-left:15px"></span>
</div> </div>
</el-form-item> </el-form-item>
@ -763,17 +779,17 @@ export default {
computedCompensatoryBalance(){// computedCompensatoryBalance(){//
/* 转为后端计算 */ /* 转为后端计算 */
// if(this.status){} // count // if(this.status){} // count
// console.log(this.repaymentForm,'this.repaymentForm') console.log(this.repaymentForm,'this.repaymentForm')
// if(!this.repaymentForm.currentRepayment)this.repaymentForm.currentRepayment = 0 // if(!this.repaymentForm.currentRepayment)this.repaymentForm.currentRepayment = 0
// if(!this.repaymentForm.otherExpenses)this.repaymentForm.otherExpenses = 0 // if(!this.repaymentForm.otherExpenses)this.repaymentForm.otherExpenses = 0
// if(!this.repaymentForm.interest)this.repaymentForm.interest = 0 // if(!this.repaymentForm.interest)this.repaymentForm.interest = 0
// console.log(this.repaymentForm,'this.repaymentForm') console.log(this.repaymentForm,'this.repaymentForm')
// let a = this.repaymentForm.currentRepayment , b = this.repaymentForm.otherExpenses , c = this.repaymentForm.interest // let a = this.repaymentForm.currentRepayment , b = this.repaymentForm.otherExpenses , c = this.repaymentForm.interest
// let count = math.format(math.chain(math.bignumber(a)).add(math.bignumber(b)).add(math.bignumber(c)).done()) // let count = math.format(math.chain(math.bignumber(a)).add(math.bignumber(b)).add(math.bignumber(c)).done())
// //
// let count = a+b+c // let count = a+b+c
// console.log(count,'') console.log(count,'当前的计算')
// = - // = -
this.comp.compensatoryBalance = (this.comp.compensationAmount - this.cash )||0 this.comp.compensatoryBalance = (this.comp.compensationAmount - this.cash )||0
// = // =
@ -875,13 +891,13 @@ export default {
} }
if(val == 2){// if(val == 2){//
console.log(this.RepaymentId,this.id,'RepaymentId,进入2页面') // console.log(this.RepaymentId,this.id,'RepaymentId2')
// //
if(this.comp.compensationAmount&&this.comp.compensatoryTime){ if(this.comp.compensationAmount&&this.comp.compensatoryTime){
this.compensatoryTimeChange(this.comp.compensatoryTime) this.compensatoryTimeChange(this.comp.compensatoryTime)
} }
// //
console.log(this.hisId,'hisid,loanid,repayid',this.$store.state.loan.id,this.$store.state.loan.RepaymentId) // console.log(this.hisId,'hisidloanid,repayid',this.$store.state.loan.id,this.$store.state.loan.RepaymentId)
this.id = this.$store.state.loan.id || this.$store.state.loan.RepaymentId this.id = this.$store.state.loan.id || this.$store.state.loan.RepaymentId
this.RepaymentId = this.$store.state.loan.RepaymentId this.RepaymentId = this.$store.state.loan.RepaymentId
this.loanbackStatus = this.$store.state.loan.loanbackStatus this.loanbackStatus = this.$store.state.loan.loanbackStatus
@ -892,16 +908,19 @@ export default {
otherExpenses: '', otherExpenses: '',
overdueDays: 0 overdueDays: 0
} }
console.log(this.loanbackStatus,'什么状态') // console.log(this.loanbackStatus,'')
// //
if(this.status!=='newLoans'||this.discernEdit) this.getDetail() if(this.status!=='newLoans'||this.discernEdit) await this.getDetail()
if(this.loanbackStatus == '查看' || this.loanbackStatus == '编辑'){ if(this.loanbackStatus == '查看' || this.loanbackStatus == '编辑'){
await this.getRepaymentDetail() await this.getRepaymentDetail()
} }
console.log(this.souce,'判断是否系统流转--0') // console.log(this.guaranteeForm.loanStartTime,'this.guaranteeForm.loanStartTime')
/* TODO 未测试该判断 */ /* TODO 未测试该判断 */
if(this.source === 0&&this.status==="oldLoans"&&!this.guaranteeForm.loanStartTime){// ,
return this.$confirm('业务数据需补充完善,请先在编辑处完善必填项后再进行还款录入。','提示', { if(this.source === 0&&this.status==="oldLoans"&&!this.guaranteeForm.loanStartTime){ // ,
// console.log(this.repaymentForm , this.souce,this.guaranteeForm.loanStartTime,this.guaranteeForm.loanStartTime,'--2')
this.$confirm('业务数据需补充完善,请先在编辑处完善必填项后再进行还款录入。','提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
showCancelButton:false, showCancelButton:false,
type: 'warning' type: 'warning'
@ -911,6 +930,7 @@ export default {
this.loanStatus = 1 // this.loanStatus = 1 //
this.$store.commit("loanStatusData", { loanStatus: 1 }); this.$store.commit("loanStatusData", { loanStatus: 1 });
}).catch(()=>{ }).catch(()=>{
// console.log('')
this.loanStatus = 1 // this.loanStatus = 1 //
this.$store.commit("loanStatusData", { loanStatus: 1 }); this.$store.commit("loanStatusData", { loanStatus: 1 });
@ -949,6 +969,7 @@ export default {
this.liquidateList() this.liquidateList()
}else{ }else{
this.organizationArrs = [] this.organizationArrs = []
this.liquidateList()
} }
} }
}, },
@ -957,10 +978,10 @@ export default {
let c = a.concat(b).filter((cur, i, arr) => { let c = a.concat(b).filter((cur, i, arr) => {
return arr.indexOf(cur) === arr.lastIndexOf(cur); return arr.indexOf(cur) === arr.lastIndexOf(cur);
}); });
console.log(c,'比不同',a,b) // console.log(c,'',a,b)
console.log(this.loanbackStatus,'this.loanbackStatus') // console.log(this.loanbackStatus,'this.loanbackStatus')
this.liquidateList() this.liquidateList()
if(this.bankSelect.length===0){// if(this.bankSelect.length===0){//
allBankName().then(res=>{ allBankName().then(res=>{
@ -988,8 +1009,8 @@ export default {
overdueDays: 0 overdueDays: 0
} }
// //
console.log(this.status,'处于什么状态') // console.log(this.status,'')
if(this.status!=='newLoans'||this.discernEdit) this.getDetail() if(this.status!=='newLoans'||this.discernEdit) await this.getDetail()
if(this.loanbackStatus == '查看' || this.loanbackStatus == '编辑'){ if(this.loanbackStatus == '查看' || this.loanbackStatus == '编辑'){
await this.getRepaymentDetail() await this.getRepaymentDetail()
} }
@ -1064,7 +1085,7 @@ export default {
// if(this.insMultipleSelection.length != ''){ // if(this.insMultipleSelection.length != ''){
let exportIds = this.insMultipleSelection.map(e => e.id).join() let exportIds = this.insMultipleSelection.map(e => e.id).join()
let url = `${excelInsurance}?ids=${exportIds}` let url = `${excelInsurance}?ids=${exportIds}`
console.log(url,'导出的URL') // console.log(url,'URL')
window.location.href = url window.location.href = url
// }else{ // }else{
// this.$message.error(' '); // this.$message.error(' ');
@ -1075,7 +1096,7 @@ export default {
edit(row,val){ edit(row,val){
this.$store.commit('disabledAll',false)// this.$store.commit('disabledAll',false)//
if(!row){// row-- if(!row){// row--
console.log('进入新建业务',val) // console.log('',val)
this.loanStatus = 2 this.loanStatus = 2
this.$store.commit("loanbackStatusData", { loanbackStatus: '' });// this.$store.commit("loanbackStatusData", { loanbackStatus: '' });//
this.$store.commit("loanStatusData", { loanStatus: 2 }); this.$store.commit("loanStatusData", { loanStatus: 2 });
@ -1101,7 +1122,7 @@ export default {
this.$store.commit("loanbackStatusData", { loanbackStatus: '录入' }); this.$store.commit("loanbackStatusData", { loanbackStatus: '录入' });
this.$store.commit('fromOne',false)// 退 this.$store.commit('fromOne',false)// 退
}else{ }else{
console.log('进入录入界面') // console.log('')
// , // ,
this.$store.commit('wanderEdit',true) this.$store.commit('wanderEdit',true)
this.$store.commit('entering',false) // - this.$store.commit('entering',false) // -
@ -1231,13 +1252,13 @@ export default {
// if(!this.isReimbursement()){ // if(!this.isReimbursement()){
// return this.$message.warning('') // return this.$message.warning('')
// } // }
console.log(this.status,'newL为新增业务') // console.log(this.status,'newL')
// //
if(this.status==='newLoans'||this.status=="oldLoansEdit"){ if(this.status==='newLoans'||this.status=="oldLoansEdit"){
console.log('进入新增业务') // console.log('')
this.saveInsurance() this.saveInsurance()
}else{ }else{
console.log('进入录入环节') // console.log('')
// / // /
// //
const form1 = new Promise((resolve,reject)=>{ const form1 = new Promise((resolve,reject)=>{
@ -1251,7 +1272,7 @@ export default {
} }
}) })
}) })
console.log(this.$refs["repaymentForm"],'值') // console.log(this.$refs["repaymentForm"],'')
// //
const form3 = new Promise((resolve,reject)=>{ const form3 = new Promise((resolve,reject)=>{
this.$refs['liquidate'].validate((valid) => { this.$refs['liquidate'].validate((valid) => {
@ -1275,10 +1296,10 @@ export default {
let that = this let that = this
function fn (){ function fn (){
if(that.RepaymentId == ''){// if(that.RepaymentId == ''){//
console.log('新增录入') // console.log('')
that.repaymentForm.insuranceId = that.id that.repaymentForm.insuranceId = that.id
that.$store.commit('hisId',that.id) that.$store.commit('hisId',that.id)
console.log(that.id,'id') // console.log(that.id,'id')
that.repaymentForm.totalRepayment = that.totalRepayment that.repaymentForm.totalRepayment = that.totalRepayment
that.repaymentForm.overdueDays = that.overdueDays that.repaymentForm.overdueDays = that.overdueDays
let obj ={} let obj ={}
@ -1318,7 +1339,7 @@ export default {
// }) // })
} }
} }
console.log('正在执行录入') // console.log('')
if(this.repaymentForm.repaymentCash!==0&&!this.repaymentForm.repaymentCash&&this.repaymentForm.repaymentAssetsAmount!==0&&!this.repaymentForm.repaymentAssetsAmount&&this.repaymentForm.repaymentOtherAmount!==0&&!this.repaymentForm.repaymentOtherAmount){ if(this.repaymentForm.repaymentCash!==0&&!this.repaymentForm.repaymentCash&&this.repaymentForm.repaymentAssetsAmount!==0&&!this.repaymentForm.repaymentAssetsAmount&&this.repaymentForm.repaymentOtherAmount!==0&&!this.repaymentForm.repaymentOtherAmount){
return this.$message.error('至少输入一种清偿方式!') return this.$message.error('至少输入一种清偿方式!')
} }
@ -1335,14 +1356,14 @@ export default {
}).then(()=>{ }).then(()=>{
fn() fn()
}).catch(err=>{ }).catch(err=>{
console.log('此处报错') // console.log('')
return '我是错误信息' return '我是错误信息'
}) })
} else{ } else{
fn() fn()
} }
}).catch(err=>{ }).catch(err=>{
console.log(err,'err') // console.log(err,'err')
this.$message.error('请输入必填信息!') this.$message.error('请输入必填信息!')
}) })
} }
@ -1383,7 +1404,7 @@ export default {
}, },
// //
async repaymentList(){ async repaymentList(){
console.log(this.hisidId,'当前传的id值') // console.log(this.hisidId,'id')
let res = await repaymentList({ let res = await repaymentList({
page: this.hisPage, page: this.hisPage,
size: this.pageNumber, size: this.pageNumber,
@ -1446,7 +1467,7 @@ export default {
addRepayment(){ addRepayment(){
this.loanStatus = 2 // this.loanStatus = 2 //
this.$store.commit("loanStatusData", { loanStatus: 2 }); this.$store.commit("loanStatusData", { loanStatus: 2 });
console.log(this.$store.state.loan.hisidId) // console.log(this.$store.state.loan.hisidId)
// //
this.RepaymentId = '' this.RepaymentId = ''
this.$store.commit("RepaymentIdData", { RepaymentId: this.RepaymentId }); this.$store.commit("RepaymentIdData", { RepaymentId: this.RepaymentId });
@ -1456,19 +1477,19 @@ export default {
this.$store.commit('setNewOrOld','newRecord') // this.$store.commit('setNewOrOld','newRecord') //
console.log(this.status,'是否是新增数据') // console.log(this.status,'')
this.$store.commit('disabledAll',false) this.$store.commit('disabledAll',false)
}, },
// / // /
goRepaymentDetail(row,type){ goRepaymentDetail(row,type){
console.log(row,type,'点击查看业务,') // console.log(row,type,'')
this.loanStatus = 2 this.loanStatus = 2
this.$store.commit("loanStatusData", { loanStatus: 2 });// this.$store.commit("loanStatusData", { loanStatus: 2 });//
this.RepaymentId = row.id this.RepaymentId = row.id
this.$store.commit("RepaymentIdData", { RepaymentId: row.id });// ID this.$store.commit("RepaymentIdData", { RepaymentId: row.id });// ID
this.id = row.insuranceId this.id = row.insuranceId
this.$store.commit("idData", { id: row.insuranceId });// loan.idid */ this.$store.commit("idData", { id: row.insuranceId });// loan.idid */
console.log(this.id,'rowid',row,'新增还款记录错误') // console.log(this.id,'rowid',row,'')
this.loanbackStatus = type this.loanbackStatus = type
@ -1486,7 +1507,7 @@ export default {
}, },
// //
async getRepaymentDetail(){ async getRepaymentDetail(){
console.log(this.RepaymentId,'调用详情接口使用的id') // console.log(this.RepaymentId,'使id')
let res = await repaymentDetail({ let res = await repaymentDetail({
id: this.RepaymentId id: this.RepaymentId
}); });
@ -1706,7 +1727,7 @@ export default {
alInsuranceList:this.guaranteeForm,// alInsuranceList:this.guaranteeForm,//
alReimbursement:obj// alReimbursement:obj//
} }
console.log(param,'编辑传值') // console.log(param,'')
if(this.discernEdit){// if(this.discernEdit){//
editInsurance(param).then(res=>{ editInsurance(param).then(res=>{
if(this.entering){ if(this.entering){
@ -1744,7 +1765,7 @@ export default {
compensatoryTimeChange(val){// compensatoryTimeChange(val){//
compensationSituation({data:val,insuranceId:this.id}).then(res=>{ compensationSituation({data:val,insuranceId:this.id}).then(res=>{
this.cash = res.data.amount this.cash = res.data.amount
console.log('取得当前的cash',this.cash) // console.log('cash',this.cash)
}) })
}, },
@ -1777,17 +1798,17 @@ export default {
} }
}, },
modifyReimbursement(){// modifyReimbursement(){//
console.log('触发查询原本') // console.log('')
console.log(this.liquidate.personLiableId,this.liquidate.collectionGroupId,this.qszId,'三个值') // console.log(this.liquidate.personLiableId,this.liquidate.collectionGroupId,this.qszId,'')
if(this.liquidate.personLiableId&&this.liquidate.collectionGroupId&&this.qszId){ if(this.liquidate.personLiableId&&this.liquidate.collectionGroupId&&this.qszId){
console.log('进入接口') // console.log('')
let params = { let params = {
id:this.qszId,// reimbursementid id:this.qszId,// reimbursementid
collectionGroupId:this.liquidate.collectionGroupId,// id collectionGroupId:this.liquidate.collectionGroupId,// id
personLiableId:this.liquidate.personLiableId,// id personLiableId:this.liquidate.personLiableId,// id
} }
modifyReimbursement(params).then(res=>{ modifyReimbursement(params).then(res=>{
console.log(res,'chashou123') // console.log(res,'chashou123')
if(res.message!="成功"){ if(res.message!="成功"){
return this.$message.warning(res.message) return this.$message.warning(res.message)
} }
@ -1795,6 +1816,7 @@ export default {
} }
}, },
ChinaCost(numberValue){ ChinaCost(numberValue){
if(!numberValue) return "零元"
var numberValue=new String(Math.round(numberValue*100)); // var numberValue=new String(Math.round(numberValue*100)); //
var chineseValue=""; // var chineseValue=""; //
var String1 = "零壹贰叁肆伍陆柒捌玖"; // var String1 = "零壹贰叁肆伍陆柒捌玖"; //

Loading…
Cancel
Save