@@ -344,15 +344,14 @@
-
+
- 查询SOP编号
- 预览SOP
+ 预览SOP
@@ -418,19 +417,7 @@
关闭
-
-
-
-
-
- 关闭
-
-
+
@@ -466,27 +453,28 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 预览SOP
@@ -498,22 +486,22 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -544,7 +532,7 @@
:height="500"
:data="detailList"
border
- style="width: 100%;">
+ style="width: 100%;margin-top: 10px">
点击输入
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
+ let type = 'application/pdf;charset=UTF-8'
+ const blob = new Blob([data], { type: type })
+ console.log(blob,type)
+ // 创建URL来生成预览
+ const fileURL = URL.createObjectURL(blob)
+ // 在新标签页中打开文件预览
+ window.open(fileURL, '_blank')
+ })
},
queryALLPartList(){
queryPartDescByNo(this.partModalData).then(({data})=>{
@@ -3610,6 +3618,7 @@ export default {
this.modalData.partNo = row.partNo
this.modalData.partDesc = row.partDesc
this.operationDescInput()
+ this.querySopNum()
this.partFlag = false
},
@@ -3812,10 +3821,10 @@ export default {
Transfer (type) {
if (type === '2') {
- if (this.detailData.inspectionResult === '' || this.detailData.inspectionResult == null) {
- this.$message.warning('请选择检验结论!')
- return
- }
+ // if (this.detailData.inspectionResult === '' || this.detailData.inspectionResult == null) {
+ // this.$message.warning('请选择检验结论!')
+ // return
+ // }
if (this.detailData.inspectionResult === '不合格' && (this.detailData.disposalMeasures == null || this.detailData.disposalMeasures === '')) {
this.$message.warning('请选择处置措施!')
return
@@ -3965,6 +3974,8 @@ export default {
this.detailData.responsiblePerson = row.responsiblePerson
this.detailData.responsiblePersonName = row.responsiblePersonName
this.detailData.state = row.state
+ this.detailData.sopType = row.sopType
+ this.detailData.sopUrl = row.sopUrl
if (row.state === '待检验') {
this.detailData.passQty = row.samplingQty
} else {
diff --git a/src/views/modules/qc/qcPartAttribute.vue b/src/views/modules/qc/qcPartAttribute.vue
index 61872fb..a932927 100644
--- a/src/views/modules/qc/qcPartAttribute.vue
+++ b/src/views/modules/qc/qcPartAttribute.vue
@@ -1899,7 +1899,6 @@
// 获取工序列表
getOperationList () {
- this.$message.success(this.operationData)
getOperationDescList(this.operationData).then(({data}) => {
if (data && data.code === 0) {
this.operationList = data.rows