<!-- 前台导入wxmlUtil.wxs -->
<wxs src='../../../../utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
<wxs src='../../../../utils/numberFormat.wxs' module="numberFormat"></wxs>
<van-dialog id="van-dialog" />
<loading wx:if="{{loading}}" loadingName="加载中" backgroundColor="#f2f2f2;" opacity="0.8"></loading>

 
<!-- 蓝色信息相关 -->
<view style="margin: 0px 34rpx 0rpx 34rpx; box-shadow:2px 2px 5px #e5e5e6;">
  <view style="flex-direction: column;justify-content: center;align-items: flex-start;background: linear-gradient(90.12deg, #718AC6 0.84%, #4A5E98 99.43%);border-radius: 15rpx 15rpx 0rpx 0rpx;"> 
    <!-- 收货人 -->
    <view style="display: flex;padding-right: 32rpx;">

      <view style="padding-left: 32rpx;padding-top: 19rpx;width: 39rpx;">
        <view catchtap="toCustomer" style="width: 39rpx;height: 39rpx;background-color: #95A8CB;border-radius:50%;">
          <view style="width: 39rpx; height: 39rpx;text-align: center;">
            <van-image round width="20rpx" height="24rpx" src="/static/image/Vector.png" />
          </view>
        </view>
      </view>
      <view style="padding-left: 14rpx;padding-top: 19rpx;font-size: 26rpx;line-height: 36rpx;color: #FFFFFF;">
        {{form.customerName}}
      </view>

      <view style="padding-left: 22rpx;padding-top: 19rpx;font-size: 26rpx;line-height: 36rpx;color: #FFFFFF;">
        {{form.customerPhone}}
      </view>


    </view>
    <!-- 地址 -->
    <view style="display: flex;padding-right: 32rpx;">
      <view style="padding-left: 32rpx;padding-top: 15rpx;font-size: 26rpx;line-height: 36rpx;color: #FFFFFF;">
        {{ wxmlUtil.addressToIndexOf(form.addressFull)}}
      </view>
    </view>
   
    <view style="display: flex;padding-left: 32rpx;padding-top: 16rpx;padding-bottom: 15rpx;padding-right: 32rpx;">
      <view style="display: flex; width: 50%;line-height: 36rpx;" data-type='deliveryType'>
      <!-- 配送方式 -->
        <view wx:if="{{ form.deliveryTypeName }}" style="font-size: 24rpx;line-height: 36rpx;color: #FFFFFF;">
           {{ form.deliveryTypeName }}   >
        </view>
      </view>
      <view style="display: flex; width: 50%;line-height: 36rpx;" data-key="DeliveryFlag" catchtap="openData">
        <view style="font-size: 24rpx;line-height: 36rpx;color: #FFFFFF;">
          送货日期：{{ form.deliveryTime?wxmlUtil.format(form.deliveryTime):'' }}
        </view>
      </view>
    </view>
  </view>
</view>

<!-- 服务信息 -->
<view style="margin: 0rpx 34rpx 26rpx 34rpx;border-radius:0rpx 0rpx 15rpx 15rpx ;box-shadow:2px 2px 5px #e5e5e6;padding:10rpx;background-color: white;">
  <view style="padding: 10px 32rpx 10px 32rpx;color: #1B365D;font-size: 32rpx;display: flex;">
    <view style="width: 50%;font-weight: bold;display: flex;">
      <view>服务信息</view>
    </view>
  </view>
  <van-field input-width="200rpx" input-class="dk-cell-value-class" label-class="normal-label" input-align="left" data-key="gender" maxlength="25" type="text" value="{{ form.serviceTypeName }}" label="服务类型：" placeholder="仅安装" autosize border="{{ false }}" right-icon="arrow" color="#95A8CB" data-type='ServiceType' catchtap="openServiceTypeEvent" readonly="{{true}}">
  </van-field>
  <!-- 送货员 -->
  <van-field wx:if="{{(form.serviceTypeName=='送安一体')||(form.serviceTypeName=='仅送货')}}" input-width="200rpx" input-class="dk-cell-value-class" disabled input-align="left" label-class="nomal-label" data-key="staffName" maxlength="50" value="{{ form.deliveryUserName }}" input-align="right" label="送货员" placeholder="请选择送货员" autosize border="{{ false }}" catchtap="catchtapStaff">
    <view catchtap="changeDeliveryMan" slot="icon" style="width: 39rpx;height: 39rpx;background-color: #77C5D5;border-radius:50%;margin-top: 5rpx;">
      <view style="width: 39rpx; height: 39rpx;text-align: center;">
        <van-image round width="20rpx" height="24rpx" src="/static/image/Vector.png" />
      </view>
    </view>
  </van-field>
  <!-- 安装员 -->
  <van-field  wx:if="{{(form.serviceTypeName=='送安一体')||(form.serviceTypeName=='仅安装')}}" input-width="200rpx" input-class="dk-cell-value-class" disabled input-align="left" label-class="nomal-label" data-key="staffName" maxlength="50" value="{{ form.installUserName }}" input-align="right" label="安装员" placeholder="请选择安装员" autosize border="{{ false }}" catchtap="catchtapStaff">
    <view catchtap="changeInstaller" slot="icon" style="width: 39rpx;height: 39rpx;background-color: #77C5D5;border-radius:50%;margin-top: 5rpx;">
      <view style="width: 39rpx; height: 39rpx;text-align: center;">
        <van-image round width="20rpx" height="24rpx" src="/static/image/Vector.png" />
      </view>
    </view>
  </van-field>
</view>


<!-- 商品信息 -->
<view style="margin: 26rpx 34rpx 26rpx 34rpx;box-shadow:2px 2px 5px #e5e5e6;">
  <view style="background: #FFFFFF;box-shadow: 0rpx 10rpx 20rpx rgba(225, 229, 238, 0.6);border-radius: 15rpx 15rpx 0rpx 0rpx;">
    <view style="padding: 10px 32rpx 10px 32rpx;color: #1B365D;font-size: 32rpx;display: flex;">
      <view style="width: 50%;font-weight: bold;display: flex;"> 
      <view>商品明细</view>
    
      </view>
      <view style="width: 50%;font-size: 26rpx;display: flex; justify-content: flex-end;">
        <view wx:if="{{form.sale2OpeMode !='分销模式-代送'}}" style="display: flex;justify-content: right;align-items: center;">
          <view style="display: flex;" catchtap="openSacn">
            <van-image width="32rpx" height="32rpx" src="/static/img/scan-code-p.png" />
            <view style="padding-left: 10rpx;">{{flgAllScan?'查看条码':'添加条码'}}</view>
          </view>
        </view>
      </view>
    </view>
    <van-cell wx:if="{{goodsList.length==0}}" border="{{ false }}" style="border-radius: 15rpx;">
      <van-empty description="暂无明细" />
    </van-cell> 
    <view wx:for="{{goodsList}}" data-item="{{item}}" wx:for-item="item" wx:key="index" border="{{ false }}" wx:if="{{index < 2 || showMore}}">
      <van-swipe-cell disabled right-width="{{ 65 }}" data-index="{{index}}"  async-close bind:close="onCloseDel">
        <van-card data-item="{{item}}" data-index="{{index}}" bindtap="openChoosedItemInfo">
          <view slot="thumb">
            <van-image radius="5px" width="80" height="80" src="{{item.iconThumPath }}" />
          </view>
          <view slot="title" style="display: flex;">
            <dk-title titleTag="{{item.titleTag}}" title="{{item.skuModel}}"></dk-title>
          </view>
          <view slot="desc"> 
            <view style="padding-top: 15rpx; padding-bottom: 15rpx; width: 100%;">
              <dk-text fontWeight="nomal" value="{{item.skuName}}"></dk-text>
            </view>
          </view>
          <view slot="price">
            <view style="display: flex;width: 100%;flex-direction: row; ">
              <view style="width: 100%;">
                <dk-cell contentFontSize="16" height="25rpx" fontWeight="bold" left="0rpx" contentColor="#CAA977" title="" content="{{item.orderPriceSale}}"></dk-cell>
              </view>
              <view style="width: 100%;text-align: right;font-size:24rpx;color: #95A8CB;line-height: 34rpx;">x {{item.outGoingQuantity}}
              </view>
            </view>
          </view>
          <view slot="footer">
            <view style="margin-top:19rpx;margin-bottom:19rpx;" wx:if="{{item.goodsSkuList.length > 0  || item.combinedList.length > 0}}">
              <view style="width: 100%;display: flex;font-size:12px;color: #95A8CB;">
                <view style="width: 50%;text-align: left;">
                  明细
                </view>
                <view style="width: 50%;text-align: right;" data-item="{{item}}" data-index="{{index}}" catchtap="onChangeOpenGoodsList">
                  {{item.packageDetailsFlag ? '收起' :'展开'}}
                  <van-icon name="{{item.packageDetailsFlag ? 'arrow-up' :'arrow-down' }}" />
                </view>
              </view>

              <!--子件-->
              <view class="goods-class" wx:if="{{item.packageDetailsFlag}}">

                <view wx:for="{{item.goodsSkuList}}" data-item="{{item2}}" wx:for-index="index2" wx:for-item="item2" wx:key="index2">
                  <view class="goods-item-class" wx:if="{{item2.hasChild == 0}}">
                    <view>
                      <van-image radius="15rpx" custom-class="goods-item-image" fit="fill" src="{{item2.iconThumPath}}" />
                    </view>
                    <view class="goods-item-tag">
                      <view style="display: flex;justify-content: space-between;">
                        <view class="{{((item2.replaceableSku && item2.replaceableSku.length > 0) || item2.cpFlgGift) ?'goods-item-title-replace':''}}">
                          <dk-title titleTag="{{item2.titleTag}}" title="{{item2.skuModel}}"></dk-title>
                        </view>
                        <view wx:if="{{item2.replaceableSku && item2.replaceableSku.length > 0}}">
                          <dk-van-tag radius="10rpx" roundFlag="{{true}}" dataItem="{{item2}}" bind:tap="flag_bindtap" value="替换" color="red"></dk-van-tag>
                        </view>


                        <view style="padding-left: 3rpx;" wx:if="{{item2.promotionType != 2}}">
                          <dk-van-tag radius="10rpx" roundFlag="{{true}}" dataItem="{{item2}}" dataItemIndex="{{index}}" dataItemIndex2="{{index2}}" bind:tap="deleteItem" value="删除" color="red"></dk-van-tag>
                        </view>
                      </view>
                      <view style="width: 100%;display: flex;">
                        <dk-text fontWeight="normal" value="{{item2.skuName}}"></dk-text>
                      </view>

                      <view style="padding-top: 8rpx; display: flex;">
                        <view wx:if="{{item2.cpFlgGift}}">
                          <dk-van-tag radius="10rpx" roundFlag="{{true}}" dataItem="{{item2}}" dataItemIndex="{{index}}" dataItemIndex2="{{index2}}" bind:tap="cpFlgGift_bindtap" value="赠品" color="#1B365D"></dk-van-tag>

                        </view>
                        <view wx:if="{{item2.flgAllowSpecsUndefine}}" style="padding-left: 8rpx;">

                          <dk-van-tag radius="10rpx" roundFlag="{{true}}" dataItem="{{item2}}" dataItemIndex="{{index}}" dataItemIndex2="{{index2}}" bind:tap="flgAllowSpecsUndefine_bindtap" value="坑距" color="#1B365D"></dk-van-tag>
                        </view>

                      </view>



                      <!--子级明细价格-->
                      <view style="display: flex;width: 100%;flex-direction: row;">
                        <view style="width: 90%;">
                          <dk-cell contentFontSize="12" height="45rpx" fontWeight="bold" left="0rpx" contentColor="#CAA977" title="" content="{{ item2.orderPriceSale}}"></dk-cell>
                        </view>
                        <view style="width: 10%">
                          <dk-text fontWeight="nomal" color="#95A8CB" value="x {{item2.orderQuantity }}"></dk-text>
                        </view>
                      </view>
                    </view>
                  </view>


                </view>
              </view>
            </view>

            <view style="display: flex;width: 100%;margin-top:5px;align-items: center;" data-index="{{index}}" catchtap="openRemark">
              <view style="width: 50%;text-align: left;font-size:14px;color: #95A8CB;">
                <van-image width="19rpx" height="20rpx" src="/static/image/edit.png" />
                备注：<span style="line-height:56rpx;">{{item.remarks ? item.remarks : '请输入内容'}}</span>
              </view>

            </view>
            <view class="divide-class"></view>
          </view>

        </van-card>
   
      </van-swipe-cell>
    </view>
    <block wx:if="{{goodsList.length>2}}" style="text-align: center; ">
      <view wx:if="{{showMore}}" class="expand-class" bindtap='listToggle'>
        点击收起部分
        <van-icon name="arrow-up" />
      </view>
      <view wx:else class="expand-class" bindtap='listToggle'>
        展开查看更多
        <van-icon name="arrow-down" />
      </view>
    </block>

  </view>

    <!--合计金额-->
    <view style="display:flex;background: white;border-radius:0 0 15rpx 15rpx ;">
      <view style="width: 45%;">
        <view style="padding-left: 30rpx;padding-top: 25rpx;">
          <text class="dk-cell-title">{{form.categoryQuantity ? form.categoryQuantity : 0}}品类 共计{{form.sumQuantity ? form.sumQuantity : 0}}件</text>
        </view>
      </view>

      <view style="width: 55%;">
        <!-- <dk-cell fontSize="16" fontWeight="bold" contentColor="#CAA977" titleColor="#1B365D;" title="合计金额" content="{{form.sumAmount}}"></dk-cell> -->
      </view>
    </view>

</view>







<!-- 其他信息 -->
<view style="margin: 10px 32rpx 10px 32rpx;margin-top: 41rpx;border-radius: 15rpx;box-shadow:2px 2px 5px #e5e5e6;">
  <view style="background: #FFFFFF;box-shadow: 0rpx 10rpx 20rpx rgba(225, 229, 238, 0.6);border-radius:15rpx;">
    <view style=" padding: 10px 32rpx 10px 32rpx;color: #1B365D;font-size: 32rpx;">其他信息</view>

    <!-- <van-field disabled label="合同号" border="{{ false }}" label-class="van-title-cell" value="{{ form.contractNo }}"data-key="contractNo" bind:change="changeField"></van-field> -->

    <van-field label="备注" border="{{ false }}" label-class="van-title-cell" value="{{ form.remarks }}"data-key="remarks" bind:change="changeField"></van-field>
  
    <van-field label="内部备注" border="{{ false }}" label-class="van-title-cell" value="{{ form.remarksInside }}" data-key="remarksInside" bind:change="changeField"></van-field>

    <view style="display:flex;width:100%;margin: 1vw;padding-top:20rpx;">
      <view style="width: 15%; flex:1;color: #95A8CB;font-size: 28rpx;padding-left: 27rpx;">附件</view>
      <view style="width: 85%;text-align: left;">
        <van-uploader max-count="5" accept="image" style="margin-left: 4%;border-radius: 15rpx;"  preview-size="160rpx;" file-list="{{ fileList }}" multiple="false" imageFit="aspectFit" bind:delete="deleteImg" bind:after-read="afterRead" />
      </view>
    </view>

  </view>

</view>

<view style="height: 200rpx;"></view>

<!--  save -->
<dk-save-bottom  wx:if="{{form.outStatus != -2}}" disabledFlag="{{loadingButtonFlag}}" loading="{{loading}}" flagTypeName="Sales-outbound-rollback" totallength="{{numberFormat.toThousandCents(form.sumOutGoingAmount)}}" item="{{item}}" allCleanName="出库回退" bind:allClean="deal" bind:submit="submit"></dk-save-bottom>


 
<!-- 业务部门 -->
<dk-single-dropdown-item show="{{orgFlag}}" id='org' typeName='org' contentID="{{form.orgId}}" bind:muticommit='mutiSearch' bind:muticlose='muticlose'></dk-single-dropdown-item>

<!-- 业务员 -->
<dk-single-dropdown-item show="{{staffFlag}}" id='staff' typeName='staff' contentID="{{form.staffId}}" bind:muticommit='mutiSearch' bind:muticlose='muticlose'></dk-single-dropdown-item>
 
<!-- 安装员 -->
<dk-single-dropdown-item show="{{InstallerFlag}}" id='staff' typeName='staff' bind:muticommit='mutiSearchInstaller' bind:muticlose='muticlose'></dk-single-dropdown-item>
<!-- 送货员 -->
<dk-single-dropdown-item show="{{DeliveryManFlag}}" id='staff' typeName='staff' bind:muticommit='mutiSearchDeliveryMan' bind:muticlose='muticlose'></dk-single-dropdown-item>
<!-- 服务类型 -->
<dk-single-dropdown-item show="{{serviceTypeFlag}}" id='serviceType' typeName='serviceType' bind:muticommit='mutiSearchserviceType'  contentID="{{form.serviceType}}"bind:muticlose='muticlose'></dk-single-dropdown-item>

<!--编辑商品-->
<van-popup custom-class="dk-popup" show="{{ showEditProduct }}" round="{{true}}" position="bottom" bind:close="closeChoosedItemInfo">
  <view style="  position:relative; top:280rpx;background-color: transparent; height: 44rpx;"></view>

  <view class="special-topic">
    <view class="special-topic-content">
      <van-image radius="15rpx" custom-class="goods-pop-image" fit="fill" src="{{ currentChoosedItem.iconThumPath }}">
      </van-image>
      <!--  -->
    </view>
    <view class="special-topic-title">
      <dk-title id="titleTagPop" titleTag="{{currentChoosedItem.titleTag}}" title="{{currentChoosedItem.skuModel}}"></dk-title>
      <view style="padding-top: 10rpx;white-space: nowrap;">
        <dk-text fontWeight="" value="{{currentChoosedItem.skuName}}"> </dk-text>
      </view>
      <dk-cell contentFontSize="12" height="45rpx" fontWeight="bold" left="0rpx" contentColor="#CAA977" title="标价：" content="{{currentChoosedItem.orderPriceSale}}"></dk-cell>
      <!--sku编码-->
      <view style="padding-top:3px !important;display:flex;font-size: 14px;color: #1B365D;justify-content: flex-end; margin-right: 14vw;margin-top: -2vw;">
        <view style="margin: 2vw;">库存量：{{currentChoosedItem.ivtQty}}</view>
        <view style="margin: 2vw;">可售量：{{currentChoosedItem.usableQty}}</view>
      </view>

    </view>
  </view>
  <view class="pop-content-class">
    <van-cell-group>
      <view style="height:calc({{windowHeight+'px'}} - 676rpx);overflow-y: scroll;overflow-x: hidden;">
        <!-- 正常品 -->
        <view>

          <!-- 就一个商品 -->
          <view wx:if="{{currentChoosedItem.specsList.length == 0}}" style="display: flex;justify-content: space-between;">
            <view style="width: 30%;">
            </view>
            <!--显示已选商品编码-->
            <view style="align-items: center; padding-top: 12rpx;">
              <dk-text fontSize="10px" fontWeight="" value="编码：{{currentChoosedItem.skuCode}}"> </dk-text>
            </view>
          </view>

          <view wx:for="{{currentChoosedItem.specsList}}" wx:key="index" wx:for-item="itemspecs">
            <view style="display: flex;justify-content: space-between;">
              <view style="width: 30%;">
                <dk-text fontSize="13px" value="{{itemspecs.specsName}}"></dk-text>
              </view>
              <!--显示已选商品编码-->
              <view style="align-items: center; padding-top: 12rpx;" wx:if="{{currentChoosedItem.skuCode && index == 0}}">
                <dk-text fontSize="10px" fontWeight="" value="编码：{{currentChoosedItem.skuCode}}"> </dk-text>
              </view>
            </view>
            <view class="tags">
              <view class="tag-bom-item" wx:key="indext" wx:for="{{itemspecs.specsValues}}" wx:for-index="indext" wx:for-item="itemt">
                <van-button size="small" custom-class="button-selected-class">
                  <view style="display: flex;  justify-content: center;  align-items: center; height: 100%;"> {{ itemt }} </view>
                </van-button>

              </view>
            </view>
          </view>
        </view>


        <van-cell border="{{ false }}" title="数量" title-class="red-label">
          <van-stepper value="{{currentChoosedItem.outGoingQuantity}}" integer="{{true}}" data-index="{{index}}" min="0" max="999999999" data-type="待出库量" bind:change="changeAllreadyChooseQuantityPop" />
        </van-cell>
 
        <van-field disabled label-class="nomal-label" label="面积" value="{{currentChoosedItem.skuArea}}" input-align="right" border="{{ false }}" />

        <van-field disabled label-class="nomal-label" label="销售价格" value="{{currentChoosedItem.priceSale}}" input-align="right" border="{{ false }}" />

        <van-field disabled label-class="red-label" label="库区" data-item="{{currentChoosedItem}}" value="{{currentChoosedItem.whName}}"is-link input-align="right" border="{{ false }}"  bindtap="toChooseWhName"/>

        <van-field disabled label-class="nomal-label" label="使用位置" value="{{currentChoosedItem.usedLocation}}" input-align="right" border="{{ false }}" />

   <!--赠品标识-->
   <van-cell   title-class="nomal-label" title="赠品标识" border="{{ false }}" value-class="value-class">
          <van-checkbox shape="round" value="{{ currentChoosedItem.flgGift}}" data-index="{{index}}" data-key="flgGift" bind:change="changeAllReadyCheckBox" />
        </van-cell>

        <view style="height: 100rpx;"></view>
      </view>
      <van-cell value-class="button-pop-cell-class">
        <view style="text-align: center;">
          <van-button round size="large" color="#1B365D" custom-style="height:88rpx;width:640rpx;" type="info" data-item="{{currentChoosedItem}}" size="small" bindtap="updateToChooseList">确定</van-button>
        </view>
      </van-cell>
    </van-cell-group>
  </view>
</van-popup>


<!--备注-->
<van-popup show="{{ remarkFlag }}" style="z-index: 999;" round="{{true}}" position="bottom" bind:close="closeChoosedItemInfo_remark">

  <van-cell-group>
    <van-cell border="{{ false }}">
      <view style="display: flex;">
        <view style="width:80%;font-size:16px;color:#34495e;text-align:left;">
          备注修改
        </view> 
        <view style="text-align: right; width:20%; ">  
        </view>
      </view>
    </van-cell>
    <van-divider />  
    <van-field rows="5" autosize label="备注" value="{{goodsList[remarksIndex].remarks}}" type="textarea" maxlength="1000" placeholder="请输入备注" data-item="{{goodsList[remarksIndex].remarks}}" data-key="remarks" input-class="input-class" bind:change="changeRemarksField" border="{{ false }}" />
    
    <view style="height: 450rpx;"></view>

    
    <view style="text-align: center;">
      <van-button round size="large" color="#1B365D" custom-style="height:88rpx;width:640rpx;" type="info" size="small" bindtap="updateToChooseList_remark">确定</van-button>
    </view>
    <view style="height: 40rpx;"></view>
  </van-cell-group>
</van-popup>

<!-- 查看条码 -->
<van-popup show="{{ sacnFlag }}" style="z-index: 999;box-shadow: 0px -8px 24px 0px #0010271A;" round="{{true}}" position="bottom" bind:close="closeChoosedItemInfo_scan">
  <view style="padding:20rpx;">
    <view style="font-size: 32rpx;display: flex; justify-content:center;">
      <van-image style="padding-top: 4rpx;" width="33rpx" height="33rpx" src="/static/img/scan-code-p.png" />
      <view style="padding-left: 10rpx; color:#1B365D;display: flex;">
      <view>查看条码</view>
      <view>{{ '('+ barcodeList.length +'个)'}}</view>
      </view>
    </view>
  </view>

  <scroll-view scroll-y="{{true}}" style="height: 50vh;">
    <view style="margin:20rpx;">
      <van-collapse value="{{ activeNames }}" bind:change="onChange">
      </van-collapse>
      <view wx:for="{{goodsList}}" data-item="{{item}}" wx:for-index="index" wx:key="key">
        <van-cell title="{{'型号：'+item.skuModel}}" custom-class="dk-collapse-item" value="{{item.checked ? '收起' :'展开'}}" value-width="15%" title-width="85%" bind:click="onClickScan" data-index="{{index}}"/>
        <view class="test" wx:if="{{item.checked }}">
          <view  wx:for="{{item.barcodeList}}" data-item="{{item_}}" wx:for-item="item_" wx:for-index="index_" wx:key="key_">
          <view style="display: flex;padding:20rpx;font-size: 30rpx;color:#1B365D;">
            <view>条码：</view>
            <view>{{item_.barcode}}</view>
          </view>
        </view>
        </view>
        <view style="height: 20rpx;"></view>
      </view>
    </view>
    <view style="height: 100rpx;"></view>
  </scroll-view>

  <view style="padding:20rpx;">
    <van-button plain round size="large" custom-style="height:88rpx; width:100%;color:#1B365D;" bind:click="closeChoosedItemInfo_scan" type="default">取消
    </van-button>
    <view style="height: 20rpx;"></view>
  </view>

</van-popup>