qq_41295110
2025-07-21 3a2dfe59a4ded45f03c3aa30c42f50407029cbe1
pages/gongxuOut/form.vue
@@ -426,6 +426,7 @@
            HBillNo:'',
            btnType:0,//0新增,1修改,2审核,3反审核
            FirstEndHProcNo:0,//默认0  首道工序1 末道工序2
            OperationType:1,
            showmore: false,
            
            arrayHMaterNumber:[],//产品
@@ -453,13 +454,13 @@
               HPieceQty:'',
               HWasterQty:'',
               HSourceName:'',
               HSourceID:'',
               HSourceID:0,
               HCenterName:'',
               HCenterID:'',
               HCenterID:0,
               HGroupName:'',
               HGroupID:'',
               HGroupID:0,
               HEmpName:'',
               HEmpID:'',
               HEmpID:0,
               HRemark:'',
               HDate:getDateTime.dateTimeStr('y-m-d'),
               
@@ -467,7 +468,7 @@
               HProcExchBillNo:'',
               HMaterNumber:'',
               HMaterName:'',
               HMaterID:'',
               HMaterID:0,
               HMaterModel:'',
               单位:'',
               HProcName:'',
@@ -497,7 +498,7 @@
               // HTaxRate:'',
               // HPrice:'',
               // HMoney:'',
               // // HStationInTime:getDateTime.dateTimeStr('y-m-d h:i:s'),
               HStationInTime:getDateTime.dateTimeStr('y-m-d h:i:s'),
               // HStationOutTime:getDateTime.dateTimeStr('y-m-d h:i:s'),
               // HSendBillNo:'',
               // HInnerBillNo:'',
@@ -519,8 +520,8 @@
               // HPayProcID:'',
               // HSourceNameList:'',
                  
               HMaker:'',
               HMakeDate:'',
               HMaker:uni.getStorageSync('HUserName'),
               HMakeDate:getDateTime.dateTimeStr('y-m-d h:i:s'),
               HUpDater:'',
               HUpDateDate:'',      
               HChecker:'',
@@ -545,6 +546,7 @@
         // this.hform.HStationOutTime = getDateTime.dateTimeStr('y-m-d h:i:s')
         if(e.linterid){
            this.btnType = 1
            this.OperationType = 4
            this.linterid = e.linterid
            this.HBillNo = e.HBillNo
            this.getEditData(e.linterid,e.HBillNo)
@@ -1003,6 +1005,7 @@
                  console.log(res)
                  if(res.data.count == 1){
                     this.isEdit = true
                     this.OperationType = 3
                     this.hform.eventType = 'Modify'
                  }else{
                     uni.showToast({
@@ -1219,7 +1222,7 @@
                     title:'请稍候'
                  })
               var sMainStr = JSON.stringify(this.hform);
               var sMainSub = sMainStr + ";" + uni.getStorageSync('HUserName');
               var sMainSub = sMainStr + ";" + uni.getStorageSync('HUserName') + ";" + this.OperationType;
                  console.log(sMainSub);
                  uni.request({
                      url: this.serverUrl + '/Cj_StationOutBill/AddBill',
@@ -1280,6 +1283,7 @@
               data:{ 
                  CurUserName: uni.getStorageSync('HUserName'),
                  HInterID: this.linterid,
                  HBillSubType:'',
               },
                success: (res) => {
                    console.log(1,res);
@@ -1328,6 +1332,7 @@
               data:{ 
                  CurUserName: uni.getStorageSync('HUserName'),
                  HInterID: this.linterid,
                  HBillSubType:'',
               },
                success: (res) => {
                    console.log(1,res);