浏览代码

前端待完成完善sdy

zhongtianhaoyuan 4 年之前
父节点
当前提交
6872ac7264

+ 0 - 1
src/views/warehouse/warehouseManagementNoComplete.vue

@@ -208,7 +208,6 @@ export default {
     },
     //编辑
     edits(row) {
-      console.log(row.goodsNameKey)
       if (row.inOutFlag == 2) {
         this.$store.dispatch('app/setdeptBudgetList', row)
         this.$router.push({

+ 19 - 21
src/views/warehouse/warehouseManagementPerfectDelivery.vue

@@ -433,8 +433,6 @@ export default {
           this.dataList.compId = sessionStorage.getItem('ws-pf_compId')
           this.dataList.inOutFlag = 1
           this.dataList.statusFlag = 3
-          //  this.deptBudgetList.inOutFlag = 1
-          // this.deptBudgetList.statusFlag = 3
           addstorageputList(this.dataList)
             .toPromise()
             .then((response) => {
@@ -442,29 +440,29 @@ export default {
               this.$router.push({ path: 'warehouseManagementList' })
             })
         } else {
-          EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
-          return false
-        }
-      })
-    },
-    //暂存按钮
-    returnWarehouse() {
-      this.$refs.dataList.validate((valid) => {
-        if (valid) {
-          this.dataList.compId = sessionStorage.getItem('ws-pf_compId')
-          this.dataList.statusFlag = 1
-          addstorageputList(this.dataList)
-            .toPromise()
-            .then((response) => {
-              this.$message.success('添加成功')
-              this.$router.push({ path: 'warehouseManagementList' })
-            })
-        } else {
-          EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
+         EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
           return false
         }
       })
     },
+    // //暂存按钮
+    // returnWarehouse() {
+    //   this.$refs.dataList.validate((valid) => {
+    //     if (valid) {
+    //       this.dataList.compId = sessionStorage.getItem('ws-pf_compId')
+    //       this.dataList.statusFlag = 1
+    //       addstorageputList(this.dataList)
+    //         .toPromise()
+    //         .then((response) => {
+    //           this.$message.success('添加成功')
+    //           this.$router.push({ path: 'warehouseManagementList' })
+    //         })
+    //     } else {
+    //       EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
+    //       return false
+    //     }
+    //   })
+    // },
     tarechange(e) {
       if (this.dataList.grossWeight && this.dataList.tare) {
         this.dataList.netWeight = Number(

+ 1 - 1
vue.config.js

@@ -144,7 +144,7 @@ module.exports = {
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://localhost:8090/',
         // target: 'http://192.168.1.121:8090/',
-        target: 'http://192.168.1.119:8090/',
+        target: 'http://192.168.1.124:8090/',
         // target: 'http://192.168.1.119:8090/',
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://product-server.winsea.com/',