qukaidi 4 years ago
parent
commit
c2e7361edb
1 changed files with 8 additions and 15 deletions
  1. 8 15
      src/views/Warehousing/outStock/AddOrUpdate.vue

+ 8 - 15
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -675,12 +675,10 @@
                   打印单据<i class="el-icon-arrow-down el-icon--right"></i>
                 </el-button>
                 <el-dropdown-menu slot="dropdown">
-                  <el-dropdown-item command="a">收货单</el-dropdown-item>
-                  <el-dropdown-item command="b">入库单</el-dropdown-item>
+                  <el-dropdown-item command="b">出库单</el-dropdown-item>
                   <el-dropdown-item command="c">理货单</el-dropdown-item>
-                  <el-dropdown-item command="d">货物确认</el-dropdown-item>
+                  <el-dropdown-item command="e">出库确认</el-dropdown-item>
                   <el-dropdown-item command="e">劳务确认</el-dropdown-item>
-                  <el-dropdown-item command="f">吊牌信息</el-dropdown-item>
                 </el-dropdown-menu>
               </el-dropdown>
             </el-col>
@@ -2286,8 +2284,8 @@
           type="primary"
           :disabled="browseStatus"
           @click="
-            addprint;
             print_rkd = false;
+            addprint;
           "
           >打印
         </el-button>
@@ -2320,7 +2318,7 @@
             margin-bottom: 5px;
           "
         >
-          <div>入&nbsp;库&nbsp;计&nbsp;划&nbsp;单</div>
+          <div>出&nbsp;库&nbsp;单</div>
         </div>
         <div
           style="
@@ -2432,7 +2430,7 @@
             margin-bottom: 5px;
           "
         >
-          <div>&nbsp;库&nbsp;单</div>
+          <div>&nbsp;库&nbsp;单</div>
         </div>
         <div style="display: flex; margin-bottom: 5px">
           <div>
@@ -3158,7 +3156,7 @@ export default {
           if ((response.code = 200)) {
             this.detailList.map((e, index) => {
               response.data.warehousebillsitems.map((item) => {
-                item.fBsdate=Date.parse(item.fBsdate)
+                item.fBsdate = Date.parse(item.fBsdate);
                 if (e.fId == item.fId) {
                   e = item;
                   this.$set(this.detailList, index, e);
@@ -3250,7 +3248,7 @@ export default {
         if ((response.code = 200)) {
           this.detailList.map((e, index) => {
             response.datawarehouseItem.map((item) => {
-              item.fBsdate=Date.parse(item.fBsdate)
+              item.fBsdate = Date.parse(item.fBsdate);
               if (e.fId == item.fId) {
                 e = item;
                 this.$set(this.detailList, index, e);
@@ -3416,7 +3414,6 @@ export default {
             response.data.warehouseBillsItem.map((e) => {
               e.fBsdate = Date.parse(e.fBsdate);
               e.fBusinessType = e.fBusinessType.toString();
-              
             });
             this.detailList = response.data.warehouseBillsItem;
           } else {
@@ -4065,12 +4062,8 @@ export default {
               this.print_rkd = true;
             } else if (command == "c") {
               this.print_lhd = true;
-            } else if (command == "d") {
-              this.print_hwqr = true;
             } else if (command == "e") {
               this.print_lwqr = true;
-            } else if (command == "f") {
-              this.print_dpxx = true;
             }
           }
         });
@@ -4433,7 +4426,7 @@ export default {
           if (response.code == 200) {
             this.detailList.map((e, index) => {
               response.data.warehousebillsitems.map((item) => {
-                item.fBsdate=Date.parse(item.fBsdate)
+                item.fBsdate = Date.parse(item.fBsdate);
                 if (e.fId == item.fId) {
                   e = item;
                   this.$set(this.detailList, index, e);