| | |
| | | </div> |
| | | </div> |
| | | <div class="page-main"> |
| | | <div class="document-basic"> |
| | | <div class="document-basic" style="height: 28%;"> |
| | | <el-form |
| | | :model="dataForm" |
| | | :rules="dataRule" |
| | |
| | | :value="item.id" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="项目号" prop="projectNo"> |
| | | <el-input |
| | | v-model="dataForm.projectNo" |
| | | placeholder="项目号" |
| | | style="width:100%" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | { required: true, message: '版本号不能为空', trigger: 'blur' } |
| | | ], |
| | | projectNo: [ |
| | | { required: true, message: '项目号不能为空', trigger: 'blur' } |
| | | // { required: true, message: '项目号不能为空', trigger: 'blur' } |
| | | ], |
| | | projectType: [ |
| | | { required: true, message: '项目类别不能为空', trigger: 'change' } |
| | |
| | | if (this.currTechnologyName != null && this.currTechnologyName !== '') { |
| | | // 当用户删除工艺文件中关联的工艺路线时,若该文件对应BOM中所需半成品的工艺路线也已与当前工艺文件关联 |
| | | routingChildCheck(this.currTechnologyBomPartName).then((res) => { |
| | | console.log('res', res.data) |
| | | const resData = res.data |
| | | let num = 0 |
| | | if (resData.code === 0) { |
| | |
| | | if (this.dataForm.id) { |
| | | this.getDocumentInfo(this.dataForm.id) |
| | | } |
| | | console.log('上传成功') |
| | | }, |
| | | handleStructureExceed(files, fileList) { |
| | | // this.$message.warning( |
| | |
| | | this.dialogFlowVisible = true |
| | | }, |
| | | handleFlowSuccess(response, file, fileList) { |
| | | console.log('上传成功') |
| | | }, |
| | | handleFlowExceed(files, fileList) { |
| | | this.$message.warning( |
| | |
| | | }, |
| | | getSummaries(param) { |
| | | const { columns, data } = param |
| | | // console.log(columns, 'A') |
| | | // console.log(data, 'B') |
| | | const sums = [] |
| | | columns.forEach((column, index) => { |
| | | if (index === 0) { |