Commit 4a51eef8 by lichengming

修改了报价登记价格计算

parent 750d80d1
...@@ -110,8 +110,14 @@ ...@@ -110,8 +110,14 @@
placeholder="请输入或选择数量" placeholder="请输入或选择数量"
/> />
</div> </div>
<div v-if="item.key==='price'" @click.stop="_handleRow(scope)" >
<el-input
v-model="scope.row.price"
@input="_quantityChange(scope.$rowIndex)"
@keydown.native="channelInputLimit"
type="number"
/>
</div>
<div v-if="item.key==='unit'" @click.stop="_handleRow(scope)"> <div v-if="item.key==='unit'" @click.stop="_handleRow(scope)">
<el-input v-model="scope.row.unit" blur placeholder="请输入收费单位" <el-input v-model="scope.row.unit" blur placeholder="请输入收费单位"
></el-input> ></el-input>
...@@ -362,6 +368,7 @@ export default { ...@@ -362,6 +368,7 @@ export default {
}, },
_quantityChange(index) { _quantityChange(index) {
this.$forceUpdate()
this.index = index this.index = index
if ( if (
undefined !== this.getPage.records[this.index].price && undefined !== this.getPage.records[this.index].price &&
......
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