测试问题修改

master
zhangdi 10 months ago
parent 78f93c1e8e
commit 910a37b772
  1. 13
      src/views/businessManagement/inspection/repair.vue

@ -415,8 +415,8 @@
</el-table-column>
<el-table-column prop="rule" align="center" label="规格" width="150">
<template slot-scope="scope">
<el-input v-if="scope.row.goodsName == '其他'" v-model="scope.row.rule" placeholder="请输入规格"
style="width:98%;" size="mini"></el-input>
<el-input v-if="scope.row.goodsName == '其他'" v-model="scope.row.rule" placeholder="请输入规格" style="width:98%;"
size="mini"></el-input>
<span v-else>{{ scope.row.rule }}</span>
</template>
</el-table-column>
@ -436,8 +436,8 @@
</el-table-column>
<el-table-column prop="unit" align="center" label="单位" width="150">
<template slot-scope="scope">
<el-input v-if="scope.row.goodsName == '其他'" v-model="scope.row.unit" placeholder="请输入单位"
style="width:98%;" size="mini"></el-input>
<el-input v-if="scope.row.goodsName == '其他'" v-model="scope.row.unit" placeholder="请输入单位" style="width:98%;"
size="mini"></el-input>
<span v-else>{{ scope.row.unit }}</span>
</template>
</el-table-column>
@ -1023,9 +1023,8 @@ export default {
this.errorForm.approveResultManager = ''
this.errorForm.approveRemarkManager = ''
//
this.errorForm.actualAmount = (this.errorForm.totalPrice ? this.errorForm.totalPrice : 0) + this.errorForm.travelExpense ? Number(this.errorForm.travelExpense) : 0
let priceAll = this.errorForm.totalPrice ? this.errorForm.totalPrice + this.errorForm.travelExpense : 0
this.errorForm.actualAmount = Math.round(priceAll * 100) / 100
}
})
},

Loading…
Cancel
Save