Browse Source

添加出入库校验

mxx 3 years ago
parent
commit
42138f7bd2

+ 5 - 3
src/views/taskManagement/inOutWarehouseTaskEdit.vue

@@ -499,7 +499,7 @@ export default {
       this.$router.go(-1)
       this.$router.go(-1)
     },
     },
     returnsales() {
     returnsales() {
-      this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
+      this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
     },
     },
     // 获取当前年月日
     // 获取当前年月日
     getdate() {
     getdate() {
@@ -559,7 +559,8 @@ export default {
             .toPromise()
             .toPromise()
             .then(response => {
             .then(response => {
               this.$message.success('添加成功')
               this.$message.success('添加成功')
-              this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
+              this.$router.go(-1)
+              // this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
             })
             })
         } else {
         } else {
           EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
           EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
@@ -569,7 +570,8 @@ export default {
     },
     },
     //关闭
     //关闭
     close() {
     close() {
-      this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
+      this.$router.go(-1)
+      // this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
     },
     },
     tarechange(e) {
     tarechange(e) {
       if (this.dataList.grossWeight && this.dataList.tare) {
       if (this.dataList.grossWeight && this.dataList.tare) {

File diff suppressed because it is too large
+ 303 - 204
src/views/taskManagement/tranManagementWarehouseInOutTaskAdd.vue


File diff suppressed because it is too large
+ 640 - 204
src/views/taskManagement/tranManagementWarehouseInOutTaskEdit.vue


Some files were not shown because too many files changed in this diff