loulijun2021
2023-08-30 02965944b963cb9704280e33f5812aa38d436f76
1.递交
已修改1个文件
16 ■■■■ 文件已修改
src/views/produceManager/workOrder.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/produceManager/workOrder.vue
@@ -726,6 +726,9 @@
        <!--        </el-form-item>-->
      </el-form>
      <div style="display: flex;justify-content: flex-end">
        {{ routeStepArr }}
      </div>
      <!--        工艺路线放大镜对话框-->
      <el-dialog
@@ -2248,7 +2251,9 @@
      lastPrintArr: [], // 末道打印的数组(所有)
      lastPrintArrSelected: [], // 末道打印的数组(选中)
      switchButton: false
      switchButton: false,
      routeStepArr: ''
    }
  },
  created() {
@@ -2408,7 +2413,13 @@
        wkshopcode: this.dialogForm.wkshopcode
      }
      await SelectRouteOrWkshop(data).then((res) => {
        // console.log(res, 1)
        console.log(res, 1)
        SelectRouteStep({ routecode: this.dialogForm.routecode }).then(res2 => {
          console.log(res2)
          this.routeStepArr = res2.data.map(i => i.stepname).join(',')
        })
        this.submitButtonIsDisabled = false
      }).catch(err => {
        // console.log(err, 2)
@@ -2582,6 +2593,7 @@
    },
    // 对话框关闭事件
    handleClose() {
      this.routeStepArr = ''
      this.dialogForm.partname = '' // 产品名称
      this.dialogForm.partspec = '' // 产品规格
      this.dialogForm.wkshopname = '' // 生产车间名称