zss
2024-04-24 d69611b526c9b269727c8b301ca1a6b7b108c887
src/views/plan/operationtask/operationtask-form.vue
@@ -521,7 +521,7 @@
  },
  data() {
    return {
      routingList: [],
      routingList: {},
      routingOptions: [],
      locationOptions: [],
      workstationOption: [],
@@ -591,6 +591,9 @@
        ],
        workCenter: [
          { required: true, message: '工作中心不能为空', trigger: 'change' }
        ],
        workstations: [
          { required: true, message: '工作站不能为空', trigger: 'change' }
        ],
        plannedQuantity: [
          { required: true, message: '接收数量不能为空', trigger: 'blur' },
@@ -688,7 +691,7 @@
        const queryParamStation = Object.assign({
          workCenter: this.dataForm.workCenter
        })
        getAllWorkstationList(queryParamStation).then((response) => {
          const resData = response.data.data
          if (resData && resData.length > 0) {
@@ -846,7 +849,7 @@
            this.$refs.ganttIndex.init(this.dataForm.workCenter, 1)
          })
        }
      })
      })
    },
    // 表单提交
    dataFormSubmit() {