'123'
This commit is contained in:
parent
c923a46bca
commit
be70da84cb
|
@ -49,7 +49,7 @@
|
|||
<el-input-number v-model="perc2" size="small" controls-position="right" :min="0" :max="6" :step="0.5"></el-input-number>%
|
||||
</span>
|
||||
<el-table width="100%;" style="margin-top:5px" ref="selectedResultTable" :data="selectedResultData">
|
||||
<el-table-column label="操作" align="center" width="60" class-name="small-padding fixed-width">
|
||||
<el-table-column fixed="left" label="操作" align="center" width="60" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button type="text" @click="handleDeleteClick(scope.$index)">删除</el-button>
|
||||
</template>
|
||||
|
@ -59,11 +59,16 @@
|
|||
<el-table-column label="电压" align="center" prop="voltage" width="120"/>
|
||||
<el-table-column label="红本价(元)" align="center" prop="price" width="100"/>
|
||||
<el-table-column label="单位" align="center" prop="stu" width="80"/>
|
||||
<el-table-column label="调价比例" align="center" prop="percent" width="100">
|
||||
<el-table-column label="一次折扣" align="center" prop="percent" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.percent"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="二次折扣" align="center" prop="percent2" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.percent2"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="单价" align="center" prop="setPrice" width="100"/>
|
||||
<el-table-column label="数量调整" align="center" prop="count" width="100">
|
||||
<template slot-scope="scope">
|
||||
|
@ -361,8 +366,10 @@
|
|||
handleRowDblclick(row, event, column){
|
||||
const price = row.price;
|
||||
const percent = '1';
|
||||
const percent2 = '1';
|
||||
const count = '1';
|
||||
row.percent = percent;
|
||||
row.percent2 = percent2;
|
||||
row.setPrice = price;
|
||||
row.count = count;
|
||||
const allPrice = this.toDecimal(count*price);
|
||||
|
|
Loading…
Reference in New Issue