From 4a6b604e88772d0a116f0565790b8ac14f3a475f Mon Sep 17 00:00:00 2001 From: TianyangZhang Date: Tue, 25 Nov 2025 16:47:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=20:=20srm=20=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=B8=93=E5=88=A9=E5=AE=A1=E6=89=B9=E5=92=8C?= =?UTF-8?q?=E8=AE=BA=E6=96=87=E5=90=8C=E6=97=B6=E7=94=9F=E6=88=90=E5=8F=B0?= =?UTF-8?q?=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ofm/vehicle_form.vue | 1 - src/views/srm/paperse.vue | 12 ++++++------ src/views/srm/paperse_form.vue | 13 +++++++++++++ src/views/srm/patent.vue | 31 +++++-------------------------- src/views/srm/patent_form.vue | 14 +++++++++++++- 5 files changed, 37 insertions(+), 34 deletions(-) diff --git a/src/views/ofm/vehicle_form.vue b/src/views/ofm/vehicle_form.vue index d7c41d07..e5eab27a 100644 --- a/src/views/ofm/vehicle_form.vue +++ b/src/views/ofm/vehicle_form.vue @@ -221,7 +221,6 @@ export default { getTid (){ var that = this; that.$API.ofm.vehicleUse.item.req(that.t_id).then(res=>{ - console.log('res', res) that.form = res; that.handleEidt(that.t_id); if(res.ticket_.state_.type == 1 && res.create_by == that.$TOOL.data.get("USER_INFO").id ) { diff --git a/src/views/srm/paperse.vue b/src/views/srm/paperse.vue index 8d03a5bb..80345154 100644 --- a/src/views/srm/paperse.vue +++ b/src/views/srm/paperse.vue @@ -26,11 +26,6 @@ - + + + + @@ -152,6 +155,16 @@ export default { methods: { async submit_b_func() { let that = this; + if(that.localForm.ticket_?.state_?.name == '总经理审批'){ + const papertData = { + paper: that.localForm.id, + pa_type: that.localForm.pa_type, + author: that.localForm.author, + organization: that.localForm.organization + }; + console.log('7777777777',papertData) + that.$API.srm.paperrecord.create.req(papertData); + } if(that.localForm?.id){ that.localMode = "edit"; } diff --git a/src/views/srm/patent.vue b/src/views/srm/patent.vue index 8d42d662..7d9975de 100644 --- a/src/views/srm/patent.vue +++ b/src/views/srm/patent.vue @@ -28,7 +28,7 @@ + min-width="60"> @@ -69,7 +69,7 @@ prop="other_area" min-width="60" > - + - +