diff --git a/src/views/modules/erf/components/expApplyForm.vue b/src/views/modules/erf/components/expApplyForm.vue
index 0c79a27..0ae6086 100644
--- a/src/views/modules/erf/components/expApplyForm.vue
+++ b/src/views/modules/erf/components/expApplyForm.vue
@@ -7,18 +7,6 @@
label-position="top"
style="margin-left: 5px; margin-top: -5px;">
-
-
-
-
-
-
-
-
-
@@ -49,7 +37,15 @@
-
+
+
+
+
+
+
-
-
-
-
-
+
{{ copyData.sourceApplyNo }}
+
+
+
@@ -741,6 +744,7 @@ export default {
copyLoading: false,
copyData: {
sourceApplyNo: '',
+ applyNo: '',
copyOptions: ['triConfirm','rawMaterialList'] // 默认全选
}
}
@@ -1604,10 +1608,14 @@ export default {
* 确认复制申请单
*/
confirmCopy() {
+ if (!this.copyData.applyNo) {
+ this.$message.warning('请输入新的试验单号')
+ return
+ }
this.copyLoading = true
-
const copyParams = {
sourceApplyNo: this.copyData.sourceApplyNo,
+ applyNo: this.copyData.applyNo,
copyTriConfirm: this.copyData.copyOptions.includes('triConfirm'),
copyAttachment: this.copyData.copyOptions.includes('attachment'),
copyRawMaterialList: this.copyData.copyOptions.includes('rawMaterialList'),