zhongtianhaoyuan 3 anos atrás
pai
commit
2a16e3304a

+ 2 - 1
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -1556,6 +1556,7 @@
                 this.deptBudgetList.inOutFlag = 2
                 this.deptBudgetList.pcFlag = 1
                 this.deptBudgetList.statusFlag = 1
+                this.
                 if(this.statusTypetext=='初检'){
                   inspectAdd(this.deptBudgetList)
                   .toPromise()
@@ -1677,7 +1678,7 @@
             compId: localStorage.getItem('ws-pf_compId'),
           })
           .toPromise()
-          .then((response) => {
+          .then((response) => {debugger
             this.warehouseList1 = response
             this.warehouseList = []
             let _wareHouse = localStorage.getItem('houseSelfCollect_house1')

+ 4 - 1
src/views/houseSelfCollect/newWeighingManagement.vue

@@ -140,7 +140,7 @@
             <div class="but">
               <!-- <el-button @click="print" type="primary" :disabled="submitAllow">提交</el-button> -->
               <el-button @click="print" v-if="information == '毛重'" type="primary">保存</el-button>
-              <el-button @click="print" v-if="information == '皮重'" type="primary" :disabled="submitAllow">保存并打印</el-button>
+              <el-button @click="print" v-if="information == '皮重'" type="primary" >保存并打印</el-button>
             </div>
             </div>
               
@@ -1000,6 +1000,7 @@ this.deptBudgetTotal = this.carList.length
                         warehousing.deductionAmount = this.weighingList.deductionAmount
                         warehousing.deductionWeight = this.weighingList.deductionWeight
                         warehousing.warehouseInOutDetail = {}
+                        warehousing.baseId =warehousing.warehouseId
                         delete warehousing.qualityInspectionManagement
               }
             if (this.tpyeNo == 1) {
@@ -1064,6 +1065,7 @@ this.deptBudgetTotal = this.carList.length
                               warehousing.deductionAmount *= 1000
                               warehousing.deductionWeight /=  1000 
                               warehousing.statusFlag = 1
+                              warehousing.inOutFlag =2
                             addstorageputList(warehousing).toPromise().then((response) => {
                               // if(response == "OK"){
                               //   this.getList()
@@ -1102,6 +1104,7 @@ this.deptBudgetTotal = this.carList.length
                         warehousing.pureWeight =  1000
                         warehousing.deductionAmount *= 1000
                         warehousing.deductionWeight /=  1000 
+                        warehousing.inOutFlag =2
                             addstorageputList(warehousing).toPromise().then((response) => {})
                         }
                   getPrint({