| | |
| | | <h2 v-if="!editable">查看-工艺文件</h2> |
| | | </div> |
| | | <div class="btn-group header-right" v-if="editable"> |
| | | <el-button @click="save()">保存</el-button> |
| | | <el-button type="primary" @click="save()">保存</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="page-main"> |
| | | <div class="document-basic"> |
| | | <div class="document-basic" style="height: 28%;"> |
| | | <el-form |
| | | :model="dataForm" |
| | | :rules="dataRule" |
| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item prop="name" label="文件名称"> |
| | | <el-tooltip class="item" effect="dark" :content="dataForm.name" > |
| | | <el-input |
| | | v-model="dataForm.name" |
| | | placeholder="文件名称" |
| | | ></el-input> |
| | | </el-tooltip> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | </el-col> --> |
| | | <el-col :span="6"> |
| | | <el-form-item label="产品零件号" prop="partNo"> |
| | | <el-input v-model="dataForm.partNo" placeholder="请选择零件"> |
| | | <el-input disabled v-model="dataForm.partNo" placeholder="请选择零件"> |
| | | <el-button |
| | | slot="append" |
| | | icon="el-icon-search" |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="产品零件描述" prop="partName"> |
| | | <el-tooltip class="item" effect="dark" :content="dataForm.partName" > |
| | | <el-input v-model="dataForm.partName" disabled> </el-input> |
| | | </el-tooltip> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="BOM" prop="bomId"> |
| | | <el-select |
| | | :disabled="dataForm.id != null" |
| | | v-model="dataForm.bomId" |
| | | placeholder="" |
| | | <el-select |
| | | :disabled="dataForm.id != null" |
| | | v-model="dataForm.bomId" |
| | | placeholder="" |
| | | style="width: 100%;" |
| | | filterable> |
| | | <el-option |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="工艺路线编号" prop="routingList"> |
| | | <el-select |
| | | :disabled="dataForm.id != null" |
| | | v-model="dataForm.routingId" |
| | | placeholder="" |
| | | <el-select |
| | | :disabled="dataForm.id != null" |
| | | v-model="dataForm.routingId" |
| | | placeholder="" |
| | | style="width: 100%;" |
| | | filterable> |
| | | <el-option |
| | |
| | | </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"> |
| | | <el-form-item label="备注" prop="remark"> |
| | | <el-input |
| | |
| | | > |
| | | <TeststandardDialog |
| | | :editable="editable" |
| | | :documentId="Number(dataForm.id)" |
| | | :key="dataForm.id" |
| | | :documentId="dataForm.id" |
| | | > |
| | | </TeststandardDialog> |
| | | </el-tab-pane> |
| | |
| | | 工序参数 |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <!-- <div class="document-bom-div" v-show="item.showBom"> |
| | | <el-tooltip |
| | | class="item" |
| | |
| | | :richContent="ele.remark" |
| | | ></rich-text> |
| | | </el-tab-pane> --> |
| | | <el-tab-pane label="检测标准"> |
| | | <!-- <el-tab-pane label="检测标准"> |
| | | <checkStandardTable |
| | | ref="documentTestStandardTable" |
| | | :dataFormId="dataForm.id" |
| | |
| | | refreshTestStandardInfo |
| | | " |
| | | ></checkStandardTable> |
| | | </el-tab-pane> |
| | | </el-tab-pane> --> |
| | | <!-- <el-tab-pane label="抽检规则"> |
| | | <div> |
| | | <div style="padding: 0px 20px;"> |
| | |
| | | saveLctJson, |
| | | getLctJson, |
| | | routingChildCheck, |
| | | qryDocSamplingRule |
| | | qryDocSamplingRule, |
| | | getTestStandardParams |
| | | } from '@/api/technology/document' |
| | | import { delDocumentSamplingRule } from '@/api/quality/documentsamplingrule' |
| | | import { getObj as getTechnologyDetail } from '@/api/technology/routing' |
| | | import { getObj as getStructureDetail } from '@/api/technology/completeproductstructure' |
| | | import { fetchList as getBomList } from '@/api/technology/completeproductstructure' |
| | | import { getRouting } from '@/api/technology/document' |
| | | import { getTestStandardParams } from '@/api/quality/teststandard' |
| | | //import { getTestStandardParams } from '@/api/quality/teststandard' |
| | | import { remote } from '@/api/admin/dict' |
| | | import { fetchList as getStandard } from '@/api/quality/standardbind' |
| | | import { getStore } from '@/util/store.js' |
| | |
| | | { required: true, message: '版本号不能为空', trigger: 'blur' } |
| | | ], |
| | | projectNo: [ |
| | | { required: true, message: '项目号不能为空', trigger: 'blur' } |
| | | // { required: true, message: '项目号不能为空', trigger: 'blur' } |
| | | ], |
| | | projectType: [ |
| | | { required: true, message: '项目类别不能为空', trigger: 'change' } |