|
@@ -224,6 +224,12 @@
|
|
|
bordered
|
|
|
:pagination="false"
|
|
|
>
|
|
|
+
|
|
|
+ <!-- 工厂 -->
|
|
|
+ <span slot="cvenAbbName" slot-scope="text,record">
|
|
|
+ <a-input placeholder="请输入工厂" v-model="record.cvenAbbName" v-if="record.cbusType == '转出成本'"/>
|
|
|
+ <span v-else>{{text}}</span>
|
|
|
+ </span>
|
|
|
</a-table>
|
|
|
</div>
|
|
|
|
|
@@ -569,7 +575,7 @@ export default {
|
|
|
costInvoiceColumns: [
|
|
|
{ title: '类型', width: 120, dataIndex: 'cvcname', className: 'replacecolor' },
|
|
|
{ title: '采购类型', width: 120, dataIndex: 'cbusType', className: 'replacecolor' },
|
|
|
- { title: '工厂', width: 120, dataIndex: 'cvenAbbName', className: 'replacecolor' },
|
|
|
+ { title: '工厂', width: 120, dataIndex: 'cvenAbbName', className: 'replacecolor', scopedSlots: { customRender: 'cvenAbbName' } },
|
|
|
{ title: '成本金额', dataIndex: 'imoney', width: 120, className: 'replacecolor' }
|
|
|
],
|
|
|
costInvoiceData: [
|