|
@@ -16,12 +16,12 @@
|
|
>
|
|
>
|
|
<template slot="purchaseQuantity" slot-scope="text, record, index">
|
|
<template slot="purchaseQuantity" slot-scope="text, record, index">
|
|
<a-form-model-item prop="purchaseQuantity" class='sonItem'>
|
|
<a-form-model-item prop="purchaseQuantity" class='sonItem'>
|
|
- <a-input placeholder="请输入" v-model="record.purchaseQuantity"></a-input>
|
|
|
|
|
|
+ <a-input placeholder="请输入" v-model="record.purchaseQuantity" :disabled="title!=='编辑'"></a-input>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
<template slot="purchaseUnQuantity" slot-scope="text, record, index">
|
|
<template slot="purchaseUnQuantity" slot-scope="text, record, index">
|
|
<a-form-model-item prop="purchaseUnQuantity" class='sonItem'>
|
|
<a-form-model-item prop="purchaseUnQuantity" class='sonItem'>
|
|
- <a-input placeholder="请输入" v-model="record.purchaseUnQuantity"></a-input>
|
|
|
|
|
|
+ <a-input placeholder="请输入" v-model="record.purchaseUnQuantity" :disabled="title!=='编辑'"></a-input>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</template>
|
|
</template>
|
|
</a-table>
|
|
</a-table>
|
|
@@ -45,6 +45,7 @@
|
|
selectedRowKeys:[],
|
|
selectedRowKeys:[],
|
|
selectedRows:[],
|
|
selectedRows:[],
|
|
dataSource:[],
|
|
dataSource:[],
|
|
|
|
+ title:'',
|
|
columns: [
|
|
columns: [
|
|
{
|
|
{
|
|
title: '行号',
|
|
title: '行号',
|