Эх сурвалжийг харах

设备台账 修复工位名称选择器绑定字段错误问题

yusheng 9 сар өмнө
parent
commit
db3867b7e0

+ 2 - 2
src/views/ledgerAssets/components/businessInformation.vue

@@ -169,7 +169,7 @@
             <template slot="label"> 工位名称 </template>
             <el-form-item label-width="0">
               <el-select
-                v-model="ywInfo.factoryId"
+                v-model="ywInfo.factoryRoomId"
                 placeholder="请选择"
                 @change="change_factoryId"
                 style="width: 24%; margin-right: 1%"
@@ -573,7 +573,7 @@
             this.workshopOptions.length == 0 &&
             this.ywInfo.productionLineId
           ) {
-            this.getListWorkshopByParentId(this.ywInfo.factoryId);
+            this.getListWorkshopByParentId(this.ywInfo.factoryRoomId);
           }
 
           // 获取产线