| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352 |
- <loading wx:if="{{loading}}" loadingName="加载中" backgroundColor="#f2f2f2;" opacity="0.8"></loading>
- <van-sticky scroll-top="0">
- <view style="display:flex;">
- <view style="width:75%; 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 style="width:25%; background:#F8F9FD;">
- <view class="scan-class">
- <image class="scan-image" fit="fill" src="/static/img/Group.png"></image>
- </view>
- </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-tabs>
- </van-sticky>
- <!-- 筛选抽屉 -->
- <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="receiptType" typeName="receiptType" bind:onClickTag="onClickTag"></dk-label-multiple-select>
- <dk-label-multiple-select show="{{show}}" id="receiptReason" typeName="receiptReason" bind:onClickTag="onClickTag"></dk-label-multiple-select>
- <van-field title-width="150rpx" input-class="time-value-class" label-class="title-class" maxlength="100" data-key="customerName" value="{{ searchForm.customerName }}" input-align="right" label="收货人" placeholder="请输入收货人" autosize border="{{ false }}" readonly="{{false}}" bind:change="changField">
- </van-field>
- <van-field title-width="150rpx" input-class="time-value-class" label-class="title-class" maxlength="100" data-key="customerPhone" value="{{ searchForm.customerPhone }}" input-align="right" label="收货人电话" placeholder="请输入收货人电话" autosize border="{{ false }}" readonly="{{false}}" bind:change="changField">
- </van-field>
- <van-field title-width="150rpx" input-class="time-value-class" label-class="title-class" maxlength="100" data-key="addressFullReturn" value="{{ searchForm.addressFullReturn }}" input-align="right" label="收货地址" placeholder="请输入收货地址" autosize border="{{ false }}" readonly="{{false}}" bind:change="changField">
- </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.warehousingTime}}" is-link border="{{ false }}" label="入库日期" placeholder="请选择入库日期" data-key="warehousingTime" catchtap="onClickTime" color="#95A8CB" readonly="{{true}}"></van-field>
- <van-field title-width="150rpx" input-class="time-value-class" label-class="title-class" maxlength="100" data-key="supplierName" value="{{ searchForm.supplierName }}" input-align="right" label="供应商" placeholder="请输入供应商" autosize border="{{ false }}" readonly="{{false}}" bind:change="changField">
- </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-empty wx:if="{{list.length<=0}}" description="暂无数据" />
- <!-- 列表 -->
- <view wx:for="{{list}}" 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" style="align-items: center;">
- <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 wx:if="{{item.entryKindName !='其他入库'}}" catchtap="toCustomer" data-item="{{item}}" style="width:calc(70% - 39rpx);display:flex;padding-left: 14rpx;font-size: 30rpx;align-items: center;">
- <dk-text bind:tap="toCustomer" data-item="{{item}}" fontSize="15px" value="{{item.customerName}}"></dk-text>
- </view>
- <!-- 其他入库类型。标题为责任人 -->
- <view wx:if="{{item.entryKindName =='其他入库'}}" catchtap="toCustomer" data-item="{{item}}" style="width:calc(70% - 39rpx);display:flex;padding-left: 14rpx;font-size: 30rpx;align-items: center;">
- <dk-text bind:tap="toCustomer" data-item="{{item}}" fontSize="15px" value="{{item.staffName}}"></dk-text>
- </view>
- <view style="width: calc(50%); height: 49rpx;padding-right:21rpx;" data-item="{{item}}" catchtap="onDesign">
- <view style="height: 49rpx; display: flex; align-items: center; justify-content: center; border-radius: 6rpx; background-color: #77C5D5; text-align: center;">
- <text style=" font-size: 13px;color: #FFFFFF;">{{item.entryKindName}}</text>
- </view>
- </view>
- <!-- 状态 -->
- <!-- <view style="width: calc(40%); height: 49rpx;padding-right:34rpx;" data-item="{{item}}" catchtap="toOrderStatusApvResult">
- <view style="height: 49rpx; display: flex; align-items: center; justify-content: center; border-radius: 6rpx; background-color: #77C5D5; text-align: center;">
- <text style="font-size: 13px; color: #FFFFFF;">{{item.entryKindName}}</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;">
- <!-- {{item.erpPushStatus}} -->
- <view wx:if="{{item.erpPushStatus == 3}}">
- <dk-van-tag catchtap="toOrderStatusApvResult" data-item="{{item}}" 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;">2024-01-01</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.entryNo}}"></dk-text>
- </view>
- <view class="table-content-class" style="display: flex; width: 100%;justify-content: space-between;">
- {{item.entryNo}}
- <view catchtap="toCopy" data-text="{{item.entryNo}}" style="border:1px solid #cecece;background-color:white;color:#cecece;border-radius:5rpx;padding:2px;">
- 复制
- </view>
- </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.entryKindName}}"></dk-text>
- </view>
- <view class="table-content-class">
- {{item.entryKindName?item.entryKindName:''}}
- </view>
- </view>
- </view> -->
- <!-- 客户电话 -->
- <view wx:if="{{item.entryKindName =='退货回库'}}" 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.customerPhone}}"></dk-text>
- </view>
- <view class="table-content-class">
- {{item.customerPhone?item.customerPhone:''}}
- </view>
- </view>
- </view>
- <!-- 客户地址 -->
- <view wx:if="{{item.entryKindName =='退货回库'}}" 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 : ''}} -->
- {{ item.addressFull}}
- </view>
- </view>
- </view>
- <!-- 门店信息 -->
- <view wx:if="{{item.entryKindName =='退货回库'}}" 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.orgName}} | 业务员 {{item.staffName}}"></dk-text>
- </view>
- <view class="table-content-class">
- {{item.orgName}} | 业务员 {{item.staffName}}
- </view>
- </view>
- </view>
- <!-- 收货信息 -->
- <view wx:if="{{item.entryKindName =='采购入库'}}" 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.returnContactName}} | {{item.returnContactPhone}}"></dk-text>
- </view>
- <view class="table-content-class">
- {{item.customerName}} | {{item.customerPhone}}
- </view>
- </view>
- </view>
- <!-- 收货地址 -->
- <view wx:if="{{item.entryKindName =='采购入库'}}" 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.addressFull?item.addressFull:''}}
- </view>
- </view>
- </view>
- <!-- 入库原因 -->
- <view wx:if="{{item.entryKindName =='其他入库'}}" 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.entryReasonName?item.entryReasonName:''}}
- </view>
- </view>
- </view>
- <!-- 责任人 -->
- <view wx:if="{{item.entryKindName =='其他入库'}}" 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.orgName}} | {{item.staffName}}"></dk-text>
- </view>
- <view class="table-content-class">
- {{item.orgName}} | 业务员 {{item.staffName}}
- </view>
- </view>
- </view>
- <!-- 入库对象 -->
- <view wx:if="{{item.entryKindName =='其他入库'}}" 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.entryObjectName?item.entryObjectName:''}}
- </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.entryDate?item.entryDate:''}}
- </view>
- </view>
- </view>
- <!--分割线-->
- <view style="padding-left:32rpx;padding-right:32rpx;">
- <view style="border: 1rpx solid #E9F0FE;height: 0px;"></view>
- </view>
- <view class="table-content-row" style="padding-top: 0rpx;">
- <view style="display:flex;place-items: center;">
- <view wx:if="{{item.entryKindName =='其他入库'}}" class="category-class">
- {{item.categoryQuantity+ '品类 共'+ item.sumEntryGoingQuantity+'件'}}
- </view>
- <view wx:else class="category-class">
- {{ item.sumEntryGoingQuantity+'件'}}
- </view>
- <view class="totalamount-class">
- <dk-cell fontSize="15" contentFontSize="17" contentColor="#CAA977" titleColor="#1B365D;" contentFontWeight="bold" title="合计金额:" content="{{item.sumEntryGoingAmount}}"></dk-cell>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view style="height: 25vw;"></view>
- <van-divider wx:if="{{noMore}}" contentPosition="center" borderColor="#DCDCDC">到底了~</van-divider>
- <!-- 其他chu库按钮 -->
- <dk-save-bottom flagTypeName="other-warehousing" selectTotallength="{{selectTotallength}}" selectlength="{{selectlength}}" totallength="{{numberFormat.toThousandCents(totallength)}}" bind:submit="submit" submitFlag="{{true}}" />
- <!-- 日期选择控件 -->
- <dk-dropdown-date-day show="{{deliveryFlag}}" defaultValue="{{deliveryTimeDefaultSearch}}" bind:dateCommit="onConfirmChooseDate"></dk-dropdown-date-day>
- <!-- 日期选择控件 -->
- <dk-dropdown-date-day show="{{warehousingFlag}}" defaultValue="{{warehousingTimeDefaultSearch}}" bind:dateCommit="onConfirmChooseWarehousingDate"></dk-dropdown-date-day>
- <van-dialog id="van-dialog" />
- <!-- 卡片右上角 -->
- <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 wx:if="{{active == 0}}" use-slot catchtap="toOutboundProcessing" data-item="{{bottomItem}}">
- <view>
- <van-image custom-class="function-pop-image" fit="fill" src="/static/img/warehousing-processing-tag.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 wx:if="{{active == 0}}" use-slot catchtap="toScanProcessing" data-item="{{bottomItem}}">
- <view>
- <van-image custom-class="function-pop-image" fit="fill" src="/static/img/scanbarcode.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 wx:if="{{active == 1}}" use-slot catchtap="toRevokel" data-item="{{bottomItem}}">
- <view>
- <van-image custom-class="function-pop-image" fit="fill" src="/static/img/warehousing-withdrawal.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 wx:if="{{bottomItem.entryKindName =='其他入库'}}" use-slot catchtap="toReverse" data-item="{{bottomItem}}">
- <view>
- <van-image custom-class="function-pop-image" fit="fill" src="/static/img/reverse.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="toSaleReturn" data-item="{{bottomItem}}">
- <view>
- <van-image custom-class="function-pop-image" fit="fill" src="/static/img/print-tickets.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>
|