|  |  |  | 
|---|
|  |  |  | <el-input type="number" v-model="form.swClaimAccount"  @change="changeAccount"  placeholder="请输入" v-trim/> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="总金额:"  > | 
|---|
|  |  |  | <el-input type="number" readonly v-model="form.totalAccount" placeholder="请输入" v-trim/> | 
|---|
|  |  |  | <el-input type="number" disabled v-model="form.totalAccount" placeholder="" v-trim/> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | </el-form> | 
|---|
|  |  |  | <div v-if="visible5 ==true"  class="form"> | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | model: {}, | 
|---|
|  |  |  | activeName: 'first', | 
|---|
|  |  |  | reverse: true, | 
|---|
|  |  |  | reverse: false, | 
|---|
|  |  |  | tableData: [], | 
|---|
|  |  |  | visible1: false, | 
|---|
|  |  |  | visible2: false, | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | rules4: { | 
|---|
|  |  |  | doneInfo: [ | 
|---|
|  |  |  | { required: true, message: '请输入' } | 
|---|
|  |  |  | { required: true, message: '请输入', trigger: 'blur' } | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | ylClaimAccount: [ | 
|---|
|  |  |  | { required: true, message: '请输入', trigger: 'blur' } | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | wgClaimAccount: [ | 
|---|
|  |  |  | { required: true, message: '请输入', trigger: 'blur' } | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | scClaimAccount: [ | 
|---|
|  |  |  | { required: true, message: '请输入', trigger: 'blur' } | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | swClaimAccount: [ | 
|---|
|  |  |  | { required: true, message: '请输入', trigger: 'blur' } | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | changeAccount(){ | 
|---|
|  |  |  | this.form.swClaimAccount = parseFloat(this.form.swClaimAccount).toFixed(2) | 
|---|
|  |  |  | this.form.scClaimAccount = parseFloat(this.form.scClaimAccount).toFixed(2) | 
|---|
|  |  |  | this.form.wgClaimAccount = parseFloat(this.form.wgClaimAccount).toFixed(2) | 
|---|
|  |  |  | this.form.ylClaimAccount = parseFloat(this.form.ylClaimAccount).toFixed(2) | 
|---|
|  |  |  | if (this.form.swClaimAccount) { | 
|---|
|  |  |  | this.form.swClaimAccount = parseFloat(this.form.swClaimAccount).toFixed(2) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (this.form.scClaimAccount) { | 
|---|
|  |  |  | this.form.scClaimAccount = parseFloat(this.form.scClaimAccount).toFixed(2) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (this.form.wgClaimAccount) { | 
|---|
|  |  |  | this.form.wgClaimAccount = parseFloat(this.form.wgClaimAccount).toFixed(2) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (this.form.ylClaimAccount) { | 
|---|
|  |  |  | this.form.ylClaimAccount = parseFloat(this.form.ylClaimAccount).toFixed(2) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.form.totalAccount = parseFloat( this.form.scClaimAccount || 0) + parseFloat( this.form.swClaimAccount || 0) | 
|---|
|  |  |  | + parseFloat( this.form.wgClaimAccount|| 0) | 
|---|
|  |  |  | + parseFloat( this.form.ylClaimAccount|| 0) | 
|---|
|  |  |  | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } else if (this.type === 4) { | 
|---|
|  |  |  | this.$refs.form4.validate((valid) => { | 
|---|
|  |  |  | // debugger | 
|---|
|  |  |  | if (!valid) { | 
|---|
|  |  |  | return | 
|---|
|  |  |  | } | 
|---|