From 7fb0a8f0ab16c149484bf043754cd10cfa94de2f Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期一, 19 一月 2026 14:48:05 +0800
Subject: [PATCH] 增加了业务员,保管员和验收员的对应的显示

---
 src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue
index 9c49619..d592867 100644
--- a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue
+++ b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue
@@ -223,6 +223,7 @@
                 ,HPOOrderBillMTO:""                                     //閲囪喘璺熻釜鍙�
                 ,HSeOrderBillNo:""                                      //瀹㈡埛璁㈠崟鍙�
                 ,HCusModel:""                                           //浜у搧鍨嬪彿
+                ,HMTONo:null                                            //璁″垝璺熻釜鍙�
                 
                 ,HOrganizationID:0                                      //缁勭粐ID
                 ,HOrganization:""                                       //缁勭粐鍚嶇О
@@ -322,7 +323,7 @@
 
         //#region 鑾峰彇缁勭粐涓嬫媺鍒楄〃鏁版嵁
         async get_OrganizationList() {
-            axios.get(this.baseURL + '/Web/GetOrganizations',{async:false}).then(response => {
+            axios.get(this.$baseUrl + '/Web/GetOrganizations',{async:false}).then(response => {
                 let result = response.data
                 if (result.count == 1) {
                     var data = result.data;
@@ -427,6 +428,13 @@
                 return Result = false;
             }
 
+            var regex = /^\d{4}-\d{2}-\d{2}$/;                              //姝e垯琛ㄨ揪寮忥細鏍¢獙 yyyy-MM-dd
+            temp = this.initMainData.HInspectionDate;
+            if(!regex.test(temp)){
+                this.$modal.msgError("璇疯缃敓浜ф棩鏈燂紒锛侊紒");
+                return Result = false;
+            }
+
             // var HEndQty = this.initMainData.HEndQty;
             // if (HEndQty == "") {
             //     this.$modal.msgError("灏惧寘鏁伴噺涓嶈兘涓虹┖锛侊紒");
@@ -518,6 +526,7 @@
                     , "HReInspectionDate": this.initMainData.HReInspectionDate
                     , "HPOOrderBillMTO": this.initMainData.HPOOrderBillMTO
                     , "HSeOrderBillNo": this.initMainData.HSeOrderBillNo
+                    , "HMTONo": this.initMainData.HMTONo
                 }
             ]
 
@@ -576,7 +585,7 @@
             var res = "none";
             var sql = "select * from h_v_IF_POInStockBillList_Source where 1=1 and HMainID = " + HSourceInterID + " and HSubID = " + HSourceEntryID;
             var ModRightNameCheck = "";
-            return axios.get(this.baseURL + '/CommonModel/searchMethod', {
+            return axios.get(this.$baseUrl + '/CommonModel/searchMethod', {
                 async:false,
                 params: {
                     "sql": sql
@@ -654,6 +663,7 @@
             this.initMainData.HPOOrderBillMTO = dataArray[0].閲囪喘璺熻釜鍙�;
             this.initMainData.HSeOrderBillNo = dataArray[0].瀹㈡埛璁㈠崟鍙�;
             this.initMainData.HCusModel = dataArray[0].浜у搧鍨嬪彿;
+            this.initMainData.HMTONo = dataArray[0].璁″垝璺熻釜鍙�;
             this.initMainData.HMinQty = 0;
             if(this.initMainData.HMinQty>0){
                 this.initMainData.HBQty = (this.initMainData.HQty_SourceBill / this.initMainData.HMinQty) + (this.initMainData.HQty_SourceBill%this.initMainData.HMinQty == 0?0:1);
@@ -670,7 +680,7 @@
         SaveBarCodeCreate(sMainSub, CampanyName) {
             axios({
                 method: 'post',
-                url: this.baseURL + "/Sc_BarCode/Sub_SaveBill_JinLong",
+                url: this.$baseUrl + "/Sc_BarCode/Sub_SaveBill_JinLong",
                 data: {
                     "msg": sMainSub, "CampanyName": CampanyName
                 },

--
Gitblit v1.9.1