|
@@ -107,7 +107,7 @@
|
|
|
<el-form-item label="所属工厂:">
|
|
<el-form-item label="所属工厂:">
|
|
|
<el-select
|
|
<el-select
|
|
|
size="mini"
|
|
size="mini"
|
|
|
- v-model="where.parentId"
|
|
|
|
|
|
|
+ v-model="where.factoryId"
|
|
|
placeholder="请选择"
|
|
placeholder="请选择"
|
|
|
clearable
|
|
clearable
|
|
|
class="ele-block"
|
|
class="ele-block"
|
|
@@ -272,7 +272,7 @@ export default {
|
|
|
productName: '',
|
|
productName: '',
|
|
|
brandNo: '',
|
|
brandNo: '',
|
|
|
model: '',
|
|
model: '',
|
|
|
- parentId: '',
|
|
|
|
|
|
|
+ factoryId: '',
|
|
|
status: '',
|
|
status: '',
|
|
|
createTime: []
|
|
createTime: []
|
|
|
};
|
|
};
|
|
@@ -301,8 +301,7 @@ export default {
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this.getFactoryarea();
|
|
this.getFactoryarea();
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- let factoryId = this.$store.state.user.info.factoryId;
|
|
|
|
|
- this.where.parentId = factoryId;
|
|
|
|
|
|
|
+ this.where.factoryId = this.$store.state.user.info.factoryId;
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
created() {},
|
|
created() {},
|