于继渤 vor 2 Jahren
Ursprung
Commit
ac3ad5b68d

+ 0 - 3
components/dkbase/dk-multi-owner/dk-multi-owner.wxml

@@ -1,9 +1,6 @@
 <wxs src='/utils/numberFormat.wxs' module="numberFormat"></wxs>
 
 <loading wx:if="{{loading}}" loadingName="加载中" backgroundColor="#f2f2f2;" opacity="0.8"></loading>
-<van-sticky scroll-top="0">
-  <van-search model:value="{{ searchText }}" bind:search="doSearch" placeholder="请输入员工编码/员工名称" />
-</van-sticky>
 
 <van-empty wx:if="{{list.length<=0}}" description="暂无数据" />
 

+ 2 - 1
i18n/zh-CN.js

@@ -136,7 +136,8 @@ const home = {
 
 //  基础数据
 const basicData = {
-
+  name:'名称',
+  code:'编码',
   staffCode: '员工编码',
   staffPhone: '员工电话',
   staffName: '员工姓名',

+ 7 - 0
package-sales/pages/choose-sale-org/choose-sale-org.wxml

@@ -1 +1,8 @@
+<wxs src='/utils/numberFormat.wxs' module="numberFormat"></wxs>
+
+<van-sticky scroll-top="0">
+  <!-- 查询条件 -->
+  <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['name','code'])}}">
+  </dk-dropdown-menu>
+</van-sticky>
 <dk-multi-owner list="{{tableData}}" content="{{contentList}}"  bind:toMulti="toMulti" nameKey="orgName"  idKey="orgId" typeKey="staff"></dk-multi-owner>

+ 7 - 0
package-sales/pages/choose-sale-staff/choose-sale-staff.wxml

@@ -1,2 +1,9 @@
+<wxs src='/utils/numberFormat.wxs' module="numberFormat"></wxs>
+
+<van-sticky scroll-top="0">
+  <!-- 查询条件 -->
+  <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['name','code'])}}">
+  </dk-dropdown-menu>
+</van-sticky>
 
 <dk-multi-owner list="{{tableData}}" content="{{contentList}}" bind:toMulti="toMulti" nameKey="staffName"  idKey="staffId" typeKey="staff"></dk-multi-owner>