瀏覽代碼

设置收货人/开票信息

zhaoxiaohai 2 年之前
父節點
當前提交
088122393c

+ 64 - 60
app.json

@@ -1,62 +1,66 @@
 {
-	"pages": [
-		"pages/home/index",
-		"pages/base/index"
-	],
-	"subpackages": [{
-			"root": "packageA",
-			"pages": [
-				"market/index",
-				"market/detail",
-				"shopping/index",
-				"orderForm/index",
-				"orderForm/detail",
-				"orderForm/add"
-			]
-		},
-		{
-			"root": "select",
-			"pages": [
-				"product/index"
-			]
-		}
-	],
-	"preloadRule": {
-		"pages/home/index": {
-			"packages": [
-				"packageA",
-				"select"
-			],
-			"network": "all"
-		}
-	},
-	"usingComponents": {
-		"Yl_Empty": "/components/Yl_Empty/index",
-		"Yl_Filtrate": "/components/Yl_Filtrate/index",
-		"Yl_FloatingButton": "/components/Yl_FloatingButton/index",
-		"Yl_FunTabs": "/components/Yl_FunTabs/index",
-		"Yl_HeadNav": "/components/Yl_HeadNav/index",
-		"Yl_ListBox": "/components/Yl_ListBox/index",
-		"Yl_Tabbar": "/components/Yl_Tabbar/index",
-		"Yl_Field": "/components/Yl_Field/index",
-		"van-button": "@vant/weapp/button/index",
-		"van-cell": "@vant/weapp/cell/index",
-		"van-action-sheet": "@vant/weapp/action-sheet/index",
-		"van-popup": "@vant/weapp/popup/index",
-		"van-checkbox": "@vant/weapp/checkbox/index",
-		"van-checkbox-group": "@vant/weapp/checkbox-group/index",
-		"van-image": "@vant/weapp/image/index",
-		"van-loading": "@vant/weapp/loading/index",
-		"van-icon": "@vant/weapp/icon/index",
-		"van-tab": "@vant/weapp/tab/index",
-		"van-tabs": "@vant/weapp/tabs/index",
-		"van-search": "@vant/weapp/search/index"
-	},
-	"window": {
-		"backgroundTextStyle": "light",
-		"navigationBarBackgroundColor": "#085CDF",
-		"navigationBarTitleText": "E-订单",
-		"navigationBarTextStyle": "white"
-	},
-	"sitemapLocation": "sitemap.json"
+  "pages": [
+    "pages/home/index",
+    "pages/base/index"
+  ],
+  "subpackages": [
+    {
+      "root": "packageA",
+      "pages": [
+        "market/index",
+        "market/detail",
+        "shopping/index",
+        "orderForm/index",
+        "orderForm/detail",
+        "orderForm/add"
+      ]
+    },
+    {
+      "root": "select",
+      "pages": [
+        "product/index",
+        "agent/index",
+        "address/index",
+        "finance/index"
+      ]
+    }
+  ],
+  "preloadRule": {
+    "pages/home/index": {
+      "packages": [
+        "packageA",
+        "select"
+      ],
+      "network": "all"
+    }
+  },
+  "usingComponents": {
+    "Yl_Empty": "/components/Yl_Empty/index",
+    "Yl_Filtrate": "/components/Yl_Filtrate/index",
+    "Yl_FloatingButton": "/components/Yl_FloatingButton/index",
+    "Yl_FunTabs": "/components/Yl_FunTabs/index",
+    "Yl_HeadNav": "/components/Yl_HeadNav/index",
+    "Yl_ListBox": "/components/Yl_ListBox/index",
+    "Yl_Tabbar": "/components/Yl_Tabbar/index",
+    "Yl_Field": "/components/Yl_Field/index",
+    "van-button": "@vant/weapp/button/index",
+    "van-cell": "@vant/weapp/cell/index",
+    "van-action-sheet": "@vant/weapp/action-sheet/index",
+    "van-popup": "@vant/weapp/popup/index",
+    "van-checkbox": "@vant/weapp/checkbox/index",
+    "van-checkbox-group": "@vant/weapp/checkbox-group/index",
+    "van-image": "@vant/weapp/image/index",
+    "van-loading": "@vant/weapp/loading/index",
+    "van-icon": "@vant/weapp/icon/index",
+    "van-tab": "@vant/weapp/tab/index",
+    "van-tabs": "@vant/weapp/tabs/index",
+    "van-search": "@vant/weapp/search/index"
+  },
+  "window": {
+    "backgroundTextStyle": "light",
+    "navigationBarBackgroundColor": "#085CDF",
+    "navigationBarTitleText": "E-订单",
+    "navigationBarTextStyle": "white"
+  },
+  "sitemapLocation": "sitemap.json"
 }

+ 2 - 2
packageA/orderForm/add.js

@@ -96,8 +96,8 @@ Page({
         wx.redirectTo({
           url: '/packageA/orderForm/detail?id=' + res.data.sa_orderid,
         });
-        let page = getCurrentPages()[getCurrentPages().length - 1];
-        if (page.__route__ == 'packageA/orderForm/index') page.getList(true);
+        let page = getCurrentPages().find(v => v.__route__ == 'packageA/orderForm/index');
+        if (page) page.getList(true);
       }, 500)
     })
   }

+ 127 - 13
packageA/orderForm/detail.js

@@ -51,39 +51,40 @@ Page({
 	},
 	/* 选择结算人 */
 	selectAgent() {
-		console.log(this.isEdit());
+		if (this.isEdit()) return;
 		wx.navigateTo({
 			url: `/select/agent/index?params=${JSON.stringify({ 
-				"id": 20221011144903,
+				"id":20230104103702,
 				"content": {
-					"isExport": 0,
 					"pageNumber": 1, 
 					"pageTotal": 1, 
 					"pageSize": 20,
 					"where": {
 						"condition": "",
-						"tablefilter": {} 
 						}, 
-					"sa_saleareaids": [14],
-					"containssub": 1
 				}
 			 })}&radio=true`,
 		});
 		getApp().globalData.handleSelect = this.setAgeant.bind(this);
 	},
-	/* 设置经销商 */
+	/* 设置结算人 */
 	setAgeant({
 		item
 	}) {
 		let that = this;
+		console.log("选择经销商", item)
 		wx.showModal({
 			title: '提示',
 			content: `是否确认设置"${item.enterprisename}"为结算人?`,
 			complete: (res) => {
 				if (res.confirm) {
-					let id = that.data.detail.sys_enterpriseid;
+					let pay_enterpriseid = that.data.detail.pay_enterpriseid,
+						sys_enterprise_financeid = that.data.detail.sys_enterprise_financeid,
+						sa_accountclassid = that.data.detail.sa_accountclassid;
 					that.setData({
-						"detail.sys_enterpriseid": item.sys_enterpriseid
+						"detail.pay_enterpriseid": item.sys_enterpriseid,
+						"detail.sys_enterprise_financeid": item.finance[0] ? item.finance[0].sys_enterprise_financeid : 0,
+						"detail.sa_accountclassid": item.accounts[0] ? item.accounts[0].sa_accountclassid : 0,
 					});
 					that.changeDetail().then(s => {
 						if (s.msg == '成功') {
@@ -97,7 +98,120 @@ Page({
 							}, 500)
 						} else {
 							that.setData({
-								"detail.sys_enterpriseid": id
+								"detail.pay_enterpriseid": pay_enterpriseid,
+								"detail.sys_enterprise_financeid": sys_enterprise_financeid,
+								"detail.sa_accountclassid": sa_accountclassid
+							});
+						}
+					})
+				}
+			}
+		})
+	},
+	/* 选择收货人 */
+	selectConsignee() {
+		if (this.isEdit()) return;
+		wx.navigateTo({
+			url: `/select/address/index?params=${JSON.stringify({ 
+				"id":20221009155803,
+				"content": {
+					nocache:true,
+					sys_enterpriseid:this.data.detail.sys_enterpriseid,
+					"pageNumber": 1, 
+					"pageTotal": 1, 
+					"pageSize": 20,
+					"where": {
+						"condition": "",
+						workaddress:1
+						}, 
+				}
+			 })}&radio=true`,
+		});
+		getApp().globalData.handleSelect = this.setConsignee.bind(this);
+	},
+	/* 设置收货人 */
+	setConsignee({
+		item
+	}) {
+		let that = this;
+		console.log("设置收货人", item)
+		wx.showModal({
+			title: '提示',
+			content: `是否确认设置"${item.name}"为收货人?`,
+			complete: (res) => {
+				if (res.confirm) {
+					let rec_contactsid = that.data.detail.rec_contactsid;
+					that.setData({
+						"detail.rec_contactsid": item.contactsid
+					});
+					that.changeDetail().then(s => {
+						if (s.msg == '成功') {
+							wx.showToast({
+								title: '设置成功',
+								icon: "none"
+							});
+							setTimeout(() => {
+								wx.navigateBack();
+								that.getDetail();
+							}, 500)
+						} else {
+							that.setData({
+								"detail.rec_contactsid": rec_contactsid
+							});
+						}
+					})
+				}
+			}
+		})
+	},
+	/* 选择财务信息 */
+	selectFinance() {
+		if (this.isEdit()) return;
+		wx.navigateTo({
+			url: `/select/finance/index?params=${JSON.stringify({ 
+				"id":20221013160602,
+				"content": {
+					nocache:true,
+					sys_enterpriseid:this.data.detail.sys_enterpriseid,
+					"pageNumber": 1, 
+					"pageTotal": 1, 
+					"pageSize": 20,
+					"where": {
+						"condition": "",
+					}, 
+				}
+			 })}&radio=true`,
+		});
+		getApp().globalData.handleSelect = this.setFinance.bind(this);
+	},
+	/* 设置财务信息 */
+	setFinance({
+		item
+	}) {
+		let that = this;
+		console.log("设置财务信息", item)
+		wx.showModal({
+			title: '提示',
+			content: `是否确认设置"${item.enterprisename}"为开票单位?`,
+			complete: (res) => {
+				if (res.confirm) {
+					let sys_enterprise_financeid = that.data.detail.sys_enterprise_financeid;
+					that.setData({
+						"detail.sys_enterprise_financeid": item.sys_enterprise_financeid
+					});
+					that.changeDetail().then(s => {
+						if (s.msg == '成功') {
+							wx.showToast({
+								title: '设置成功',
+								icon: "none"
+							});
+							setTimeout(() => {
+								wx.navigateBack();
+								that.getDetail();
+							}, 500)
+						} else {
+							that.setData({
+								"detail.sys_enterprise_financeid": sys_enterprise_financeid
 							});
 						}
 					})
@@ -141,11 +255,11 @@ Page({
 			content = {
 				"sa_orderid": data.sa_orderid,
 				"sys_enterpriseid": data.sys_enterpriseid, //订货企业id
-				"sa_accountclassid": data.accountclass.sa_accountclassid || 0, //营销账户类型ID
+				"sa_accountclassid": data.sa_accountclassid || 0, //营销账户类型ID
 				"sa_brandid": data.sa_brandid, //品牌ID
-				"sys_enterprise_financeid": data.finance.sys_enterprise_financeid, //合作企业财务信息ID(开票信息)
+				"sys_enterprise_financeid": data.sys_enterprise_financeid, //合作企业财务信息ID(开票信息)
 				"sa_logiscompid": data.logiscomp.sa_logiscompid, //物流公司档案ID
-				"rec_contactsid": data.contacts.contactsid || 0, //合作企业联系人表ID(收货信息)
+				"rec_contactsid": data.rec_contactsid || 0, //合作企业联系人表ID(收货信息)
 				"type": data.type, //订单类型
 				"typemx": data.typemx, // 明细分类,可选
 				"remarks": data.remarks,

+ 14 - 5
packageA/orderForm/detail.wxml

@@ -1,4 +1,4 @@
-<import src="detail.skeleton.wxml"/>
+<import src="detail.skeleton.wxml" />
 <template is="skeleton" wx:if="{{loading}}" />
 
 <view class="intr">
@@ -18,7 +18,7 @@
     <van-button custom-class='copy'>一键复制订单</van-button>
 </view>
 
-<navigator url="#" class="box location">
+<navigator url="#" class="box location" bindtap="selectConsignee">
     <van-icon custom-class='icon' name="location" />
     <view class="content">
         <view class="name">
@@ -31,7 +31,7 @@
     <view class="iconfont icon-dibu-bianji" />
 </navigator>
 
-<navigator url="#" class="box location">
+<navigator url="#" class="box location" bindtap="selectFinance">
     <view class="content">
         <view class="name">
             开票单位
@@ -54,13 +54,22 @@
             <van-icon name="arrow" />
         </view>
     </navigator>
-    <navigator url="#" class="row">
+
+    <!--   <navigator url="#" class="row">
         <view class="label">支付账户</view>
         <view style="font-size: 28rpx;">
             {{detail.accountclass.accountname || '暂无'}}
             <van-icon name="arrow" />
         </view>
-    </navigator>
+    </navigator> -->
+
+    <view class="row">
+        <view class="label">支付账户</view>
+        <view style="font-size: 28rpx;">
+            {{detail.accountclass.accountname || '暂无'}}
+        </view>
+    </view>
+
     <navigator url="#" class="row" style="font-size: 0;" bindtap="changeRebateUsed">
         <view class="label">是否使用返利金(余额:{{detail.accountclass.rebate_amount}})</view>
         <checkbox disabled="{{detail.status!='新建'}}" checked="{{detail.rebate_used==1}}" color='var(--assist)' />

+ 114 - 0
select/address/index.js

@@ -0,0 +1,114 @@
+const _Http = getApp().globalData.http;
+
+Page({
+  data: {
+    loading: true,
+    params: {}, //请求体
+    result: [], //返回结果
+    radio: false, //是否为单选
+    idname: "contactsid", //idkey
+    showName: "name"
+  },
+  onLoad(options) {
+    if (options.item) {
+      let item = JSON.parse(options.item);
+      this.setData({
+        item,
+        params: item.params
+      });
+    }
+    if (options.params) this.setData({
+      params: JSON.parse(options.params)
+    });
+    this.setData({
+      radio: options.radio ? true : false,
+      idname: options.idname || this.data.idname,
+      showName: options.showName || this.data.showName,
+    });
+    this.getList()
+  },
+  getList(init = false) {
+    //init 用于初始化分页
+    if (init.detail != undefined) init = init.detail;
+    let params = this.data.params;
+    if (init) params.content.pageNumber = 1
+    if (params.content.pageNumber > params.content.pageTotal) return;
+
+    _Http.basic(params).then(res => {
+      console.log("选择经销商列表", res)
+      this.selectComponent('#ListBox').RefreshToComplete();
+      if (res.msg != '成功') return wx.showToast({
+        title: res.data,
+        icon: "none"
+      })
+
+      this.setData({
+        'params.content.pageNumber': res.pageNumber + 1,
+        'params.content.pageTotal': res.pageTotal,
+        'params.content.total': res.total,
+        list: res.pageNumber == 1 ? res.data : this.data.list.concat(res.data),
+        loading: false
+      })
+    })
+  },
+  /* 选中 */
+  changeResult(e) {
+    let {
+      id
+    } = e.currentTarget.dataset, result = this.data.result;
+    if (this.data.radio) {
+      result = [id];
+    } else {
+      result.some(v => v == id) ? result = result.filter(v => v != id) : result.push(id)
+    }
+    this.setData({
+      result
+    });
+    if (this.data.radio) this.submit();
+  },
+  /* 提交 */
+  submit() {
+    let result = this.data.result,
+      obj = this.data.radio ? {
+        id: result,
+        item: this.data.list.find(value => value[this.data.idname] == result),
+        value: [this.data.list.find(value => value[this.data.idname] == result)[this.data.showName], result]
+      } : {
+        result,
+        list: result.map(v => this.data.list.find(value => value[this.data.idname] == v)),
+        value: [result.map(v => {
+          let data = this.data.list.find(value => value[this.data.idname] == v);
+          return data ? data[this.data.showName] : ""
+        }), result]
+      }
+    getApp().globalData.handleSelect && getApp().globalData.handleSelect(obj)
+  },
+  /* 开始搜索 */
+  startSearch({
+    detail
+  }) {
+    let condition = this.data.content ? this.data.content.where.condition : this.data.params.content.where.condition;
+    if (detail == condition) return;
+    this.setData({
+      'content.where.condition': detail,
+      'params.content.where.condition': detail
+    });
+    this.getList(true);
+  },
+  /* 取消搜索 */
+  onClear() {
+    this.setData({
+      'content.where.condition': "",
+      'params.content.where.condition': ""
+    });
+    this.getList(true);
+  },
+  onReady() {
+    this.selectComponent("#ListBox").setHeight(".total", this);
+  },
+  onUnload() {
+    //回收数据
+    getApp().globalData.handleSelect = null;
+    getApp().globalData.savePage = null;
+  }
+})

+ 3 - 0
select/address/index.json

@@ -0,0 +1,3 @@
+{
+  "usingComponents": {}
+}

+ 80 - 0
select/address/index.scss

@@ -0,0 +1,80 @@
+@import "./index.skeleton.wxss";
+page {
+	height: 100vh;
+	overflow: hidden;
+}
+
+.total {
+	height: 60rpx;
+	line-height: 60rpx;
+	font-size: 24rpx;
+	font-family: PingFang SC-Regular, PingFang SC;
+	color: #666666;
+	padding-left: 30rpx;
+}
+
+.item {
+	display: flex;
+	align-items: center;
+	width: 100vw;
+	padding: 20rpx 30rpx;
+	background-color: #FFFFFF;
+	box-sizing: border-box;
+	border-bottom: 1rpx solid #DDDDDD;
+	margin-bottom: 20rpx;
+	overflow: hidden;
+
+	.main {
+		width: 100%;
+		padding-right: 20rpx;
+		box-sizing: border-box;
+
+		.title {
+			height: 40rpx;
+			line-height: 40rpx;
+			font-size: 28rpx;
+			font-family: PingFang SC-Semibold, PingFang SC;
+			font-weight: 600;
+			color: #333333;
+		}
+
+		.subfield {
+			margin-top: 6rpx;
+			height: 34rpx;
+			line-height: 34rpx;
+			font-size: 24rpx;
+			color: #999999;
+		}
+	}
+}
+
+.footer {
+	display: flex;
+	justify-content: space-between;
+	align-items: center;
+	padding: 0 30rpx;
+	position: fixed;
+	width: 100vw;
+	height: 130rpx;
+	background: #FFFFFF;
+	box-shadow: 0px -4rpx 16rpx 2rpx rgba(150, 157, 165, 0.16);
+	bottom: 0;
+	box-sizing: border-box;
+
+	.count {
+		font-size: 28rpx;
+		font-family: PingFang SC-Regular, PingFang SC;
+		color: #333333;
+	}
+
+	.but {
+		width: 156rpx;
+		height: 90rpx;
+		background: #3874F6;
+		border-radius: 8rpx;
+		font-size: 28rpx;
+		font-family: PingFang SC-Bold, PingFang SC;
+		font-weight: bold;
+		color: #FFFFFF;
+	}
+}

+ 116 - 0
select/address/index.skeleton.wxml

@@ -0,0 +1,116 @@
+<!--
+此文件为开发者工具生成,生成时间: 2023/1/4下午7:40:30
+使用方法:
+在 E:\云链项目\e-wechat\select\address\index.wxml 引入模板
+
+```
+<import src="index.skeleton.wxml"/>
+<template is="skeleton" wx:if="{{loading}}" />
+```
+
+在 E:\云链项目\e-wechat\select\address\index.wxss 中引入样式
+```
+@import "./index.skeleton.wxss";
+```
+
+更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
+-->
+<template name="skeleton">
+  <view class="sk-container">
+    <view is="miniprogram_npm/@vant/weapp/search/index" class="search">
+      <view class="van-search index--van-search " style="background: #ffffff">
+        <view class="van-search__content index--van-search__content van-search__content--round index--van-search__content--round">
+          <view is="miniprogram_npm/@vant/weapp/field/index" class="van-search__field index--van-search__field ">
+            <view is="miniprogram_npm/@vant/weapp/cell/index">
+              <view class="field-index--van-field van-cell cell-index--van-cell van-cell--borderless cell-index--van-cell--borderless sk-pseudo sk-pseudo-circle" hover-class="van-cell--hover hover-class" hover-stay-time="70" style="padding: 5px 10px 5px 0; background-color: transparent;">
+                <view is="miniprogram_npm/@vant/weapp/icon/index" class="van-cell__left-icon-wrap cell-index--van-cell__left-icon-wrap">
+                  <view class="cell-index--van-cell__left-icon van-icon icon-index--van-icon van-icon-search icon-index--van-icon-search sk-pseudo sk-pseudo-circle" style="true"></view>
+                </view>
+                <view class="van-cell__value cell-index--van-cell__value ">
+                  <view class="van-field__body field-index--van-field__body van-field__body--search field-index--van-field__body--search">
+                    <view class="van-field__control field-index--van-field__control sk-image" cursor="-1" maxlength="-1" placeholder="请输入搜索关键词" placeholder-class="van-field__placeholder" placeholder-style="true" selection-end="-1" selection-start="-1" type="search"
+                      value="true"></view>
+                  </view>
+                </view>
+              </view>
+            </view>
+          </view>
+        </view>
+      </view>
+    </view>
+    <view class="total sk-transparent sk-text-30-0000-501 sk-text">共4个</view>
+    <view is="components/Yl_ListBox/index" id="ListBox">
+      <scroll-view scroll-y="true" class="ListBox-index--scroll-view" refresher-enabled="true" style="height: 640px;">
+        <navigator class="item" data-id="264">
+          <view class="main" style="padding-left: ;">
+            <view class="title line-1 sk-transparent sk-text-15-0000-22 sk-text">联系人1</view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-245 sk-text">
+              手机号码:13333333333
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-432 sk-text">
+              部门:部门
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-567 sk-text">
+              职位:职位
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-454 sk-text">
+              地址:内蒙古自治区乌海市乌达区地址
+            </view>
+          </view>
+        </navigator>
+        <navigator class="item" data-id="265">
+          <view class="main" style="padding-left: ;">
+            <view class="title line-1 sk-transparent sk-text-15-0000-792 sk-text">联系人2</view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-261 sk-text">
+              手机号码:13333333333
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-575 sk-text">
+              部门:部门
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-629 sk-text">
+              职位:职位
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-183 sk-text">
+              地址:河北省秦皇岛市抚宁区地址
+            </view>
+          </view>
+        </navigator>
+        <navigator class="item" data-id="266">
+          <view class="main" style="padding-left: ;">
+            <view class="title line-1 sk-transparent sk-text-15-0000-246 sk-text">联系人3</view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-867 sk-text">
+              手机号码:13333333334
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-998 sk-text">
+              部门:部门
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-201 sk-text">
+              职位:职位
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-546 sk-text">
+              地址:澳门特别行政区地址
+            </view>
+          </view>
+        </navigator>
+        <navigator class="item" data-id="267">
+          <view class="main" style="padding-left: ;">
+            <view class="title line-1 sk-transparent sk-text-15-0000-331 sk-text">联系人4</view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-48 sk-text">
+              手机号码:13333333333
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-314 sk-text">
+              部门:部门
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-811 sk-text">
+              职位:职位
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-6 sk-text">
+              地址:河南省洛阳市吉利区地址
+            </view>
+          </view>
+        </navigator>
+        <view class="ListBox-index--safety"></view>
+      </scroll-view>
+    </view>
+  </view>
+</template>

+ 149 - 0
select/address/index.skeleton.wxss

@@ -0,0 +1,149 @@
+/*
+此文件为开发者工具生成,生成时间: 2023/1/4下午7:40:30
+
+在 E:\云链项目\e-wechat\select\address\index.wxss 中引入样式
+```
+@import "./index.skeleton.wxss";
+```
+
+更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
+*/
+.sk-transparent {
+    color: transparent !important;
+  }
+.sk-text-30-0000-501 {
+    background-image: linear-gradient(transparent 30.0000%, #EEEEEE 0%, #EEEEEE 70.0000%, transparent 0%) !important;
+    background-size: 100% 60.0000rpx;
+    position: relative !important;
+  }
+.sk-text {
+    background-origin: content-box !important;
+    background-clip: content-box !important;
+    background-color: transparent !important;
+    color: transparent !important;
+    background-repeat: repeat-y !important;
+  }
+.sk-text-15-0000-22 {
+    background-image: linear-gradient(transparent 15.0000%, #EEEEEE 0%, #EEEEEE 85.0000%, transparent 0%) !important;
+    background-size: 100% 40.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-245 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-432 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-567 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-454 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-15-0000-792 {
+    background-image: linear-gradient(transparent 15.0000%, #EEEEEE 0%, #EEEEEE 85.0000%, transparent 0%) !important;
+    background-size: 100% 40.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-261 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-575 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-629 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-183 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-15-0000-246 {
+    background-image: linear-gradient(transparent 15.0000%, #EEEEEE 0%, #EEEEEE 85.0000%, transparent 0%) !important;
+    background-size: 100% 40.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-867 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-998 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-201 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-546 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-15-0000-331 {
+    background-image: linear-gradient(transparent 15.0000%, #EEEEEE 0%, #EEEEEE 85.0000%, transparent 0%) !important;
+    background-size: 100% 40.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-48 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-314 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-811 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-6 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-pseudo::before, .sk-pseudo::after {
+      background: #EFEFEF !important;
+      background-image: none !important;
+      color: transparent !important;
+      border-color: transparent !important;
+    }
+.sk-pseudo-rect::before, .sk-pseudo-rect::after {
+      border-radius: 0 !important;
+    }
+.sk-pseudo-circle::before, .sk-pseudo-circle::after {
+      border-radius: 50% !important;
+    }
+.sk-image {
+    background: #EFEFEF !important;
+  }
+.sk-container {
+    position: absolute;
+    left: 0;
+    top: 0;
+    width: 100%;
+    height: 100%;
+    overflow: hidden;
+    background-color: transparent;
+  }

+ 45 - 0
select/address/index.wxml

@@ -0,0 +1,45 @@
+<import src="index.skeleton.wxml"/>
+<template is="skeleton" wx:if="{{loading}}" />
+<van-search class="search" value="{{ params.content.where.condition }}" shape="round" placeholder="请输入搜索关键词" bind:search='startSearch' bind:clear='onClear' />
+<view class="total">共{{params.content.total}}个</view>
+
+<Yl_ListBox id='ListBox' bind:getlist='getList'>
+	<navigator class="item" url="#" wx:for="{{list}}" wx:key="item.itemno" data-id="{{item[idname]}}" bindtap="changeResult">
+		<van-checkbox wx:if="{{!radio}}" value="{{ handle.isCheck(item[idname],result) }}" shape="square" icon-size='28rpx' />
+		<view class="main" style="padding-left: {{!radio?'10rpx':''}};">
+			<view class="title line-1">{{item.name}}</view>
+			<view class="subfield line-1">
+				手机号码:{{item.phonenumber || ' --'}}
+			</view>
+			<view class="subfield line-1">
+				部门:{{item.depname || " --"}}
+			</view>
+			<view class="subfield line-1">
+				职位:{{item.position || ' --'}}
+			</view>
+			<view class="subfield line-1">
+				地址:{{item.province + item.city + item.county +item.address}}
+			</view>
+		</view>
+	</navigator>
+	<view wx:if="{{!radio}}" style="height: 130rpx;" />
+	<Yl_Empty wx:if="{{list.length==0}}" />
+</Yl_ListBox>
+
+<block wx:if="{{!radio}}">
+	<view class="footer">
+		<view class="count">
+			已选:{{result.length}}
+		</view>
+		<van-button custom-class='but' disabled='{{result.length==0}}' bind:click="submit">确定</van-button>
+	</view>
+	<wxs module="handle">
+		module.exports = {
+			isCheck: function (id, list) {
+				return list.some(function (v) {
+					return v == id
+				});
+			},
+		}
+	</wxs>
+</block>

+ 114 - 0
select/finance/index.js

@@ -0,0 +1,114 @@
+const _Http = getApp().globalData.http;
+
+Page({
+  data: {
+    loading: true,
+    params: {}, //请求体
+    result: [], //返回结果
+    radio: false, //是否为单选
+    idname: "sys_enterprise_financeid", //idkey
+    showName: "enterprisename"
+  },
+  onLoad(options) {
+    if (options.item) {
+      let item = JSON.parse(options.item);
+      this.setData({
+        item,
+        params: item.params
+      });
+    }
+    if (options.params) this.setData({
+      params: JSON.parse(options.params)
+    });
+    this.setData({
+      radio: options.radio ? true : false,
+      idname: options.idname || this.data.idname,
+      showName: options.showName || this.data.showName,
+    });
+    this.getList()
+  },
+  getList(init = false) {
+    //init 用于初始化分页
+    if (init.detail != undefined) init = init.detail;
+    let params = this.data.params;
+    if (init) params.content.pageNumber = 1
+    if (params.content.pageNumber > params.content.pageTotal) return;
+
+    _Http.basic(params).then(res => {
+      console.log("财务信息列表", res)
+      this.selectComponent('#ListBox').RefreshToComplete();
+      if (res.msg != '成功') return wx.showToast({
+        title: res.data,
+        icon: "none"
+      })
+
+      this.setData({
+        'params.content.pageNumber': res.pageNumber + 1,
+        'params.content.pageTotal': res.pageTotal,
+        'params.content.total': res.total,
+        list: res.pageNumber == 1 ? res.data : this.data.list.concat(res.data),
+        loading: false
+      })
+    })
+  },
+  /* 选中 */
+  changeResult(e) {
+    let {
+      id
+    } = e.currentTarget.dataset, result = this.data.result;
+    if (this.data.radio) {
+      result = [id];
+    } else {
+      result.some(v => v == id) ? result = result.filter(v => v != id) : result.push(id)
+    }
+    this.setData({
+      result
+    });
+    if (this.data.radio) this.submit();
+  },
+  /* 提交 */
+  submit() {
+    let result = this.data.result,
+      obj = this.data.radio ? {
+        id: result,
+        item: this.data.list.find(value => value[this.data.idname] == result),
+        value: [this.data.list.find(value => value[this.data.idname] == result)[this.data.showName], result]
+      } : {
+        result,
+        list: result.map(v => this.data.list.find(value => value[this.data.idname] == v)),
+        value: [result.map(v => {
+          let data = this.data.list.find(value => value[this.data.idname] == v);
+          return data ? data[this.data.showName] : ""
+        }), result]
+      }
+    getApp().globalData.handleSelect && getApp().globalData.handleSelect(obj)
+  },
+  /* 开始搜索 */
+  startSearch({
+    detail
+  }) {
+    let condition = this.data.content ? this.data.content.where.condition : this.data.params.content.where.condition;
+    if (detail == condition) return;
+    this.setData({
+      'content.where.condition': detail,
+      'params.content.where.condition': detail
+    });
+    this.getList(true);
+  },
+  /* 取消搜索 */
+  onClear() {
+    this.setData({
+      'content.where.condition': "",
+      'params.content.where.condition': ""
+    });
+    this.getList(true);
+  },
+  onReady() {
+    this.selectComponent("#ListBox").setHeight(".total", this);
+  },
+  onUnload() {
+    //回收数据
+    getApp().globalData.handleSelect = null;
+    getApp().globalData.savePage = null;
+  }
+})

+ 3 - 0
select/finance/index.json

@@ -0,0 +1,3 @@
+{
+  "usingComponents": {}
+}

+ 80 - 0
select/finance/index.scss

@@ -0,0 +1,80 @@
+@import "./index.skeleton.wxss";
+page {
+	height: 100vh;
+	overflow: hidden;
+}
+
+.total {
+	height: 60rpx;
+	line-height: 60rpx;
+	font-size: 24rpx;
+	font-family: PingFang SC-Regular, PingFang SC;
+	color: #666666;
+	padding-left: 30rpx;
+}
+
+.item {
+	display: flex;
+	align-items: center;
+	width: 100vw;
+	padding: 20rpx 30rpx;
+	background-color: #FFFFFF;
+	box-sizing: border-box;
+	border-bottom: 1rpx solid #DDDDDD;
+	margin-bottom: 20rpx;
+	overflow: hidden;
+
+	.main {
+		width: 100%;
+		padding-right: 20rpx;
+		box-sizing: border-box;
+
+		.title {
+			height: 40rpx;
+			line-height: 40rpx;
+			font-size: 28rpx;
+			font-family: PingFang SC-Semibold, PingFang SC;
+			font-weight: 600;
+			color: #333333;
+		}
+
+		.subfield {
+			margin-top: 6rpx;
+			height: 34rpx;
+			line-height: 34rpx;
+			font-size: 24rpx;
+			color: #999999;
+		}
+	}
+}
+
+.footer {
+	display: flex;
+	justify-content: space-between;
+	align-items: center;
+	padding: 0 30rpx;
+	position: fixed;
+	width: 100vw;
+	height: 130rpx;
+	background: #FFFFFF;
+	box-shadow: 0px -4rpx 16rpx 2rpx rgba(150, 157, 165, 0.16);
+	bottom: 0;
+	box-sizing: border-box;
+
+	.count {
+		font-size: 28rpx;
+		font-family: PingFang SC-Regular, PingFang SC;
+		color: #333333;
+	}
+
+	.but {
+		width: 156rpx;
+		height: 90rpx;
+		background: #3874F6;
+		border-radius: 8rpx;
+		font-size: 28rpx;
+		font-family: PingFang SC-Bold, PingFang SC;
+		font-weight: bold;
+		color: #FFFFFF;
+	}
+}

+ 114 - 0
select/finance/index.skeleton.wxml

@@ -0,0 +1,114 @@
+<!--
+此文件为开发者工具生成,生成时间: 2023/1/4下午7:35:14
+使用方法:
+在 E:\云链项目\e-wechat\select\finance\index.wxml 引入模板
+
+```
+<import src="index.skeleton.wxml"/>
+<template is="skeleton" wx:if="{{loading}}" />
+```
+
+在 E:\云链项目\e-wechat\select\finance\index.wxss 中引入样式
+```
+@import "./index.skeleton.wxss";
+```
+
+更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
+-->
+<template name="skeleton">
+  <view class="sk-container">
+    <view is="miniprogram_npm/@vant/weapp/search/index" class="search">
+      <view class="van-search index--van-search " style="background: #ffffff">
+        <view class="van-search__content index--van-search__content van-search__content--round index--van-search__content--round">
+          <view is="miniprogram_npm/@vant/weapp/field/index" class="van-search__field index--van-search__field ">
+            <view is="miniprogram_npm/@vant/weapp/cell/index">
+              <view class="field-index--van-field van-cell cell-index--van-cell van-cell--borderless cell-index--van-cell--borderless sk-pseudo sk-pseudo-circle" hover-class="van-cell--hover hover-class" hover-stay-time="70" style="padding: 5px 10px 5px 0; background-color: transparent;">
+                <view is="miniprogram_npm/@vant/weapp/icon/index" class="van-cell__left-icon-wrap cell-index--van-cell__left-icon-wrap">
+                  <view class="cell-index--van-cell__left-icon van-icon icon-index--van-icon van-icon-search icon-index--van-icon-search sk-pseudo sk-pseudo-circle" style="true"></view>
+                </view>
+                <view class="van-cell__value cell-index--van-cell__value ">
+                  <view class="van-field__body field-index--van-field__body van-field__body--search field-index--van-field__body--search">
+                    <view class="van-field__control field-index--van-field__control sk-image" cursor="-1" maxlength="-1" placeholder="请输入搜索关键词" placeholder-class="van-field__placeholder" placeholder-style="true" selection-end="-1" selection-start="-1" type="search"
+                      value="true"></view>
+                  </view>
+                </view>
+              </view>
+            </view>
+          </view>
+        </view>
+      </view>
+    </view>
+    <view class="total sk-transparent sk-text-30-0000-931 sk-text">共2个</view>
+    <view is="components/Yl_ListBox/index" id="ListBox">
+      <scroll-view scroll-y="true" class="ListBox-index--scroll-view" refresher-enabled="true" style="height: 640px;">
+        <navigator class="item" data-id="undefined">
+          <view is="miniprogram_npm/@vant/weapp/checkbox/index">
+            <view class="van-checkbox checkbox-index--van-checkbox ">
+              <view class="van-checkbox__icon-wrap checkbox-index--van-checkbox__icon-wrap">
+                <view is="miniprogram_npm/@vant/weapp/icon/index" class="van-checkbox__icon checkbox-index--van-checkbox__icon van-checkbox__icon--square checkbox-index--van-checkbox__icon--square" style="font-size:14px">
+                  <view class="van-icon icon-index--van-icon van-icon-success icon-index--van-icon-success sk-pseudo sk-pseudo-circle" style="font-size:0.8em;line-height: 1.25em;"></view>
+                </view>
+              </view>
+              <view class=" van-checkbox__label checkbox-index--van-checkbox__label van-checkbox__label--right checkbox-index--van-checkbox__label--right"></view>
+            </view>
+          </view>
+          <view class="main" style="padding-left: 5px;">
+            <view class="title line-1 sk-transparent sk-text-15-0000-706 sk-text">抬头:抬头1</view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-817 sk-text">
+              开户行/账号:中国银行/4211999
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-644 sk-text">
+              开票地址嘉兴智慧
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-631 sk-text">
+              统一社会信用代码:123
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-227 sk-text">
+              联系电话:13712345678
+            </view>
+          </view>
+        </navigator>
+        <navigator class="item" data-id="undefined">
+          <view is="miniprogram_npm/@vant/weapp/checkbox/index">
+            <view class="van-checkbox checkbox-index--van-checkbox ">
+              <view class="van-checkbox__icon-wrap checkbox-index--van-checkbox__icon-wrap">
+                <view is="miniprogram_npm/@vant/weapp/icon/index" class="van-checkbox__icon checkbox-index--van-checkbox__icon van-checkbox__icon--square checkbox-index--van-checkbox__icon--square" style="font-size:14px">
+                  <view class="van-icon icon-index--van-icon van-icon-success icon-index--van-icon-success sk-pseudo sk-pseudo-circle" style="font-size:0.8em;line-height: 1.25em;"></view>
+                </view>
+              </view>
+              <view class=" van-checkbox__label checkbox-index--van-checkbox__label van-checkbox__label--right checkbox-index--van-checkbox__label--right"></view>
+            </view>
+          </view>
+          <view class="main" style="padding-left: 5px;">
+            <view class="title line-1 sk-transparent sk-text-15-0000-356 sk-text">抬头:测试购物车开票</view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-215 sk-text">
+              开户行/账号:农行/912389182319289
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-632 sk-text">
+              开票地址测试购物车开票
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-774 sk-text">
+              统一社会信用代码:000303030
+            </view>
+            <view class="subfield line-1 sk-transparent sk-text-14-7059-492 sk-text">
+              联系电话:15067330987
+            </view>
+          </view>
+        </navigator>
+        <view style="height: 65px;"></view>
+        <view class="ListBox-index--safety"></view>
+      </scroll-view>
+    </view>
+    <view class="footer">
+      <view class="count sk-transparent sk-text-14-2857-123 sk-text">
+        已选:0
+      </view>
+      <view is="miniprogram_npm/@vant/weapp/button/index">
+        <button app-parameter="true" business-id="true" class="but van-button button-index--van-button van-button--default button-index--van-button--default van-button--normal button-index--van-button--normal van-button--disabled button-index--van-button--disabled van-button--unclickable button-index--van-button--unclickable sk-button sk-pseudo sk-pseudo-circle"
+          data-detail="null" form-type="true" hover-class="true" lang="true" open-type="true" send-message-img="true" send-message-path="true" send-message-title="true" session-from="true" style="true">
+          <view class="van-button__text button-index--van-button__text sk-transparent sk-text-15-0000-893 sk-text" style="background-position-x: 50%;">确定</view>
+        </button>
+      </view>
+    </view>
+  </view>
+</template>

+ 115 - 0
select/finance/index.skeleton.wxss

@@ -0,0 +1,115 @@
+/*
+此文件为开发者工具生成,生成时间: 2023/1/4下午7:35:14
+
+在 E:\云链项目\e-wechat\select\finance\index.wxss 中引入样式
+```
+@import "./index.skeleton.wxss";
+```
+
+更多详细信息可以参考文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/skeleton.html
+*/
+.sk-transparent {
+    color: transparent !important;
+  }
+.sk-text-30-0000-931 {
+    background-image: linear-gradient(transparent 30.0000%, #EEEEEE 0%, #EEEEEE 70.0000%, transparent 0%) !important;
+    background-size: 100% 60.0000rpx;
+    position: relative !important;
+  }
+.sk-text {
+    background-origin: content-box !important;
+    background-clip: content-box !important;
+    background-color: transparent !important;
+    color: transparent !important;
+    background-repeat: repeat-y !important;
+  }
+.sk-text-15-0000-706 {
+    background-image: linear-gradient(transparent 15.0000%, #EEEEEE 0%, #EEEEEE 85.0000%, transparent 0%) !important;
+    background-size: 100% 40.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-817 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-644 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-631 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-227 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-15-0000-356 {
+    background-image: linear-gradient(transparent 15.0000%, #EEEEEE 0%, #EEEEEE 85.0000%, transparent 0%) !important;
+    background-size: 100% 40.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-215 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-632 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-774 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-7059-492 {
+    background-image: linear-gradient(transparent 14.7059%, #EEEEEE 0%, #EEEEEE 85.2941%, transparent 0%) !important;
+    background-size: 100% 34.0000rpx;
+    position: relative !important;
+  }
+.sk-text-14-2857-123 {
+    background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
+    background-size: 100% 39.2000rpx;
+    position: relative !important;
+  }
+.sk-text-15-0000-893 {
+    background-image: linear-gradient(transparent 15.0000%, #EEEEEE 0%, #EEEEEE 85.0000%, transparent 0%) !important;
+    background-size: 100% 40.0000rpx;
+    position: relative !important;
+  }
+.sk-button {
+    color: #EFEFEF !important;
+    background: #EFEFEF !important;
+    border: none !important;
+    box-shadow: none !important;
+  }
+.sk-pseudo::before, .sk-pseudo::after {
+      background: #EFEFEF !important;
+      background-image: none !important;
+      color: transparent !important;
+      border-color: transparent !important;
+    }
+.sk-pseudo-rect::before, .sk-pseudo-rect::after {
+      border-radius: 0 !important;
+    }
+.sk-pseudo-circle::before, .sk-pseudo-circle::after {
+      border-radius: 50% !important;
+    }
+.sk-image {
+    background: #EFEFEF !important;
+  }
+.sk-container {
+    position: absolute;
+    left: 0;
+    top: 0;
+    width: 100%;
+    height: 100%;
+    overflow: hidden;
+    background-color: transparent;
+  }

+ 46 - 0
select/finance/index.wxml

@@ -0,0 +1,46 @@
+<import src="index.skeleton.wxml" />
+<template is="skeleton" wx:if="{{loading}}" />
+
+<van-search class="search" value="{{ params.content.where.condition }}" shape="round" placeholder="请输入搜索关键词" bind:search='startSearch' bind:clear='onClear' />
+<view class="total">共{{params.content.total}}个</view>
+
+<Yl_ListBox id='ListBox' bind:getlist='getList'>
+	<navigator class="item" url="#" wx:for="{{list}}" wx:key="item.itemno" data-id="{{item[idname]}}" bindtap="changeResult">
+		<van-checkbox wx:if="{{!radio}}" value="{{ handle.isCheck(item[idname],result) }}" shape="square" icon-size='28rpx' />
+		<view class="main" style="padding-left: {{!radio?'10rpx':''}};">
+			<view class="title line-1">抬头:{{item.enterprisename}}</view>
+			<view class="subfield line-1">
+				开户行/账号:{{item.bank || ' --'}}/{{item.bankcardno || ' --'}}
+			</view>
+			<view class="subfield line-1">
+				开票地址{{item.address || " --"}}
+			</view>
+			<view class="subfield line-1">
+				统一社会信用代码:{{item.taxno || " --"}}
+			</view>
+			<view class="subfield line-1">
+				联系电话:{{item.phonenumber || " --"}}
+			</view>
+		</view>
+	</navigator>
+	<view wx:if="{{!radio}}" style="height: 130rpx;" />
+	<Yl_Empty wx:if="{{list.length==0}}" />
+</Yl_ListBox>
+
+<block wx:if="{{!radio}}">
+	<view class="footer">
+		<view class="count">
+			已选:{{result.length}}
+		</view>
+		<van-button custom-class='but' disabled='{{result.length==0}}' bind:click="submit">确定</van-button>
+	</view>
+	<wxs module="handle">
+		module.exports = {
+			isCheck: function (id, list) {
+				return list.some(function (v) {
+					return v == id
+				});
+			},
+		}
+	</wxs>
+</block>