瀏覽代碼

no message

linwenxin 5 月之前
父節點
當前提交
ce762a4b75

+ 1 - 2
src/packageMaterial/pages/newSale/index.vue

@@ -130,7 +130,7 @@ export default {
 
   onLoad({ type, oid = '' }) {
     this.type = type
-    this.hasOid = oid.length > 0
+    this.hasOid = oid
     uni.setNavigationBarTitle({
       title: '配件收款'
     })
@@ -141,7 +141,6 @@ export default {
             orderBaseId: oid
           })
           .then(res => {
-            console.log(res.data)
             const data = res.data
             this.orderNo = oid
             this.userMobile = data.userMobile

+ 1 - 1
src/packageMaterial/pages/newSale/orderList.vue

@@ -117,7 +117,7 @@
           @click="
             () => {
               $navToPage({
-                url: `/packageMaterial/pages/newSale/index?type=P`
+                url: `/packageMaterial/pages/newSale/index?type=P&oid=${oid}`
               })
             }
           "

+ 1 - 1
src/packageMaterial/pages/sale/index.vue

@@ -128,7 +128,7 @@ export default {
 
   onLoad({ type, oid = '' }) {
     this.type = type
-    this.hasOid = oid.length > 0
+    this.hasOid = oid
     uni.setNavigationBarTitle({
       title: type == 'M' ? '辅材收款' : '配件收款'
     })

+ 1 - 1
src/packageMaterial/pages/sale/orderList.vue

@@ -117,7 +117,7 @@
           @click="
             () => {
               $navToPage({
-                url: `/packageMaterial/pages/sale/index?type=M`
+                url: `/packageMaterial/pages/sale/index?type=M&oid=${oid}`
               })
             }
           "