Forráskód Böngészése

fix:物料入库 领料 流程节点打单

zhangjingyuan 3 éve
szülő
commit
dbcfa36796

+ 2 - 2
src/business/platform/form/formrender/index.vue

@@ -74,7 +74,7 @@
                 v-if="alertVisible"
                 :alertVisible = "alertVisible"
                 :obj = "domList"
-                @rukuOff = "closeRuKuDan"
+                @rukuOff = "rukuOff"
             />
         </ibps-watermark>
     </div>
@@ -594,7 +594,7 @@
               // this.$emit("update:scanVisible",this.scanVisible)
               this.$emit("close")
             },
-            closeRuKuDan(){
+            rukuOff(){
               this.alertVisible = false
               this.$emit("close")
             }

+ 1 - 1
src/views/system/jbdScan/wuliao/bwlingliaodan.vue

@@ -3,7 +3,7 @@
     <el-dialog
       width="26cm"
       height="12cm"
-      :modal-append-to-body="false"
+      :modal="!alertVisible"
       title="领料单"
       :visible.sync="alertVisible "
     >

+ 11 - 11
src/views/system/jbdScan/wuliao/caigourukudan.vue

@@ -3,12 +3,12 @@
     <el-dialog
       width="26cm"
       height="12cm"
-      :modal-append-to-body="false"
+      :modal="!alertVisible"
       title="采购入库单"
-      :visible.sync="alertVisible "
+      :visible.sync="alertVisible"
     >
       <!-- 表单是否显示 -->
-      <div style="height: 500px; width: 90%; margin: 0 auto" v-if="alertVisible ">
+      <div style="height: 500px; width: 90%; margin: 0 auto" >
         <div ref="qrcode" id="box">
           <vue-easy-print tableShow ref="easyPrint" :onePageRow="onePageRow">
             <div
@@ -174,7 +174,7 @@ export default {
   },
   data() {
     return {
-      onePageRow: 1,
+      // onePageRow: 1,
       value: "",
       id: "",
       list: [],
@@ -221,6 +221,10 @@ export default {
     obj() {
       this.getInit();
     },
+    alertVisible(ne,old) {
+      console.log(22222,ne,old)
+      // alert(this.alertVisible)
+    },
   },
   methods: {
     printDemo() {
@@ -272,20 +276,18 @@ export default {
       this.getLook(this.obj);
     },
     getLook(id) {
-      console.log(id)
       this.list = [];
       let this_ = this;
       let name1, name2, name3;
       let time1, time2, time3;
-      console.log(id,"22")
       id.forEach((item) => {
         let sql = `select * FROM t_wljsysjlb WHERE id_='${item}'`;
         repostCurd("sql", sql).then((res) => {
-          debugger
+          
           let data = res.variables.data;
           let s2 = `select a.NAME_,DATE_FORMAT(b.CREATE_TIME_,'%Y-%m-%d') AS CREATE_TIME_ FROM ibps_party_employee  as a join ibps_bpm_oper_log as b on a.ID_ = b.CREATE_BY_ where b.PROC_INST_ID_ = ( SELECT  PROC_INST_ID_  FROM ibps_bpm_bus_rel WHERE BUSINESSKEY_ = '${item}') AND b.NODE_ID_ = 'Activity_1pha4py' ORDER BY b.CREATE_TIME_ DESC LIMIT 1`;
           repostCurd("sql", s2).then((res) => {
-            debugger
+            
             name2 = res.variables.data[0].NAME_ || 0;
             time2 = res.variables.data[0].CREATE_TIME_ || 0;
             data["name2"] = name2;
@@ -295,7 +297,7 @@ export default {
             let addshuie = 0;
             let s3 = `select a.NAME_,DATE_FORMAT(b.CREATE_TIME_,'%Y-%m-%d') AS CREATE_TIME_ FROM ibps_party_employee  as a join ibps_bpm_oper_log as b on a.ID_ = b.CREATE_BY_ where b.PROC_INST_ID_ = ( SELECT  PROC_INST_ID_  FROM ibps_bpm_bus_rel WHERE BUSINESSKEY_ = '${item}' LIMIT 1) AND b.NODE_ID_ = 'Activity_04ff3k5' ORDER BY b.CREATE_TIME_ DESC LIMIT 1`;
             repostCurd("sql", s3).then((res) => {
-              debugger
+              
               if(res.variables.data.length >0){
                 name3 = res.variables.data[0].NAME_ || 0;
                 time3 = res.variables.data[0].CREATE_TIME_ || 0;
@@ -320,8 +322,6 @@ export default {
               addhanshuiheji = 0;
               addjine = 0;
               addshuie = 0;
-              console.log(this_.list)
-              console.log(this_.list);
             });
           });
         });

+ 1 - 1
src/views/system/jbdScan/wuliao/chnangguirukudan.vue

@@ -3,7 +3,7 @@
     <el-dialog
       width="26cm"
       height="12cm"
-      :modal-append-to-body="false"
+      :modal="!alertVisible"
       title="采购入库单"
       :visible.sync="alertVisible "
     >

+ 1 - 1
src/views/system/jbdScan/wuliao/lingliaodan.vue

@@ -3,7 +3,7 @@
     <el-dialog
       width="26cm"
       height="12cm"
-      :modal-append-to-body="false"
+      :modal="!alertVisible"
       title="领料单"
       :visible.sync="alertVisible "
     >