|
|
@ -186,7 +186,7 @@
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
@click="handleDrawing(scope.row)"
|
|
|
|
@click="handleDrawing(scope.row)"
|
|
|
|
v-if="scope.row.processType !== PROCESS_TYPE.AUTO && scope.row.children != null && scope.row.children !== undefined"
|
|
|
|
|
|
|
|
>图纸
|
|
|
|
>图纸
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
@ -243,7 +243,7 @@
|
|
|
|
@before-close="blueprintModel = false">
|
|
|
|
@before-close="blueprintModel = false">
|
|
|
|
<el-form ref="form">
|
|
|
|
<el-form ref="form">
|
|
|
|
<el-form-item label="选择BOM图纸">
|
|
|
|
<el-form-item label="选择BOM图纸">
|
|
|
|
<el-select v-model="materialBomAttachIdList" placeholder="请选择选择BOM图纸" multiple filterable :clearable="false">
|
|
|
|
<el-select v-model="materialBomAttachIdList" placeholder="请选择选择BOM图纸" multiple filterable :clearable="false" :disabled="!(nowRow.processType !== PROCESS_TYPE.AUTO && nowRow.children != null && nowRow.children !== undefined)">
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
v-for="item in attachInfoList"
|
|
|
|
v-for="item in attachInfoList"
|
|
|
|
:key="item.attachId"
|
|
|
|
:key="item.attachId"
|
|
|
@ -292,6 +292,7 @@
|
|
|
|
<span
|
|
|
|
<span
|
|
|
|
class="el-upload-list__item-delete"
|
|
|
|
class="el-upload-list__item-delete"
|
|
|
|
@click="handleRemoveDrawing(file)"
|
|
|
|
@click="handleRemoveDrawing(file)"
|
|
|
|
|
|
|
|
v-if="nowRow.processType !== PROCESS_TYPE.AUTO && nowRow.children != null && nowRow.children !== undefined"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i class="el-icon-delete"></i>
|
|
|
|
<i class="el-icon-delete"></i>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -300,12 +301,6 @@
|
|
|
|
</el-upload>
|
|
|
|
</el-upload>
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
|
<!-- 上传提示 -->
|
|
|
|
<!-- 上传提示 -->
|
|
|
|
<div class="el-upload__tip" slot="tip" v-if="isShowTip">
|
|
|
|
|
|
|
|
请上传
|
|
|
|
|
|
|
|
<template v-if="drawingFileSize"> 大小不超过 <b style="color: #f67c7c">{{ drawingFileSize }}MB</b></template>
|
|
|
|
|
|
|
|
<template v-if="drawingFileType"> 格式为 <b style="color: #f56c6c">{{ drawingFileType.join("/") }}</b></template>
|
|
|
|
|
|
|
|
的文件
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<el-button type="primary" @click="drawingFileUploadSubmit">确 定</el-button>
|
|
|
|
<el-button type="primary" @click="drawingFileUploadSubmit">确 定</el-button>
|
|
|
|
<el-button @click="blueprintModel = false">取 消</el-button>
|
|
|
|
<el-button @click="blueprintModel = false">取 消</el-button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -482,6 +477,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
|
|
|
|
nowRow:{},
|
|
|
|
blueprintModel: false,
|
|
|
|
blueprintModel: false,
|
|
|
|
sopViewModel: false,
|
|
|
|
sopViewModel: false,
|
|
|
|
pictureDetailModel: false,
|
|
|
|
pictureDetailModel: false,
|
|
|
@ -1298,6 +1294,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
/** 查看sop */
|
|
|
|
/** 查看sop */
|
|
|
|
handleSop(row) {
|
|
|
|
handleSop(row) {
|
|
|
|
|
|
|
|
this.nowRow = row
|
|
|
|
this.fileList = [];
|
|
|
|
this.fileList = [];
|
|
|
|
if (row.oldRowFlag && (!this.previewSopFlag[row.dispatchCode + "-" + row.processId]
|
|
|
|
if (row.oldRowFlag && (!this.previewSopFlag[row.dispatchCode + "-" + row.processId]
|
|
|
|
|| this.previewSopFlag[row.dispatchCode + "-" + row.processId] !== "1")) {
|
|
|
|
|| this.previewSopFlag[row.dispatchCode + "-" + row.processId] !== "1")) {
|
|
|
@ -1561,4 +1558,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
<style scoped>
|
|
|
|
/deep/.el-icon-close{display:none}
|
|
|
|
/deep/.el-icon-close{display:none}
|
|
|
|
|
|
|
|
/deep/.el-upload{
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|