|
|
@@ -1,2 +1,232 @@
|
|
|
-<!--package-accounts-manage/pages/other-expenditure-orders/other-expenditure-orders.wxml-->
|
|
|
-<text>package-accounts-manage/pages/other-expenditure-orders/other-expenditure-orders.wxml</text>
|
|
|
+<van-sticky scroll-top="0">
|
|
|
+ <van-search model:value="{{ searchText }}" bind:change="onSearchText" bind:search="doSearch" placeholder="输入客户名称/地址/电话"> </van-search>
|
|
|
+ <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="statusItem2" title="{{ statusItem2.text }}">
|
|
|
+ <dk-dropdown-switch dataList="{{statusList}}" bind:commit='dropdowncommit'></dk-dropdown-switch>
|
|
|
+ </van-dropdown-item>
|
|
|
+ <van-dropdown-item id="statusItem" title="{{ statusItem.text }}">
|
|
|
+ <dk-dropdown-switch dataList="{{statusList}}" bind:commit='dropdowncommit'></dk-dropdown-switch>
|
|
|
+ </van-dropdown-item>
|
|
|
+ <!-- 筛选 -->
|
|
|
+ <van-dropdown-item id='pick' title="{{'筛选'+ (searchFormNumber ? '['+searchFormNumber+']' : '')}}" bind:open='openSearchPop' bind:close='closeSearchPop' data-type="pick" />
|
|
|
+
|
|
|
+ </van-dropdown-menu>
|
|
|
+
|
|
|
+</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="28rpx" height="28rpx" src="/static/img/purchase-order-icon.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 ? item.supplierName : ''}}"></dk-text>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 状态 -->
|
|
|
+ <view style="width: calc(20%); height: 49rpx;padding-right:0rpx;" data-item="{{item}}" >
|
|
|
+ <view style="{{item.displayStatus == '暂存' ? 'height: 49rpx;border-radius: 6rpx;background-color: #E4002B;text-align: center;' : 'height: 49rpx;border-radius: 6rpx;background-color:#9FAEE5;text-align: center;'}}">
|
|
|
+ <text style=" font-size: 13px;color: #FFFFFF;">{{item.displayStatus }}</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 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="门店/业务员" copyValue="{{item.addressFull ? item.addressFull : ''}}"></dk-text>
|
|
|
+ </view>
|
|
|
+ <view class="table-content-class">
|
|
|
+
|
|
|
+ {{ '佛山居然店 | 王丽丽'}}
|
|
|
+ </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.makingTime}}
|
|
|
+ </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">
|
|
|
+ {{'100.00 | 900.00'}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 收款状态和收款 -->
|
|
|
+ <view class="bottom-bar" style="background-color:white;border-radius: 0px 0px 15rpx 15rpx;">
|
|
|
+ <view style="display: flex;width: 100%;height: 115rpx;background: #FBF6EF;border-radius: 0px 0px 12rpx 12rpx;align-items: center;">
|
|
|
+
|
|
|
+ <view style="width: 100%;padding-top: 5px; ">
|
|
|
+ <view style="width: 100%;border-radius: 10px; text-align: left;padding-left:15px ;">
|
|
|
+ <view style="color: #1B365D;font-size: 28rpx;">
|
|
|
+ <view>可用余额</view>
|
|
|
+ <view>{{ '¥ 1.000.00'}}</view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view style=" width: 100%;padding-top: 5px;text-align: right; ">
|
|
|
+
|
|
|
+ <view style="height: 35px; width: 281.3rpx;background: #F2E0BC;border-radius: 10px; text-align: center;margin : auto;">
|
|
|
+ <view style="color: #A5814A;padding-top:7px;font-size: 26rpx;align-items: center;">
|
|
|
+ <view style="width: 50%;text-align: right;">
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <dk-cell height="46rpx" spaceWidth="15rpx" fontSize="15" contentColor="#CAA977" fontWeight="" title="收款" content="{{2000}}"></dk-cell>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</view>
|
|
|
+
|
|
|
+<van-divider wx:if="{{noMore}}" contentPosition="center" borderColor="#DCDCDC">到底了~</van-divider>
|
|
|
+<view style="height: 220rpx;"></view>
|
|
|
+
|
|
|
+<!-- 卡片右上角 -->
|
|
|
+<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 use-slot catchtap="toReturnAndExchange" data-item="{{bottomItem}}">
|
|
|
+ <view>
|
|
|
+ <van-image custom-class="function-pop-image" fit="fill" src="/static/img/follow.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 catchtap="toPurchaseReturns" data-item="{{bottomItem}}">
|
|
|
+ <view>
|
|
|
+ <van-image custom-class="function-pop-image" fit="fill" src="/static/img/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 catchtap="toOrderPrint" data-item="{{bottomItem}}"
|
|
|
+ >
|
|
|
+ <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 purchasePriceFlag="{{false}}" flagTypeName="order-add" selectTotallength="{{selectTotallength}}" selectlength="{{selectlength}}" totallength="{{totallength}}" bind:submit="toAdd" submitFlag="{{true}}" />
|
|
|
+
|
|
|
+
|
|
|
+<!-- 筛选抽屉 -->
|
|
|
+<dk-side-pull-menu show_p="{{show}}" searchForm="{{searchForm}}" bind:clearSearchForm="clearSearchForm" bind:doSearchData="doSearchData" bind:onClose="onClose">
|
|
|
+
|
|
|
+ <van-cell-group>
|
|
|
+ <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.contactPhones}}" border="{{ false }}" label="收款单号" placeholder="请输入收款单号" data-key="customerPhone"color="#95A8CB" bind:change="onChangeField"></van-field>
|
|
|
+
|
|
|
+ <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.contactPhones}}" border="{{ false }}" label="客户名称" placeholder="请输入客户名称" data-key="customerPhone"color="#95A8CB" bind:change="onChangeField"></van-field>
|
|
|
+
|
|
|
+ <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.contactPhones}}" border="{{ false }}" label="客户电话" placeholder="请输入客户电话" data-key="customerPhone"color="#95A8CB" bind:change="onChangeField"></van-field>
|
|
|
+
|
|
|
+ <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.contactPhones}}" border="{{ false }}" label="业务员" placeholder="请输入业务员" data-key="customerPhone"color="#95A8CB" bind:change="onChangeField"></van-field>
|
|
|
+
|
|
|
+ <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.contactPhones}}" border="{{ false }}" label="业务部门" placeholder="请输入业务部门" data-key="customerPhone"color="#95A8CB" bind:change="onChangeField"></van-field>
|
|
|
+
|
|
|
+ <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.contactPhones}}" border="{{ false }}" label="收款日期" placeholder="请输入收款日期" data-key="customerPhone"color="#95A8CB" bind:change="onChangeField"></van-field>
|
|
|
+
|
|
|
+ <van-field title-width="150rpx" input-align="right" label-class="title-class" input-class="time-value-class" value="{{searchForm.contactPhones}}" border="{{ false }}" label="可用金额排序" placeholder="请输入可用金额排序" data-key="customerPhone"color="#95A8CB" bind:change="onChangeField"></van-field>
|
|
|
+ </van-cell-group>
|
|
|
+
|
|
|
+</dk-side-pull-menu>
|