|
@@ -44,11 +44,17 @@
|
|
|
</template>
|
|
|
<!-- 产品品牌 -->
|
|
|
<template slot="productBrand" slot-scope="text,record,index">
|
|
|
- <ProductBrand style="width: 100%;" :id="'productBrand-'+index" @change="productBrandChange" v-model="record.productBrandSn"></ProductBrand>
|
|
|
+ <ProductBrand style="width: 100%;" :disabled="!!record.productCode" :id="'productBrand-'+index" @change="productBrandChange" v-model="record.productBrandSn"></ProductBrand>
|
|
|
</template>
|
|
|
<!-- 产品分类 -->
|
|
|
<template slot="productType" slot-scope="text,record,index">
|
|
|
- <ProductTypeAll style="width: 100%;" :ref="'productType-'+record.no" :id="'productType-'+index" v-model="record.productType" @change="changeProductType"></ProductTypeAll>
|
|
|
+ <ProductTypeAll
|
|
|
+ style="width: 100%;"
|
|
|
+ :disabled="!!record.productCode"
|
|
|
+ :ref="'productType-'+record.no"
|
|
|
+ :id="'productType-'+index"
|
|
|
+ v-model="record.productType"
|
|
|
+ @change="changeProductType"></ProductTypeAll>
|
|
|
</template>
|
|
|
<!-- 产品编码 -->
|
|
|
<template slot="productCode" slot-scope="text,record,index">
|