diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue
index 868624a..5eb5b73 100644
--- a/src/views/modules/proofing/requestForProofing.vue
+++ b/src/views/modules/proofing/requestForProofing.vue
@@ -2764,6 +2764,13 @@ export default {
this.$message.warning('请勾选要删除的打样信息!')
return
}
+ for (let i = 0; i < this.proofingSelections.length; i++) {
+ let row = this.proofingSelections[i]
+ if (row.proofingStatus !== '草稿'){
+ this.$message.warning(row.proofingNo+"不是草稿状态,不能删除!")
+ return
+ }
+ }
this.$confirm(`是否删除这 ` + this.proofingSelections.length + ` 条打样信息?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue
index c0878d4..6237105 100644
--- a/src/views/modules/quotation/requestForQuote.vue
+++ b/src/views/modules/quotation/requestForQuote.vue
@@ -2593,6 +2593,13 @@ export default {
this.$message.warning('请勾选要删除的询价信息!')
return
}
+ for (let i = 0; i < this.quotationSelections.length; i++) {
+ let row = this.quotationSelections[i]
+ if (row.quotationStatus !== '草稿'){
+ this.$message.warning(row.quotationNo+"不是草稿状态,不能删除!")
+ return
+ }
+ }
this.$confirm(`是否删除这 ` + this.quotationSelections.length + ` 条询价信息?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue
index 9742375..9f33250 100644
--- a/src/views/modules/test/requestForTest.vue
+++ b/src/views/modules/test/requestForTest.vue
@@ -335,6 +335,7 @@
关闭
同意
驳回
+ 驳回
@@ -909,6 +910,18 @@
+
+
+
+
+
+
+
+ 确定
+ 取消
+
+
+
@@ -1039,6 +1052,11 @@
if (newVal === false){
this.detailFlag = false
}
+ },
+ rejectVisible(newVal,oldVal){
+ if (newVal === false){
+ this.rejectOpinion = ''
+ }
}
},
data () {
@@ -2150,6 +2168,8 @@
// columnWidth: 70,
// },
],
+ rejectVisible:false,
+ rejectOpinion:"",
}
},
mounted () {
@@ -2677,6 +2697,13 @@
this.$message.warning('请勾选要删除的测试信息!')
return
}
+ for (let i = 0; i < this.testSelections.length; i++) {
+ let row = this.testSelections[i]
+ if (row.testStatus !== '草稿'){
+ this.$message.warning(row.testNo+"不是草稿状态,不能删除!")
+ return
+ }
+ }
this.$confirm(`是否删除这 `+ this.testSelections.length +` 条测试信息?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -3396,6 +3423,7 @@
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
+ this.modalData.rejectOpinion = this.rejectOpinion
this.modalData.nodeConclusion = 'N'
this.submitData()
})
@@ -3572,5 +3600,10 @@
content: "";
position: absolute;
}
+
+.auto /deep/ .el-form-item__content{
+ height: auto;
+ line-height: 1.5;
+}