From 6927c7867aee716e373f65a07c12536c6dcc6d34 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期四, 25 九月 2025 17:04:32 +0800
Subject: [PATCH] 1

---
 pages/caigoutuiliao/form.vue |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/pages/caigoutuiliao/form.vue b/pages/caigoutuiliao/form.vue
index 9e9f63c..132e2b5 100644
--- a/pages/caigoutuiliao/form.vue
+++ b/pages/caigoutuiliao/form.vue
@@ -263,7 +263,8 @@
     import BarCodePopupVue from "../../components/BarCodePopup/BarCodePopup.vue";
     export default {
         components: {
-            BillListPopupVue,BarCodePopupVue
+            BillListPopupVue,
+            BarCodePopupVue
         },
         data() {
             return {
@@ -286,7 +287,9 @@
 
                 tabs: 0,
                 HMainSourceBillType: '閫�鏂欓�氱煡鍗�',
-                arrayHMainSourceBillType: ['閫�鏂欓�氱煡鍗�', '閲囪喘璁㈠崟', '鎵嬪伐褰曞叆'],
+                arrayHMainSourceBillType: ['閫�鏂欓�氱煡鍗�', '閲囪喘璁㈠崟', '閲囪喘鍏ュ簱鍗�',
+                    '鎵嬪伐褰曞叆'
+                ],
 
                 linterid: '',
                 HBillNo: '',
@@ -383,7 +386,7 @@
                     this.$refs.barcodePopup.setCodeInfo(this.hform.HBillNo)
                     await this.$nextTick()
                     this.$refs.barcodePopup.open()
-                }catch(err) {
+                } catch (err) {
                     uni.showToast({
                         icon: 'none',
                         title: err
@@ -702,6 +705,9 @@
                 } else if (this.HMainSourceBillType == '閲囪喘璁㈠崟') {
                     this.hform.HMainSourceBillType = 1102
                     // this.getHYDList()
+                } else if (this.HMainSourceBillType == '閲囪喘鍏ュ簱鍗�') {
+                    this.hform.HMainSourceBillType = 1204
+
                 } else {
                     this.hform.HMainSourceBillType = -1
                     // this.getHYDList()
@@ -1030,6 +1036,10 @@
                                         this.HMainSourceBillType = '閲囪喘璁㈠崟'
                                         this.hform.HMainSourceBillType = 1102
                                         this.showHMainSourceBillType = false
+                                    } else if (data.hSourceBillType == 1204) {
+                                        this.HMainSourceBillType = '閲囪喘鍏ュ簱鍗�'
+                                        this.hform.HMainSourceBillType = 1204
+                                        this.showHMainSourceBillType = false
                                     } else {
                                         this.HMainSourceBillType = '鎵嬪伐褰曞叆'
                                         this.hform.HMainSourceBillType = -1
@@ -1256,6 +1266,10 @@
                                 this.hform.HMainSourceBillType = 1102
                                 this.HMainSourceBillType = '閲囪喘璁㈠崟'
                                 this.showHSupName = false
+                            }else if (data.HSourceBillType == 1204) {
+                                this.hform.HMainSourceBillType = 1204
+                                this.HMainSourceBillType = '閲囪喘鍏ュ簱鍗�'
+                                this.showHSupName = false
                             } else {
                                 this.hform.HMainSourceBillType = -1
                                 this.HMainSourceBillType = '鎵嬪伐褰曞叆'

--
Gitblit v1.9.1