Răsfoiți Sursa

商品选择种类优化

liuyao 1 an în urmă
părinte
comite
72a6fb7718

+ 2 - 2
components/dkbase/dk-tree-form/dk-tree-form.wxml

@@ -1,13 +1,13 @@
 <view wx:for="{{tree}}" class="{{!item[parentIdKey]?'Outer-frame':''}}">
     <!-- 列表上半部分 -->
     <view wx:if="{{!item[parentIdKey]}}" style="display: flex;padding:3vw;background: linear-gradient(95.33deg, #ADC6FF -2.27%, #F0F5FF 60.66%), linear-gradient(0deg, #F4F8FF, #F4F8FF), radial-gradient(58.28% 235.72% at 10.78% 50%, rgba(191, 213, 255, 0.6) 0%, rgba(216, 229, 255, 0) 56.69%);border-radius: 15rpx 15rpx 0 0 ">
-        <view style="display: flex;" data-item="{{item}}" data-type="fa" bindtap="clickName">
+        <view style="display: flex;width: 100%;" data-item="{{item}}" data-type="fa" bindtap="clickName">
 
             <van-image round width="39rpx" height="39rpx" src="{{imageUrl + 'org-img.png'}}" />
 
             <view style="margin-left:5vw;font-size: 16px;">{{item[nameKey]}}</view>
         </view>
-        <view style=" text-align: right;position: absolute;right: 40rpx;" data-id="{{item[idKey]}}" data-open="{{item.open}}" bindtap="onchange">
+        <view style=" text-align: right;position: absolute;right: 40rpx;" data-id="{{item[idKey]}}" data-open="{{item.open}}" bindtap="onchange" wx:if="{{item.children && item.children.length > 0}}">
             <van-icon wx:if="{{ item.open }}" color="#bdb7b7" name="arrow-down" />
             <van-icon wx:else color="#bdb7b7" name="arrow" />
 

+ 0 - 4
mixins/index.js

@@ -348,7 +348,6 @@ module.exports = {
             })
             return
           }
-
         }
         let _this = this;
         wx.navigateTo({
@@ -1332,9 +1331,6 @@ module.exports = {
    * @date : 2022/5/24 12:16
    */
   onReachBottom: function () {
-    console.log('this.data.pageFlag ',this.data.pageFlag )
-    console.log('this.data.loading ',this.data.loading )
-    console.log('this.data.noMore ',this.data.noMore )
     // 不分页也不能进行下翻
     if (!this.data.pageFlag || this.data.loading || this.data.noMore) {
       return;

+ 0 - 1
package-inventory/pages/other-inbound-std/other-inbound.js

@@ -196,7 +196,6 @@ Page({
       }
     })
   },
-
   /**
    * @desc : 跳转明细
    * @author : 周兴

+ 0 - 1
package-inventory/pages/other-warehousing/other-warehousing.js

@@ -148,7 +148,6 @@ Page({
         quantityCol: 'intoingQty',
         sumAmountCol: 'itemAmt',
         sumQuantityCol: 'intoingQty',
-
     },
 
     /**