|
@@ -198,6 +198,14 @@
|
|
|
<a-input style="width:100%" type="text" v-model="record.endCaseNumber" @change="handleValueChange(record)"/>
|
|
|
</a-form-model-item>
|
|
|
</template>
|
|
|
+
|
|
|
+ <!-- 单价 -->
|
|
|
+ <template slot="unitPrice" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="unitPrice" :rules="rules.unitPrice">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.unitPrice" @change="handleValueChange(record)"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- 颜色 -->
|
|
|
<template slot="colour" slot-scope="text, record, index">
|
|
|
<a-form-model-item prop="colour" :rules="rules.colour">
|
|
@@ -601,6 +609,7 @@ export default {
|
|
|
dataIndex: 'unitPrice',
|
|
|
width: 120,
|
|
|
className: 'replacecolor',
|
|
|
+ scopedSlots: { customRender: 'unitPrice' },
|
|
|
ellipsis: true,
|
|
|
},
|
|
|
{
|