于继渤 2 år sedan
förälder
incheckning
f71e9915ad

+ 3 - 1
package-purchase/pages/purchase-return/add/add.js

@@ -12,7 +12,9 @@ Page({
      * 生命周期函数--监听页面加载
      */
     onLoad(options) {
-
+      this.setData({
+        goodsList:[{"itemId":3566,"entryId":1643,"orderId":11437,"orderItemId":34877,"skuId":9537580,"skuType":0,"bomSkuId":null,"entryGoingQuantity":3,"entryGoingAmount":6000,"entryQuantity":3,"entryAmount":6000,"entryStatus":3,"whId":610,"remarks":null,"flgValid":true,"cpId":20826,"opCreateTime":null,"opCreateUserId":null,"opUpdateTime":null,"opUpdateUserId":null,"flgScanCode":0,"rejectId":null,"rejectItemId":null,"ivtId":209,"refCostPrice":null,"refCostAmt":null,"customerId":null,"skuVolume":null,"skuWeight":null,"orderNo":null,"erpOutItemId":1435282,"erpOutNo":"CWSAH2123122600008","sale1ErpOutDoneNo":"CWIDH2123122600013","sale1OutItemId":5882,"rejectQuantity":0,"rejectAmount":0,"entryNo":"WE-LWYD-665-202312260R2P","sale2Name":null,"procureOrderNo":null,"invoiceDate":null,"entryKindName":null,"supplierName":null,"statusName":null,"inOutStatus":null,"inOutDate":null,"sumQuantity":null,"sumAmount":null,"consignee":null,"consigneePhone":null,"takeOverAddress":null,"makingUserName":null,"makingTime":null,"totalRemarks":null,"skuModel":"HE920","skuName":"【已淘汰】智能盖板HE920","skuCode":"EE920A00200B01","orderQuantity":3,"orderPriceSale":2000,"orderAmount":6000,"whName":"武夷山1","whCode":null,"nonStandardCode":"-","brandName":"恒洁卫浴","itemRemarks":null,"iconPath":null,"iconThumPath":null,"pathType":2,"flgNonStandardType":0,"skuTypeName":"商品","entryDate":null,"contactName":null,"contactPhones":null,"canRejectQuantity":3,"originalDocumentType":null,"originalDocumentNo":null,"specsList":null,"usableQty":53,"ivtQty":111,"outGoingQty":58,"sumRejectGoodsAmount":null,"nonStandardArea":1,"outId":3166,"entryItemId":3566,"outItemId":5885,"sentryId":null,"sentryItemId":null,"checked":true}]
+      })
     },
 
     /**

+ 2 - 1
package-purchase/pages/purchase-return/add/add.json

@@ -1,3 +1,4 @@
 {
-    "usingComponents": {}
+    "usingComponents": {},
+    "navigationBarTitleText": "采购退货"
 }

+ 356 - 2
package-purchase/pages/purchase-return/add/add.wxml

@@ -1,2 +1,356 @@
-<!--package-purchase/pages/purchase-return/add/add.wxml-->
-<text>package-purchase/pages/purchase-return/add/add.wxml</text>
+<wxs src='../../../../utils/numberFormat.wxs' module="numberFormat"></wxs>
+<wxs src='../../../../utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
+<van-dialog id="van-dialog" />
+<loading wx:if="{{loading}}" loadingName="加载中" backgroundColor="#f2f2f2;" opacity="0.8"></loading>
+
+<!-- 客户信息组件 -->
+<view class="return-style-blue">
+  <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="padding-right: 32rpx;padding-bottom: 15rpx;">
+      <!-- 供应商 -->
+      <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="28rpx" height="28rpx" src="/static/img/purchase-order-icon.png" />
+            </view>
+          </view>
+        </view>
+        <view style="padding-left: 14rpx;padding-top: 19rpx;font-size: 26rpx;line-height: 36rpx;color: #FFFFFF;">
+          {{'佛山恒洁供应商'}}
+        </view>
+      </view>
+      <!-- 收货人 -->
+      <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/img/Vector.png" />
+            </view>
+          </view>
+        </view>
+        <view style="padding-left: 14rpx;padding-top: 19rpx;font-size: 26rpx;line-height: 36rpx;color: #FFFFFF;">
+          {{'退货信息 王售后'}}
+        </view>
+        <view style="padding-left: 22rpx;padding-top: 19rpx;font-size: 26rpx;line-height: 36rpx;color: #FFFFFF;">
+          {{
+            '156 5678 5643'
+          }}
+        </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;">
+          {{'佛山市禅城区XXX路XXX号库房'}}
+        </view>
+      </view>
+    </view>
+  </view>
+</view>
+
+<!--收款金额  -->
+<view class="return-style" >
+  <view style="display: flex;  margin-bottom: 3vw;">
+    <view style="width:50%;color:#1B365D;text-align: center;font-size:4vw; border-right: 1rpx lightgray solid ;" bindtap="toChooseGoods">
+      <view style="font-weight:bold;font-size:15px; margin-bottom: -11px;">
+        <!-- 合计金额 - 合计退货金额 -->
+        <dk-cell left="0rpx" center="center" fontSize="13" contentFontSize="13" contentColor="#1B365D" spaceWidth="0" contentFontWeight="bold" content="{{25999}}"></dk-cell>
+      </view>
+      <view style="font-size:13px;">退货前总额</view>
+    </view>
+    <view style="width:50%;color:#1B365D;text-align: center;font-size:4vw; " bindtap="scanQRCode">
+      <view style="margin-bottom: -11px;">
+        <!-- 退货后总额 =  退货前 + 合计 -->
+        <dk-cell left="0rpx" center="center" fontSize="13" contentFontSize="13" contentColor="#A5814A" spaceWidth="0" contentFontWeight="bold" content="{{10000}}"></dk-cell>
+      </view>
+      <view style="font-size:13px;">退货后总额</view>
+    </view>
+  </view>
+</view>
+
+<!-- 空高度  -->
+<view style="margin-top: 10rpx;"></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;">
+    <view style="padding: 10px 32rpx 10px 32rpx;color: #1B365D;font-size: 32rpx;display: flex;">
+      <view style="width: 50%;font-weight: bold;">商品明细</view>
+      <view style="width: 50%;font-size: 26rpx;display: flex; justify-content: flex-end;">
+        <view 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;">添加条码</view>
+          </view> -->
+
+          <view wx:if="{{!saleLinkPsiSystem}}" class="rightTitp" style="{{purchaseInventoryStatus? 'background-color: #77C5D5;'   : 'background-color: #E4002B;'}}">
+            <text style=" font-size: 24rpx;color:  #FFFFFF;">{{purchaseInventoryStatus ? '库存满足' : '库存不足'}}</text>
+          </view>
+        </view>
+      </view>
+    </view>
+
+    <van-cell wx:if="{{goodsList.length==0}}" border="{{ false }}">
+      <van-empty description="暂未选择商品" />
+    </van-cell>
+    <view wx:for="{{goodsList}}" wx:key="index" border="{{ true }}">
+      <van-card wx:if="{{index < 2  || collapseFlag}}">
+        <view slot="thumb" data-item="{{item}}" data-index="{{index}}" bind:tap="openChoosedItemInfo">
+          <van-image radius="5px" width="80" height="80" src="{{item.iconPath }}" />
+        </view>
+        <view slot="title" data-item="{{item}}" data-index="{{index}}" bind:tap="openChoosedItemInfo">
+          <dk-title titleTag="{{item.brandName}}" title="{{item.skuCode}}"></dk-title>
+        </view>
+        <view slot="desc" data-item="{{item}}" data-index="{{index}}" bind:tap="openChoosedItemInfo">
+          <dk-text value="{{item.skuName}}"></dk-text>
+        </view>
+        <view slot="price">
+          <view style="display: flex;width: 100%;flex-direction: row;">
+            <view style="width:100%;font-family:'PingFang HK';font-style:normal;" data-item="{{item}}" data-index="{{index}}" bind:tap="openChoosedItemInfo">
+              <dk-cell  contentFontSize="14" fontWeight="bold" left="0rpx" contentColor="#CAA977" content="{{ -15999}}"></dk-cell>
+            </view>
+            <view style="width: 100%;text-align: right;justify-content: center;display: flex;align-items: center;">
+
+              <van-stepper integer="{{true}}" value="{{ 1}}" max="{{-1}}" min="{{1}}" data-index="{{index}}" bind:change="onChangeStepper" />
+            </view>
+          </view>
+        </view>
+        <view slot="footer">
+          <view class="hr"></view>
+
+          <view wx:if="{{item.whId}}" style="display: flex;width: 100%;margin-top:5px;text-align: left; ">
+            <view style="width: 50%;">
+
+              <view style="padding-top: 10px;padding-bottom: 10px;display: flex;width: 100%;">
+                <text style="color: #95A8CB;font-size: 24rpx;width: 20%;">仓库</text>
+                <text style="font-weight: bold; color: #1B365D;font-size: 24rpx;width: 70%;text-align: center;">{{item.whName}}</text>
+
+                <!-- <van-icon name="arrow" color="#95A8CB" style="" /> -->
+              </view>
+            </view>
+            <view wx:if="{{!saleLinkPsiSystem}}" class="isSaleNumClass" style="{{item.usableQty > 0  ? '' : 'color:#E4002B'}}">
+              可售量:{{item.ivtQty - item.outGoingQty }}
+            </view>
+
+          </view>
+
+
+          <view style="display: flex;width: 100%;margin-top:5px; align-items: center;">
+            <view catchtap="openRemarkFlag" data-item="{{item}}" data-index="{{index}}" style="width: 70%;text-align: left;font-size:24rpx;color: #95A8CB;">
+              <van-image width="19rpx" height="20rpx" src="/static/img/remerk-edit.png" />
+              备注:<span style="line-height:56rpx;">{{item.remarks ? item.remarks : '请输入内容'}}</span>
+            </view>
+            <view style="width: 50%;text-align: right;">
+
+              <dk-cell  contentFontSize="14" fontWeight="bold" contentRight="{{true}}" left="0rpx" contentColor="#CAA977" content="{{ -15999}}"></dk-cell>
+            </view>
+          </view>
+        </view>
+
+      </van-card>
+
+    </view>
+
+    <view catchtap="collapseFlagChange" data-index="{{index}}" wx:if="{{goodsList.length > 2}}" style="padding: 30rpx 32rpx 30rpx 32rpx;border-radius: 16rpx;color:#95A8CB;text-align: center;font-size: 26rpx;display: flex;justify-content: center;">
+      <view>{{!collapseFlag ? '展开查看更多' : '收起查看更多'}}</view>
+      <view style="padding-left: 10rpx;">
+        <van-icon name="{{!collapseFlag ? 'arrow-down':'arrow-up'}}" size="24rpx" />
+      </view>
+    </view>
+
+
+    <!-- 合计金额 -->
+    <view style="display:flex;  ">
+      <view style="width: 50%;">
+        <view style="padding-left: 30rpx;padding-top: 10px;padding-bottom: 10px;">
+          <text style="color: #95A8CB;font-size: 13px;">{{2 + '品类,'}} 共计 {{1}} 件</text>
+        </view>
+      </view>
+      <view wx:if="{{purchasePriceFlag}}" style="width: 50%;padding-top: 10px;padding-bottom: 10px;">
+        <dk-cell titleColor="#1B365D" height="39rpx" spaceWidth="20rpx" contentColor="#CAA977" fontSize="15" contentFontWeight="bolder" title="合计金额" content="{{form.sumRejectAmount}}"></dk-cell>
+      </view>
+    </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: 0px 0px 15rpx 15rpx;">
+    <view style=" padding: 10px 32rpx 10px 32rpx;color: #1B365D;font-size: 32rpx;">其他信息</view>
+    <van-field input-width="200rpx" input-class="dk-cell-value-class" input-align="left" label-class="nomal-label" data-key="remarks" maxlength="50" value="{{ formData.remarks }}" input-align="right" label="备注" placeholder="请输入备注" autosize border="{{ false }}" bind:change="changeField">
+    </van-field>
+
+    <view style="display:flex;width:100%;margin: 1vw;padding-top:20rpx;">
+      <view style="width: 30%; flex:1;color: #95A8CB;font-size: 28rpx;padding-left: 27rpx;">附件</view>
+      <view style="width: 70%;text-align: left;">
+        <van-uploader max-count="5" accept="image" style="margin-left: 4%;border-radius: 15rpx;" preview-size="160rpx;" file-list="{{ fileList }}" bind:delete="deleteImg" bind:after-read="afterRead" multiple="true" imageFit="aspectFit" />
+      </view>
+    </view>
+
+
+    <view style="height: 40rpx;"></view>
+  </view>
+
+
+</view>
+
+
+<!-- 空高度  -->
+<view style="width: 100%;height: 100px;"></view>
+
+<!-- 备注 -->
+<van-popup show="{{ remarkFlag }}" style="z-index: 999;" round="{{true}}" position="bottom" bind:close="closeChoosedItemInfo_remark">
+  <van-cell-group>
+    <van-cell border="{{ true }}">
+      <view style="width:100%;font-size:5vw;color:#34495e;text-align:left;">
+        备注修改
+      </view>
+    </van-cell>
+    <van-divider />
+    <van-field label="备注" bind:focus="clearZero" type="quantity" bind:change="changeRemarksField" data-item="{{remarks}}" data-key="remarks" value="{{remarks}}" input-align="right" placeholder="请输入备注" border="{{ true }}" />
+    <view style="height: 50px;"></view>
+    <view style="padding:35rpx 34rpx 62rpx 34rpx;">
+      <van-button size="large" round color="#1B365D" custom-style="height:88rpx;" bind:click="updateToChooseList_remark" type="default">确定
+    </van-button>
+    </view>
+    
+  </van-cell-group>
+</van-popup>
+
+<!-- 底部按钮相关 -->
+<view class="bottom-class-1">
+  <view style="padding:10rpx 34rpx 61rpx 43rpx; display: flex;">
+    <view style="width:50%;padding-top: 10rpx;">
+      <view style="display: flex;justify-content: left;align-items: center;" wx:if="{{!saleLinkPsiSystem}}">
+        <van-checkbox value="{{ flgAutoIvt }}" data-index="{{index}}" data-index_="{{index_}}" bind:change="onChangeAOP" checked-color="#E4002B"></van-checkbox>
+        <view style="color: #1B365D; font-size: 26rpx;padding-left:10rpx">自动出库办理</view>
+      </view>
+      <view  style="color: #CAA977;font-size: 30rpx;padding-top: 10rpx;">
+        退货总额:
+      </view>
+      <dk-cell  contentFontSize="16" height="44rpx" fontWeight="600" left="0rpx" contentColor="#CAA977" title="" content="{{ -15999}}"></dk-cell>
+    </view>
+    <!-- 保存确定区域 -->
+    <view style="width: 50%; display: flex;padding-top: 42rpx;">
+      <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
+        <van-button round plain size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="clance" type="info">取消
+        </van-button>
+      </view>
+      <view style="width: 19rpx;"></view>
+      <view style="border-radius: 15rpx;width: 196rpx; height: 88rpx;font-size: 32rpx;line-height: 40rpx;">
+        <van-button round size="large" color="#1B365D" custom-style="height:88rpx;" bind:click="submit" type="info">保存
+        </van-button>
+      </view>
+    </view>
+  </view>
+</view>
+
+
+
+
+<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;">查看条码(8个)</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="{{sacnList}}" data-item="{{item}}" wx:for-index="index" wx:key="key">
+        <van-cell title="{{item.title}}" 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.detail}}" 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_.no}}</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>
+
+
+
+<!-- 编辑商品 -->
+<van-popup custom-class="dk-popup" show="{{ showEditProduct }}" round="{{true}}" position="bottom" bind:close="closeChoosedItemInfo">
+  <view style="position:relative; top:280rpx;z-index:  1;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.iconPath }}"></van-image>
+    </view>
+    <view class="special-topic-title">
+      <!-- 标签 标题-->
+      <dk-title id="titleTagPop" titleTag="{{currentChoosedItem.brandName}}" title="{{currentChoosedItem.skuCode}}"></dk-title>
+      <view style="padding-top: 10rpx;">
+        <dk-text fontWeight="" value="{{currentChoosedItem.skuName}}"> </dk-text>
+      </view>
+    </view>
+  </view>
+
+  <!--内容-->
+  <view class="pop-content-class">
+    <van-cell-group border="{{ false }}">
+      <view style="height:calc({{windowHeight+'px'}} - 676rpx);overflow-y: scroll;overflow-x: hidden;">
+        <!--数量-->
+        <van-cell title="数量" title-class="red-label" border="{{ false }}">
+          <van-stepper integer="{{true}}" value="{{ currentChoosedItem.thisTimeRejectQuantity}}" max="{{-1}}" min="{{currentChoosedItem.thisTimeRejectQuantityTemp}}" data-item="{{currentChoosedItem}}"  data-index="{{index}}" bind:change="changeChooseItemQuantity" />
+        </van-cell>
+
+        <van-cell wx:if="{{purchasePriceFlag}}" title-class="title-class-copy" title="采购价格" value="{{currentChoosedItem.rejectPrice}}" border="{{ false }}">
+        </van-cell>
+        <van-cell wx:if="{{!saleLinkPsiSystem}}" title-class="title-class-copy" title="可售量" value="{{currentChoosedItem.usableQty}}" border="{{ false }}">
+        </van-cell>
+
+        <van-field input-width="200rpx" input-class="dk-cell-value-pop-class" label-class="nomal-label" input-align="left" data-key="warehouse" maxlength="100" type="text" value="{{ currentChoosedItem.whName }}" label="库区" placeholder="请选择库区" autosize border="{{ false }}" right-icon="" color="#95A8CB" data-type='warehouse' catchtap="openSingle" readonly="{{true}}">
+        </van-field>
+
+
+        <!--备注-->
+        <van-field label-class="nomal-label" input-class="dk-cell-value-pop-class" label="备注" maxlength="1000" bind:change="changeCurrentChoosedItemField" data-key="remarks" value="{{currentChoosedItem.remarks}}" input-align="right" placeholder="请输入备注" border="{{ false }}" />
+
+        <view style="height: 100rpx;"></view>
+      </view>
+      <view style="text-align: center;">
+        <van-button round size="large" color="#1B365D" custom-style="height:88rpx;width:640rpx;" type="info" data-item="{{currentChoosedItem}}" data-index="{{index}}" size="small" bindtap="updateToChooseList">确定</van-button>
+      </view>
+    </van-cell-group>
+  </view>
+</van-popup>

+ 109 - 1
package-purchase/pages/purchase-return/add/add.wxss

@@ -1 +1,109 @@
-/* package-purchase/pages/purchase-return/add/add.wxss */
+.input_red {
+  color: red !important;
+  text-align: revert !important;
+}
+
+.cell-value-staff-org {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+  text-align: center;
+}
+
+.return-style {
+  /* width: 96.5%; */
+  background-color: white;
+  /* padding-top: 20rpx; */
+  padding-bottom: 16rpx;
+  margin-left: 34rpx;
+ margin-right: 34rpx;
+  background: #FFFFFF;
+  box-shadow: 0px 10px 15px rgba(225, 229, 238, 0.6);
+  border-radius: 0px 0px 12px 12px;
+  /* margin: 8px auto; */
+  /* margin-top: -9rpx; */
+ 
+}
+
+.return-style-blue {
+
+  background-color: white;
+  /* padding-top: 20rpx;
+  padding-bottom: 22rpx; */
+ margin-left: 34rpx;
+ margin-right: 34rpx;
+  background: #FFFFFF;
+  box-shadow: 0px 10px 15px rgba(225, 229, 238, 0.6);
+  border-radius: 0px 0px 15rpx 15rpx;
+  /* margin: 8px auto; */
+ 
+ 
+}
+.bottom-class-1{
+  background:#fff;
+  position:fixed;
+  bottom:0;
+  width:100%;
+  height: 182rpx; 
+  border-top:1px solid #efefef;
+  z-index: 7;
+  box-shadow: 0px -8rpx 24rpx rgba(0, 16, 39, 0.1);
+  border-radius: 30rpx 30rpx 0rpx 0rpx;
+}
+.goods-detail{
+  background: #FFFFFF;
+  box-shadow: 0px 10px 20px rgba(225, 229, 238, 0.6);
+  border-radius: 12px;
+  margin: 2vw;
+  padding: 1vw;
+}
+.color-style{
+color: #95A8CB;
+}
+ 
+.title-cell-style{
+  
+  color: #95A8CB;
+}
+.value-cell-style{
+  margin-left: 50px;
+  text-align: left !important;
+}
+.title-cell-style-fee{
+  
+  color: #95A8CB;
+}
+.value-cell-style-fee{
+  margin-left: 50px;
+  text-align: left !important;
+}
+.van-field__label{
+  color: #95A8CB !important;
+}
+.van-field__input{
+  color: #1B365D !important;
+
+}
+.title-class{
+  color: #1B365D !important;
+} 
+.title-class-copy{
+  color:#95A8CB !important;
+}
+.rightTitp{
+  padding:10rpx;
+   border-radius: 20rpx;
+   text-align: center;
+   display: flex;
+   align-items: center;
+   justify-content: center;
+}
+.isSaleNumClass{
+  width: 50%;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  color: #95A8CB;
+  font-size: 24rpx;
+  text-align: center;
+}

+ 138 - 62
package-purchase/pages/purchase-return/purchase-return.js

@@ -1,66 +1,142 @@
-// package-purchase/pages/purchase-return/purchase-return.js
+// package5/pages/purchase-return/purchase-return.js
 Page({
 
-    /**
-     * 页面的初始数据
-     */
-    data: {
-
-    },
-
-    /**
-     * 生命周期函数--监听页面加载
-     */
-    onLoad(options) {
-
-    },
-
-    /**
-     * 生命周期函数--监听页面初次渲染完成
-     */
-    onReady() {
-
-    },
-
-    /**
-     * 生命周期函数--监听页面显示
-     */
-    onShow() {
-
-    },
-
-    /**
-     * 生命周期函数--监听页面隐藏
-     */
-    onHide() {
-
-    },
-
-    /**
-     * 生命周期函数--监听页面卸载
-     */
-    onUnload() {
-
-    },
-
-    /**
-     * 页面相关事件处理函数--监听用户下拉动作
-     */
-    onPullDownRefresh() {
-
-    },
-
-    /**
-     * 页面上拉触底事件的处理函数
-     */
-    onReachBottom() {
-
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    createTimeType: {
+      text: '近30天',
+      value: 5
     },
-
-    /**
-     * 用户点击右上角分享
-     */
-    onShareAppMessage() {
-
-    }
+    totallength: 234999,
+    selectlength: 5,
+    createTimeSearch: [new Date().getTime() + 100, new Date().getTime() + 100],
+    statusItem: { text: '审批状态', value: -1 },
+    statusItem_org: { text: '业务员', value: -1 },
+  },
+  toDetail(e) {
+    console.log(e)
+    wx.navigateTo({
+      url: './detail/detail?outStatusString=' + e.currentTarget.dataset.item.outStatusString,
+    })
+  },
+  /**
+* @desc : 列表右上角三个点触发事件
+* @author : 于继渤
+* @date : 2022/5/28 08:50
+*/
+  onclik(e) {
+    this.setData({
+      showShare: true
+    })
+  },
+
+  onCloseShare() {
+    this.setData({
+      showShare: false
+    })
+  },
+  /**
+  * @desc : 筛选抽屉打开
+  * @author : 于继渤
+  * @date : 2022/5/27 12:16
+  */
+  openSearchPop() {
+    this.setData({
+      show: true
+    })
+  },
+  /**
+  * @desc : 筛选抽屉关闭
+  * @author : 于继渤
+  * @date : 2022/5/27 12:16
+  */
+  closeSearchPop() {
+    this.selectComponent("#pick").toggle(false) //取消选中样式
+    this.setData({
+      show: false
+    })
+
+  },
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad(options) {
+    this.setData({
+      tableData: [
+        {
+          supplierName: '佛山恒洁供应商',
+          outStatusString: '待出库',
+          makingTime: '2022 06-12',
+          orderNo: 'FQ202207061423001',
+          contactName: '张阿暖',
+          contactPhones: '156 5678 5643',
+          addressFull: '北京市朝阳区和平西桥和平西苑20号楼B栋-603',
+          outTime: '2022 06-13',
+          sumRejectAmount: 9999,
+        },
+        {
+          supplierName: '佛山恒洁供应商',
+          outStatusString: '已出库',
+          makingTime: '2022 06-12',
+          orderNo: 'FQ202207061423001',
+          contactName: '张阿暖',
+          contactPhones: '156 5678 5643',
+          addressFull: '北京市朝阳区和平西桥和平西苑20号楼B栋-603',
+          outTime: '2022 06-13',
+          sumRejectAmount: 9999,
+        }
+      ]
+    })
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload() {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom() {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage() {
+
+  }
 })

+ 278 - 2
package-purchase/pages/purchase-return/purchase-return.wxml

@@ -1,2 +1,278 @@
-<!--package-purchase/pages/purchase-return/purchase-return.wxml-->
-<text>package-purchase/pages/purchase-return/purchase-return.wxml</text>
+<!-- 前台导入wxmlUtil.wxs -->
+<wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
+<wxs src='/utils/numberFormat.wxs' module="numberFormat"></wxs>
+<!-- 设置金额和价格的小数位数 -->
+
+<loading wx:if="{{loading}}" loadingName="加载中" backgroundColor="#f2f2f2;" opacity="0.8"></loading>
+
+<van-sticky scroll-top="0">
+  <view style="display:flex;">
+    <view style="width:100%;padding-left: 23rpx;">
+      <van-search bind:search="doSearch" custom-class="search-class" model:value="{{ searchText }}" placeholder="输入姓名/地址/电话/商品名称/商品编码/唯一编码" use-right-icon-slot="{{true}}" placeholder-style="color:#95A8CB">
+      </van-search>
+    </view>
+  </view>
+  <van-dropdown-menu active-color="#1B365D">
+    <!-- 创建时间 -->
+    <van-dropdown-item id="create-time-type" title="{{createTimeType.text}}">
+      <dk-dropdown-date id="createtime" dateType="createtime" blankFlag="{{false}}" defaultValue='{{createTimeType.value}}' bind:dateCommit='dateCommit'></dk-dropdown-date>
+    </van-dropdown-item>
+    <!-- 筛选 -->
+    <van-dropdown-item id='pick' title="{{'筛选'+ (searchFormNumber ? '['+searchFormNumber+']' : '')}}" bind:open='openSearchPop' bind:close='closeSearchPop' data-type="pick" />
+  </van-dropdown-menu>
+  <van-tabs color="#1989FD" nav-class="van-tabs-class" active="{{ active }}" bind:change="onChangeTabs" color="#DEC9A3;" title-active-color="#1B365D" title-inactive-color=" #96A7C5;">
+    <van-tab title="全部">
+    </van-tab>
+    <van-tab title="审批中">
+    </van-tab>
+    <van-tab title="退货中">
+    </van-tab>
+
+    <van-tab title="已退货">
+    </van-tab>
+    <van-tab title="审拒绝">
+    </van-tab>
+  </van-tabs>
+</van-sticky>
+
+<van-empty wx:if="{{tableData.length<=0}}" description="暂无数据" />
+<view wx:for="{{tableData}}" data-item="{{item}}" wx:key="index" class="main-class">
+  <!-- 上半部分 -->
+  <view class="main-foot" style="position: relative;border-radius: 15rpx;">
+    <view class="table-content" bind:tap="toDetail" data-item="{{item}}">
+      <view class="table-content-row">
+        <view class="order-and-status">
+          <view catchtap="toCustomer" style="width: 39rpx;height: 39rpx;background-color: #95A8CB;border-radius:50%;margin-top: 5rpx;">
+            <view style="width: 39rpx; height: 39rpx;text-align: center;">
+              <van-image round width="20rpx" height="24rpx" src="/static/img/Vector.png" />
+            </view>
+          </view>
+          <!-- 客户 -->
+          <view catchtap="toCustomer" data-item="{{item}}" style="width:calc(70% - 39rpx);display:flex;padding-left: 14rpx;font-size: 30rpx;">
+            <dk-text bind:tap="toCustomer" data-item="{{item}}" textDecoration="underline" fontSize="15px" value="{{item.supplierName}}"></dk-text>
+          </view>
+
+          <!-- 状态 -->
+          <view style="width: calc(20%); height: 49rpx;padding-right:0rpx;" data-item="{{item}}" catchtap="toOrderStatusApvResult">
+            <view style="height: 49rpx;border-radius: 6rpx;background-color: #77C5D5;text-align: center;">
+              <text style=" font-size: 13px;color:  #FFFFFF;">{{active == 0 ?  item.rejectOrderStatus :  item.outStatusString}}</text>
+
+            </view>
+          </view>
+          <!-- 三个小点 -->
+          <view class="oas-title-value" data-item="{{item}}" catchtap="onclik">
+            <van-icon size="25" name="ellipsis" color="#1B365D" />
+          </view>
+        </view>
+      </view>
+
+      <!-- 日期 -->
+      <view style="display: flex; width: 100%;text-align: right;height: 47rpx">
+        <view style="width:  calc(100% - 210rpx);text-align: left;padding-left: 30rpx;">
+          <view wx:if="{{item.erpPushStatus == 3}}">
+            <dk-van-tag  data-item="{{item}}" catchtap="toOrderStatusApvResult" color="red" roundFlag="{{true}}" size="medium" value="推送异常"></dk-van-tag>
+          </view>
+        </view>
+        <view style="height: 47rpx;background-color: #EAF1FF;border-radius: 0px 0px 0px 30px;width: 210rpx;text-align: center;">
+          <text style="font-size: 14px;color: #808080;">{{wxmlUtil.format(item.makingTime)}}</text>
+        </view>
+      </view>
+
+      <!-- 订单单号 -->
+      <view class="table-content-row">
+        <view style="display: flex;">
+          <view class="table-content-row-font">
+            <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="订单编号" copyValue="{{item.orderNo}}"></dk-text>
+          </view>
+          <view class="table-content-class" style="display: flex; width: 100%;justify-content: space-between;">
+            {{item.orderNo}}
+          </view>
+        </view>
+      </view>
+      <!-- 收货信息 -->
+      <view class="table-content-row">
+        <view style="display: flex;">
+          <view class="table-content-row-font">
+            <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="退货信息"></dk-text>
+          </view>
+          <view class="table-content-class">
+            {{item.contactName ? item.contactName : ''}} | {{item.contactPhones ? item.contactPhones : ''}}
+          </view>
+        </view>
+      </view>
+
+
+
+
+      <!-- 收货地址 -->
+      <view class="table-content-row">
+        <view style="display: flex;">
+          <view class="table-content-row-font">
+            <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="退货地址" copyValue="{{item.addressFull ? item.addressFull : ''}}"></dk-text>
+          </view>
+          <view class="table-content-class">
+            <!-- {{item.addressFull ? item.addressFull : ''}} -->
+            {{ wxmlUtil.addressFullIsUndefined(item.addressFull)}}
+          </view>
+        </view>
+      </view>
+
+      <!-- 出库日期 -->
+      <view class="table-content-row">
+        <view style="display: flex;">
+          <view class="table-content-row-font">
+            <dk-text fontSize="14px" color="#95A8CB" fontWeight="nomal" value="出库日期"></dk-text>
+          </view>
+          <view class="table-content-class">
+            {{item.outTime ? item.outTime : ''}}
+          </view>
+        </view>
+      </view>
+
+      <!--分割线-->
+      <view style="padding-left:32rpx;padding-right:32rpx;">
+        <view style="border: 1rpx solid #E9F0FE;height: 0px;"></view>
+      </view>
+
+      <view style="padding: 20rpx 32rpx 20rpx 32rpx;border-radius: 16rpx;">
+        <view style="display: flex;">
+          <view class="category-class">
+            <!-- {{item.categoryQuantity + '品类 共'+ item.tsumQuantity+'件'}} -->
+          </view>
+          <view class="totalamount-class">
+            <dk-cell  fontSize="15" contentFontSize="17" contentColor="#CAA977" titleColor="#1B365D;" contentFontWeight="bold" title="共计金额" content="{{item.sumRejectAmount}}"></dk-cell>
+
+          </view>
+        </view>
+      </view>
+
+
+    </view>
+  </view>
+
+
+
+</view>
+
+<van-divider wx:if="{{noMore}}" contentPosition="center" borderColor="#DCDCDC">到底了~</van-divider>
+<view style="height: 135rpx;"></view>
+<!-- 筛选抽屉 -->
+<dk-side-pull-menu show_p="{{show}}" searchForm="{{searchForm}}" bind:clearSearchForm="clearSearchForm" bind:doSearchData="doSearchData" bind:onClose="onClose">
+  <dk-label-multiple-select show="{{show}}" id="outInventoryStatus" typeName="outInventoryStatus" bind:onClickTag="onClickTag"></dk-label-multiple-select>
+
+  <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.deliveryTime}}" border="{{ false }}" label="退货信息" placeholder="请输入退货信息" data-key="deliveryTime" color="#95A8CB"></van-field>
+
+
+
+  <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.deliveryTime}}" border="{{ false }}" label="退货地址" placeholder="请输入退货地址" data-key="deliveryTime" color="#95A8CB"></van-field>
+
+  <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.deliveryTime}}" is-link border="{{ false }}" label="退货日期" placeholder="请选择退货日期" data-key="deliveryTime" catchtap="onClickTime" color="#95A8CB" readonly="{{true}}"></van-field>
+
+  <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.deliveryTime}}" is-link border="{{ false }}" label="出库日期" placeholder="请选择出库日期" data-key="deliveryTime" catchtap="onClickTime" color="#95A8CB" readonly="{{true}}"></van-field>
+
+
+
+  <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.deliveryTime}}" border="{{ false }}" label="供应商" placeholder="请输入供应商" data-key="deliveryTime" color="#95A8CB"></van-field>
+
+
+  <van-cell border="{{ false }}" title-width="410rpx">
+    <view slot="title" style="font-size: 14px;color: #2E3853 !important;font-weight: 500;">
+      查看冲正数据
+    </view>
+    <view Cell Slot="value">
+      <view style="display: flex; justify-content: center; align-items: center;">
+        <van-checkbox style="background: white;border-radius: 100%;" shape="round" value="{{  searchForm.checked }}" bind:change="onCheckboxChange"></van-checkbox>
+      </view>
+    </view>
+  </van-cell>
+</dk-side-pull-menu>
+
+<!-- 卡片右上角 -->
+<van-popup show="{{showShare}}" position="bottom" bind:close="onCloseShare" custom-class="function-pop-class">
+  <van-cell-group border="{{false}}" custom-class="function-cell-group">
+    <van-grid square border="{{false}}" icon-size="42px">
+
+      <van-grid-item catchtap="outInv" data-key="出库办理" use-slot data-item="{{bottomItem}}" wx:if="{{bottomItem.erpApvResult !== '审-审中' && bottomItem.outStatus !== '出库状态-完成' && !saleLinkPsiSystem && bottomItem.rejectStatusName !=='审批拒绝'}}">
+        <view>
+          <van-image custom-class="function-pop-image" fit="fill" src="/static/img/purchase-returns-out.png"></van-image>
+        </view>
+        <view style="margin-top: -18rpx;">
+          <dk-text fontSize="12px" fontWeight="400" value="出库办理"></dk-text>
+        </view>
+      </van-grid-item>
+
+
+
+      <van-grid-item  catchtap="outInv" data-key="扫码出库" use-slot data-item="{{bottomItem}}" wx:if="{{bottomItem.erpApvResult !== '审-审中'  && bottomItem.outStatus !== '出库状态-完成' && !saleLinkPsiSystem}}">
+        <view>
+          <van-image custom-class="function-pop-image" fit="fill" src="/static/img/scan_outbound.png"></van-image>
+        </view>
+        <view style="margin-top: -18rpx;">
+          <dk-text fontSize="12px" fontWeight="400" value="扫码出库"></dk-text>
+        </view>
+      </van-grid-item>
+
+      <!-- <van-grid-item catchtap="openReverse" use-slot data-item="{{bottomItem}}" >
+        <view>
+          <van-image custom-class="function-pop-image" fit="fill" src="/static/img/reverse-purchase-order.png"></van-image>
+        </view>
+        <view style="margin-top: -18rpx;">
+          <dk-text fontSize="12px" fontWeight="400" value="采购退货冲正"></dk-text>
+        </view>
+      </van-grid-item> -->
+
+      <van-grid-item catchtap="outWithdraw" use-slot data-item="{{bottomItem}}" wx:if="{{bottomItem.erpApvResult !== '审-审中' && !saleLinkPsiSystem}}">
+        <view>
+          <van-image custom-class="function-pop-image" fit="fill" src="/static/img/purchase-order-print-return.png"></van-image>
+        </view>
+        <view style="margin-top: -18rpx;">
+          <dk-text fontSize="12px" fontWeight="400" value="出库撤销"></dk-text>
+        </view>
+      </van-grid-item>
+
+      <van-grid-item use-slot data-item="{{bottomItem}}" wx:if="{{bottomItem.erpApvResult !== '审-审中'}}">
+        <view>
+          <van-image custom-class="function-pop-image" fit="fill" src="/static/img/purchase-order-print.png"></van-image>
+        </view>
+        <view style="margin-top: -18rpx;">
+          <dk-text fontSize="12px" fontWeight="400" value="打印票据"></dk-text>
+        </view>
+      </van-grid-item>
+
+    </van-grid>
+
+
+
+
+  </van-cell-group>
+  <view class="popup-button">
+    <van-button type="default" custom-class="pop-button-class" size="large" catchtap="onCloseShare">取消
+    </van-button>
+  </view>
+</van-popup>
+
+<!-- 新建按钮 -->
+<dk-save-bottom  flagTypeName="purchase-return-add"  selectlength="{{selectlength}}" totallength="{{numberFormat.toThousandCents(totallength)}}" bind:submit="toAdd" submitFlag="{{false}}" />
+
+
+
+
+<!-- 安装时间 -->
+<van-popup show="{{ installationFlag }}" data-key="installTime" position="bottom" bind:close="onConfirmChooseDate" bind:click-overlay="onCloseChooseDate">
+  <view style="display:flex;justify-content: space-around;height:80rpx;">
+    <view style="width:45%;text-align: left;color:#b6b6b6;line-height:80rpx;" data-key="installTime" catchtap="onConfirmChooseDate">取消</view>
+    <view style="width:45%;text-align: right;color:#1989fa;line-height:80rpx;" data-key="installTime" catchtap="onConfirmChooseDate">确定</view>
+  </view>
+  <van-datetime-picker show-toolbar="{{false}}" data-key="installTime" bindonlyinput="changeDate" data-index="0" type="date" loading="{true}" value="{{ installTimeDefaultSearch }}" />
+</van-popup>
+
+
+
+
+<dk-dropdown-date-day show="{{deliveryFlag}}" defaultValue="{{deliveryTimeDefaultSearch}}" bind:dateCommit="onConfirmChooseDate"></dk-dropdown-date-day>
+
+<van-dialog id="van-dialog" />
+
+
+<!-- 多选 -->
+<dk-muti-dropdown-item jobIds="{{jobIds}}" ids="{{staffIds}}" show="{{satffFlag}}" id='satff' typeName='staff' docName="销售订单" bind:muticommit='mutiSearchAll' bind:muticlose='muticloseAll'></dk-muti-dropdown-item>

+ 425 - 1
package-purchase/pages/purchase-return/purchase-return.wxss

@@ -1 +1,425 @@
-/* package-purchase/pages/purchase-return/purchase-return.wxss */
+page {
+  background: #F5F5F5;
+}
+
+.list {
+  width: calc(100%-20rpx);
+  padding: 20rpx;
+}
+
+.van-cell__value {
+  width: 72% !important;
+  text-align: left !important;
+  -webkit-flex: auto !important;
+  flex: auto !important;
+}
+
+.van-cell__title {
+  width: 28% !important;
+  -webkit-flex: auto !important;
+  flex: auto !important;
+  color: #6f7071 !important;
+}
+
+.date-and-amount {
+  margin-top: 7rpx;
+  display: flex;
+  width: 100%;
+  justify-content: space-around;
+}
+
+.daa-date {
+  width: 45%;
+  margin-top: 7rpx;
+  font-size: 3.5vw;
+  color: #808080;
+  line-height: 60rpx;
+  text-align: right;
+}
+
+.order-and-status {
+  display: flex;
+  width: 100%;
+  justify-content: space-around;
+}
+
+.order-and-status-sales{
+  display: flex;
+  margin-left: 70rpx;
+  width: calc(100% - 70rpx);
+  justify-content: space-around;
+}
+
+.oas-no {
+  width: 50%;
+  font-size: 3.8vw;
+  color: #3b3b3b;
+  text-align: left;
+}
+
+.oas-status {
+  width: 30%;
+  font-size: 3.5vw;
+  color: #1989fa;
+  text-align: right;
+
+}
+
+.daa-amount {
+  margin-top: 7rpx;
+  width: 75%;
+  font-size: 4vw;
+  color: #e97e04;
+  text-align: right;
+  line-height: 60rpx;
+}
+
+.daa-amount-cun {
+  margin-top: 7rpx;
+  width: 40%;
+  font-size: 4vw;
+  color: #1989FA;
+  text-align: right;
+  line-height: 60rpx;
+}
+
+.horizontal-bar {
+  display: flex;
+  justify-content: space-between;
+  width: 100%;
+}
+
+.customer-name {
+  width: 80% !important;
+  font-size: 3.5vw;
+  line-height: 50rpx;
+  margin-top: 7rpx;
+  color: #323233;
+}
+
+.btn-to-cun {
+  margin-top: 7rpx;
+  width: 50%;
+  text-align: right;
+}
+
+
+.van-picker__toolbar {
+  display: none !important;
+}
+
+/*新加的弹窗样式*/
+.van-field__label {
+  color: #6f7071 !important;
+}
+
+.van-field__input {
+  color: #6f7071 !important;
+}
+
+.pop-search-view {
+  float: right;
+  margin-right: 20rpx;
+  color: #ffffff;
+  font-size: 44rpx;
+}
+
+.pop-search-item-content {
+  padding: 0 3% 0 3%;
+}
+
+.pop-search-item-content-button {
+  display: flex;
+  align-items: center;
+  justify-content: space-around;
+}
+
+.pop-search-item-content-button-custom {
+  border: 0 !important;
+  margin: 0 !important;
+  color: #CC3333;
+  background-color: white;
+}
+
+.pop-search-item-content-button-custom::after {
+  border: 1rpx solid #CC3333 !important;
+  background: transparent !important;
+}
+
+.pop-search-item-content-button-custom-gray {
+  border: 0 !important;
+  margin: 0 !important;
+  color: #c1c1c1;
+  background-color: white;
+}
+
+.pop-search-item-content-button-custom-gray::after {
+  border: 1rpx solid #c1c1c1 !important;
+  background: transparent !important;
+}
+
+.scroll {
+  height: calc(100%);
+}
+
+.table-row-custom {
+  display: flex;
+  width: 100%;
+  flex-direction: row;
+  margin-top: 1px;
+
+}
+
+.cn-a-b {
+  display: flex;
+  justify-content: space-between;
+  width: 100%;
+}
+
+.customer-name {
+  width: 50%;
+  font-size: 4vw;
+  line-height: 50rpx;
+  color: #323233;
+  word-break: break-all;
+}
+
+.customer-name2 {
+  width: 100%;
+  font-size: 4vw;
+  line-height: 50rpx;
+  color: #323233;
+  word-break: break-all;
+}
+
+.btn-to-cun {
+  display: inline;
+  width: 100%;
+  text-align: right;
+
+}
+
+.telephone {
+  display: flex;
+  margin-top: 7rpx;
+  font-size: 3.5vw;
+  line-height: 50rpx;
+  color: #323233;
+  width: 55%;
+
+}
+
+.category {
+  display: flex;
+  margin-top: 7rpx;
+  font-size: 3.5vw;
+  line-height: 50rpx;
+  color: #323233;
+  width: 45%;
+}
+
+.address {
+  margin-top: 7rpx;
+  word-break: break-all;
+  white-space: pre-wrap;
+  font-size: 3.5vw;
+  line-height: 50rpx;
+  color: #323233;
+  width: 89%;
+}
+
+.staffname {
+  margin-top: 7rpx;
+  font-size: 3.5vw;
+  line-height: 50rpx;
+  color: #323233;
+  width: 100%;
+  text-align: right;
+}
+
+.address-staffname {
+  display: flex;
+  margin-top: 7rpx;
+  width: 100%;
+}
+
+.image-small {
+  color: #b3b3b3;
+  font-size: 14px;
+}
+
+.hr {
+  width: 100%;
+  height: 2rpx;
+  margin-top: 15rpx;
+  margin-bottom: 15rpx;
+  /* margin-left: 37.5rpx; */
+  background-color: var(--divider-text-color, #e0e1e2);
+}
+
+
+
+
+
+
+
+
+.oas-title-value {
+  width: 80rpx;
+  font-size: 5px;
+  text-align: right;
+  padding-left: 5rpx;
+  color: #1989fa;
+}
+
+
+.value-class {
+  text-align: right !important;
+  font-size: 26rpx !important;
+}
+
+.title-class .van-field__label{
+  font-size: 14px;
+  color:#2E3853 !important;
+  font-weight: 500;
+}
+
+.oas-status-two {
+  width: 40%;
+  font-size: 3.8vw;
+  color: #1989fa;
+  text-align: center;
+}
+
+.time-value-class {
+  color: #1B365D !important;
+  font-weight: 400;
+}
+
+
+
+/* 字体设置 */
+.font-setting {
+  font-size: 3.9vw;
+}
+.bottom-bar{
+  border-radius: 15px;
+  display: flex;
+}
+
+
+
+
+/* 2022/07/25 样式引用*/
+
+
+.van-tabs__scroll{
+  background-color: #F5F5F5 !important;
+}
+
+.van-dropdown-menu__title{
+  color: #1B365D !important;
+}
+
+.van-tabs-class{
+  background: #fff !important;
+}
+
+.dk-font{
+  font-size: 13px;
+  color: #1B365D;
+  font-weight: bold;
+}
+
+/**品类*/
+.category-class{
+  width: 40%;
+  font-size: 15px;
+  color: #95A8CB;
+  align-items: center;
+  display: flex;
+}
+/**合计金额*/
+.totalamount-class{
+  width: 60%;
+  text-align: right !important;
+}
+.modal-app {
+  width: 80%;
+  border-radius: 15rpx;
+}
+
+.modal-button {
+  width: 50%;
+}
+.button-pop-cell-class{
+  border-radius: 15rpx !important;
+}
+
+.button-pop-class{
+  width: 640rpx !important;
+  height: 88rpx !important;
+  background: #1B365D !important;
+  border-radius: 15rpx !important;
+  border: none !important;
+}
+
+.input-class{
+  text-align: left !important;
+  height: 70px !important;
+  color: #1B365D !important;
+}
+.corner-view {
+  position: absolute;
+  /* 扇形弧度 */
+  border-radius: 0 0 100rpx 0; 
+  /* 左上弧度 */
+  border-top-left-radius: 15rpx;
+  /* 位置 */
+  top: 0;
+  left: 0;
+  padding: 14rpx;
+  width: 70rpx;
+  height: 56rpx;
+  background-color: #E3DCD1; 
+
+}
+.corner-view-text{
+  transform: rotate(-45deg);
+    /* 字体颜色 */
+    color: #B19264;
+    font-size: 24rpx;
+    font-weight: 600;
+    font-size: 26rpx;
+}
+
+
+
+.search-class {
+  height: 78rpx;
+}
+
+/**扫一扫**/
+.scan-class {
+  position: fixed;
+  top: 9rpx;
+  right: 34rpx;
+  width: 122rpx;
+  height: 65rpx;
+  background: #1B365D;
+  border-radius: 15rpx;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
+
+.scan-image {
+  width: 48rpx;
+  height: 36rpx;
+}
+
+/** 查询**/
+.van-search {
+  background: #F8F9FD !important;
+  padding-left: 0 !important;
+}