|
@@ -33,7 +33,7 @@
|
|
|
<el-col :span="8" style="padding-left: 20px">
|
|
|
<el-form-item label="类别" prop="materialTypeId" :rules="{required: false, message: '类别不能为空', trigger: 'blur'}">
|
|
|
<el-input v-if="!item.buttonType || item.buttonType === '0'" v-model="item.categoryName" :disabled="true" style="width: 200px"></el-input>
|
|
|
- <material-type-component v-else v-model="item.materialTypeId" :type-id="item.materialTypeId"></material-type-component>
|
|
|
+ <material-type-component v-else v-model="item.materialTypeId" :type-id.sync="item.materialTypeId"></material-type-component>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8" style="padding-left: 20px">
|