|
@@ -18,6 +18,10 @@
|
|
|
:pagination="false"
|
|
|
:scroll="{ y: 500,x:1500 }"
|
|
|
>
|
|
|
+ <span slot="iprice" slot-scope="text,record">
|
|
|
+ <a-input placeholder="请输入" v-model="record.iprice" v-if="record.bmanual == true"/>
|
|
|
+ <span v-if="record.bmanual==false">{{record.iprice}}</span>
|
|
|
+ </span>
|
|
|
</a-table>
|
|
|
<!-- 导出 打印 返回 -->
|
|
|
<a-row style="marginTop:20px;">
|
|
@@ -73,7 +77,8 @@ export default {
|
|
|
title: '单价',
|
|
|
width: 80,
|
|
|
dataIndex: 'iprice',
|
|
|
- className: 'replacecolor'
|
|
|
+ className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'iprice' }
|
|
|
},
|
|
|
{
|
|
|
title: '数量',
|