zuozhengqing
2024-04-10 62d36f52a6058e0483feceb8819475b31bc1f102
src/views/operate/outEnterLibrary/index.vue
@@ -40,6 +40,7 @@
    </div>
    <!-- 查看/编辑 -->
    <AddOverviewDialog 
      ref="viewDialog"
      v-if="editConfig.visible" 
      :edit-common-config="editConfig" 
      :add-name="addName"
@@ -274,8 +275,21 @@
      this.workType=row.baseOperationType
      this.editConfig.title = val
      getOperationInfo(row.operationId).then((res)=>{
        res.data.details.map((item) => {
          item.fromLocationId = item.fromLocation.jointName
          item.toLocationId = item.toLocation.jointName
        })
        res.data.location = {
          value: res.data.location.id || res.data.location.value,
          label: res.data.location.jointName || res.data.location.label
        }
        res.data.toLocation = {
          value: res.data.toLocation.id || res.data.toLocation.value,
          label: res.data.toLocation.jointName || res.data.toLocation.label
        }
        res.data.locationID = res.data.location.jointName
        res.data.locationId = res.data.location.value
        this.editConfig.infomation = { 
          ...res.data
        }
        this.editConfig.visible = true