王震
2023-11-29 5fdedc928cd6970423cf024c43a99e522a44dbcf
src/views/product/workbench/feed-form.vue
@@ -36,19 +36,19 @@
          >
          </el-table-column>
          <el-table-column
            prop="partBatchNo"
            prop="ifsBatchNo"
            header-align="center"
            align="center"
            label="零件批号"
            label="批号"
          >
          </el-table-column>
          <el-table-column
          <!-- <el-table-column
            prop="specs"
            header-align="center"
            align="center"
            label="规格型号"
          >
          </el-table-column>
          </el-table-column> -->
          <el-table-column
            prop="suppliedQuantity"
            header-align="center"
@@ -203,16 +203,15 @@
        partNoList.push(partNoLists)
      }
      getCheckRawPart(partNoList).then((response) => {
        console.log(response)
        if (response.data.code === 0) {
          // 需要密码确认情况
          if (response.data.data.success === false) {
            this.messages = response.data.data.message
            this.onnerVisible = true
          } else {
          //if (response.data.data.success === false) {
          //  this.messages = response.data.data.message
          //  this.onnerVisible = true
          //} else {
            // 不需要密码 直接投料
            this.saveFeed()
          }
          //}
        }
      })
    },
@@ -243,7 +242,15 @@
          partBatchNo: this.dataList[i].partBatchNo,
          systemNo: this.dataList[i].systemNo,
          partName: this.dataList[i].partName,
          unit: this.dataList[i].unit ? this.dataList[i].unit : ''
          unit: this.dataList[i].unit ? this.dataList[i].unit : '',
               partNo: this.dataList[i].partNo,
               ifsBatchNo: this.dataList[i].ifsBatchNo,
               ifsWdr: this.dataList[i].ifsWdr,
               locationNo: this.dataList[i].locationNo,
               serialNo:this.dataList[i].serialNo,
               engChgLevel:this.dataList[i].engChgLevel,
               configurationId:this.dataList[i].configurationId,
               activitySeq:this.dataList[i].activitySeq
        }
        feeds.push(feed)
      }