|
|
|
@ -61,15 +61,9 @@ |
|
|
|
<el-form-item :label="'派工单号'"> |
|
|
|
<el-input v-model="searchData.seqNo" clearable style="width: 143px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'加工中心'"> |
|
|
|
<el-select v-model="searchData.workCenterNo" placeholder="请选择" clearable style="width: 110px"> |
|
|
|
<el-option |
|
|
|
v-for = "i in workCenterList" |
|
|
|
:key = "i.workCenterNo" |
|
|
|
:label = "i.workCenterDesc" |
|
|
|
:value = "i.workCenterNo"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<el-form-item :label="''"> |
|
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(24)" ><a>加工中心</a></span> |
|
|
|
<el-input v-model="searchData.workCenterNo" clearable style="width: 110px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'工序'"> |
|
|
|
<el-input v-model="searchData.operationDesc" clearable style="width: 80px"></el-input> |
|
|
|
@ -950,7 +944,6 @@ |
|
|
|
import qcFAIUploadFile from "./qc_FAI_upload_file" |
|
|
|
import comQcItemImageUploadFile from "./com_qc_itemImage_upload_file" |
|
|
|
import subDetailUpload from "./sub_detail_upload"; |
|
|
|
import {getWorkCenterData} from "../../../api/base/site"; |
|
|
|
/*上传文件的組件*/ |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
@ -1026,7 +1019,6 @@ |
|
|
|
exportFooter: [], |
|
|
|
exportList: [], |
|
|
|
// 导出 end |
|
|
|
workCenterList: [], |
|
|
|
checkCompletedData:{ |
|
|
|
inspectionNo: '' |
|
|
|
}, |
|
|
|
@ -2461,8 +2453,6 @@ |
|
|
|
this.inspectionTypeSearch() |
|
|
|
// 处置措施 |
|
|
|
this.disposalMeasuresSearch() |
|
|
|
// 获取加工中心 |
|
|
|
this.getWorkCenterList() |
|
|
|
// 单位 |
|
|
|
this.umSearch() |
|
|
|
// 查看 质量任务生成规则控制 动控是否开启 |
|
|
|
@ -3113,6 +3103,7 @@ |
|
|
|
this.type = type |
|
|
|
this.$nextTick(() => { |
|
|
|
let strVal = '' |
|
|
|
let conSql = '' |
|
|
|
if (val === 1052) { |
|
|
|
this.searchSeqInfo() |
|
|
|
this.seqDetailFlag = true |
|
|
|
@ -3129,6 +3120,14 @@ |
|
|
|
strVal = this.detailData.responsiblePerson |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
} |
|
|
|
if (val === 509) { |
|
|
|
strVal = this.detailData.responsiblePerson |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
} |
|
|
|
if (val === 24) { |
|
|
|
strVal = this.searchData.workCenterNo |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
} |
|
|
|
// if (val === 206) { |
|
|
|
// strVal = this.modalData.partNo |
|
|
|
// this.$refs.baseList.init(val, strVal) |
|
|
|
@ -3157,6 +3156,9 @@ |
|
|
|
if (this.tagNo === 509) { |
|
|
|
this.detailData.responsiblePerson = val.SupplierID |
|
|
|
} |
|
|
|
if (this.tagNo === 24) { |
|
|
|
this.searchData.workCenterNo = val.WorkCenterNo |
|
|
|
} |
|
|
|
// if (this.tagNo === 206) { |
|
|
|
// this.modalData.partNo = val.part_no |
|
|
|
// this.modalData.partDesc = val.part_desc |
|
|
|
@ -3761,17 +3763,20 @@ |
|
|
|
actionBy: this.$store.state.user.name, |
|
|
|
state: '待检验' |
|
|
|
} |
|
|
|
actionIPQCInspection(tempData).then(({data}) => { |
|
|
|
actionIPQCInspection(tempData).then(async ({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.getDataList() |
|
|
|
this.$message({ |
|
|
|
message: '操作成功', |
|
|
|
type: 'success', |
|
|
|
duration: 1500, |
|
|
|
onClose: () => {} |
|
|
|
onClose: () => { |
|
|
|
} |
|
|
|
}) |
|
|
|
this.searchData.inspectionNo = row.inspectionNo |
|
|
|
await this.getDataList() |
|
|
|
this.detailModal(row) |
|
|
|
} else { |
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
await this.$alert(data.msg, '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
} |
|
|
|
@ -4094,14 +4099,6 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
getWorkCenterList(){ |
|
|
|
getWorkCenterData().then(({data}) => { |
|
|
|
if (data.code === 0) { |
|
|
|
this.workCenterList = data.rows |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
// 收藏 OR 取消收藏 |
|
|
|
favoriteFunction () { |
|
|
|
let userFavorite = { |
|
|
|
|