Эх сурвалжийг харах

Merge branch 'purchaseDev' of http://172.16.100.139/new-business/drp-web into purchaseDev

002201 1 жил өмнө
parent
commit
c7c938d950

+ 7 - 1
src/views/purchase/purchase-order/print/index.vue

@@ -169,6 +169,7 @@ export default {
     }
   },
   data() {
+    console.log(this.value,'this.value');
     return {
       visible: false,
       disabled: false,
@@ -210,7 +211,7 @@ export default {
         extarCss: "",
       },
       // params: {},
-      params: this.value,
+      // params: this.value,
     };
   },
   computed: {
@@ -220,6 +221,11 @@ export default {
       },
       set: function () {},
     },
+    params:{
+      get:function(){
+        return this.value;
+      }
+    }
   },
   watch: {},
   methods: {

+ 1 - 1
src/views/purchase/transferOrder/add.vue

@@ -299,7 +299,7 @@
                 prop="rowno"
               >
                 <template slot-scope="scope">
-                  {{ scope.$index + 1 + "0" }}
+                  {{ scope.row.rowno = scope.$index + 1 + "0" }}
                 </template>
               </el-table-column>
               <el-table-column