Ver código fonte

修改入库

mxx 3 anos atrás
pai
commit
aa2a44c064

+ 1 - 1
src/views/warehouse/warehouseManagementDelivery.vue

@@ -1038,7 +1038,7 @@ export default {
         })
         return
       }
-      if (!this.deptBudgetList.deliveryType) {
+      if (!this.deptBudgetList.inOutType) {
         this.$message({
           message: '出库类型不能为空!',
           type: 'warning',

+ 2 - 2
src/views/warehouse/warehouseManagementPerfectput.vue

@@ -1208,8 +1208,8 @@ export default {
           return
         }
         if (
-          this.dataList.warehouseInOutDetail.bulkDensity < 1 ||
-          this.dataList.warehouseInOutDetail.bulkDensity > 40 ||
+          this.dataList.warehouseInOutDetail.bulkDensity > 1000 ||
+          this.dataList.warehouseInOutDetail.bulkDensity < 0||
           (String(this.dataList.warehouseInOutDetail.bulkDensity).indexOf(
             '.'
           ) != -1 &&

+ 1 - 1
src/views/warehouse/warehouseManagementPut.vue

@@ -1762,7 +1762,7 @@ export default {
               this.deptBudgetList.inOutFlag = 2
               this.deptBudgetList.statusFlag = 1
               let _data = JSON.parse(sessionStorage.getItem('winseaview-userInfo'))
-                this.dataList.backOffice  = _data.content.showCompName+'-' +_data.content.staffName
+                this.deptBudgetList.backOffice  = _data.content.showCompName+'-' +_data.content.staffName
               addstorageputList(this.deptBudgetList)
                 .toPromise()
                 .then((response) => {