commit 5706d00d5d74b3ec3050fb03275cd91b2340abb6
Author: zhang_li <2235006734@qqq.com>
Date: Wed Mar 27 17:27:36 2024 +0800
first commit
diff --git a/App.vue b/App.vue
new file mode 100644
index 0000000..01203cc
--- /dev/null
+++ b/App.vue
@@ -0,0 +1,70 @@
+
+
\ No newline at end of file
diff --git a/api/http.ts b/api/http.ts
new file mode 100644
index 0000000..a3f62b7
--- /dev/null
+++ b/api/http.ts
@@ -0,0 +1,114 @@
+import axios from 'axios'
+
+import { getFullURL } from '@/utils/http'
+import { getAccessToken, removeToken } from '@/utils/auth'
+
+const instance = axios.create({
+ baseURL: import.meta.env.VITE_BASE_URL,
+ adapter(config) {
+ const { url, method, data, params, headers, baseURL, paramsSerializer } =
+ config
+ return new Promise((resolve, reject) => {
+ uni.request({
+ method: method!.toUpperCase() as any,
+ url: getFullURL(baseURL || '', url!, params, paramsSerializer),
+ header: headers,
+ data,
+ dataType: 'json',
+ responseType: config.responseType,
+ success: (res : any) => {
+ resolve(res)
+ },
+ fail: (error : any) => {
+ reject(error)
+ }
+ })
+ })
+ }
+})
+
+
+/**
+ * 请求拦截
+ */
+instance.interceptors.request.use((config) => {
+ const { method, params, url } = config
+ // 附带鉴权的token
+ const tenantId = 1
+ const headers : any = {
+ token: getAccessToken(),
+ "tenant-id":tenantId,
+ 'Authorization': 'Bearer ' + getAccessToken()
+ }
+ if (uni.getStorageSync('openId')) {
+ headers['openId'] = uni.getStorageSync('openId')
+ }
+ // 不缓存get请求
+ if (method === 'get') {
+ headers['Cache-Control'] = 'no-cache'
+ }
+ // delete请求参数放入body中
+ if (method === 'delete') {
+ headers['Content-type'] = 'application/json;'
+ Object.assign(config, {
+ data: params,
+ params: {}
+ })
+ }
+
+ return {
+ ...config,
+ headers
+ }
+})
+
+/**
+ * 响应拦截
+ */
+instance.interceptors.response.use((v) => {
+ const code = v.data?.code || 200
+ if (code === 401) {
+ // alert('即将跳转登录页。。。', '登录过期')
+ // setTimeout(redirectHome, 1500)
+ removeToken()
+ uni.showModal({
+ title: '系统提示',
+ content: '登录状态已过期,您可以继续留在该页面,或者重新登录',
+ cancelText: '关闭',
+ confirmText: '重新登录',
+ success: function (res) {
+ if (res.confirm) {
+ uni.reLaunch({ url: '/pages/login' })
+ }
+ }
+ })
+ return v.data
+ } else if (code === 500) {
+ uni.showToast({
+ title: v.data.msg,
+ icon: 'none'
+ })
+ return v.data
+ } else if (code !== 200) {
+ uni.showToast({
+ title: v.data.msg,
+ icon: 'none'
+ })
+ return v.data
+ }
+
+ // @ts-ignore
+ if ((v.status || v.statusCode) === 200) {
+ return v.data
+ }else{
+
+ }
+ return Promise.reject(v)
+},error=>{
+ console.log(error)
+ uni.showToast({
+ title: '网络错误',
+ icon: 'none'
+ })
+})
+export default instance
\ No newline at end of file
diff --git a/api/login.js b/api/login.js
new file mode 100644
index 0000000..cdae309
--- /dev/null
+++ b/api/login.js
@@ -0,0 +1,41 @@
+import http from './http'
+
+// 登录方法
+export function login(username, password, captchaVerification, tenantName, rememberMe, code, uuid) {
+ const data = {
+ username,
+ password,
+ captchaVerification,
+ tenantName,
+ rememberMe,
+ code,
+ uuid,
+ }
+ return http.post('/system/auth/login', data)
+}
+
+// 获取用户详细信息
+export function getInfo() {
+ return http.get('/system/user/profile/get')
+}
+// 获取权限
+export function getPermissionInfo() {
+ return http.get('/system/auth/get-permission-info')
+}
+// 退出方法
+export function logout() {
+ return http.post('/system/auth/logout')
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/api/request2.js b/api/request2.js
new file mode 100644
index 0000000..aaf6fb8
--- /dev/null
+++ b/api/request2.js
@@ -0,0 +1,2330 @@
+
+import http from './http'
+/**
+ * 获取验证码
+ * @param {*}
+ */
+export function getCaptchaImage(params) {
+ return http.get('/system/captcha/captchaImage',{params})
+}
+/**
+ * 登录方法
+ */
+export function login(username, password, code, uuid) {
+ const data = {
+ username,
+ password,
+ code,
+ uuid,
+ }
+ return http.post('/system/auth/login', data)
+}
+
+
+/**
+ * 退出
+ */
+export function logout(data) {
+ return http.post('/system/auth/logout',data)
+}
+/**
+ * 获取登录用户的权限信息
+ */
+export function getPermissionInfo() {
+ return http.get('/system/auth/get-permission-info')
+}
+/**
+ * 获取租户信息
+ */
+export function getTenantInfo(name) {
+ const params = {
+ name: name,
+ pageNo: 1,
+ pageSize: 100,
+ }
+ return http.get('/system/tenant/page',params)
+}
+
+
+/**
+ * 获取登录用户信息
+ */
+export function getUserProfile() {
+ return http.get('/system/user/profile/get')
+}
+/**
+ * 修改个人用户密码
+ */
+export function updateUserPwd(oldPassword, newPassword) {
+ const data = {
+ oldPassword,
+ newPassword
+ }
+ return http.put('/system/user/profile/update-password',data)
+}
+/**
+ * 获取仓库代码
+ * @param {*}
+ *
+ */
+export function getWarehouseCodeList(pageNo, pageSize) {
+ return http.get("/wms/warehouse/page?pageNo=" + pageNo + "&pageSize=" + pageSize)
+}
+//获取产品标签信息inventorylabel
+export function getInventoryLabel(code) {
+ return http.get("/api/pda/label/inventorylabel/by-code?code=" + code)
+}
+/**
+ * 获取消息列表
+ * @param {*}
+ *
+ */
+export function getMessageList(pageNo, pageSize) {
+ return http.get("/system/notify-message/my-page?pageNo=" + pageNo + "&pageSize=" + pageSize)
+}
+/**
+ * 标记站内信为已读
+ * @param {*}
+ *
+ */
+export function setMessageUpdateRead(ids) {
+ return http.put("/system/notify-message/update-read?ids=" + ids)
+}
+/**
+ * 标记所有站内信为已读
+ * @param {*}
+ *
+ */
+export function setAllMessageUpdateRead() {
+ return http.put("/system/notify-message/update-all-read")
+}
+/**
+ * 获取当前用户的未读站内信数量
+ * @param {*}
+ *
+ */
+export function getMessageUnreadCount() {
+ return http.get("/system/notify-message/get-unread-count")
+}
+
+
+/**
+ * 获取配置字典
+ * @param {*}
+ *
+ */
+export function getDictionaryItem(data) {
+ return http.post("/system/dict-type/getDictByTypes",data)
+}
+
+/**
+ * 查询 客户信息
+ * @param {*} 物品代码
+ *
+ */
+export function getBasicCustomerList() {
+ return http.get("/wms/customer/list")
+}
+/**
+ * 根据业务代码查询业务类型
+ * @param {*} Code
+ *
+ */
+export function getBusinesstypeByCode(code) {
+ var params = {
+ code: code,
+ pageNo: 1,
+ pageSize: 100
+ }
+ return http.get("/wms/customer/list",{params})
+}
+/**
+ * 按物料代码查询库存明细
+ * @param {*} itemCode
+ *
+ */
+export function getBalanceByItemCode(params) {
+ return http.get("/wms/balance/page",{params})
+}
+/**
+ * 按物品查询预计入
+ * @param {*} itemCode
+ *
+ */
+
+export function getExpectinByItemcode(params) {
+ return http.get("/wms/expectin/page",{params})
+}
+/**
+ * 按物品查询预计出
+ * @param {*} itemCode
+ *
+ */
+
+export function getExpectoutByItemcode(params) {
+ return http.get("/wms/expectout/page",{params})
+}
+/**
+ * 按库位查询库存汇总
+ * @param {*}
+ *
+ */
+export function getBalanceByLocationcodeGroup(params) {
+ return http.get("/wms/balance/page",{params})
+}
+/**
+ * 按库位查询库存明细
+ * @param {*}
+ */
+export function getBalanceByLocationcode(params) {
+ return http.get("/wms/balance/page",{params})
+}
+/**
+ * 查询器具信息接口
+ * @param {*} number 器具代码
+ */
+export function getContainerByNumber(number) {
+ var params = {
+ number: number,
+ pageNo: 1,
+ pageSize: 100
+ }
+ return http.get("/wms/container-main/page",{params})
+}
+
+/**
+ * 查询器具信息接口
+ * @param {*} number 器具代码
+ */
+export function getContainerDetailByNumber(number) {
+ return http.get("/wms/container-main/getContainerByNumber?number=" + number)
+}
+
+/**
+ * 按器具查询库存明细
+ * @param {*器具代码}
+ *
+ */
+export function getBalanceByContainerNumberGroup(number) {
+ return http.get("/wms/balance/page")
+}
+/**
+ * 按器具查询库存明细(无器具)
+ * @param {*器具代码}
+ *
+ */
+export function getBalanceByContainerNumber(params) {
+ return http.get("/wms/balance/page",{params})
+}
+/**标签
+ *
+ * @param {*} header version
+ * 获取标签设置信息
+ */
+export function getLabelByHeader(header, version) {
+ var params = {
+ header: header,
+ version: version,
+ }
+ return http.get("/wms/labeltype/getDetailsByHeader",{params})
+}
+/**包装
+ * 获取包装信息
+ * @param {*}
+ *
+ */
+export function getPackageByNumber(number) {
+ var params = {
+ number: number,
+ pageNo: 1,
+ pageSize: 100
+ }
+ return http.get("/wms/package/page",{params})
+}
+
+
+/**
+ * 查询库位信息接口
+ * @param {*} code 库位代码
+ *
+ */
+export function getBasicLocationByCode(code) {
+ var parmas = {
+ code: code,
+ pageNo: 1,
+ pageSize: 100
+ }
+ return http.get("/wms/location/page",{params})
+}
+
+/**
+ * 校验库位物料关系
+ * @param {*}
+ *
+ */
+export function validateItemAndLocation(data) {
+ return http.post("/wms/location/validate",data)
+}
+
+/**
+ * 查询上架推荐库位
+ * @param {*}
+ * supplierCode
+ * itemCode
+ * batch
+ * inventoryStatus
+ */
+
+
+export function getPutawayRecommendLocation(data) {
+ return http.post("/wms/location/recommendLocation",data)
+}
+
+/**
+ * 查询物品信息接口
+ * @param {*} code 物品代码
+ *
+ */
+export function getBasicItemByCode(itemCode) {
+ var params = {
+ code: itemCode,
+ pageNo: 1,
+ pageSize: 100
+ }
+ return http.get("/wms/itembasic/page",{params})
+}
+/**
+ * 按物品查询库存汇总
+ * @param {*} itemCode
+ * /wms/balance/summary
+ */
+export function getBalanceSummary(params) {
+ return http.get("/wms/balance/summary",{params})
+}
+/**
+ * 查询包装信息接口
+ * @param {*} itemCode 物品代码
+ *
+ */
+export function getItempackagingByItemcode(itemCode) {
+ return http.get("/wms/itempackaging/page?itemCode=" + itemCode)
+}
+/**
+ * 查询生产线物料关系
+ * @param {*} productionLineCode 生产线code
+ *
+ */
+export function getProductionlineItem(params) {
+ return http.get("/wms/productionlineitem/page" , {params})
+}
+/**
+ * 查询生产线-车间-工位
+ * @param {*}
+ *
+ */
+export function getWorkShopLineStation() {
+ return http.get("/wms/issue-request-main/get-workshop-productionline-workstation" )
+}
+/**
+ * 查询客户物品
+ */
+
+export function getCustomerItemList(params) {
+ return http.post("/wms/customeritem/senior",params)
+}
+
+/**
+ * 供应商发货
+ *
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getSupplierDeliverRecordList(params) {
+ return http.post("/wms/supplierdeliver-record-main/senior",params)
+}
+/**
+ * 供应商发货 详情
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getSupplierDeliverRecordDetail(id) {
+ return http.get("/wms/supplierdeliver-record-main/getSupplierdeliverRecordById?id=" + id)
+}
+
+/**
+ * 报检单查询 = request_inspect
+ * 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getInspectRequestList(params) {
+ return http.post("/wms/inspect-request-main/senior",params)
+}
+/**
+ * 检验单查询 详情
+ * 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getInspectRequestDetail(id) {
+ return http.get("/wms/inspect-request-main/getInspectRequestById?id=" + id)
+}
+/**
+ * 检验单申请 关闭任务
+ * @param {*} params
+ */
+export function inspectRequestClose(id) {
+ return http.put("/wms/inspect-request-main/close?id=" + id)
+}
+/**
+ * 检验单申请 提交审批
+ * @param {*} params
+ */
+export function inspectRequestApprove(id) {
+ return http.put("/wms/inspect-request-main/submit?id=" + id)
+}
+/**
+ * 检验单申请 提交审批通过
+ * @param {*} params
+ */
+
+export function inspectRequestApproveAgree(id) {
+ return http.put("/wms/inspect-request-main/agree?id=" + id)
+}
+/**
+ * 检验单申请 审批驳回
+ * @param {*} params
+ */
+export function inspectRequestApproveRefused(id) {
+ return http.put("/wms/inspect-request-main/refused?id=" + id)
+}
+/**
+ * 检验单申请 处理
+ * @param {*} params
+ */
+export function inspectRequestHandle(id) {
+ return http.put("/wms/inspect-request-main/handle?id=" + id)
+}
+/**
+ * 检验单申请 重新添加
+ * @param {*} params
+ */
+export function inspectRequestAddAgain(id) {
+ return http.put("/wms/inspect-request-main/reAdd?id=" + id)
+}
+/**
+ * 采购收货 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getPurchaseReceiptJobList(params) {
+ return http.post("/wms/purchasereceipt-job-main/senior" ,params)
+}
+/**
+ * 采购收货 任务承接
+ * @param {*} id
+ *
+ */
+export function takePurchaseReceiptJob(id) {
+ return http.put("/wms/purchasereceipt-job-main/accept?id=" + id)
+}
+/**
+ * 采购收货 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakePurchaseReceiptJob(id) {
+ return http.put("/wms/purchasereceipt-job-main/abandon?id=" + id)
+}
+/**
+ * 采购收货 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getPurchaseReceiptJobDetail(id) {
+ return http.get("/wms/purchasereceipt-job-main/getPurchasereceiptJobyId?id=" + id)
+}
+/**
+ * 采购收货 任务提交
+ * @param {*} 任务id
+ *
+ */
+export function purchaseReceiptJobSubmit(params) {
+ return http.put("/wms/purchasereceipt-job-main/execute" ,params)
+}
+
+/**
+ * 采购退货
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * 获取任务明细
+ */
+export function getPurchaseReturnJobList(params) {
+ return http.post("/wms/purchasereturn-job-main/senior" ,params)
+}
+/**
+ * 采购退货 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+
+export function getPurchasereturnJobDetail(id) {
+ return http.get("/wms/purchasereturn-job-main/getReturnJobById?id=" + id)
+}
+/**
+ * 采购退货 承接任务
+ * @param {*} id
+ *
+ */
+export function takePurchasereturnJob(id) {
+ return http.put("/wms/purchasereturn-job-main/accept?id=" + id)
+}
+/**
+ * 采购退货 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakePurchasereturnJob(id) {
+ return http.put("/wms/purchasereturn-job-main/abandon?id=" + id)
+}
+/**
+ * 采购退货 任务提交
+ * @param {*} params
+ */
+export function purchaseReturnJobsubmit(params) {
+ return http.put("/wms/purchasereturn-job-main/execute" ,params)
+}
+/**
+ * 采购退货 申请列表
+ * 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getPurchaseReturnRequestList(params) {
+ return http.post("/wms/purchasereturn-request-main/senior" ,params)
+}
+/**
+ * 采购退货 获取申请任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getPurchaseReturnRequestDetail(id) {
+ return http.get("/wms/purchasereturn-request-main/getPurchasereturnRequestById?id=" + id)
+}
+/**
+ * 采购退货申请 关闭任务
+ * @param {*} params
+ */
+export function purchaseReturnRequestClose(id) {
+ return http.put("/wms/purchasereturn-request-main/close?id=" + id)
+}
+/**
+ * 采购退货申请 提交审批
+ * @param {*} params
+ */
+export function purchaseReturnRequestApprove(id) {
+ return http.put("/wms/purchasereturn-request-main/submit?id=" + id)
+}
+/**
+ * 采购退货申请 提交审批通过
+ * @param {*} params
+ */
+export function purchaseReturnRequestApproveAgree(id) {
+ return http.put("/wms/purchasereturn-request-main/agree?id=" + id)
+}
+/**
+ * 采购退货申请 审批驳回
+ * @param {*} params
+ */
+export function purchaseReturnRequestApproveRefused(id) {
+ return http.put("/wms/purchasereturn-request-main/refused?id=" + id)
+}
+/**
+ * 采购退货申请 处理
+ * @param {*} params
+ */
+export function purchaseReturnRequestHandle(id) {
+ return http.put("/wms/purchasereturn-request-main/handle?id=" + id)
+}
+/**
+ * 采购退货申请 重新添加
+ * @param {*} params
+ */
+export function purchaseReturnRequestAddAgain(id) {
+ return http.put("/wms/purchasereturn-request-main/reAdd?id=" + id)
+}
+
+
+/**
+ * 采购退货申请 提交
+ * @param {*} params
+ */
+export function purchaseReturnRequestCreate(params) {
+ return http.post("/wms/purchasereturn-request-main/create" ,params)
+}
+
+/**
+ * 采购退货 记录提交
+ * @param {*} params
+ */
+export function purchaseReturnRecordSubmit(params) {
+ return http.post("/wms/purchasereturn-record-main/create" ,params)
+}
+
+
+/**
+ * 到货检验 任务
+ *
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getInspectJobList(params) {
+ return http.post("/wms/inspect-job-main/senior" ,params)
+}
+/**
+ * 到货检验 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getInspectJobDetail(id) {
+ return http.get("/wms/inspect-job-main/getInspectJobById?id=" + id)
+}
+/**
+ * 到货检验 任务承接
+ * @param {*} id
+ *
+ */
+export function takeInspectJob(id) {
+ return http.put("/wms/inspect-job-main/accept?id=" + id)
+}
+/**
+ * 到货检验 放弃承接
+ * @param {*} id
+ *
+ */
+
+export function cancleTakeInspectJob(id) {
+ return http.put("/wms/inspect-job-main/abandon?id=" + id)
+}
+/**
+ * 到货检验 任务提交
+ * @param {*} 任务id
+ *
+ */
+export function inspectJobSubmit(params) {
+ return http.put("/wms/inspect-job-main/execute",params)
+}
+//根据检验记录单号创建上架申请
+export function createPutAwayRequest(number) {
+ return http.post("/wms/inspect-record-main/createPutAwayRequest?number=" + number)
+}
+
+/**
+ * 采购上架 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getPutawayJobList(params) {
+ return http.post("/wms/putaway-job-main/senior" ,params)
+}
+/**
+ * 采购上架 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getPutawayJobDetail(id) {
+ return http.get("/wms/putaway-job-main/getPutawayJobById?id=" + id)
+}
+/**
+ * 采购上架 承接任务
+ * @param {*} id
+ *
+ */
+export function takePutawayJob(id) {
+ return http.put("/wms/putaway-job-main/accept?id=" + id)
+}
+/**
+ * 采购上架 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakePutawayJob(id) {
+ return http.put("/wms/putaway-job-main/abandon?id=" + id)
+}
+/**
+ * 采购上架 任务提交
+ * @param {*} params
+ */
+export function putawayJobSubmit(params) {
+ return http.put("/wms/putaway-job-main/execute" + params)
+}
+/**
+ * 采购上架申请 获取任务列表
+ * 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getPutawayRequestList(params) {
+ return http.post("/wms/putaway-request-main/senior" + params)
+}
+/**
+ * 采购上架申请 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getPutawayRequestDetail(id) {
+ return http.get("/wms/putaway-request-main/getPutawayRequestById?id=" + id)
+}
+/**
+ * 采购上架申请 提交
+ * @param {*} params
+ */
+export function putawayRequestSubmit(params) {
+ return http.post("/wms/putaway-request-main/create",params)
+}
+/**
+ * 采购上架申请 关闭任务
+ * @param {*} params
+ */
+export function putawayRequestClose(id) {
+ return http.put("/wms/putaway-request-main/close?id=" + id)
+}
+/**
+ * 采购上架申请 提交审批
+ * @param {*} params
+ */
+export function putawayRequestApprove(id) {
+ return http.put("/wms/putaway-request-main/submit?id=" + id)
+}
+/**
+ * 采购上架申请 提交审批通过
+ * @param {*} params
+ */
+export function putawayRequestApproveAgree(id) {
+ return http.put("/wms/putaway-request-main/agree?id=" + id)
+}
+/**
+ * 采购上架申请 审批驳回
+ * @param {*} params
+ */
+export function putawayRequestApproveRefused(id) {
+ return http.put("/wms/putaway-request-main/refused?id=" + id)
+}
+/**
+ * 采购上架申请 处理
+ * @param {*} params
+ */
+export function putawayRequestHandle(id) {
+ return http.put("/wms/putaway-request-main/handle?id=" + id)
+}
+/**
+ * 采购上架申请 重新添加
+ * @param {*} params
+ */
+export function putawayRequestAddAgain(id) {
+ return http.put("/wms/putaway-request-main/reAdd?id=" + id)
+}
+
+
+/**
+ * 采购上架记录 提交
+ * @param {*} params
+ */
+export function putawayRecordSubmit(params) {
+ return http.post("/wms/putaway-record-main/create",params)
+}
+/**
+ * 发料任务 列表
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getIssueJobList(params) {
+ return http.post("/wms/issue-job-main/senior",params)
+}
+/**
+ * 发料任务明细
+ * @param {*} 任务id
+ *
+ */
+export function getIssueJobDetail(id) {
+ return http.get( "/wms/issue-job-main/getIssueJobById?id=" + id)
+}
+
+/**
+ * 获取推荐明细接口
+ * @param {*} 任务id
+ * /wms/issue-request-main
+ */
+export function getBalanceByBatchOffShelf(itemCode, qty) {
+ return http.get("/wms/issue-request-main/getBalanceByBatchOffShelf?itemCode=" + itemCode + "&&qty=" + qty)
+}
+
+/**
+ * 发料 任务承接
+ * @param {*} id
+ *
+ */
+export function takeIssueJob(id) {
+ return http.put("/wms/issue-job-main/accept?id=" + id)
+}
+
+/**
+ * 发料 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeIssueJob(id) {
+ return http.put("/wms/issue-job-main/abandon?id=" + id)
+}
+/**
+ * 发料任务 提交
+ * @param {*} params
+ */
+export function issueJobSubmit(params) {
+ return http.put("/wms/issue-job-main/execute",params)
+}
+
+/**
+ * 生产收料 任务列表
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getProductionReceiptJobList(params) {
+ return http.post("/wms/productionreceipt-job-main/senior",params)
+}
+/**
+ * 生产收料 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getProductionReceiptJobDetail(id) {
+ return http.get( "/wms/productionreceipt-job-main/getProductionreceiptJobById?id=" + id)
+}
+/**
+ * 生产收料 任务承接
+ * @param {*} id
+ *
+ */
+export function takeProductionReceiptJob(id) {
+ return http.put( "/wms/productionreceipt-job-main/accept?id=" + id)
+}
+/**
+ * 生产收料 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeProductionReceiptJob(id) {
+ return http.put( "/wms/productionreceipt-job-main/abandon?id=" + id)
+}
+
+/**
+ * 生产收料任务 提交
+ * @param {*} params
+ */
+export function productionReceiptJobSubmit(params) {
+ return http.put( "/wms/productionreceipt-job-main/execute",params)
+}
+/**
+ * 生产收料记录 提交
+ * @param {*} params
+ */
+export function productionReceiptRecordSubmit(params) {
+ return http.post( "/wms/productreceipt-record-main/create",params)
+}
+
+
+/**
+ * 库存转移 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getInventoryMoveJobList(params) {
+ return http.post( "/wms/inventorymove-job-main/senior",params)
+}
+/**
+ * 库存转移 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+
+export function getInventoryMoveJobDetail(id) {
+ return http.get("/wms/inventorymove-job-main/getInventorymoveJobById?id=" + id)
+}
+/**
+ * 库存转移任务 任务承接
+ * @param {*} id
+ *
+ */
+export function takeInventoryMoveJob(id) {
+ return http.put("/wms/inventorymove-job-main/accept?id=" + id)
+}
+/**
+ * 库存转移任务 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeInventoryMoveJob(id) {
+ return http.put("/wms/inventorymove-job-main/abandon?id=" + id)
+}
+
+/**
+ * 库存转移 任务提交
+ * @param {*} 任务id
+ *
+ */
+export function inventoryMoveSubmit(params) {
+ return http.put("/wms/inventorymove-job-main/execute" ,params)
+}
+/**
+ * 库存转移记录 提交
+ * @param {*} 任务id
+ *
+ */
+export function inventoryMoveRecordSubmit(params) {
+ return http.post("/wms/inventorymove-record-main/create" ,params)
+}
+/**
+ * 盘点 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getCountJobList(params) {
+ return http.post("/wms/count-job-main/senior" ,params)
+}
+/**
+ * 盘点 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getCountJobDetail(id) {
+ return http.get("/wms/count-job-main/getCountJobById?id=" + id)
+}
+/**
+ * 盘点任务 任务承接
+ * @param {*} id
+ *
+ */
+export function takeCountJob(id) {
+ return http.put( "/wms/count-job-main/accept?id=" + id)
+}
+/**
+ * 盘点任务 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeCountJob(id) {
+ return http.put("/wms/count-job-main/abandon?id=" + id)
+}
+/**
+ * 盘点任务 提交
+ * @param {*} 任务id
+ *
+ */
+export function countJobSubmit(params) {
+ return http.put("/wms/count-job-main/execute", params)
+}
+/**
+ * 计划外入库 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取任务列表
+ * @param {*}
+ */
+export function getUnPlannedReceiptJobList(params) {
+ return http.post("/wms/unplannedreceipt-job-main/senior", params)
+}
+/**
+ * 计划外入库 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getUnPlannedReceiptJobDetail(id) {
+ return http.get("/wms/unplannedreceipt-job-main/getUnplannedreceiptJobById?id=" + id)
+}
+
+/**
+ * 计划外入库任务 任务承接
+ * @param {*} id
+ *
+ */
+export function takeUnPlannedReceiptJob(id) {
+ return http.put("/wms/unplannedreceipt-job-main/accept?id=" + id)
+}
+/**
+ * 计划外入库 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeUnPlannedReceiptJob(id) {
+ return http.put("/wms/unplannedreceipt-job-main/abandon?id=" + id)
+}
+/**
+ * 计划外入库任务 提交
+ * @param {*} params
+ */
+export function unPlannedReceiptJobSubmit(params) {
+ return http.put("/wms/unplannedreceipt-job-main/execute",params)
+}
+/**
+ * 计划外入库申请 创建
+ * @param {*} params
+ */
+export function unPlannedReceiptRequestCreate(params) {
+ return http.post("/wms/unplannedreceipt-request-main/create",params)
+}
+/**
+ * 计划外入库申请 提交审批
+ * @param {*} params
+ */
+export function unPlannedReceiptRequestApprove(id) {
+ return http.put("/wms/unplannedreceipt-request-main/submit?id=" + id)
+}
+/**
+ * 计划外入库申请 关闭
+ * @param {*} params
+ */
+export function unPlannedReceiptRequestClose(id) {
+ return http.put("/wms/unplannedreceipt-request-main/close?id=" + id)
+}
+/**
+ * 计划外入库申请 审批通过
+ * @param {*} params
+ */
+export function unPlannedReceiptRequestApproveAgree(id) {
+ return http.put("/wms/unplannedreceipt-request-main/agree?id=" + id)
+}
+/**
+ * 计划外入库申请 审批驳回
+ * @param {*} params
+ */
+export function unPlannedReceiptRequestApproveRefused(id) {
+ return http.put("/wms/unplannedreceipt-request-main/refused?id=" + id)
+}
+/**
+ * 计划外入库申请 处理
+ * @param {*} params
+ */
+export function unPlannedReceiptRequestHandle(id) {
+ return http.put("/wms/unplannedreceipt-request-main/handle?id=" + id)
+}
+/**
+ * 计划外入库申请 重新添加
+ * @param {*} params
+ */
+export function unPlannedReceiptRequestAddAgain(id) {
+ return http.put("/wms/unplannedreceipt-request-main/reAdd?id=" + id)
+}
+/**
+ * 计划外入库记录 提交
+ * @param {*} params
+ */
+export function unPlannedReceiptRecordbSubmit(params) {
+ return http.post("/wms/unplannedreceipt-record-main/create",params)
+}
+/**
+ * 计划外出库 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取任务列表
+ * @param {*}
+ */
+export function getUnPlannedIssueJobList(params) {
+ return http.post("/wms/unplannedissue-job-main/senior",params)
+}
+/**
+ * 计划外出库 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+
+export function getUnPlannedIssueJobDetail(id) {
+ return http.get("/wms/unplannedissue-job-main/getUnplannedissueJobById?id=" + id)
+}
+/**
+ * 计划外出库任务 承接
+ * @param {*} id
+ *
+ */
+export function takeUnPlannedIssueJob(id) {
+ return http.put("/wms/unplannedissue-job-main/accept?id=" + id)
+}
+/**
+ * 计划外出库任务 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeUnPlannedIssueJob(id) {
+ return http.put("/wms/unplannedissue-job-main/abandon?id=" + id)
+}
+/**
+ * 计划外出库任务 提交
+ * @param {*} params
+ */
+
+export function unPlannedIssueJobSubmit(params) {
+ return http.put("/wms/unplannedissue-job-main/execute",params)
+}
+
+/**
+ * 计划外出库申请 提交
+ * @param {*} params
+ */
+export function unPlannedIssueRequestCreate(params) {
+ return http.post("/wms/unplannedissue-request-main/create",params)
+}
+/**
+ * 计划外出库申请 提交审批
+ * @param {*} params
+ */
+export function unPlannedIssueRequestApprove(id) {
+ return http.put( "/wms/unplannedissue-request-main/submit?id=" + id)
+}
+/**
+ * 计划外出库申请 关闭
+ * @param {*} params
+ */
+export function unPlannedIssueRequestClose(id) {
+ return http.put( "/wms/unplannedissue-request-main/close?id=" + id)
+}
+/**
+ * 计划外出库申请 审批通过
+ * @param {*} params
+ */
+export function unPlannedIssueRequestApproveAgree(id) {
+ return http.put( "/wms/unplannedissue-request-main/agree?id=" + id)
+}
+/**
+ * 计划外出库申请 审批驳回
+ * @param {*} params
+ */
+export function unPlannedIssueRequestApproveRefused(id) {
+ return http.put( "/wms/unplannedissue-request-main/refused?id=" + id)
+}
+/**
+ * 计划外出库申请 处理
+ * @param {*} params
+ */
+export function unPlannedIssueRequestHandle(id) {
+ return http.put("/wms/unplannedissue-request-main/handle?id=" + id)
+}
+/**
+ * 计划外出库申请 重新添加
+ * @param {*} params
+ */
+
+export function unPlannedIssueRequestAddAgain(id) {
+ return http.put("/wms/unplannedissue-request-main/reAdd?id=" + id)
+}
+
+/**
+ * 计划外出库记录 提交
+ * @param {*} params
+ */
+export function unPlannedIssueRecordSubmit(params) {
+ return http.post("/wms/unplannedissue-record-main/create",{params})
+}
+/**
+ * 制品收货 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getProductReceiptJobList(params) {
+ return http.post("/wms/productreceipt-job-main/senior",params)
+}
+/**
+ * 制品收货 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getProductReceiptJobDetail(id) {
+ return http.get("/wms/productreceipt-job-main/getProductreceiptJobById?id=" + id)
+}
+/**
+ * 制品收货任务 承接
+ * @param {*} id
+ *
+ */
+export function takeProductReceiptJob(id) {
+ return http.put("/wms/productreceipt-job-main/accept?id=" + id)
+}
+/**
+ * 制品收货任务 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeProductReceiptJob(id) {
+ return http.put("/wms/productreceipt-job-main/abandon?id=" + id)
+}
+/**
+ * 制品收货任务 提交
+ * @param {*} params
+ */
+export function productReceiptJobsubmit(params) {
+ return http.put("/wms/productreceipt-job-main/execute",params)
+}
+/**
+ * 制品收货记录 提交
+ * @param {*} params
+ */
+
+export function productReceiptRecordsubmit(params) {
+ return http.post("/wms/productreceipt-record-main/create",params)
+}
+
+
+/**
+ * 制品上架 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getProductPutawayJobList(params) {
+ return http.post("/wms/productputaway-job-main/senior",params)
+}
+
+/**
+ * 制品上架 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getProductPutawayJobDetail(id) {
+ return http.get("/wms/productputaway-job-main/getProductputawayJobById?id=" + id)
+}
+/**
+ * 制品上架任务 承接
+ * @param {*} id
+ *
+ */
+
+export function takeProductPutawayJob(id) {
+ return http.put("/wms/productputaway-job-main/accept?id=" + id)
+}
+/**
+ * 制品上架任务 放弃承接
+ * @param {*} id
+ *
+ */
+
+export function cancleTakeProductPutawayJob(id) {
+ return http.put("/wms/productputaway-job-main/abandon?id=" + id)
+}
+
+/**
+ * 制品上架任务 提交
+ * @param {*} 任务id
+ *
+ */
+export function productPutawayJobSubmit(params) {
+ return http.put("/wms/productputaway-job-main/execute",params)
+}
+
+/**
+ * 制品上架记录 提交
+ * @param {*} 任务id
+ *
+ */
+
+export function productPutawayRecordSubmit(params) {
+ return http.put("/wms/productputaway-record-main/create",params)
+}
+
+/**
+ * 制品拆解 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+
+export function getProductDismantleJobList(params) {
+ return http.post("/wms/productdismantle-job-main/senior",params)
+}
+/**
+ * 制品拆解 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getProductDismantleJobDetail(id) {
+ return http.get("/wms/productdismantle-job-main/getProductdismantleJobById?id=" + id)
+}
+/**
+ * 制品拆解 任务承接
+ * @param {*} id
+ *
+ */
+export function takeProductDismantleJob(id) {
+ return http.put("/wms/purchasereceipt-job-main/accept?id=" + id)
+}
+/**
+ * 制品拆解 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeProductDismantleJob(id) {
+ return http.put("/wms/purchasereceipt-job-main/abandon?id=" + id)
+}
+/**
+ * 制品拆解 任务提交
+ * @param {*} 任务id
+ *
+ */
+export function productDismantleJobSubmit() {
+ return http.put("/wms/purchasereceipt-job-main/abandon",{})
+}
+/**
+ * 制品拆解 任务提交
+ * @param {*} 任务id
+ *
+ */
+export function productDismantleRecordSubmit(params) {
+ return http.put("/wms/purchasereceipt-job-main/abandon",params)
+}
+/**
+ * 制品发货 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getDeliverJobList(params) {
+ return http.post("/wms/deliver-job-main/senior",params)
+}
+/**
+/**
+ * 制品发货 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getDeliverDetail(id) {
+ return http.get("/wms/deliver-job-main/getDeliverJobById?id=" + id)
+}
+/**
+ * 制品发货任务 承接
+ * @param {*} id
+ *
+ */
+export function takeDeliverJob(id) {
+ return http.put("/wms/deliver-job-main/accept?id=" + id)
+}
+/**
+ * 制品发货任务 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeDeliverJob(id) {
+ return http.put("/wms/deliver-job-main/abandon?id=" + id)
+}
+
+/**
+ * 制品发货 任务提交
+ * @param {*} 任务id
+ *
+ */
+
+export function deliverJobSubmit(params) {
+ return http.put("/wms/deliver-job-main/execute" ,params)
+}
+
+/**
+ * 制品发货申请
+ * 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getDeliverRequestList(params) {
+ return http.post("/wms/deliver-request-main/senior" ,params)
+}
+/**
+ * 制品发货申请 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getDeliverRequestDetail(id) {
+ return http.get("/wms/deliver-request-main/getDeliverRequestById?id=" + id)
+}
+/**
+ * 制品发货申请 提交
+ * @param {*} params
+ */
+export function deliverRequestSubmit(params) {
+ return http.post("/wms/deliver-request-main/create",params)
+}
+/**
+ * 制品发货申请 关闭任务
+ * @param {*} params
+ */
+export function deliverRequestClose(id) {
+ return http.put("/wms/deliver-request-main/close?id=" + id)
+}
+/**
+ * 制品发货申请 提交审批
+ * @param {*} params
+ */
+export function deliverRequestApprove(id) {
+ return http.put("/wms/deliver-request-main/submit?id=" + id)
+}
+/**
+ * 制品发货申请 提交审批通过
+ * @param {*} params
+ */
+export function deliverRequestApproveAgree(id) {
+ return http.put("/wms/deliver-request-main/agree?id=" + id)
+}
+/**
+/**
+ * 制品发货申请 审批驳回
+ * @param {*} params
+ */
+export function deliverRequestApproveRefused(id) {
+ return http.put("/wms/deliver-request-main/refused?id=" + id)
+}
+/**
+ * 制品发货申请 处理
+ * @param {*} params
+ */
+
+export function deliverRequestHandle(id) {
+ return http.put("/wms/deliver-request-main/handle?id=" + id)
+}
+/**
+ * 制品发货申请 重新添加
+ * @param {*} params
+ */
+export function deliverRequestAddAgain(id) {
+ return http.put("/wms/deliver-request-main/reAdd/reAdd?id=" + id)
+}
+/**
+ * 制品发货记录 提交
+ * @param {*} params
+ */
+export function deliverRecordSubmit(params) {
+ return http.post("/wms/deliver-record-main/create",params)
+}
+/**
+ * 客户退货 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getCustomerReturnJobList(params) {
+ return http.post("/wms/customerreturn-job-main/senior",params)
+}
+/**
+ * 客户退货 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getCustomerReturnJobDetail(id) {
+ return http.get("/wms/customerreturn-job-main/getCustomerreturnJobById?id="+id)
+}
+
+/**
+ * 客户退货任务 承接
+ * @param {*} id
+ *
+ */
+export function takeCustomerReturnJob(id) {
+ return http.put("/wms/customerreturn-job-main/accept?id="+id)
+}
+/**
+ * 客户退货任务 放弃承接
+ * @param {*} id
+ *
+ */
+
+export function cancleTakeCustomerReturnJob(id) {
+ return http.put("/wms/customerreturn-job-main/abandon?id="+id)
+}
+/**
+ * 客户退货任务 提交
+ * @param {*} 任务id
+ *
+ */
+export function customerReturnJobSubmit(params) {
+ return http.put("/wms/customerreturn-job-main/execute",params)
+}
+/**
+ * 客户退货申请
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getCustomerReturnRequestList(params) {
+ return http.post("/wms/customerreturn-request-main/senior",params)
+}
+
+/**
+ * 客户退货申请 任务明细
+ * @param {*} id 任务id
+ *
+ */
+
+export function getCustomerReturnRequestDetail(id) {
+ return http.get("/wms/customerreturn-request-main/getCustomerreturnRequestById?id=" + id)
+}
+
+/**
+ * 客户退货申请 提交
+ * @param {*} params
+ */
+export function customerReturnRequestSubmit(params) {
+ return http.post("/wms/customerreturn-request-main/create",params)
+}
+/**
+ * 客户退货申请 关闭任务
+ * @param {*} params
+ */
+export function customerReturnRequestClose(id) {
+ return http.put("/wms/customerreturn-request-main/close?id=" + id)
+}
+/**
+ * 客户退货申请 提交审批
+ * @param {*} params
+ */
+
+export function customerReturnRequestApprove(id) {
+ return http.put("/wms/customerreturn-request-main/submit?id=" + id)
+}
+/**
+ * 客户退货申请 提交审批通过
+ * @param {*} params
+ */
+export function customerReturnRequestApproveAgree(id) {
+ return http.put("/wms/customerreturn-request-main/agree?id=" + id)
+}
+/**
+ * 客户退货申请 审批驳回
+ * @param {*} params
+ */
+
+export function customerReturnRequestApproveRefused(id) {
+ return http.put("/wms/customerreturn-request-main/refused?id=" + id)
+}
+/**
+ * 客户退货申请 处理
+ * @param {*} params
+ */
+export function customerReturnRequestHandle(id) {
+ return http.put("/wms/customerreturn-request-main/handle?id=" + id)
+}
+/**
+ * 客户退货申请 重新添加
+ * @param {*} params
+ */
+export function customerReturnRequestAddAgain(id) {
+ return http.put("/wms/customerreturn-request-main/reAdd?id=" + id)
+}
+/**
+ * 客户退货 记录提交
+ * @param {*} params
+ */
+
+export function customerReturnRecordSubmit(params) {
+ return http.put("/wms/customerreturn-record-main/create",params)
+}
+/**
+ * 调拨入库 任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getTransferReceiptJobList(params) {
+ return http.post("/wms/transferreceipt-job-main/senior",params)
+}
+
+/**
+ * 调拨入库 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getTransferReceiptJobDetail(id) {
+ return http.get("/wms/transferreceipt-job-main/getTransferreceiptJobById?id=" + id)
+}
+
+/**
+ * 调拨入库任务 承接
+ * @param {*} id
+ *
+ */
+export function takeTransferReceiptJob(id) {
+ return http.put("/wms/transferreceipt-job-main/accept?id=" + id)
+}
+/**
+ * 调拨入库 放弃承接
+ * @param {*} id
+ *
+ */
+
+export function cancleTakeTransferReceiptJob(id) {
+ return http.put("/wms/transferreceipt-job-main/abandon?id=" + id)
+}
+
+/**
+ * 调拨入库任务 提交
+ * @param {*} 任务id
+ *
+ */
+export function transferReceiptJobSubmit(params) {
+ return http.put("/wms/transferreceipt-job-main/execute",params)
+}
+/**
+ * 调拨入库记录 提交
+ * @param {*} id
+ *
+ */
+
+export function transferReceiptRecordSubmit(params) {
+ return http.post("/wms/transferreceipt-record-main/create",params)
+}
+/**
+ * 调拨出库 任务列表
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getTransferIssueJobList(params) {
+ return http.post("/wms/transferissue-job-main/senior",params)
+}
+/**
+ * 调拨出库 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getTransferIssueJobDetail(id) {
+ return http.get("/wms/transferissue-job-main/getTransferissueJobById?id=" + id)
+}
+/**
+ * 调拨出库任务 承接
+ * @param {*} id
+ *
+ */
+export function takeTransferIssueJob(id) {
+ return http.put("/wms/transferissue-job-main/accept?id=" + id)
+}
+/**
+ * 调拨出库任务 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeTransferIssueJob(id) {
+ return http.put("/wms/transferissue-job-main/abandon?id=" + id)
+}
+/**
+ * 调拨出库任务 提交
+ * @param {*} 任务id
+ *
+ */
+export function transferIssueJobSubmit(params) {
+ return http.put("/wms/transferissue-job-main/execute",params)
+}
+/**
+ * 调拨出库记录 提交
+ * @param {*}
+ *
+ */
+export function transferIssueRecordSubmit(params) {
+ return http.post("/wms/transferissue-record-main/create",params)
+}
+
+/**
+ * 制品上架申请
+ * 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+
+export function getProductPutawayRequestList(params) {
+ return http.post("/wms/productputaway-request-main/senior",params)
+}
+/**
+ * 制品上架申请 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+
+export function getProductPutawayRequestDetail(id) {
+ return http.get("/wms/productputaway-request-main/getProductputawayRequestById?id=" + id)
+}
+/**
+ * 制品上架申请 提交
+ * @param {*} params
+ */
+export function productPutawayRequestSubmit(params) {
+ return http.post("/wms/productputaway-request-main/create" ,params)
+}
+/**
+ * 制品上架申请 处理
+ * @param {*} params
+ */
+export function productPutawayRequestHandle(id) {
+ return http.put("/wms/productputaway-request-main/handle?id=" + id)
+}
+/**
+ * 制品上架申请 重新添加
+ * @param {*} params
+ */
+export function productPutawayRequestAddAgain(id) {
+ return http.put("/wms/productputaway-request-main/reAdd?id=" + id)
+}
+/**
+ * 制品上架申请 提交审批
+ * @param {*} params
+ */
+export function productPutawayRequestApprove(id) {
+ return http.put("/wms/productputaway-request-main/submit?id=" + id)
+}
+/**
+ * 制品上架申请 提交审批通过
+ * @param {*} params
+ */
+export function productPutawayRequestApproveAgree(id) {
+ return http.put("/wms/productputaway-request-main/agree?id=" + id)
+}
+/**
+ * 制品上架申请 审批驳回
+ * @param {*} params
+ */
+export function productPutawayRequestApproveRefused(id) {
+ return http.put("/wms/productputaway-request-main/refused?id=" + id)
+}
+/**
+ * 制品上架申请 关闭任务
+ * @param {*} params
+ */
+export function productPutawayRequestClose(id) {
+ return http.put("/wms/productputaway-request-main/close?id=" + id)
+}
+/**
+ * 发料申请列表
+ * @param {*} params
+ */
+export function getIssueRequestList(params) {
+ return http.post("/wms/issue-request-main/senior",params)
+}
+/**
+ * 发料申请明细
+ * @param {*} id
+ */
+export function getIssueRequestDetail(id) {
+ return http.get( "/wms/issue-request-main/getIssueRequestById?id=" + id)
+}
+/**
+ * 发料申请 提交
+ * @param {*} params
+ */
+export function issueRequestSubmit(params) {
+ return http.post( "/wms/issue-request-main/create" ,params)
+}
+/**
+ * 发料申请 处理
+ * @param {*} params
+ */
+export function issueRequestHandle(id) {
+ return http.put("/wms/issue-request-main/handle?id=" + id)
+}
+
+/**
+ * 发料申请 提交审批
+ * @param {*} params
+ */
+export function issueRequestSubmitApprove(id) {
+ return http.put("/wms/issue-request-main/submit?id=" + id)
+}
+/**
+ * 发料申请 审批通过
+ * @param {*} params
+ */
+export function issueRequestSubmitApproveAgree(id) {
+ return http.put("/wms/issue-request-main/agree?id=" + id)
+}
+/**
+ * 发料申请 审批驳回
+ * @param {*} params
+ */
+export function issueRequestSubmitApproveRefused(id) {
+ return http.put("/wms/issue-request-main/refused?id=" + id)
+}
+/**
+ * 发料申请 申请关闭
+ * @param {*} params
+ */
+export function issueRequestClose(id) {
+ return http.put("/wms/issue-request-main/close?id=" + id)
+}
+/**
+ * 发料申请 重新添加
+ * @param {*} params
+ */
+export function issueRequestAddAgain(id) {
+ return http.put("/wms/issue-request-main/reAdd?id=" + id)
+}
+/**
+ * 发料记录 提交
+ * @param {*} params
+ */
+
+export function issueRecordSubmit(params) {
+ return http.post("/wms/issue-record-main/create",params)
+}
+
+
+/**
+ * 生产退料 任务获取任务列表
+ * 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getProductionreturnJobList(params) {
+ return http.post("/wms/productionreturn-job-main/senior",params)
+}
+/**
+ * 生产退料任务 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getProductionReturnJobDetail(id) {
+ return http.get("/wms/productionreturn-job-main/getProductionreturnJobById?id=" + id)
+}
+
+/**
+ * 生产退料 承接任务
+ * @param {*} id
+ *
+ */
+export function takeProductionReturnJob(id) {
+ return http.put("/wms/productionreturn-job-main/accept?id=" + id)
+}
+/**
+ * 生产退料 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeProductionReturnJob(id) {
+ return http.put("/wms/productionreturn-job-main/abandon?id=" + id)
+}
+/**
+ * 生产退料 任务提交
+ * @param {*} 任务id
+ *
+ */
+export function productionReturnJobSubmit(params) {
+ return http.put("/wms/productionreturn-job-main/execute",params)
+}
+/**
+ * 生产退料申请 获取任务列表
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getProductionReturnRequestList(params) {
+ return http.post("/wms/productionreturn-request-main/senior",params)
+}
+/**
+ * 生产退料申请 获取申请明细
+ * @param {*} id
+ *
+ */
+export function getProductionReturnRequestDetail(id) {
+ return http.get("/wms/productionreturn-request-main/getProductionreturnRequestById?id=" + id)
+}
+/**
+ * 生产退料申请 处理
+ * @param {*} id
+ *
+ */
+export function productionReturnRequestHandle(id) {
+ return http.put("/wms/productionreturn-request-main/handle?id=" + id)
+}
+/**
+ * 生产退料申请 提交审批
+ * @param {*} id
+ *
+ */
+export function productionReturnRequestSubmitApprove(id) {
+ return http.put("/wms/productionreturn-request-main/submit?id=" + id)
+}
+/**
+ * 生产退料申请 审批通过
+ * @param {*} id
+ *
+ */
+export function productionReturnRequestSubmitApproveAgree(id) {
+ return http.put("/wms/productionreturn-request-main/agree?id=" + id)
+}
+/**
+ * 生产退料申请 审批驳回
+ * @param {*} id
+ *
+ */
+export function productionReturnRequestSubmitApproveRefused(id) {
+ return http.put("/wms/productionreturn-request-main/refused?id=" + id)
+}
+/**
+ * 生产退料申请 关闭
+ * @param {*} id
+ *
+ */
+
+export function productionReturnRequestClose(id) {
+ return http.put("/wms/productionreturn-request-main/close?id=" + id)
+}
+/**
+ * 生产退料申请 重新添加
+ * @param {*} id
+ *
+ */
+
+export function productionReturnRequestAddAgain(id) {
+ return http.put("/wms/productionreturn-request-main/reAdd?id=" + id)
+}
+
+/**
+ * 生产退料申请 创建
+ * @param {*} params
+ */
+
+
+export function productionReturnRequestCreate(params) {
+ return http.put("/wms/productionreturn-request-main/create",params)
+}
+/**
+ * 生产退料记录 提交
+ * @param {*} params
+ */
+export function productionReturnRecordSubmit(params) {
+ return http.post("/wms/productionreturn-record-main/create",params)
+}
+
+/**
+ * 计划外出库申请
+ * 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取任务列表
+ * @param {*}
+ */
+export function getUnPlannedIssueRequestList(params) {
+ return request({
+ url: baseApi + "/wms/unplannedissue-request-main/senior",
+ method: "post",
+ data: params,
+ });
+}
+
+/**
+ * 计划外出库申请 获取明细
+ * @param {*} id 任务id
+ *
+ */
+export function getUnPlannedIssueRequestDetail(id) {
+ return http.get("/wms/unplannedissue-request-main/getUnplannedissueRequestById?id=" + id)
+}
+/**
+ * 计划外入库 申请
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取任务列表
+ * @param {*}
+ */
+export function getUnPlannedReceiptRequestList(params) {
+ return http.post("/wms/unplannedreceipt-request-main/senior",params)
+}
+/**
+ * 计划外入库申请 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+export function getUnPlannedReceiptRequestDetail(id) {
+ return http.get("/wms/unplannedreceipt-request-main/getUnplannedreceiptRequestById?id=" + id)
+}
+/**
+ * 计划外入库 申请提交
+ * @param {*} params
+ */
+export function unPlannedReceiptRequestSubmit(params) {
+ return http.put("/wms/purchasereturn-request-main/submit",params)
+}
+
+
+/**
+ * 报废出库任务
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getScrapJobList(params) {
+ return http.post("/wms/scrap-job-main/senior",params)
+}
+
+/** 报废出库 获取任务明细
+ * @param {*} id 任务id
+ */
+export function getScrapJobDetail(id) {
+ return http.get("/wms/scrap-job-main/getScrapJobById?id=" + id)
+}
+/**
+ * 报废出库 任务承接
+ * @param {*} id
+ *
+ */
+export function takeScrapJob(id) {
+ return http.put("/wms/scrap-job-main/accept?id=" + id)
+}
+/**
+ * 报废出库 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeScrapJob(id) {
+ return http.put("/wms/scrap-job-main/abandon?id=" + id)
+}
+/**
+ * 报废出库 任务提交
+ * @param {*} 任务id
+ *
+ */
+export function scrapJobSubmit(params) {
+ return http.put("/wms/scrap-job-main/execute" ,params)
+}
+/**
+ * 报废出库 申请
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取任务列表
+ * @param {*}
+ */
+export function getScrapRequestList(params) {
+ return http.post("/wms/scrap-request-main/senior" ,params)
+}
+/**
+ * 报废出库申请 获取申请明细
+ * @param {*} id 任务id
+ *
+ */
+export function getScrapRequestDetail(id) {
+ return http.get("/wms/scrap-request-main/getScrapRequestById?id=" + id)
+}
+/**
+ * 报废出库申请 创建
+ * @param {*} params
+ */
+export function scrapRequestCreate(params) {
+ return http.post("/wms/scrap-request-main/create",params)
+}
+/**
+ * 报废出库申请 提交审批
+ * @param {*} params
+ */
+export function scrapRequestApprove(id) {
+ return http.put("/wms/scrap-request-main/submit?id=" + id)
+}
+/**
+ * 报废出库申请 关闭
+ * @param {*} params
+ */
+export function scrapRequestClose(id) {
+ return http.put("/wms/scrap-request-main/close?id=" + id)
+}
+/**
+ * 报废出库申请 审批通过
+ * @param {*} params
+ */
+export function scrapRequestApproveAgree(id) {
+ return http.put("/wms/scrap-request-main/agree?id=" + id)
+}
+/**
+ * 报废出库申请 审批驳回
+ * @param {*} params
+ */
+
+export function scrapRequestApproveRefused(id) {
+ return http.put("/wms/scrap-request-main/refused?id=" + id)
+}
+/**
+ * 报废出库申请 审批驳回
+ * @param {*} params
+ */
+export function scrapRequestHandle(id) {
+ return http.put("/wms/scrap-request-main/handle?id=" + id)
+}
+/**
+ * 报废出库申请 重新添加
+ * @param {*} params
+ */
+
+export function scrapRequestAddAgain(id) {
+ return http.put("/wms/scrap-request-main/reAdd?id=" + id)
+}
+/**
+ * 报废出库记录 提交
+ * @param {*} params
+ */
+export function scrapRecordSubmit(params) {
+ return http.post("/wms/scrap-record-main/create",params)
+}
+
+
+/**
+ * 补料任务 列表
+ *
+ * status 任务状态
+ * 开始日期
+ * 结束日期
+ * 获取日期任务列表
+ * @param {*}
+ */
+export function getRepleinshJobList(params) {
+ return http.post("/wms/repleinsh-job-main/senior",params)
+}
+
+/**
+ * 补料任务 获取任务明细
+ * @param {*} id 任务id
+ *
+ */
+
+export function getRepleinshJobDetail(id) {
+ return http.get("/wms/repleinsh-job-main/getRepleinshJobById?id=" + id)
+}
+
+/**
+ * 补料 任务承接
+ * @param {*} id
+ *
+ */
+
+export function takeRepleinshJob(id) {
+ return http.put("/wms/repleinsh-job-main/accept?id=" + id)
+}
+/**
+ * 补料任务 放弃承接
+ * @param {*} id
+ *
+ */
+export function cancleTakeRepleinshJob(id) {
+ return http.put("/wms/repleinsh-job-main/abandon?id=" + id)
+}
+/**
+ * 补料任务 提交
+ * @param {*} params
+ */
+
+export function repleinshJobSubmit(params) {
+ return http.put("/wms/repleinsh-job-main/execute" ,params)
+}
+/**
+ * 补料申请 提交
+ * @param {*} params
+ */
+
+export function repleinshRequestSubmit(params) {
+ return http.put("/magic-api/pda/job/putaway/jobSubmit" ,params)
+}
+/**
+ * 补料记录 提交
+ * @param {*} params
+ */
+export function repleinshRecordSubmit(params) {
+ return http.post("/wms/repleinsh-record-main/create" ,params)
+}
+/**
+ * 器具绑定 提交
+ * @param {*} params
+ */
+export function containerBindRecordSubmit(params) {
+ return http.post("/wms/container-main/containerBind" ,params)
+}
+/**
+ * 器具解绑 提交
+ * @param {*} params
+ */
+export function containerUnBindRecordSubmit(params) {
+ return http.post("/wms/container-main/containerUnBind" ,params)
+}
+/**
+ * 拆包 提交
+ * @param {*} params
+ */
+export function splitPackageRecordSubmit(params) {
+ return http.post("/wms/packagesplit-main/create" ,params)
+}
+/**
+ * 合包 提交
+ * @param {*} params
+ */
+export function mergePackageRecordSubmit(params) {
+ return http.post("/wms/packagemerge-main/create" ,params)
+}
+/**
+ * 翻包 提交
+ * @param {*} params
+ */
+
+export function overPackageRecordSubmit(params) {
+ return http.post("/wms/packageover-main/createe" ,params)
+}
+
+/**
+ * "itemCodes": [],
+ "locationCode":"INSPECT"
+ 管理精度策略
+ * @param {*}
+ *
+ */
+export function getManagementPrecision(params) {
+ return http.post("/wms/rule/getPrecisionStrategyByItemCodes" ,params)
+}
+
+/**
+ * 查询库存通过多种条件 高级筛选
+ * @param {*}
+ *
+ */
+
+export function getBalanceByFilter(params) {
+ return http.post("/wms/balance/senior" ,params)
+}
+/**
+ * 查询管理精度,多个物料,多个库位
+ * @param {*}
+ *
+ */
+
+export function getPrecisionStrategy(params) {
+ return http.post("/wms/rule/getPrecisionStrategy" ,params)
+}
+/**
+ * 删除文件
+ * @param {*}
+ *
+ */
+export function deleteFileById(id) {
+ return http.delete("/infra/file/delete?id=" + id)
+}
+/**
+ * 删除文件(多个文件)
+ * @param {*}
+ *
+ */
+
+export function deleteFileByTable(tableName, tableId) {
+ return http.delete("/infra/file/deleteByTable?tableName=" + tableName + "&tableId=" + tableId)
+}
+
+/**
+ * 获取文件列表
+ * @param {*}
+ *
+ */
+export function getFileList(tableName, tableId) {
+ return http.get("/infra/file/list?tableName=" + tableName + "&tableId=" + tableId)
+}
+
+/**
+ * 图片上传
+ * @param {*}
+ *
+ */
+
+export function uploadFile(tableName, tableId, filePath, callBack) {
+ var token = storage.getStorage(storage.constant.token)
+ var url = config.request_url + baseApi
+ uni.uploadFile({
+ url: url + "/infra/file/upload?tableName=" + tableName + "&tableId=" + tableId,
+ filePath: filePath,
+ name: 'file',
+ header: {
+ "Authorization": "Bearer " + token,
+ "tenant-id": 1
+ },
+ success: (uploadFileRes) => {
+ callBack(uploadFileRes.data)
+ console.log(uploadFileRes.data);
+ },
+ fail: (error) => {
+ callBack(undefined)
+ },
+ });
+}
+/**
+ * 获取文件列表
+ * @param {*}
+ *
+ */
+export function getMainMessage() {
+ return http.get("/wms/index/indexPda")
+}
+/**
+ * app检查更新
+ * @param {*}
+ *
+ */
+export function appCheckUpdate() {
+ return http.get("http://192.168.0.119:9527/appUpdate.json")
+}
diff --git a/common/appUpdate.js b/common/appUpdate.js
new file mode 100644
index 0000000..03af4c3
--- /dev/null
+++ b/common/appUpdate.js
@@ -0,0 +1,116 @@
+import {
+ appCheckUpdate
+} from '../api/request2.js';
+export function appUpdate() {
+ let curversion = 0;
+ plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
+ const data = {
+ action: 'checkVersion',
+ appid: plus.runtime.appid,
+ appVersion: plus.runtime.version,
+ wgtVersion: widgetInfo.version,
+ versionCode: widgetInfo.versionCode
+ }
+ curversion=data.versionCode
+ appCheckUpdate().then(res => {
+ console.log("当前版本提示",curversion)
+ if (res.data) {
+ if (res.data.versionCode > Number(curversion)) {
+ var downUrl = res.data.downUrl;
+ var content = res.data.content;
+ var version =res.data.version
+ console.log("新版本提示")
+ uni.showModal({
+ title: "发现新版本:("+version+")",
+ content: content,
+ confirmText: "更新",
+ cancelText: "取消",
+ success: (res) => {
+ if (res.confirm) {
+ confirm(downUrl);
+ console.log('comfirm') //点击确定之后执行的代码
+ } else {
+ console.log('cancel') //点击取消之后执行的代码
+ }
+ }
+ })
+ } else {
+ uni.showToast({
+ title:"当前是最新版本"
+ })
+ console.log("没有新版本")
+ }
+ }
+ }).catch(error => {
+ console.log("版本错误", error)
+ })
+
+ })
+
+
+
+}
+
+export function confirm(downUrl) {
+ var downloadApkUrl = downUrl
+ var dtask = plus.downloader.createDownload(downloadApkUrl, {},
+ function(d, status) {
+
+ // 下载完成
+ if (status == 200) {
+
+ plus.runtime.install(plus.io.convertLocalFileSystemURL(
+ d.filename), {}, {}, function(error) {
+ uni.showToast({
+ title: '安装失败',
+ duration: 1500
+ });
+ })
+ } else {
+ uni.showToast({
+ title: '更新失败',
+ duration: 1500
+ });
+ }
+ });
+ try {
+ dtask.start(); // 开启下载的任务
+ var prg = 0;
+ var showLoading = plus.nativeUI.showWaiting(
+ "正在下载"); //创建一个showWaiting对象
+ dtask.addEventListener('statechanged', function(
+ task,
+ status
+ ) {
+ // 给下载任务设置一个监听 并根据状态 做操作
+ switch (task.state) {
+ case 1:
+ showLoading.setTitle("正在下载");
+ break;
+ case 2:
+ showLoading.setTitle("已连接到服务器");
+ break;
+ case 3:
+ prg = parseInt(
+ (parseFloat(task.downloadedSize) /
+ parseFloat(task.totalSize)) *
+ 100
+ );
+ showLoading.setTitle(" 正在下载" + prg + "% ");
+ break;
+ case 4:
+ plus.nativeUI.closeWaiting();
+ //下载完成
+ break;
+ }
+ });
+ } catch (err) {
+ plus.nativeUI.closeWaiting();
+ uni.showToast({
+ title: '更新失败-03',
+ mask: false,
+ duration: 1500
+ });
+ }
+
+}
\ No newline at end of file
diff --git a/common/array.js b/common/array.js
new file mode 100644
index 0000000..e87d780
--- /dev/null
+++ b/common/array.js
@@ -0,0 +1,320 @@
+// 详情和审批
+export function getDetailAndApproveOption() {
+ let option_detail = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ },
+ {
+ text: '提交\n审批',
+ style: {
+ backgroundColor: '#00CC33'
+ }
+ },
+ {
+ text: '关闭',
+ style: {
+ backgroundColor: '#ff0000'
+ }
+ }
+ ];
+ return option_detail;
+}
+//详情、审批通过、审批驳回
+export function getDetailAndApprovePassAndApproveNoOption() {
+ let option_detail = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ },
+ {
+ text: '审批\n通过',
+ style: {
+ backgroundColor: '#00CC33'
+ }
+ },
+ {
+ text: '审批\n驳回',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ },
+ {
+ text: '关闭',
+ style: {
+ backgroundColor: '#ff0000'
+ }
+ }
+ ];
+ return option_detail;
+}
+//详情、处理、审批不通过
+export function getDetailAndHandleOption() {
+ let option_detail = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ },
+ {
+ text: '处理',
+ style: {
+ backgroundColor: '#00CC33'
+ }
+ },
+ {
+ text: '关闭',
+ style: {
+ backgroundColor: '#ff0000'
+ }
+ }
+ ];
+ return option_detail;
+}
+//详情、重新添加、关闭
+export function getDetailAndAddAndCloseOption() {
+ let option_detail = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ },
+ {
+ text: '重新\n添加',
+ style: {
+ backgroundColor: '#E6A23C'
+ }
+ },
+ {
+ text: '关闭',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ }
+ ];
+ return option_detail;
+}
+// 采购退货返回侧滑按钮 详情 、编辑、库位、移除
+export function getPurchaseReceiptOption(allowModifyQty, allowModifyLocation) {
+ var option = []
+ option.push(...getDetailOption())
+ if (allowModifyQty == "TRUE") {
+ option.push(...getEditOption())
+ }
+ if (allowModifyLocation == "TRUE") {
+ option.push(...getLocationOption())
+ }
+ option.push(...getRemoveOption())
+ return option;
+}
+
+//详情
+export function getDetailOption() {
+ let option_detail = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ }];
+ return option_detail;
+}
+
+//详情移除(扫描后不允许修改数量)
+export function getDetailRemoveOption() {
+ let option_detail_edit_remove = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ },
+ {
+ text: '移除',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ }
+ ];
+ return option_detail_edit_remove;
+}
+
+export function getRemoveOption() {
+ let option_detail_remove = [{
+ text: '移除',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ }];
+ return option_detail_remove;
+}
+
+export function getAddAgainOption() {
+ let option_detail_remove = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ }, {
+ text: '重新\n添加',
+ style: {
+ backgroundColor: '#E6A23C'
+ }
+ }];
+ return option_detail_remove;
+}
+
+
+
+export function getEditOption() {
+ let option_detail_edit = [{
+ text: '编辑',
+ style: {
+ backgroundColor: '#F1A532'
+ }
+ }];
+ return option_detail_edit;
+}
+export function getLocationOption() {
+ let option_detail_location = [{
+ text: '库位',
+ style: {
+ backgroundColor: '#00A3FF'
+ }
+ }];
+ return option_detail_location;
+}
+
+
+//清空
+export function getClearOption() {
+ let option_detail_edit_remove = [{
+ text: '清空',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ }];
+ return option_detail_edit_remove;
+}
+
+
+//详情编辑移除
+export function getDetailEditRemoveOption() {
+ let option_detail_edit_remove = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ },
+ {
+ text: '编辑',
+ style: {
+ backgroundColor: '#F1A532'
+ }
+ },
+ {
+ text: '移除',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ }
+ ];
+ return option_detail_edit_remove;
+}
+
+
+//详情编辑放弃
+export function getDetailGiveupOption() {
+ let option_detail_giveup = [{
+ text: '详情',
+ style: {
+ backgroundColor: '#3C9CFF'
+ }
+ },
+ {
+ text: '放弃',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ }
+ ];
+ return option_detail_giveup;
+}
+
+
+
+//详情编辑移除
+export function getEditRemoveOption() {
+ let option_edit_remove = [{
+ text: '编辑',
+ style: {
+ backgroundColor: '#F1A532'
+ }
+ },
+ {
+ text: '移除',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ }
+ ];
+ return option_edit_remove;
+}
+
+
+// 库存状态字典项
+export function getInventoryStatusArray() {
+ let array = [{
+ text: '待检',
+ value: "INSP"
+ }, {
+ text: '合格',
+ value: "OK"
+ }, {
+ text: '不合格',
+ value: "NOK"
+ }, {
+ text: '隔离',
+ value: "HOLD"
+ }, {
+ text: '报废',
+ value: "SCRAP"
+ }]
+ return array;
+}
+
+// 业务类型字典项
+export function getBusinessTypeArray() {
+ let array = [{
+ text: '供应商发货',
+ value: "SupplierDeliver"
+ }, {
+ text: '采购收货',
+ value: "PurchaseReceipt"
+ }, {
+ text: '采购退货',
+ value: "PurchaseReturn"
+ }, {
+ text: '采购上架',
+ value: "PurchasePutaway"
+ }]
+ return array;
+}
+
+export function getLocationTypeArray(data) {
+ var list = []
+ if (data == undefined || data == null || data == "") {
+ return list
+ }
+
+ if (data.indexOf(',') < 0) {
+ list.push(data)
+ } else {
+ var arrayItems = data.split(',')
+ arrayItems.forEach(res => {
+ list.push(res)
+ })
+ }
+
+ return list
+}
diff --git a/common/balance.js b/common/balance.js
new file mode 100644
index 0000000..1a53c9f
--- /dev/null
+++ b/common/balance.js
@@ -0,0 +1,477 @@
+import {
+ getManagementPrecision,
+ getPrecisionStrategy,
+ getBalanceByFilter
+} from '@/api/request2.js';
+
+/**
+ *
+ 获取管理精度查询策略参数
+ * @param {*}
+ *
+ */
+export function getPrecisionStrategyParams(detailSource) {
+ var itemList = []
+ detailSource.forEach(item => {
+ item.subList.forEach(detail => {
+ if (detail.scaned) {
+ var filterResult = itemList.filter(res => {
+ if (res.itemCode == item.itemCode &&
+ res.locationCode == detail.toLocationCode) {
+ return res
+ }
+ })
+ //去掉重复元素
+ if (filterResult.length == 0) {
+ var result = {
+ itemCode: item.itemCode,
+ locationCode: detail.toLocationCode
+ }
+ itemList.push(result)
+ }
+
+ }
+ })
+ })
+ return itemList;
+}
+/**
+ *
+ 获取管理精度查询策略参数
+ * @param {*}
+ *
+ */
+export function getPrecisionStrategyParamsByLocation(detailSource, toLocationCode) {
+ var itemList = []
+ detailSource.forEach(item => {
+ item.subList.forEach(detail => {
+ if (detail.scaned) {
+ detail.toLocationCode = toLocationCode;
+ var filterResult = itemList.filter(res => {
+ if (res.itemCode == item.itemCode &&
+ res.locationCode == detail.toLocationCode) {
+ return res
+ }
+ })
+ //去掉重复元素
+ if (filterResult.length == 0) {
+ var result = {
+ itemCode: item.itemCode,
+ locationCode: detail.toLocationCode
+ }
+ itemList.push(result)
+ }
+
+ }
+ })
+ })
+ return itemList;
+}
+
+/**
+ * "itemCode": [],
+ "locationCode":"INSPECT"
+ 管理精度策略
+ * @param {*}
+ *
+ */
+export function getPrecisionStrategyList(itemList, callback) {
+ // let jsonParem = JSON.stringify(param)
+ let result = {
+ list: [],
+ success: true,
+ message: ''
+ };
+
+ getPrecisionStrategy(itemList).then(res => {
+ if (res.data == null) {
+ result.success = false
+ result.message = '未查询到管理精度信息'
+ } else {
+ result.list = res.data;
+ }
+ callback(result);
+ }).catch(error => {
+ result.success = false;
+ result.message = error;
+ callback(result);
+ })
+}
+
+/**
+ * "itemCode": [],
+ "locationCode":"INSPECT"
+ 管理精度策略
+ * @param {*}
+ *
+ */
+export function getManagementPrecisions(itemCodes, locationCode, callback) {
+ // let jsonParem = JSON.stringify(param)
+ let result = {
+ list: [],
+ success: true,
+ message: ''
+ };
+
+ var params = {
+ itemCodes: itemCodes,
+ locationCode: locationCode
+ }
+ getManagementPrecision(params).then(res => {
+ if (res.data == null) {
+ result.success = false
+ result.message = '未查询到管理精度信息'
+ } else {
+ result.list = res.data;
+ }
+ callback(result);
+ }).catch(error => {
+ result.success = false;
+ result.message = error;
+ callback(result);
+ })
+}
+
+export function getBalanceByManagementPrecision(label, locationCode, fromInventoryStatuses, callback) {
+ let result = {
+ list: [],
+ success: true,
+ message: ''
+ };
+ let params = {
+ itemCodes: [label.itemCode],
+ locationCode: locationCode
+ };
+ // let jsonParem = JSON.stringify(param)
+ getManagementPrecision(params).then(res => {
+ let managementPrecision = res.data[0].ManagementPrecision;
+ switch (managementPrecision) {
+ case 'BY_PACKAGING':
+ byPacking(label, locationCode, fromInventoryStatuses, res => {
+ res.managementPrecision = managementPrecision;
+ callback(res);
+ });
+ break;
+ case 'BY_BATCH':
+ byBatch(label, locationCode, fromInventoryStatuses, res => {
+ res.managementPrecision = managementPrecision;
+ callback(res);
+ });
+ break;
+ case 'BY_QUANTITY':
+ byQuantity(label, locationCode, fromInventoryStatuses, res => {
+ res.managementPrecision = managementPrecision;
+ callback(res);
+ });
+ break;
+ case 'BY_UNIQUEID':
+ byUniqueId(label, fromInventoryStatuses, res => {
+ res.managementPrecision = managementPrecision;
+ callback(res);
+ });
+ break;
+ }
+ }).catch(error => {
+ let result = {
+ success: false,
+ message: error
+ };
+ callback(result);
+ })
+}
+/** 按包装管理查询库存
+ * @param {Object} label
+ * @param {Object} locationCode
+ * @param {Object} callback
+ */
+export function byPacking(label, locationCode, fromInventoryStatuses, callback) {
+ let result = {
+ success: true,
+ message: '',
+ data: {}
+ };
+ var filters = []
+ filters.push({
+ column: "packingNumber",
+ action: "==",
+ value: label.packingNumber
+ })
+ filters.push({
+ column: "itemCode",
+ action: "==",
+ value: label.itemCode
+ })
+ filters.push({
+ column: "batch",
+ action: "==",
+ value: label.batch
+ })
+ filters.push({
+ column: "locationCode",
+ action: "==",
+ value: locationCode
+ })
+ if (fromInventoryStatuses != null && fromInventoryStatuses != "") {
+ filters.push({
+ column: "inventoryStatus",
+ action: "in",
+ value: fromInventoryStatuses
+ })
+ }
+
+
+ var params = {
+ filters: filters,
+ pageNo: 1,
+ pageSize: 100,
+ }
+ getBalanceByFilter(params).then(res => {
+ if (res.data == null) {
+ result.success = false;
+ result.message =
+ "按包装管理查询、未查询到物料号[" + label.itemCode + "]" +
+ "到箱码[" + label.packingNumber + "]" +
+ "批次[" + label.batch + "]" +
+ "库位[" + label.locationCode + "]的信息"
+ } else {
+ result.success = true;
+ result.data = res.data;
+ }
+
+ callback(result)
+ }).catch(err => {
+ result.success = false;
+ result.data = null;
+ result.message = err;
+ callback(result)
+ })
+}
+/** 按批次管理查询库存
+ * @param {Object} label
+ * @param {Object} locationCode
+ * @param {Object} callback
+ */
+export function byBatch(label, locationCode, fromInventoryStatuses, callback) {
+ var filters = []
+ filters.push({
+ column: "itemCode",
+ action: "==",
+ value: label.itemCode
+ })
+ filters.push({
+ column: "batch",
+ action: "==",
+ value: label.batch
+ })
+ filters.push({
+ column: "packingNumber",
+ action: "==",
+ value: null
+ })
+ filters.push({
+ column: "locationCode",
+ action: "==",
+ value: locationCode
+ })
+
+ if (fromInventoryStatuses != null && fromInventoryStatuses != "") {
+ filters.push({
+ column: "inventoryStatus",
+ action: "in",
+ value: fromInventoryStatuses
+ })
+ }
+
+ var params = {
+ filters: filters,
+ pageNo: 1,
+ pageSize: 100,
+ }
+
+ let result = {
+ success: true,
+ message: '',
+ data: {}
+ };
+ getBalanceByFilter(params).then(res => {
+ if (res.data == null) {
+ result.success = false;
+ result.message =
+ "按批次管理查询、未查询到物料号[" + label.itemCode + "]" +
+ "批次[" + label.batch + "]" +
+ "库位[" + label.locationCode + "]的信息"
+ } else {
+ result.success = true;
+ result.data = res.data;
+ }
+ callback(result)
+ }).catch(err => {
+ result.success = false;
+ result.data = null;
+ result.message = err.message;
+ callback(result)
+ })
+}
+/** 按数量管理查询库存
+ * @param {Object} label
+ * @param {Object} locationCode
+ * @param {Object} callback
+ */
+export function byQuantity(label, locationCode, fromInventoryStatuses, callback) {
+ let result = {
+ success: true,
+ message: '',
+ data: {}
+ };
+
+ var filters = []
+ filters.push({
+ column: "itemCode",
+ action: "==",
+ value: label.itemCode
+ })
+ filters.push({
+ column: "packingNumber",
+ action: "==",
+ value: null
+ })
+ filters.push({
+ column: "batch",
+ action: "==",
+ value: null
+ })
+ filters.push({
+ column: "locationCode",
+ action: "==",
+ value: locationCode
+ })
+
+ if (fromInventoryStatuses != null && fromInventoryStatuses != "") {
+ filters.push({
+ column: "inventoryStatus",
+ action: "in",
+ value: fromInventoryStatuses
+ })
+ }
+
+ var params = {
+ filters: filters,
+ pageNo: 1,
+ pageSize: 100,
+ }
+
+ getBalanceByFilter(params).then(res => {
+ if (res.data == null) {
+ result.success = false;
+ result.message =
+ "按数量管理查询、未查询到物料号[" + label.itemCode + "]" +
+ "库位[" + label.locationCode + "]的信息"
+ } else {
+ result.success = true;
+ result.data = res.data;
+ }
+ callback(result)
+ }).catch(err => {
+ result.success = false;
+ result.data = null;
+ result.message = err.message;
+ callback(result)
+ })
+}
+/** 按唯一码管理查询库存
+ * @param {Object} label
+ * @param {Object} locationCode
+ * @param {Object} callback
+ */
+export function byUniqueId(label, locationCode, fromInventoryStatuses, callback) {
+ let param = {
+ packingNumber: label.packingNumber
+ };
+ let result = {
+ success: true,
+ message: '',
+ data: {}
+ };
+
+ var filters = []
+ filters.push({
+ column: "packingNumber",
+ action: "==",
+ value: label.packingNumber
+ })
+
+ if (fromInventoryStatuses != null && fromInventoryStatuses != "") {
+ filters.push({
+ column: "inventoryStatus",
+ action: "in",
+ value: fromInventoryStatuses
+ })
+ }
+
+ var params = {
+ filters: filters,
+ pageNo: 1,
+ pageSize: 100,
+ }
+
+ getBalanceByFilter(params).then(res => {
+ if (res.data == null) {
+ result.success = false;
+ result.message =
+ "按唯一码管理查询、未查询到箱码[" + label.packingNumber + "]" +
+ "的信息"
+ } else {
+ result.success = true;
+ result.data = res.data;
+ }
+ callback(result)
+ }).catch(err => {
+ result.success = false;
+ result.data = null;
+ result.message = err.message;
+ callback(result)
+ })
+}
+/**
+ * 查询指定库位下的库存
+ * @param {*} param
+ * @param {*} callback
+ */
+export function balanceByLocation(locationCode, callback) {
+ let result = {
+ success: true,
+ message: '',
+ data: {}
+ };
+
+ var filters = []
+ filters.push({
+ column: "locationCode",
+ action: "==",
+ value: locationCode
+ })
+
+ var params = {
+ filters: filters,
+ pageNo: 1,
+ pageSize: 100,
+ }
+
+ getBalanceByFilter(params).then(res => {
+ if (res.data == null) {
+ result.success = false;
+ result.message =
+ "按唯一码管理查询、未查询到库位[" + label.locationCode + "]" +
+ "的信息"
+ } else {
+ result.success = true;
+ result.data = res.data;
+ }
+ callback(result)
+ }).catch(err => {
+ result.success = false;
+ result.data = null;
+ result.message = err.message;
+ callback(result)
+ })
+}
diff --git a/common/basic.js b/common/basic.js
new file mode 100644
index 0000000..b725be3
--- /dev/null
+++ b/common/basic.js
@@ -0,0 +1,1014 @@
+let maxPageSize = 1000;
+export {
+ maxPageSize
+}
+
+import { calc } from '@/common/calc'
+
+let jobStatusList = [];
+let itemStatusList = [];
+let locationTypeList = [];
+let uomList = [];
+let inventoryStatusList = [];
+let containerTypeList = [];
+let packUnitList = [];
+let requestStatusList = [];
+let unplannedReceiptReasonList = [];
+let unplannedIissueReason = [];
+let scrapReasonList = [];
+let inspectFailedReasonList = [];
+
+
+
+//获取字典信息
+export function clearCacheData() {
+ jobStatusList = [];
+ itemStatusList = [];
+ locationTypeList = [];
+ uomList = [];
+ inventoryStatusList = [];
+ containerTypeList = [];
+ packUnitList = [];
+ requestStatusList = [];
+ unplannedReceiptReasonList = [];
+ unplannedIissueReason = [];
+ scrapReasonList = [];
+ inspectFailedReasonList = [];
+
+}
+
+//获取字典信息
+export function getDirectoryInfo(type) {
+ var result = [];
+ var list = uni.getStorageSync("dictionary")
+ if (list != undefined && list.length > 0) {
+ for (let item of list) {
+ if (item.type == type) {
+ result = item.subList
+ break;
+ }
+ }
+ }
+
+ return result
+}
+
+
+
+//将字典项转为数组
+export function getDirectoryItemArray(data) {
+ var array = []
+ if (data == undefined || data == null || data == "") {
+ return array
+ }
+
+ if (data.indexOf(',') < 0) {
+ array.push(data)
+ } else {
+ var arrayItems = data.split(',')
+ arrayItems.forEach(res => {
+ array.push(res)
+ })
+ }
+ return array
+}
+
+//查询字典项是否在列表中
+export function checkDirectoryItemExist(list, type) {
+ let exist = false;
+ if (list == null || list.length == 0) {
+ exist = true;
+ } else {
+ var temp = list.filter(res => {
+ if (res == type) {
+ return res
+ }
+ })
+ if (temp != undefined && temp.length > 0) {
+ exist = true
+ }
+ }
+ return exist
+}
+
+//获取任务状态
+export function getJobStateInfo(value) {
+ var resultInfo = "";
+ if (jobStatusList.length == 0) {
+ jobStatusList = getDirectoryInfo("job_status")
+ }
+ if (jobStatusList.length > 0) {
+ for (let item of jobStatusList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取任务状态样式
+export function getJobStateStyle(value) {
+ let item = getJobStateInfo(value);
+ if (item == null || item == '') {
+ return 'other'
+ } else {
+ if (item.remark == '') {
+ return 'other'
+ } else {
+ return item.remark;
+ }
+ }
+}
+
+//获取库位描述
+export function getListLocationTypeDesc(lst) {
+ let desc = '';
+ lst.forEach(res => {
+ desc += getLocationTypeInfo(res).label + ","
+ })
+ desc = desc.slice(0, -1);
+ return desc;
+}
+
+//获取物品状态
+export function getItemStateInfo(value) {
+ var resultInfo = "";
+ if (itemStatusList.length == 0) {
+ itemStatusList = getDirectoryInfo("item_status")
+ }
+ if (itemStatusList.length > 0) {
+ for (let item of itemStatusList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取库位类型
+export function getLocationTypeInfo(value) {
+ var resultInfo = "";
+ if (locationTypeList.length == 0) {
+ locationTypeList = getDirectoryInfo("location_type")
+ }
+ if (locationTypeList.length > 0) {
+ for (let item of locationTypeList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取库位类型名称
+export function getLocationTypeName(value) {
+ let location = getLocationTypeInfo(value);
+
+ return location == '' ? value : location.label;
+}
+
+//获取计量单位
+export function getUnitInfo(value) {
+ var resultInfo = "";
+ if (uomList.length == 0) {
+ uomList = getDirectoryInfo("uom")
+ }
+ if (uomList.length > 0) {
+ for (let item of uomList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取包装单位
+export function getStdPackUnitInfo(value) {
+ var resultInfo = "";
+ if (packUnitList.length == 0) {
+ packUnitList = getDirectoryInfo("pack_unit")
+ }
+ if (packUnitList.length > 0) {
+ for (let item of packUnitList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取申请状态
+export function getRequestStateInfo(value) {
+ var resultInfo = "";
+ if (requestStatusList.length == 0) {
+ requestStatusList = getDirectoryInfo("request_status")
+ }
+ if (requestStatusList.length > 0) {
+ for (let item of requestStatusList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取库存状态
+export function getInventoryStatusInfo(value) {
+ var resultInfo = "";
+ if (inventoryStatusList.length == 0) {
+ inventoryStatusList = getDirectoryInfo("inventory_status")
+ }
+ if (inventoryStatusList.length > 0) {
+ for (let item of inventoryStatusList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取库存样式
+export function getInventoryStatusStyle(value) {
+ let item = getInventoryStatusInfo(value);
+ if (item == null || item == '') {
+ return 'other'
+ } else {
+ if (item.remark == '') {
+ return 'other'
+ } else {
+ return item.remark;
+ }
+ }
+}
+
+//获取库存状态
+export function getInventoryStatusName(value) {
+ let item = getInventoryStatusInfo(value);
+ if (item == null || item == '') {
+ return value
+ } else {
+ if (item.label == '') {
+ return value
+ } else {
+ return item.label;
+ }
+ }
+}
+
+
+//获取状态描述
+export function getInventoryStatusDesc(lst) {
+ let desc = '';
+ lst.forEach(res => {
+ desc += getInventoryStatusInfo(res).label + ","
+ })
+ desc = desc.slice(0, -1);
+ return desc;
+}
+
+
+//获取器具状态
+export function getContainerStatusInfo(value) {
+ var resultInfo = "";
+ if (containerTypeList.length == 0) {
+ containerTypeList = getDirectoryInfo("container_type")
+ }
+ if (containerTypeList.length > 0) {
+ for (let item of containerTypeList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取计划外入库原因
+export function getUnPlannedReceiptReasonList(value) {
+ if (unplannedReceiptReasonList.length == 0) {
+ unplannedReceiptReasonList = getDirectoryInfo("unplanned_receipt_reason")
+ }
+ unplannedReceiptReasonList.forEach(res => {
+ res.text = res.label;
+ res.value = res.code
+ })
+ return unplannedReceiptReasonList
+}
+
+//获取计划外出库原因
+export function getUnPlannedIssuseReasonList(value) {
+ if (unplannedIissueReason.length == 0) {
+ unplannedIissueReason = getDirectoryInfo("unplanned_issue_reason")
+ }
+ unplannedIissueReason.forEach(res => {
+ res.text = res.label;
+ res.value = res.code
+ })
+ return unplannedIissueReason
+}
+
+
+//获取检验不合格原因
+export function getInspectReasonList(value) {
+ if (inspectFailedReasonList.length == 0) {
+ inspectFailedReasonList = getDirectoryInfo("inspect_failed_reason")
+ }
+ inspectFailedReasonList.forEach(res => {
+ res.text = res.label;
+ res.value = res.code
+ })
+ return inspectFailedReasonList
+}
+
+
+// //数量状态
+// export function getCoutJobStatuStyle(val) {
+// if (val == 1) return 'state_inspect'
+// else if (val == 2) return 'state_ok'
+// else if (val == 3) return 'state_nook'
+// else return 'other'
+// }
+
+// export function getCountJobStatuDesc(val) {
+// if (val == 1) return '待检'
+// else if (val == 2) return '合格'
+// else if (val == 3) return '不合格'
+// else return "未知"
+// }
+
+// export function getPartCodeState(val) {
+// if (val == 0) return '可用'
+// else if (val == 1) return '新增'
+// else if (val == 2) return '隔离'
+// else if (val == 3) return '未知'
+// else return '未知'
+// }
+
+// export function getLocationState(val) {
+// if (val == 'kwlxINSP') return '待检库'
+// else if (val == 'kwlxRAW') return '原料库'
+// else if (val == 'kwlxSEMI') return '半成品库'
+// else if (val == 'kwlxFG') return '成品库'
+// else if (val == 'kwlxWIP') return '线边库'
+// else if (val == 'kwlxHOLD') return '隔离库'
+// else if (val == 'kwlxSCRAP') return '报废库'
+// else if (val == 'kwlxNOK') return '不合格品库'
+// else if (val == 'kwxOVERFLOW') return '溢出库'
+// else if (val == 'kwlxCUsT') return '客户寄售库'
+// else if (val == 'kwlxOUTSIDE') return '外库'
+// else if (val == 'kwlxDIFF') return '盘点差异库'
+// else if (val == 'kwxTRANSPORT') return '在途库'
+// else return '未知'
+
+// }
+
+// export function getLocationStyle(val) {
+// if (val == 'kwlxRAW') return 'state_raw'
+// else if (val == 'kwlxFG') return 'state_fg'
+// else if (val == 'kwlxSEMI') return 'state_semi'
+// else if (val == 'kwlxHOLD') return 'state_hold'
+// else if (val == 4) return 'state_unk'
+// }
+
+// //任务状态
+// export function getJobStatuStyle(val) {
+// if (val == 'JOB_PENDING') return 'job_state_un-doing'
+// else if (val == '1') return 'job_state_doing'
+// else if (val == 'reztDONE') return 'job_state_completed'
+// else if (val == 'rwztCLOSED') return 'job_state_close'
+// else if (val == 'rwztCANCELLED') return 'job_state_cancelled'
+// else return 'unk'
+// }
+// //任务状态
+// //open pending completed close
+// export function getJobStatuDesc(val) {
+// if (val == 'JOB_PENDING') return '待处理'
+// else if (val == '1') return '执行中'
+// else if (val == 'reztDONE') return '完成'
+// else if (val == 'rwztCLOSED') return '关闭'
+// else if (val == 'rwztCANCELLED') return '作废'
+// else return '其他'
+// }
+
+// //检验任务状态
+// export function getInspectTypeStyle(val) {
+// if (val == 0) return 'unk'
+// else if (val == 1) return 'exempt'
+// else if (val == 2) return 'full'
+// else if (val == 3) return 'sampling'
+// else if (val == 4) return 'pick'
+// else return 'other'
+// }
+// //open pending completed close
+// export function getInspectTypeDesc(val) {
+// if (val == 0) return '未知'
+// else if (val == 1) return '免检'
+// else if (val == 2) return '全检'
+// else if (val == 3) return '抽检'
+// else if (val == 4) return '挑选'
+// else return '其他'
+// }
+
+
+// //库存状态
+// export function getInventoryStatusStyle(val) {
+// if (val == 'kcztUNK') return 'unk'
+// else if (val == 'kcztINSP') return 'inventory_status_insp'
+// else if (val == 'kcztOK') return 'inventory_status_ok'
+// else if (val == 'kcztNOK') return 'inventory_status_nok'
+// else if (val == 'kcztHOLD') return 'inventory_status_hold'
+// else if (val == 'kcztSCRAP') return 'inventory_status_scarp'
+// else return 'other'
+// }
+
+
+// //库存状态
+// export function getInventoryStatusDesc(val) {
+// if (val == 'kcztUNK') return '未知'
+// else if (val == 'kcztINSP') return '待检'
+// else if (val == 'kcztOK') return '合格'
+// else if (val == 'kcztNOK') return '不合格'
+// else if (val == 'kcztHOLD') return '隔离'
+// else if (val == 'kcztSCRAP') return '报废'
+// else return '其他'
+// }
+
+// //库存状态
+// export function getInventoryStatusStyle(val) {
+// if (val == 0) return 'unk'
+// else if (val == 1) return 'insp'
+// else if (val == 2) return 'ok'
+// else if (val == 3) return 'nok'
+// else if (val == 4) return 'hold'
+// else if (val == 5) return 'scarp'
+// else if (val == 6) return 'frozen'
+// else if (val == 31) return 'nok'
+// else return 'other'
+// }
+
+
+// //库存状态kcztINSP
+// export function getInventoryStatusDesc(val) {
+// if (val == 0) return '未知'
+// else if (val == 1) return '待检'
+// else if (val == 2) return '合格'
+// else if (val == 3) return '不合格'
+// else if (val == 4) return '隔离'
+// else if (val == 5) return '报废'
+// else if (val == 6) return '冻结'
+// else if (val == 31) return '不合格'
+// // else if (val == 31) return '目检不合格'
+// else return '其他'
+// }
+
+// //物料状态
+// export function getItemStatusStyle(val) {
+// if (val == "wpztUNK") return 'item_unk'
+// else if (val == "wpztENABLE") return 'item_active'
+// else if (val == "wpztHOLD") return 'item_hold'
+// else if (val == "wpztNEW") return 'item_new'
+// else if (val == "wpztPLAN") return 'item_plan'
+// else if (val == "wpztDISABLE") return 'item_disable'
+// else return 'other'
+// }
+
+// export function getItemStatusStyle(val) {
+// if (val == 0) return 'unk_item'
+// else if (val == 1) return 'active_item'
+// else if (val == 2) return 'hold_item'
+// else if (val == 3) return 'new_item'
+// else if (val == 4) return 'plan_item'
+// else if (val == 5) return 'disable_item'
+// else return 'other'
+// }
+
+
+// //物料状态描述
+// export function getItemStatusDesc(val) {
+// if (val == "wpztUNK") return '未知'
+// else if (val == "wpztENABLE") return '可用'
+// else if (val == "wpztHOLD") return '隔离'
+// else if (val == "wpztNEW") return '新增'
+// else if (val == "wpztPLAN") return '规划'
+// else if (val == "wpztDISABLE") return '禁用'
+// else return '其他'
+// }
+
+// //盘点状态
+// export function getCountStageTypeStyle(val) {
+// if (val == 0) return 'unk'
+// else if (val == 1) return 'initial'
+// else if (val == 2) return 'afresh'
+// else if (val == 3) return 'supervision'
+// else return 'other'
+// }
+
+
+// //盘点状态
+// export function getCountStageDesc(val) {
+// if (val == 0) return '未知'
+// else if (val == 1) return '初盘'
+// else if (val == 2) return '重盘'
+// else if (val == 3) return '监盘'
+// else return '其他'
+// }
+
+// //盘点计划类型
+// export function getCheckTypeDesc(val) {
+// if (val == 0) return '未知'
+// else if (val == 1) return '周期盘点'
+// else if (val == 2) return '物理盘点'
+// else return '其他'
+// }
+
+// //盘点方式
+// export function getCountMethodDesc(val) {
+// if (val == 0) return '未知'
+// else if (val == 1) return '库位盘点'
+// else if (val == 2) return '物品盘点'
+// else if (val == 3) return '库位物料盘点'
+// else return '其他'
+// }
+
+// //获取库位类型
+// export function getLocationType(val) {
+// if (val == 'kwlxINSP') return 'location_inspect'
+// else if (val == 'kwlxRAW') return 'location_raw'
+// else if (val == 'kwlxSEMI') return 'location_semi'
+// else if (val == 'kwlxFG') return 'location_fg'
+// else if (val == 'kwlxWIP') return 'location_wip'
+// else if (val == 'kwlxHOLD') return 'location_hold'
+// else if (val == 'kwlxSCRAP') return 'location_scrap'
+// else if (val == 'kwlxNOK') return 'location_nok'
+// else if (val == 'kwxOVERFLOW') return 'location_overflow'
+// else if (val == 'kwlxCUsT') return 'location_cust'
+// else if (val == 'kwlxOUTSIDE') return 'location_outside'
+// else if (val == 'kwlxDIFF') return 'location_diff'
+// else if (val == 'kwxTRANSPORT') return 'location_transport'
+// else return 'location_other'
+// }
+
+// //获取库位类型描述
+// export function getLocationTypeDesc(val) {
+// if (val == 'kwlxINSP') return '待检库'
+// else if (val == 'kwlxRAW') return '原料库'
+// else if (val == 'kwlxSEMI') return '半成品库'
+// else if (val == 'kwlxFG') return '成品库'
+// else if (val == 'kwlxWIP') return '线边库'
+// else if (val == 'kwlxHOLD') return '隔离库'
+// else if (val == 'kwlxSCRAP') return '报废库'
+// else if (val == 'kwlxNOK') return '不合格品库'
+// else if (val == 'kwxOVERFLOW') return '溢出库'
+// else if (val == 'kwlxCUsT') return '客户寄售库'
+// else if (val == 'kwlxOUTSIDE') return '外库'
+// else if (val == 'kwlxDIFF') return '盘点差异库'
+// else if (val == 'kwxTRANSPORT') return '在途库'
+// else return '其他'
+
+// }
+
+// //获取任务类型描述
+// export function getJobType(val) {
+// if (val == 0) return 'uno'
+// else if (val == 1) return 'PurchaseReceiptJob' //采购收货
+// else if (val == 2) return 'PurchaseReturnJob' //采购退货任务
+// else if (val == 3) return 'InspectJob' //检验任务
+// else if (val == 4) return 'PutawayJob' //上架任务
+// else if (val == 5) return 'ProductReceiveJob' //完工收货任务
+// else if (val == 6) return 'IssueJob' //发料任务
+// else if (val == 7) return 'DeliverJob' //发货任务
+// else if (val == 8) return 'CheckJob' //校验任务
+// else if (val == 9) return 'CountJob' //盘点任务
+// else return 'Other'
+// }
+
+export function getPackingNumberAndBatchByList(managementList, itemCode, packingNumber, locationCode, batch) {
+ var itemInfo = {
+ packingNumber: "",
+ batch: ""
+ }
+ var manageType = queryManageModelByList(managementList, itemCode, locationCode)
+ if (manageType == "BY_QUANTITY") {
+ itemInfo.packingNumber = ""
+ itemInfo.batch = ""
+ } else if (manageType == "BY_BATCH") {
+ itemInfo.packingNumber = ""
+ itemInfo.batch = batch
+ } else if (manageType == "BY_PACKAGING") {
+ itemInfo.packingNumber = packingNumber
+ itemInfo.batch = batch
+ } else if (manageType == "BY_UNIQUE_ID") {
+ itemInfo.packingNumber = packingNumber
+ itemInfo.batch = batch
+ } else if (manageType == "") {
+ itemInfo.packingNumber = packingNumber
+ itemInfo.batch = batch
+ }
+ return itemInfo;
+}
+
+export function queryManageModelByList(managementList, itemCode, locationCode) {
+ var result = managementList.find(res => {
+ if (res.itemCode == itemCode && res.locationCode == locationCode) {
+ return res.ManagementPrecision
+ }
+ })
+
+ if (result != undefined) {
+ return result.ManagementPrecision
+ } else {
+ return ""
+ }
+}
+
+
+// 获取业务类型字典项
+export function getBusinessTypeDesc(type) {
+ if (type == "SupplierDeliver") {
+ return "供应商发货"
+ } else if (type = "PurchaseReceipt") {
+ return "采购收货";
+ } else if (type = "PurchaseReturn") {
+ return "采购退货";
+ } else if (type = "PurchasePutaway") {
+ return "采购上架";
+ }
+}
+
+
+export function queryManageModel(managementList, itemCode) {
+ var result = managementList.filter(res => {
+ if (res.itemCode == itemCode) {
+ return res.ManagementPrecision
+ }
+ })
+
+ if (result != undefined) {
+ return result[0].ManagementPrecision
+ } else {
+ return ""
+ }
+}
+
+export function getPackingNumberAndBatch(managementList, itemCode, packingNumber, batch) {
+ var itemInfo = {
+ packingNumber: "",
+ batch: ""
+ }
+
+ var manageType = queryManageModel(managementList, itemCode)
+ if (manageType == "BY_QUANTITY") {
+ itemInfo.packingNumber = ""
+ itemInfo.batch = ""
+ } else if (manageType == "BY_BATCH") {
+ itemInfo.packingNumber = ""
+ itemInfo.batch = batch
+ } else if (manageType == "BY_PACKAGING") {
+ itemInfo.packingNumber = packingNumber
+ itemInfo.batch = batch
+ } else if (manageType == "BY_UNIQUE_ID") {
+ itemInfo.packingNumber = packingNumber
+ itemInfo.batch = batch
+ }
+ return itemInfo;
+}
+
+// //提示是否消息
+// export function showConfirmMsg(content, callback) {
+// uni.showModal({
+// title: '提示',
+// cancelText: '否',
+// confirmText: '是',
+// content: content,
+// success: function(res) {
+// if (res.confirm) {
+// callback(true);
+// } else {
+// callback(false);
+// }
+// },
+// })
+// scanErrorAudio();
+// }
+
+export function compareTime() {
+ return function(a, b) {
+ // 按照时间降序
+ return Date.parse(a.time) - Date.parse(a.time)
+ }
+}
+//升序
+export function compareAsc(key) {
+ return function(a, b) {
+ var val1 = a[key];
+ var val2 = b[key];
+ return val1 - val2;
+ }
+}
+//倒序
+export function compareDesc(key) {
+ return function(a, b) {
+ var val1 = a[key];
+ var val2 = b[key];
+ return val2 - val1;
+ }
+}
+
+export function goHome() {
+ uni.reLaunch({
+ url: '/pages/index/index'
+ }).catch((e) => {});
+
+}
+/**
+ * 获取当天时间2023-11-07 00:00:00-->2023-11-07 23:59:59
+ */
+export function getTodayDate() {
+ var startTime = new Date(new Date().toLocaleDateString()).getTime();
+ var endTime = startTime + 24 * 60 * 60 * 1000 - 1
+ console.log("获取时间", startTime + "," + endTime)
+ return startTime + "," + endTime;
+}
+
+export function getCurrDateOneMonthsTimes() {
+ var end = Date.now()
+ // var end = new Date('2019/12/31 15:18').getTime()
+ var day = 31
+ var enda = new Date(end);
+ var endm = enda.getMonth() + 1;
+ var d = enda.getDate();
+ if (endm == 4 || endm == 6 || endm == 9 || endm == 11) {
+ day = 30
+ } else {
+ if (d == 31) {
+ day = 30
+ }
+ if (endm == 7 || endm == 12) {
+ day = 31
+ }
+ }
+ if (endm == 1) {
+ var endy = enda.getFullYear();
+ day = 31
+ if (d == 31) {
+ day = 28
+ }
+ if (d == 30) {
+ day = 29
+ }
+ if (d == 29) {
+ day = 30
+ }
+ if (endy % 4 == 0) {
+ day = 31
+ if (d == 31) {
+ day = 29
+ }
+ if (d == 30) {
+ day = 30
+ }
+ if (d == 29) {
+ day = 31
+ }
+ }
+ }
+ if (endm == 2) {
+ var endy = enda.getFullYear();
+ day = 28
+ if (endy % 4 == 0) {
+ day = 29
+ }
+ }
+ var start = 1000 * 60 * 60 * 24 * day
+ var interval = end + start;
+ return interval;
+}
+
+
+export function getCurrDateTimes() {
+ var time = (new Date()).getTime();
+ return time;
+}
+
+export function getBatch() {
+ var date = new Date();
+ var year = date.getFullYear(); //年
+ var month = date.getMonth() + 1; //月
+ var day = date.getDate(); //日
+ var batch = year.toString() + month.toString() + day.toString()
+ return batch;
+}
+
+export function getCurrDate() {
+ var date = new Date();
+ return getDate(date);
+}
+
+export function getCurrDateTime() {
+ var date = new Date();
+ return getDate(date) + " " + getTime(date);
+}
+
+export function getISODateTime() {
+ var date = new Date();
+ return getDate(date) + "T" + getTime(date) + "Z";
+}
+
+//格式化处理
+export function dateFormat(time) {
+ var result = ""
+ if (time != null) {
+ let date = new Date(time);
+ result = getDate(date) + " " + getTime(date);
+ }
+
+ return result;
+}
+
+//获取日期部分
+export function getDate(date) {
+ var year = date.getFullYear(); //年
+ var month = date.getMonth() + 1; //月
+ var day = date.getDate(); //日
+
+ month = month < 10 ? "0" + month : month;
+ day = day < 10 ? "0" + day : day;
+ return year + "-" + month + "-" + day;
+}
+
+//获取时间部分
+export function getTime(date) {
+ let hours = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
+ let minutes = date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
+ let seconds = date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
+ // 拼接
+ return hours + ":" + minutes + ":" + seconds;
+}
+
+//将20220713转成2022-07-13
+export function toYYYY_MM_DD(value) {
+ return value.substring(0, 4) + "-" + value.substring(4, 6) + "-" + value.substring(6, 8)
+}
+
+export function getRootFontSize() {
+ const self = this;
+ var fontSize = getApp().globalData.rootFontSize;
+ if (fontSize) {
+ return fontSize;
+ } else {
+ fontSize = uni.getStorageSync('root_font_size');
+ if (fontSize) {
+ getApp().globalData.rootFontSize = fontSize;
+ } else {
+ fontSize = '20px'; //默认字体大小
+ self.setRootFontSize(fontSize);
+ }
+ return fontSize;
+
+ }
+}
+
+export function getRemoveOption() {
+ let options = [{
+ text: '移除',
+ style: {
+ backgroundColor: '#F56C6C'
+ }
+ }]
+ return options;
+}
+
+export function setRootFontSize(fontSize) {
+ uni.setStorageSync('root_font_size', fontSize);
+ getApp().globalData.rootFontSize = fontSize;
+}
+
+
+export function scanErrorAudio() {
+ var music = null;
+ music = uni.createInnerAudioContext(); //创建播放器对象
+ music.src = "../../static/video/error.wav";
+ music.volume = 1;
+ music.play(); //执行播放
+ music.onEnded(() => {
+ //播放结束
+ music = null;
+ });
+}
+
+
+export function newMessageAudio() {
+ var music = null;
+ music = uni.createInnerAudioContext(); //创建播放器对象
+ music.src = "../../static/video/error.wav";
+ music.volume = 1;
+ music.play(); //执行播放
+ music.onEnded(() => {
+ //播放结束
+ music = null;
+ });
+}
+
+
+export function vibrate() {
+ uni.vibrateLong({
+ success: function() {
+
+ }
+ })
+}
+
+
+export function getDataSource(subList) {
+ let items = [];
+ subList.forEach(detail => {
+ var item = items.find(r =>
+ r.itemCode == detail.itemCode)
+ if (item == undefined) {
+ item = createItemInfo(detail);
+ let newDetail = createDetailInfo(detail); //
+ item.subList.push(newDetail);
+ items.push(item)
+ } else {
+ item.qty = calc.add(item.qty,detail.qty)
+ let newDetail = createDetailInfo(detail); //
+ item.subList.push(newDetail);
+ }
+ })
+ return items;
+}
+
+export function createItemInfo(res) {
+ let item = {
+ itemCode: res.itemCode,
+ itemName: res.itemName,
+ stdPackQty: Number(res.stdPackQty),
+ stdPackUnit: res.stdPackUnit,
+ qty: Number(res.qty),
+ handleQty: 0,
+ uom: res.uom,
+ subList: []
+ }
+ return item;
+}
+
+export function createDetailInfo(data) {
+ data.scaned = false;
+ // data.record = {};
+ let detail = data;
+ return detail;
+}
+
+export function updateTitle(title) {
+ uni.setNavigationBarTitle({
+ title: title
+ })
+}
+
+export function clearTirmAndWrap(content) {
+ return content.replace(/<\/?.+?\/?>|\r|\n|\s*/g, '')
+}
+
+export function navigateBack(backIndex) {
+ let canNavBack = getCurrentPages()
+ if (canNavBack && canNavBack.length - 1 > backIndex) {
+ uni.navigateBack({
+ delta: backIndex
+ })
+ } else {
+ history.back();
+ }
+}
+/**
+ * 深度克隆对象
+ * @param {*} target
+ */
+export function deepCopyData(target) {
+ // 克隆原始类型和null
+ if (!(target !== null && (typeof target === 'object' || typeof target === 'function'))) {
+ return target;
+ }
+
+ let cloneTarget = Array.isArray(target) ? [] : {};
+ // 克隆对象和数组
+ for (const key in target) {
+ cloneTarget[key] = deepCopyData(target[key]);
+ }
+
+ return cloneTarget;
+}
diff --git a/common/calc.js b/common/calc.js
new file mode 100644
index 0000000..2b48e48
--- /dev/null
+++ b/common/calc.js
@@ -0,0 +1,17 @@
+/* 解决js计算精度问题 */
+import { Decimal } from 'decimal.js';//引入
+class Calc {
+ add(num1,num2) {
+ return new Decimal(num1).add(new Decimal(num2)).toNumber()
+ }
+ sub(num1,num2) {
+ return new Decimal(num1).sub(new Decimal(num2)).toNumber()
+ }
+ mul(num1,num2) {
+ return new Decimal(num1).mul(new Decimal(num2)).toNumber()
+ }
+ div(num1,num2) {
+ return new Decimal(num1).div(new Decimal(num2)).toNumber()
+ }
+}
+export const calc = new Calc();
\ No newline at end of file
diff --git a/common/detail.js b/common/detail.js
new file mode 100644
index 0000000..1ba7aa9
--- /dev/null
+++ b/common/detail.js
@@ -0,0 +1,83 @@
+import {
+ calc
+ } from '@/common/calc'
+
+import { Decimal } from 'decimal.js';//引入
+ export function getDataSource(subList) {
+ let items = [];
+ subList.forEach(detail => {
+ var item = items.find(r =>
+ r.itemCode == detail.itemCode)
+ if (item == undefined) {
+ item = createItemInfo(detail);
+ let newDetail = createDetailInfo(detail); //
+ item.subList.push(newDetail);
+ items.push(item)
+ } else {
+ item.qty = calc.add(item.qty, detail.qty)
+ let newDetail = createDetailInfo(detail); //
+ item.subList.push(newDetail);
+ }
+ })
+ return items;
+ }
+
+ export function createItemInfo(detail) {
+ let item = {
+ itemCode: detail.itemCode,
+ itemName: detail.itemName,
+ stdPackQty: Number(detail.stdPackQty) || undefined,
+ stdPackUnit: detail.stdPackUnit,
+ qty: Number(detail.qty),
+ handleQty: 0,
+ uom: detail.uom,
+ subList: []
+ }
+ return item;
+ }
+
+ export function createDetailInfo(data) {
+ data.scaned = false;
+ // data.record = {};
+ let detail = data;
+ return detail;
+ }
+
+ //根据明细创建记录
+ export function createRecordInfo(detail, balance) {
+ var record = {}
+ // let record = JSON.parse(JSON.stringify(detail));
+ //克隆对象,深度克隆,防止双向绑定同一个变量
+ Object.assign(record, detail)
+ detail.scaned = true;
+ detail.balance = balance;
+ detail.recommendInventoryStatus = detail.inventoryStatus;
+ detail.inventoryStatus = balance.inventoryStatus;
+ record.qty = Number(balance.qty);
+ return record;
+ }
+
+ //计算实际数量
+ export function calcHandleQty(detailSource) {
+ for (let item of detailSource) {
+ item.handleQty = new Decimal(0).toNumber();
+ // item.qty = new Decimal(0).toNumber();
+ for (let detail of item.subList) {
+ if (detail != undefined && detail.scaned) {
+ item.handleQty = calc.add(item.handleQty,detail.handleQty);
+ // item.qty = calc.add(item.qty,detail.qty);
+ }
+ }
+ }
+ }
+
+
+ export function getScanCount(subList) {
+ let items = subList.filter(r => {
+ if (r.scaned) {
+ return r;
+ }
+ })
+ let scanCount = items != null ? items.length : 0;
+ return scanCount;
+ }
diff --git a/common/directory.js b/common/directory.js
new file mode 100644
index 0000000..934b432
--- /dev/null
+++ b/common/directory.js
@@ -0,0 +1,516 @@
+let jobStatusList = [];
+let itemStatusList = [];
+let itemTypeList =[];
+let locationTypeList = [];
+let uomList = [];
+let inventoryStatusList = [];
+let containerTypeList = [];
+let packUnitList = [];
+let requestStatusList = [];
+let unplannedReceiptReasonList = [];
+let unplannedIssueReasonList = [];
+let unplannedIissueReason = [];
+let scrapReasonList = [];
+let inspectFailedReasonList = [];
+let inspectResultList = [];
+let nextActionList = [];
+let inspectTypeList = [];
+let sampleMethodList = [];
+let transferModeList = [];
+let countStageList = [];
+
+
+
+
+
+// 获取业务类型字典项
+export function getBusinessTypeDesc(type) {
+ if (type == "SupplierDeliver") {
+ return "供应商发货"
+ } else if (type = "PurchaseReceipt") {
+ return "采购收货";
+ } else if (type = "PurchaseReturn") {
+ return "采购退货";
+ } else if (type = "PurchasePutaway") {
+ return "采购上架";
+ }
+}
+
+//获取字典信息
+export function clearCacheData() {
+ jobStatusList = [];
+ itemStatusList = [];
+ itemTypeList =[];
+ locationTypeList = [];
+ uomList = [];
+ inventoryStatusList = [];
+ containerTypeList = [];
+ packUnitList = [];
+ requestStatusList = [];
+ unplannedReceiptReasonList = [];
+ unplannedIssueReasonList = [];
+ unplannedIissueReason = [];
+ scrapReasonList = [];
+ inspectFailedReasonList = [];
+ inspectResultList = [];
+ nextActionList = [];
+ inspectTypeList = [];
+ sampleMethodList = [];
+ transferModeList = [];
+ countStageList = [];
+}
+
+//获取字典信息
+export function getDirectoryInfo(type) {
+
+ var result = [];
+ var list = uni.getStorageSync("dictionary")
+ if (list != undefined && list.length > 0) {
+ for (let item of list) {
+ if (item.type == type) {
+ result = item.subList
+ break;
+ }
+ }
+ }
+
+ return result
+}
+
+//将字典项转为数组
+export function getDirectoryItemArray(data) {
+ var array = []
+ if (data == undefined || data == null || data == "") {
+ return array
+ }
+
+ if (data.indexOf(',') < 0) {
+ array.push(data)
+ } else {
+ var arrayItems = data.split(',')
+ arrayItems.forEach(res => {
+ array.push(res)
+ })
+ }
+ return array
+}
+
+//查询字典项是否在列表中
+export function checkDirectoryItemExist(list, type) {
+ let exist = false;
+ if (list == null || list.length == 0) {
+ exist = true;
+ } else {
+ var temp = list.filter(res => {
+ if (res == type) {
+ return res
+ }
+ })
+ if (temp != undefined && temp.length > 0) {
+ exist = true
+ }
+ }
+ return exist
+}
+
+
+//获取任务状态
+export function getJobStateInfo(value) {
+ var resultInfo = "";
+ if (jobStatusList.length == 0) {
+ jobStatusList = getDirectoryInfo("job_status")
+ }
+ if (jobStatusList.length > 0) {
+ for (let item of jobStatusList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取任务状态样式
+export function getJobStateStyle(value) {
+ let item = getJobStateInfo(value);
+ if (item == null || item == '') {
+ return 'other'
+ } else {
+ if (item.remark == '') {
+ return 'other'
+ } else {
+ return item.remark;
+ }
+ }
+}
+
+//获取库位描述(多个库位)
+export function getListLocationTypeDesc(list) {
+ let desc = '';
+ list.forEach(res => {
+ desc += getLocationTypeInfo(res).label + ","
+ })
+ desc = desc.slice(0, -1);
+ return desc;
+}
+
+
+//获取物品状态(多个状态)
+export function getListItemStateDesc(list) {
+ let desc = '';
+ list.forEach(res => {
+ desc += getItemStateInfo(res).label + ","
+ })
+ desc = desc.slice(0, -1);
+ return desc;
+}
+
+//获取物品类型(多个)
+export function getListItemTypeDesc(list) {
+ let desc = '';
+ list.forEach(res => {
+ desc += getItemTypeInfo(res).label + ","
+ })
+ desc = desc.slice(0, -1);
+ return desc;
+}
+
+//获取物品类型
+export function getItemTypeInfo(value) {
+ var resultInfo = "";
+ if (itemTypeList.length == 0) {
+ itemTypeList = getDirectoryInfo("item_type")
+ }
+ if (itemTypeList.length > 0) {
+ for (let item of itemTypeList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+
+
+
+//获取物品状态
+export function getItemStateInfo(value) {
+ var resultInfo = "";
+ if (itemStatusList.length == 0) {
+ itemStatusList = getDirectoryInfo("item_status")
+ }
+ if (itemStatusList.length > 0) {
+ for (let item of itemStatusList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取库位类型
+export function getLocationTypeInfo(value) {
+ var resultInfo = "";
+ if (locationTypeList.length == 0) {
+ locationTypeList = getDirectoryInfo("location_type")
+ }
+ if (locationTypeList.length > 0) {
+ for (let item of locationTypeList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取库位类型名称
+export function getLocationTypeName(value) {
+ let location = getLocationTypeInfo(value);
+
+ return location == '' ? value : location.label;
+}
+
+
+//获取库位类型名称
+export function getLocationTypeNameList(lst) {
+ let desc = '';
+ lst.forEach(res => {
+ desc += getLocationTypeInfo(res).label + ","
+ })
+ desc = desc.slice(0, -1);
+ return desc;
+}
+
+//获取计量单位
+export function getUnitInfo(value) {
+ var resultInfo = "";
+ if (uomList.length == 0) {
+ uomList = getDirectoryInfo("uom")
+ }
+ if (uomList.length > 0) {
+ for (let item of uomList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取包装单位
+export function getStdPackUnitInfo(value) {
+ var resultInfo = "";
+ if (packUnitList.length == 0) {
+ packUnitList = getDirectoryInfo("pack_unit")
+ }
+ if (packUnitList.length > 0) {
+ for (let item of packUnitList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取申请状态
+export function getRequestStateInfo(value) {
+ var resultInfo = "";
+ if (requestStatusList.length == 0) {
+ requestStatusList = getDirectoryInfo("request_status")
+ }
+ if (requestStatusList.length > 0) {
+ for (let item of requestStatusList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+
+//获取库存状态
+export function getInventoryStatusInfo(value) {
+ var resultInfo = "";
+ if (inventoryStatusList.length == 0) {
+ inventoryStatusList = getDirectoryInfo("inventory_status")
+ }
+ if (inventoryStatusList.length > 0) {
+ for (let item of inventoryStatusList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取库存样式
+export function getInventoryStatusStyle(value) {
+ let item = getInventoryStatusInfo(value);
+ if (item == null || item == '') {
+ return 'other'
+ } else {
+ if (item.remark == '') {
+ return 'other'
+ } else {
+ return item.remark;
+ }
+ }
+}
+
+//获取库存样式
+export function getInventoryStatusName(value) {
+ let item = getInventoryStatusInfo(value);
+ if (item == null || item == '') {
+ return value
+ } else {
+ if (item.label == '') {
+ return value
+ } else {
+ return item.label;
+ }
+ }
+}
+
+//获取状态描述 list
+export function getInventoryStatusDesc(lst) {
+ let desc = '';
+ lst.forEach(res => {
+ desc += getInventoryStatusInfo(res).label + ","
+ })
+ desc = desc.slice(0, -1);
+ return desc;
+}
+
+//获取器具状态
+export function getContainerStatusInfo(value) {
+ var resultInfo = "";
+ if (containerTypeList.length == 0) {
+ containerTypeList = getDirectoryInfo("container_type")
+ }
+ if (containerTypeList.length > 0) {
+ for (let item of containerTypeList) {
+ if (item.value == value) {
+ resultInfo = item
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取计划外入库原因
+export function getUnPlannedReceiptReasonList(value) {
+ if (unplannedReceiptReasonList.length == 0) {
+ unplannedReceiptReasonList = getDirectoryInfo("unplanned_receipt_reason")
+ }
+ unplannedReceiptReasonList.forEach(res => {
+ res.text = res.label;
+ res.value = res.value
+ })
+ return unplannedReceiptReasonList
+}
+
+//获取计划外出库原因
+export function getUnPlannedIssuseReasonList(value) {
+ if (unplannedIssueReasonList.length == 0) {
+ unplannedIssueReasonList = getDirectoryInfo("unplanned_issue_reason")
+ }
+ unplannedIssueReasonList.forEach(res => {
+ res.text = res.label;
+ res.value = res.value
+ })
+ return unplannedIssueReasonList
+}
+
+//获取报废出库原因
+export function getScarpReasonList(value) {
+ if (scrapReasonList.length == 0) {
+ scrapReasonList = getDirectoryInfo("scrap_reason")
+ }
+ scrapReasonList.forEach(res => {
+ res.text = res.label;
+ res.value = res.value
+ })
+ return scrapReasonList
+}
+
+//获取检验失败原因
+export function getInspectFailedReasonList(value) {
+ if (inspectFailedReasonList.length == 0) {
+ inspectFailedReasonList = getDirectoryInfo("inspect_failed_reason")
+ }
+ inspectFailedReasonList.forEach(res => {
+ res.text = res.label;
+ res.value = res.value
+ })
+ return inspectFailedReasonList
+}
+
+//获取检验结果
+export function getInspectResultList(value) {
+ if (inspectResultList.length == 0) {
+ inspectResultList = getDirectoryInfo("inspect_result")
+ }
+ inspectResultList.forEach(res => {
+ res.text = res.label;
+ res.value = res.value
+ })
+ return inspectResultList
+}
+
+
+
+//获取下一步动作
+export function getNextActionList(value) {
+ if (nextActionList.length == 0) {
+ nextActionList = getDirectoryInfo("next_action")
+ }
+ nextActionList.forEach(res => {
+ res.text = res.label;
+ res.value = res.value
+ })
+ return nextActionList
+}
+
+
+
+//获取检验类型
+export function getInspectType(value) {
+ var resultInfo = "";
+ if (inspectTypeList.length == 0) {
+ inspectTypeList = getDirectoryInfo("inspect_type")
+ }
+ if (inspectTypeList.length > 0) {
+ for (let item of inspectTypeList) {
+ if (item.value == value) {
+ resultInfo = item.label
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+//获取抽检方式
+export function getSampleMethod(value) {
+ var resultInfo = "";
+ if (sampleMethodList.length == 0) {
+ sampleMethodList = getDirectoryInfo("sample_method")
+ }
+ if (sampleMethodList.length > 0) {
+ for (let item of sampleMethodList) {
+ if (item.value == value) {
+ resultInfo = item.label
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取运输方式
+export function getTransferModeName(value) {
+ var resultInfo = "";
+ if (transferModeList.length == 0) {
+ transferModeList = getDirectoryInfo("transfer_mode")
+ }
+ if (transferModeList.length > 0) {
+ for (let item of transferModeList) {
+ if (item.value == value) {
+ resultInfo = item.label
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
+
+//获取盘点阶段名称
+export function getCountStageName(value) {
+ var resultInfo = "";
+ if (countStageList.length == 0) {
+ countStageList = getDirectoryInfo("count_stage")
+ }
+ if (countStageList.length > 0) {
+ for (let item of countStageList) {
+ if (item.value == value) {
+ resultInfo = item.label
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
diff --git a/common/label.js b/common/label.js
new file mode 100644
index 0000000..7ffefd7
--- /dev/null
+++ b/common/label.js
@@ -0,0 +1,194 @@
+let labelDic = [];
+
+import {
+ getLabelByHeader,
+ getPackageByNumber
+} from '../api/request2.js';
+
+import {
+ checkDirectoryItemExist,
+ getDirectoryItemArray
+} from '../common/directory.js';
+
+
+
+export function getLabelInfo(scanMsg,headerType, callBack) {
+ console.log('扫描信息:', scanMsg);
+ if (scanMsg.length == 0) {
+ return null
+ }
+ let items = scanMsg.split(';');
+ let header = items[0];
+ let version = items[1];
+ if ((header != undefined) && (version!=undefined)) {
+ var hearList =getDirectoryItemArray(headerType)
+ if(!checkDirectoryItemExist(hearList,header)){
+ let labelResult = {
+ label: {
+ labelType: "",
+ barType: '',
+ code:""
+ },
+ package: null,
+ success: false,
+ message: '请输入'+headerType+"开始的标签",
+ }
+ callBack(labelResult);
+ return;
+ }
+
+ //解析扫描的是一维码还是二维码
+ let type = header.substring(header.length - 1, header.length);
+ if (type == 'Q') //qrcode
+ {
+ getQRCodeInfo(header, version, scanMsg, callBack);
+ } else if (type == 'B') //barcode
+ {
+ getBarCodeInfo(header, version, items[2], callBack);
+ } else { //直接输入文本
+ getBarCodeInfo('text', 'V1.0', scanMsg, callBack);
+ }
+ }else {
+ let labelResult = {
+ label: {
+ labelType: "",
+ barType: '',
+ code:""
+ },
+ package: null,
+ success: false,
+ message: '标签格式不正确',
+ }
+ callBack(labelResult);
+ }
+}
+
+export function getQRCodeInfo(header, version, scanMsg, callBack) {
+ //获取包装信息
+ let labelItem = labelDic.find(r => r.header == header && r.version == version);
+ if (labelItem == undefined) {
+ let labelResult = {
+ label: {
+ barType: 'QRCode',
+ },
+ package: {},
+ success: true,
+ message: ''
+ }
+ getLabelByHeader(header, version).then(res => {
+ if (res.data==null) {
+ labelResult.success = false;
+ labelResult.message = '未查找到标签头为[' + header + ']的标签类型';
+ callBack(labelResult);
+ } else {
+ let newItem = {
+ header: header,
+ version: version,
+ label: res.data,
+ };
+
+ labelDic.push(newItem);
+ getLabelItems(newItem, scanMsg, callBack);
+ }
+ }).catch(err => {
+ labelResult.success = false;
+ labelResult.message = err;
+ callBack(err);
+ })
+ } else {
+ getLabelItems(labelItem, scanMsg, callBack);
+ }
+}
+
+export function getLabelItems(labelItem, scanMsg, callBack) {
+ let labelResult = analysisQRCodeLabel(labelItem, scanMsg);
+ if (labelResult.label.labelType == 'PurchaseLabel' || labelResult.label.labelType == 'MakeLabel') {
+ //查询包装信息
+ let packingNumber = labelResult.label.packingNumber
+ if (packingNumber != undefined) {
+ getPackageByNumber(packingNumber).then(pack => {
+ if (pack.data.list.length == 0) {
+ labelResult.success = false;
+ labelResult.message = '包装号[' + packingNumber + ']没有包装信息';
+ } else {
+ labelResult.package = pack.data.list[0];
+ console.log('包装信息', JSON.stringify(labelResult.package))
+ }
+ callBack(labelResult);
+ }).catch(err => {
+ labelResult.success = false;
+ labelResult.message = err;
+ callBack(labelResult);
+ })
+ } else {
+ labelResult.success = false;
+ labelResult.message = '在条码中未解析到箱码';
+ callBack(labelResult);
+ }
+ } else {
+ callBack(labelResult);
+ }
+}
+
+export function analysisQRCodeLabel(labelItem, scanMsg) {
+ let labelResult = {
+ label: {
+ labelType: labelItem.label.labelType,
+ barType: 'QRCode',
+ },
+ package: {},
+ success: true,
+ message: ''
+ }
+
+ let separators = labelItem.label.separators;
+ if (separators == undefined || separators == null) {
+ labelResult.message = "未读取到分隔符";
+ } else {
+ if (scanMsg.indexOf(separators) < 0) {
+ labelResult.success = false;
+ labelResult.message = "标签格式不正确";
+ } else {
+ try {
+ let scanItems = scanMsg.split(separators);
+ if (scanItems.length > 0) {
+ scanItems.forEach((item, index) => {
+ let type = item.substring(0, 1);
+ let value = item.substring(1, item.length);
+ if (type == 'H') {
+ labelResult.label.header = item;
+ } else if (type == 'V') {
+ labelResult.label.version = item;
+ } else {
+ let barcode = labelItem.label.subList.find(code => code.prefixChar.toUpperCase() ==
+ type
+ .toUpperCase());
+ if (barcode != undefined) {
+ labelResult.label[barcode.code] = value;
+ }
+ }
+ })
+ }
+ } catch (e) {
+ labelResult.message = e.message;
+ }
+
+ }
+ }
+ // console.log('标签', labelResult.label)
+ return labelResult;
+}
+
+export function getBarCodeInfo(header, version, value, callBack) {
+ let labelResult = {
+ label: {
+ labelType: header,
+ barType: 'BarCode',
+ code:value
+ },
+ package: null,
+ success: true,
+ message: '',
+ }
+ callBack(labelResult);
+}
diff --git a/common/record.js b/common/record.js
new file mode 100644
index 0000000..f4a988c
--- /dev/null
+++ b/common/record.js
@@ -0,0 +1,91 @@
+import {
+ getBusinesstypeByCode
+} from '@/api/request2.js';
+
+import {
+ getDirectoryItemArray,
+} from '@/common/directory.js';
+import { calc } from '@/common/calc'
+import { Decimal } from 'decimal.js';//引入
+ import {
+ deepCopyData
+ } from '@/common/basic.js';
+
+export function createItemInfo(balance, pack) {
+ let item = {
+ itemCode: pack.itemCode,
+ itemName: pack.itemName,
+ stdPackQty: pack.stdPackQty,
+ stdPackUnit: pack.stdPackUnit,
+ qty: new Decimal(balance.qty).toNumber(),
+ handleQty:new Decimal(0).toNumber(),
+ uom: pack.uom,
+ subList: []
+ }
+ return item;
+}
+
+export function createDetailInfo(balance, pack) {
+ balance.scaned = true;
+ // data.toInventoryStatus = this.toInventoryStatus == "" ? data.inventoryStatus : this.toInventoryStatus;
+ // data.inventoryStatus = data.inventoryStatus;
+ let detail = deepCopyData(balance);
+ detail.balanceQty = new Decimal(detail.qty).toNumber()
+ detail.qty = new Decimal(detail.qty).toNumber();
+ detail.stdPackQty = new Decimal(pack.stdPackQty).toNumber()
+ detail.stdPackUnit = pack.stdPackUnit
+ detail.handleQty = new Decimal(detail.qty).toNumber() ;
+ detail.package = pack;
+
+ return detail;
+}
+
+//计算实际数量
+export function calcHandleQty(detailSource) {
+ for (let item of detailSource) {
+ item.handleQty = new Decimal(0).toNumber();
+ item.qty = new Decimal(0).toNumber();
+ for (let detail of item.subList) {
+ if(detail!=undefined){
+ if(detail.scaned){
+ item.handleQty = calc.add(item.handleQty,detail.handleQty);
+ }
+ item.qty = calc.add(item.qty,detail.qty);
+ }
+ }
+ }
+}
+
+export function getBusinessType(typeCode, callback) {
+ let result = {
+ success: true,
+ businessType: '',
+ fromlocationTypeList: '',
+ tolocationTypeList: '',
+ itemCodeTypeList:"",
+ useOnTheWay:"FALSE",
+ fromInventoryStatuses: '',
+ toInventoryStatuses: '',
+ message: ''
+ };
+ getBusinesstypeByCode(typeCode).then(res => {
+ if (res.data.total > 0) {
+ result.businessType = res.data.list[0];
+ result.fromlocationTypeList = getDirectoryItemArray(res.data.list[0].outLocationTypes)
+ result.tolocationTypeList = getDirectoryItemArray(res.data.list[0].inLocationTypes)
+ result.itemCodeTypeList = getDirectoryItemArray(res.data.list[0].itemTypes)
+ result.fromInventoryStatuses = res.data.list[0].outInventoryStatuses;
+ result.toInventoryStatuses = res.data.list[0].inInventoryStatuses;
+ result.useOnTheWay =res.data.list[0].useOnTheWay
+ callback(result)
+ } else {
+ result.success = false;
+ result.message = '业务类型[' + typeCode + ']获取失败';
+ callback(result)
+ }
+ }).catch(error => {
+ result.success = false;
+ result.message = error;
+ callback(result)
+ })
+}
diff --git a/common/style/PDA_style-delete.css b/common/style/PDA_style-delete.css
new file mode 100644
index 0000000..47edd46
--- /dev/null
+++ b/common/style/PDA_style-delete.css
@@ -0,0 +1,221 @@
+
+@media screen and (min-width:400px) {
+ uni-app, uni-page-head{
+ height: 60px;
+ }
+ uni-page-head .uni-page-head{
+ height: 60px !important;
+ }
+ uni-page-head[uni-page-head-type=default]~uni-page-wrapper{
+ height: calc(100% - 70px) !important;
+ }
+ uni-page-head .uni-page-head__title{
+ font-size: 1.125rem !important;
+ line-height: 40px !important;
+ font-weight: normal !important;
+ }
+ uni-page-head .uni-btn-icon{
+ font-size: 1.725rem !important;
+ }
+ .font_xs{
+ font-size: 0.825rem !important;
+ }
+ .font_xl{
+ font-size: 1.325rem !important;
+ }
+ .mini-type-style{
+ font-size: 0.8rem !important;
+ }
+ .cen_card .label_box .label_info uni-text{
+ line-height: 1.725 !important;
+ /* font-size: 1rem !important; */
+ color: #333;
+ }
+ .cen_card .label_box .label_info{
+ background-color: #eee !important;
+ }
+ .popup_box .detail-list{
+ box-shadow: none !important;
+ }
+ .detail-list,.device-detail{
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) !important;
+ }
+ .list_form .uni-table-tr{
+ background-color: #f0f0f0 !important;
+ }
+ .list_form .uni-table-th{
+ border-bottom: 1px solid #cfcfcf !important;
+ }
+ /* yuanswitch
+ .require_wrap{
+ padding-top: 0 !important;
+ }
+ .require_wrap .require_cell{
+ line-height: 1.75 !important;
+ }
+ .ljh_box .tit_ljh{
+ font-size: 1.25rem !important;
+ }
+ .cen_card .label_box .label_info {
+ background-color: #eee !important;
+ }
+ .cen_card .label_box .label_info uni-image{
+ width: 48rpx !important;
+ height: 48rpx !important;
+ }
+
+ .cen_card .label_box .label_info uni-text{
+ line-height: 1.5 !important;
+ font-size: 1rem !important;
+ color: #333;
+ }
+ .ljh_box .tit_ljh .state-style, .top_card .state-style{
+ font-size: 0.8rem !important;
+ }
+ .card_task .ljh_box{
+ margin-bottom: 0 !important;
+ }
+ .task_num uni-image{
+ width: 56rpx !important;
+ height: 56rpx !important;
+ }
+ .task_num uni-text{
+ font-size: 1rem !important;
+ }
+ .pda_receipt_label .label_order uni-text{
+ font-size: 1rem;
+ color: #434556;
+ }
+ .pda_receipt_label .icon_normal{
+ width: 56rpx;
+ height: 56rpx;
+ }
+ .pda_receipt_bot .icon_normal{
+ width: 56rpx;
+ height: 56rpx;
+ float: left;
+ }
+ .pda_receipt_bot .text_darkblue{
+ float: left;
+ font-size: 1rem;
+ margin-top: 8rpx;
+ display: inline-block;
+ }*/
+ .top_card .text_lightblue{
+ font-size: 1rem !important;
+ }
+ .top_card .cell_box .cell_info{
+ margin-bottom: 0;
+ }
+ .uni-tab-item-title{
+ font-size: 1.125rem !important;
+ }
+ .cell_box .cell_info uni-view{
+ font-size: 1rem !important;
+ color: #101010 !important;
+ }
+ .cell_box .cell_info .text_lightblue{
+ font-size: 0.875rem !important;
+ color: #6A6E7A !important;
+ }
+ .cell_box .cell_info .text_black{
+ font-size: 1.125rem !important;
+
+ }
+ .scan_float uni-image{
+ margin-top: 18rpx !important;
+ }
+ .scan_float uni-view{
+ font-size: 0.875rem !important;
+ letter-spacing: 1px;
+ }
+ .new_btn_bot .new_save_btn,.popup_box .pop_title uni-text{
+ font-size: 1rem !important;
+ }
+ .bot_card{
+ background-color: #eee !important;
+ }
+ .bot_card_item uni-text{
+ font-size: 0.8rem !important;
+ font-weight: 600;
+ }
+ .summary_state .state_point{
+ font-size: 1rem !important;
+ }
+ .summary_item label{
+ float: left;
+ }
+ .summary_item uni-text{
+ font-size: 1.125rem !important;
+ font-weight: normal !important;
+ float: left;
+ }
+ /* popup */
+ .popup_box{
+ box-sizing: border-box;
+ }
+ .popup_box .uni-steps{
+ width:100%;
+ overflow-x: hidden;
+ }
+ .popup_box .uni-steps__row-line-item{
+ height: 60rpx !important;
+ }
+ .popup_box .uni-steps__row-text-container{
+ margin-top: 0 !important;
+ }
+ .popup_box,.uni-popup .uni-scroll-view-content{
+ border-top-left-radius:30rpx !important;
+ border-top-right-radius:30rpx !important;
+ }
+ .popup_box .pop_title{
+ font-size: 1.125rem !important;
+ letter-spacing: 1px;
+ }
+ .popup_box .pop_tab .tab_tit{
+ font-size: 0.875rem !important;
+ }
+ .popup_box .pop_tab .tab_tit_active{
+ font-size: 1rem !important;
+ }
+ .popup_box .pop_tab .tab_info{
+ min-height: 200rpx !important;
+ }
+ .popup_box .pop_tab .tab_info uni-textarea{
+ height: 200rpx;
+ }
+ .popup_box .pop_tab .tab_info uni-button{
+ font-size: 0.875rem !important;
+ letter-spacing: 1px;
+ }
+ /*底部按钮*/
+ .new_btn_bot .new_save_btn{
+ background-color: #E4EAFF !important;
+ height: 50px;
+ line-height: 50px;
+ }
+ .new_btn_bot .new_clear_btn{
+ font-size: 1rem !important;
+ line-height: 50px;
+ }
+ .scroll-detail{
+ padding-bottom: 70px !important;
+ }
+ .count_shadow,.device-detail{
+ box-shadow: 0 0 20rpx rgba(0,0,0,0.2);
+ }
+ .list_info {
+ padding: 0 20rpx 20rpx;
+ margin-top: 0;
+ }
+ .uni-scroll-view-content .creattp_list{
+ width: 100% !important;
+ }
+ .creattp_list .uni-list .list_cell uni-text{
+ font-weight: bold;
+ }
+ .popup_box .scan_scroll{
+ max-height: 44vh !important;
+
+ }
+}
diff --git a/common/style/new_style.css b/common/style/new_style.css
new file mode 100644
index 0000000..83a2cd4
--- /dev/null
+++ b/common/style/new_style.css
@@ -0,0 +1,2749 @@
+/*WMY 20220818 cssv1.0*/
+/*公共*/
+uni-page-head .uni-page-head {
+ z-index: 98 !important;
+ background-color: #fff !important;
+}
+
+uni-page-head .uni-page-head__title {
+ font-weight: normal;
+}
+
+.whole {
+ width: 100%;
+}
+
+.fl {
+ float: left;
+}
+
+.fr {
+ float: right;
+}
+
+.tc {
+ text-align: center;
+}
+
+.text_bold {
+ font-weight: bold;
+}
+
+.text_black {
+ color: #101010;
+}
+
+.text_packingCode {
+ color: #101010;
+ word-break: break-all;
+}
+
+.text_lightblue {
+ color: #6A6E7A;
+}
+
+.text_darkblue {
+ color: #434556;
+}
+
+.text_blue {
+ color: #5A7CF3;
+}
+
+.font_xs {
+ font-size: 0.775rem;
+}
+
+.font_sm {
+ font-size: 0.825rem;
+}
+
+.font_xl {
+ font-size: 1.125rem;
+}
+
+.margin_top {
+ margin-top: 20rpx;
+}
+
+.margin_bottom {
+ margin-bottom: 20rpx;
+}
+
+.margin_xs_top {
+ margin-top: 10rpx;
+}
+
+.margin_xs_bottom {
+ margin-bottom: 10rpx;
+}
+
+.margin_right {
+ margin-right: 20rpx;
+}
+
+.margin {
+ margin: 20rpx;
+}
+
+.padding_10 {
+ padding: 10rpx;
+}
+
+.padding_15 {
+ padding: 15rpx;
+}
+
+.padding_20 {
+ padding: 20rpx;
+}
+
+.padding {
+ padding: 20rpx;
+}
+
+.padding_bottom {
+ padding-bottom: 20rpx;
+}
+
+.nopad {
+ padding: 0 !important;
+}
+
+.nopad_bot {
+ padding-bottom: 0 !important;
+}
+
+/*
+物料状态
+未知,可用,隔离,新增,规划,禁用
+*/
+
+.item_active {
+ background-color: #5FCB94;
+ color: #FFFFFF;
+}
+
+.item_hold {
+ background-color: #FF4206;
+ color: #FFFFFF;
+}
+
+.item_new {
+ background-color: #E6A23C;
+ color: #FFFFFF;
+}
+
+.item_plan {
+ background-color: #2677F9;
+ color: #FFFFFF;
+}
+
+.item_disable {
+ background-color: #666;
+ color: #FFFFFF;
+}
+
+/* 器具状态 */
+.container_empty {
+ background-color: #FF4206;
+ color: #FFFFFF;
+}
+
+.container_useing {
+ background-color: #5FCB94;
+ color: #FFFFFF;
+}
+
+
+.container_repair {
+ background-color: #666;
+ color: #FFFFFF;
+}
+
+.container_scrap {
+ background-color: #E6A23C;
+ color: #FFFFFF;
+}
+
+
+
+.scan_float {
+ position: fixed;
+ z-index: 10;
+ right: 20rpx;
+ bottom: 20%;
+ width: 110rpx;
+ height: 110rpx;
+ background-color: #5A7CF3;
+ border-radius: 50%;
+ text-align: center;
+ box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
+ opacity: 0.8;
+}
+
+.scan_float image {
+ width: 40rpx;
+ height: 40rpx;
+ margin-top: 10rpx;
+}
+
+.scan_float view {
+ color: #fff;
+ font-size: .725rem;
+ margin-top: -8rpx;
+}
+
+.top_card {
+ background-color: #5A7CF3;
+ overflow: hidden;
+ /* padding: 20rpx 0; */
+}
+
+.top_card .device-detail {
+ /* margin-top: 0 !important; */
+}
+
+.top_card .mini-type-style {
+ color: #fff !important;
+ font-weight: normal;
+ height: 46rpx;
+}
+
+.cen_card {
+ padding: 0 0rpx;
+ width: 100%;
+ box-sizing: border-box;
+ float: left;
+}
+
+.cell_box {
+ width: 100%;
+}
+
+.cell_box .cell_info {
+ position: relative;
+ /* width: 25%; */
+ padding: 0 20rpx;
+ /* margin: 0 0 20rpx; */
+ text-align: center;
+}
+
+.cell_box .cell_long {
+ /* width: 33%; */
+}
+
+.cell_box .cell_info view {
+ font-size: 0.9375rem;
+ margin-bottom: 10rpx;
+ color: #7B8195;
+}
+
+.cell_box .cell_info .text_black {
+ font-size: 0.875rem;
+ color: #101010;
+}
+
+.cell_box .cell_info .text_lightblue {
+ color: #949CB6;
+ font-size: 0.8rem;
+}
+
+.cell_box .cell_info::after {
+ position: absolute;
+ content: "";
+ right: 0;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 1px;
+ height: 20px;
+ background-color: #ddd;
+}
+
+.cell_box .cell_info:last-child::after {
+ width: 0;
+}
+
+.cen_card .label_box {
+ margin-bottom: 20rpx;
+}
+
+.cen_card .label_box .label_info {
+ background-color: #eee;
+ color: #434556;
+ font-size: 0.875rem;
+ padding: 8rpx;
+ border-radius: 8rpx;
+ margin-right: 10rpx;
+ vertical-align: middle;
+}
+
+.cen_card .label_box .label_info image {
+ /* float: left; */
+ vertical-align: middle;
+}
+
+.cen_card .label_box .label_info text {
+ /* line-height: 1.25; */
+ /* float: left; */
+ vertical-align: middle;
+}
+
+.photo_btn {
+ background-color: #ececec;
+ color: #5A7CF3;
+ font-size: 0.875rem;
+ padding: 8rpx 10rpx;
+ border-radius: 8rpx;
+}
+
+.photo_btn text {
+ line-height: 1.5;
+}
+
+.cen_card .cell_box .text_black {
+ font-size: 0.875rem;
+}
+
+.cen_card .cell_box .cell_info .text_lightblue {
+ font-size: 0.925rem;
+}
+
+.bot_card {
+ background-color: #f8f8f8;
+ padding: 16rpx;
+ overflow: hidden;
+}
+
+.bot_card_item {
+ width: 50%;
+ text-align: left;
+ height: 60rpx;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+
+/* .item_long{
+ width: 32% !important;
+}
+*/
+.item_short {
+ width: 20%;
+}
+
+.bot_card_item uni-text {
+ font-size: .725rem;
+ margin-left: 4rpx;
+ color: #333333;
+ background-color: transparent;
+}
+
+.bot_card_item .icon_state {
+ float: left;
+ margin-top: 22rpx;
+}
+
+.summary_wrap {
+ padding: 20rpx;
+ padding-top: 0;
+}
+
+.summary_state .state_point {
+ font-size: 0.825rem;
+}
+
+.summary_item uni-text {
+ font-size: 0.825rem;
+}
+
+.bot_card_item uni-text.state_point {
+ background-color: transparent;
+}
+
+.bot_card_item label {
+ vertical-align: middle;
+}
+
+.icon_normal {
+ width: 58rpx;
+ height: 58rpx;
+ vertical-align: middle
+}
+
+.bot_card_item .icon_normal {
+ float: left;
+ width: 46rpx;
+ height: 46rpx;
+}
+
+.icon_bg {
+ display: inline-block;
+ width: 46rpx;
+ height: 46rpx;
+ border-radius: 4rpx;
+}
+
+.icon_bg_xm {
+ background-color: #45B5F3;
+}
+
+.icon_bg_kw {
+ background-color: #5A7CF3;
+}
+
+.icon_bg_pc {
+ background-color: #BF94EB;
+}
+
+.icon_state {
+ display: inline-block;
+ width: 20rpx;
+ height: 20rpx;
+ border-radius: 50%;
+}
+
+.state_point {
+ background: none;
+}
+
+.title_tab {
+ display: flex;
+ justify-content: center;
+ height: 100rpx;
+}
+
+.bottom {
+ padding: 0 !important;
+}
+
+.uni-popup .uni-scroll-view {
+ overflow: visible !important;
+}
+
+.uni-popup .uni-scroll-view-content {
+ overflow-y: scroll;
+ max-height: 94vh;
+ background-color: #fff;
+ border-top-left-radius: 20rpx;
+ border-top-right-radius: 20rpx;
+}
+
+.uni-popup .scroll-Y {
+ padding-bottom: 0;
+}
+
+.popup_box {
+ position: relative;
+ border-top-left-radius: 16rpx;
+ border-top-right-radius: 16rpx;
+ background: #fff url(@/static/icons_ui/popup_bot_bg.png) no-repeat left top;
+ background-size: 100%;
+ max-height: 93vh;
+}
+
+.popup_box .pop_title {
+ font-size: 0.9rem;
+ font-weight: bold;
+ color: #fff;
+ padding: 20rpx 20rpx;
+ font-size: 35rpx;
+}
+
+.popup_box .pop_title text {
+ font-size: 0.9rem;
+ font-weight: normal;
+}
+
+.popup_box .uni-steps {
+ width: 98%;
+}
+
+.popup_box .top_bg {
+ width: 100%;
+ height: inherit;
+}
+
+.popup_box .pop_tab {
+ padding: 20rpx;
+ box-sizing: border-box;
+ width: 100%;
+}
+
+.popup_box .pop_tab .tab_tit {
+ font-size: .825rem;
+ text-align: center;
+ color: #333;
+ background-color: #fff;
+ /* width: 30%; */
+ box-sizing: border-box;
+ padding: 10rpx 16rpx;
+ border-top-left-radius: 8rpx;
+ border-top-right-radius: 8rpx;
+ margin-right: 6rpx;
+}
+
+.popup_box .pop_tab .tab_tit_active {
+ color: #5A7CF3;
+ font-weight: bold;
+ /* font-size: 0.875rem; */
+}
+
+.popup_box .pop_tab .tab_info {
+ position: relative;
+ background-color: #fff;
+ border-radius: 8rpx;
+ box-shadow: 0 6rpx 20rpx rgba(90, 124, 143, 0.1);
+ min-height: 100rpx;
+}
+
+.popup_box .pop_tab .tab_info textarea {
+ height: 320rpx;
+}
+
+.popup_box .pop_tab .tab_info .uni-textarea-placeholder {
+ font-size: 0.825rem;
+}
+
+.popup_box .scan_scroll {
+ max-height: 41vh;
+ width: 100%;
+ overflow-x: hidden;
+ overflow-y: scroll;
+}
+
+.popup_box .scan_scroll .uni-scroll-view-content {
+ /* width: 104%; */
+ overflow-x: hidden;
+ background-color: transparent;
+}
+
+.popup_box .pop_tab .next_info {
+ box-shadow: 0 0 20rpx rgba(90, 124, 143, 0.1);
+}
+
+.popup_box .pop_tab .tab_notitle {
+ border-radius: 8rpx;
+}
+
+.popup_box .pop_tab .tab_info button {
+ position: absolute;
+ bottom: 10rpx;
+ right: 20rpx;
+ background: #3C9CFF;
+ color: #fff;
+ border: 0;
+ border-radius: 8rpx;
+ width: 130rpx;
+ float: right;
+ font-size: .725rem;
+}
+
+.popup_box .pop_tab .tab_info textarea {
+ padding-top: 20rpx;
+}
+
+.list_wrap {
+ margin: 20rpx;
+}
+
+.ljh_box {
+ padding: 20rpx;
+ z-index: 10;
+ width: 100%;
+ float: left;
+ box-sizing: border-box;
+}
+
+.ljh_left {
+ margin-top: 10rpx;
+}
+
+/* .ljh_right{
+ float: right;
+} */
+.ljh_right uni-text {
+ line-height: 1.5;
+}
+
+.ljh_right .tnum .num_edit {
+ background-color: #FFF9DB;
+ width: 150rpx;
+}
+
+.ljh_right .tnum {
+ font-size: 1.25rem;
+ color: #EC5B28;
+ font-weight: bold;
+ margin-right: 4rpx;
+}
+
+.ljh_right .tunit {
+ font-size: 0.875rem;
+ color: #F5AB91;
+}
+
+.ljh_box .tit_ljh {
+ line-height: 1.5;
+ font-size: 0.875rem;
+ color: #101010;
+ font-weight: bold;
+ word-break: break-all;
+}
+
+.ljh_box .tit_ljh .mini-type-style {
+ float: left;
+ margin-top: 10rpx;
+ padding: 0 8rpx;
+ font-size: 0.725rem;
+}
+
+.ljh_box .tit_ljh .state-style,
+.top_card .state-style {
+ font-size: .625rem;
+ padding: 4rpx 6rpx;
+ margin-right: 8rpx;
+ vertical-align: middle;
+ font-weight: normal;
+ border-radius: 4rpx;
+ color: #fff;
+}
+
+.ljh_box .tit_ljh .state-style {
+ /* padding: 6rpx; */
+}
+
+.ljh_box .tit_ljh text {
+ float: left;
+}
+
+.ljh_box .desc_ljh {
+ line-height: 1.5;
+}
+
+.label_normal {
+ margin-top: 20rpx;
+}
+
+.label_normal .label_col image {
+ float: left;
+ vertical-align: middle;
+}
+
+.label_normal .label_col text {
+ font-size: 0.825rem;
+ line-height: 1.25;
+ float: left;
+ color: #434556;
+}
+
+.lo_cellbox {
+ margin-top: 20rpx;
+}
+
+.lo_cellbox .cell_info {
+ margin-bottom: 0;
+}
+
+/*提交按钮*/
+.new_btn_bot {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ box-sizing: border-box;
+ width: 100%;
+ background-color: #fff;
+ padding: 20rpx;
+ z-index: 10;
+ box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.2);
+}
+
+.bot_pos {
+ position: initial;
+}
+
+.new_btn_bot .new_save_btn {
+ background-color: #E7ECFF;
+ color: #5A7CF3;
+ font-size: .875rem;
+}
+
+.new_btn_bot .new_clear_btn {
+ background-color: #FFDADD;
+ color: #f00;
+ font-size: .875rem;
+ margin-right: 20rpx;
+}
+
+.new_btn_bot .new_cancel_btn {
+ background-color: #eee;
+ color: #333;
+ font-size: .875rem;
+ margin-right: 20rpx;
+}
+
+.new_btn_bot .btn_double {
+ width: 50%;
+}
+
+.new_btn_bot uni-button:after {
+ border: 0;
+}
+
+.choose_main {
+ position: relative;
+ z-index: 2;
+}
+
+.choose_layout {
+ position: relative;
+ width: 100%;
+ height: 130rpx;
+ background-color: #fff;
+
+}
+
+.choose_icon_layout {
+ position: absolute;
+ right: 160rpx;
+ top: 10rpx;
+ bottom: 0rpx;
+ /* width: 100rpx;
+ height:100rpx; */
+}
+
+.choose_icon {
+ margin-top: 5rpx;
+ margin-bottom: 10rpx;
+ width: 100rpx;
+ height: 100rpx;
+}
+
+.choose_marked {
+ position: absolute;
+ width: 100%;
+ /* height: 100%; */
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ border-top: 6rpx solid #5FCB94;
+ background-image: linear-gradient(rgba(95, 203, 148, 0.5), rgba(95, 203, 148, 0));
+ border-top-left-radius: 16rpx;
+ border-top-right-radius: 16rpx;
+}
+
+.choose_marked_faild {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ border-top: 6rpx solid #FF0000;
+ background-image: linear-gradient(rgba(255, 100, 97, 0.3), rgba(255, 100, 97, 0));
+ border-top-left-radius: 16rpx;
+ border-top-right-radius: 16rpx;
+}
+
+.nodeliver_tag {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ border-top-left-radius: 16rpx;
+ border-top-right-radius: 16rpx;
+ border-top: 6rpx solid #F54D4D;
+ background-image: linear-gradient(rgba(245, 77, 77, 0.1), rgba(245, 77, 77, 0));
+
+}
+
+.choose_marked image {
+ float: right;
+ margin-right: 28%;
+ margin-top: 20rpx;
+ width: 120rpx;
+ height: 120rpx;
+}
+
+.choose_marked_faild image {
+ float: right;
+ margin-right: 28%;
+ margin-top: 20rpx;
+ width: 120rpx;
+ height: 120rpx;
+}
+
+.pop_list {
+ background-color: #fff;
+ /* padding: 20rpx; */
+ padding-top: 0;
+ margin-top: 20rpx;
+}
+
+.uni-scroll-view-content .creattp_list {
+ padding: 6rpx 20rpx 0;
+ box-sizing: border-box;
+ width: 96%;
+}
+
+.list_info .uni-scroll-view-content {
+ max-height: 10vh;
+}
+
+.pop_list .detail-content {
+ margin-bottom: 20rpx;
+ border-radius: 16rpx;
+ overflow: hidden;
+ box-shadow: 0 0 14rpx rgba(0, 0, 0, 0.1);
+}
+
+.pop_btn {
+ padding: 20rpx;
+ padding-top: 0;
+}
+
+.pop_btn button {
+ width: 49%;
+ height: 90rpx;
+ line-height: 90rpx;
+ font-size: 0.875rem;
+ margin: 0;
+ color: #333;
+}
+
+.pop_btn button::after {
+ border: 0;
+}
+
+.pop_btn .cancel {
+ background-color: #eee;
+}
+
+.pop_btn .save {
+ background-color: #5A7CF3;
+ color: #fff;
+}
+
+.popinpop {
+ margin: 10px 1%;
+ border-radius: 8px;
+ background-color: #fff;
+ color: #666666;
+ line-height: 1.5;
+ box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
+ width: 98%;
+
+}
+
+.scan_btn:after {
+ border: 8rpx;
+}
+
+.popup_box .pop_tab .tab_info .clean_scan_btn {
+ background-color: #eee;
+ color: #333;
+ margin-right: 140rpx;
+ border-radius: 8rpx;
+}
+
+.popup_box .pop_tab .tab_info .clean_scan_btn::after {
+ border: 0;
+}
+
+/*检验任务-topline*/
+.card_task {
+ padding: 20rpx;
+ padding-bottom: 0;
+}
+
+.task_num {
+ border-bottom: 1px solid #eee;
+ padding-bottom: 10rpx;
+ margin-bottom: 10rpx;
+ overflow: hidden;
+}
+
+.top_card .task_num {
+ border: 0;
+}
+
+.task_num image {
+ vertical-align: middle;
+ margin-right: 10rpx;
+}
+
+.task_num text {
+ color: #333;
+ vertical-align: middle;
+}
+
+.label_order image {
+ /* vertical-align: text-bottom; */
+ vertical-align: middle;
+}
+
+.label_order text {
+ font-size: .825rem;
+ vertical-align: middle;
+}
+
+.tit_jxs {
+ font-size: 1rem !important;
+ margin-bottom: 10rpx;
+}
+
+.tit_jxs .state-style {
+ vertical-align: middle;
+ margin-top: 6rpx;
+}
+
+/* 为按序发货添加 */
+/* .state-style{
+ background-color: #ececec;
+} */
+.receipt_bot {
+ justify-content: space-between;
+ border-top: 1px solid #eee;
+ padding-top: 10rpx;
+}
+
+/*收货列表*/
+.require_wrap {
+ background-color: #fff;
+ padding: 20rpx;
+}
+
+.require_wrap uni-button:after {
+ border: 0;
+}
+
+.require_wrap .require_cell {
+ background: #f5f5f5;
+ font-size: .825rem;
+ padding: 10rpx 20rpx;
+ margin-right: 20rpx;
+ border-radius: 50rpx;
+ line-height: 1.5;
+ margin-left: 0;
+ border: 1px solid #f5f5f5;
+}
+
+.require_wrap .require_active {
+ border: 1px solid #5A7CF3;
+ background-color: #EFF6FF;
+ color: #5A7CF3;
+}
+
+.require_wrap .require_active text {
+ display: inline-block;
+ width: 20rpx;
+ height: 20rpx;
+ background-color: #5A7CF3;
+ border-radius: 50%;
+ float: left;
+ margin: 12rpx 10rpx 12rpx 0;
+}
+
+.list_inspect .uni-input-input {
+ color: #f00;
+}
+
+.list_form {
+ padding: 20rpx;
+ padding-top: 0;
+}
+
+.list_form .uni-table-tr {
+ background-color: #f8f8f8;
+ color: red;
+}
+
+.list_form .uni-table-th {
+ padding: 10rpx !important;
+ border-bottom: 1px solid #ececec;
+ font-weight: normal !important;
+ font-size: 0.775rem;
+ color: red;
+}
+
+.list_form .uni-easyinput {
+ background-color: #FFF9DB;
+}
+
+.list_form .uni-easyinput__content {
+ min-height: 50rpx !important;
+ text-align: center;
+}
+
+.count_shadow {
+ box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
+}
+
+.count_list {
+ font-size: 0.8rem;
+ color: #0F5EFF;
+ padding: 10rpx 0;
+}
+
+.count_list text:first-child {
+ margin-left: 0;
+}
+
+.count_list text {
+ margin: 10rpx;
+}
+
+.popuni_list::after {
+ height: 0 !important;
+}
+
+.uni-list .list_cell {
+ margin-bottom: 20rpx;
+ height: 100rpx;
+ align-items: center;
+ box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
+}
+
+.uni-list .list_cell:last-child {
+ margin-bottom: 0;
+}
+
+.uni-list .list_cell .is-input-border {
+ border: 0;
+}
+
+.uni-list .list_cell .title {
+ padding-left: 20rpx;
+ font-size: 0.875rem;
+}
+
+.uni-list .list_cell .info {
+ padding-right: 20rpx;
+ color: #333;
+ font-size: 0.875rem;
+}
+
+.popuni_list .list_cell {
+ background-color: #fff;
+ border-radius: 8rpx;
+ box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
+}
+
+.popuni_list .list_cell .uni-data-tree-input {
+ padding-left: 0;
+}
+
+.popuni_list .list_cell .input-value-border {
+ border: 0;
+ padding: 0;
+}
+
+.popuni_list .list_cell .selected-list {
+ padding-left: 0;
+}
+
+/* .uni-list .list_cell .necessary_tag{
+ padding-right: 0;
+ color: #f00;
+} */
+.uni-list .list_cell .uni-easyinput {
+ padding-right: 20rpx;
+ text-align: right;
+ box-sizing: border-box;
+ border: 0;
+}
+
+.uni-list .list_cell .uni-input-input {
+ font-size: 0.875rem;
+}
+
+.list_card {
+ margin-top: 20rpx;
+ box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
+}
+
+.list_card:first-child {
+ margin-top: 10rpx;
+}
+
+.inspect_form .uni-label {
+ font-size: 0.875rem;
+}
+
+.pda-list-cell-db .is-input-border,
+.pda-list-cell-db .input-value-border {
+ border: 0 !important;
+}
+
+.list_locode {
+ padding: 20rpx;
+ padding-top: 0;
+}
+
+.inspect_card {
+ background-color: #fff;
+ margin: 20rpx;
+ border-radius: 16rpx;
+}
+
+.inspect_card .ljh_box text {
+ line-height: 1.75;
+}
+
+.inspect_list_locode {
+ border-bottom: 1px solid #eee;
+ padding-bottom: 20rpx;
+}
+
+.inspect_list_locode image {
+ vertical-align: middle;
+}
+
+.default_nodata {
+ position: relative;
+ left: 50%;
+ transform: translateX(-50%);
+ margin-top: 100rpx;
+ width: 390rpx;
+ height: 300rpx;
+
+}
+
+
+.default_goscan {
+ width: 100%;
+}
+
+.default_goscan .img_goscan {
+ position: relative;
+ width: 500rpx;
+ height: 500rpx;
+ left: 50%;
+ transform: translateX(-50%);
+}
+
+.default_goscan button {
+ width: 60%;
+ height: 100rpx;
+ background-color: #5A7CF3;
+ color: #fff;
+ border-radius: 50rpx;
+ text-align: center;
+ line-height: 100rpx;
+}
+
+.default_goscan button image {
+ width: 30rpx;
+ height: 30rpx;
+ margin-right: 20rpx;
+ vertical-align: middle;
+ margin-top: -8rpx;
+
+}
+
+.new_bot_box {
+ position: fixed;
+ width: 100%;
+ left: 0;
+ bottom: 0;
+ background-color: transparent;
+ z-index: 10;
+}
+
+.new_bot_box .uni-collapse {
+ background-color: transparent !important;
+}
+
+.new_bot_box .uni-collapse-item__title.uni-collapse-item-border {
+ width: 96%;
+ margin: 0 2%;
+ border-top-left-radius: 16rpx;
+ border-top-right-radius: 16rpx;
+ overflow: hidden;
+ text-align: center;
+}
+
+.new_bot_box .uni-collapse-item__title-text {
+ padding-left: 40rpx;
+}
+
+.new_bot_box .uni-collapse-item__title.uni-collapse-item-border,
+.new_bot_box .uni-collapse-item__title-box {
+ background-color: #7B8195 !important;
+ color: #fff !important;
+}
+
+.new_bot_box .uni-collapse-item__title-box {
+ height: 80rpx !important;
+ line-height: 80rpx !important;
+}
+
+.new_bot_box .content {
+ background-color: #fff !important;
+}
+
+.new_bot_box .content .uni-easyinput {
+ box-sizing: border-box;
+}
+
+.new_bot_box .content .uni-data-picker,
+.new_bot_box .input-value,
+.new_bot_box .uni-input-input,
+.new_bot_box .selected-item,
+.new_bot_box .placeholder,
+.new_bot_box .uni-easyinput__content-input {
+ font-size: 0.875rem !important;
+}
+
+.new_bot_box .content .tit_bot_box {
+ padding: 20rpx 20rpx 10rpx;
+ font-size: 0.875rem;
+}
+
+.new_bot_box .uni-collapse-item__wrap-content.uni-collapse-item--border {
+ border: 0;
+}
+
+.new_bot_box .border .uni-easyinput {
+ border: 1px solid #e5e5e5;
+ border-radius: 10rpx;
+}
+
+.hold_form .uni-table-th-content {
+ font-weight: normal;
+ font-size: 0.775rem;
+}
+
+.top_wrap {
+ padding: 20rpx;
+ background-color: #fff;
+}
+
+.top_wrap .top_card {
+ border-radius: 8px;
+ color: #fff;
+ line-height: 100rpx;
+}
+
+.top_wrap .top_card .top_lines_info {
+ padding: 0 20rpx;
+}
+
+.top_wrap .top_card .top_lines_info text {
+ font-size: 0.9rem;
+ margin-left: 10rpx;
+}
+
+/* 按序收货 */
+.recept_form {
+ padding: 20rpx;
+}
+
+.recept_form .form_title {
+ padding: 20rpx 20rpx 0;
+}
+
+.recept_form .form_title image {
+ float: left;
+ margin-top: 10rpx;
+ margin-right: 10rpx;
+}
+
+.recept_form .form_title text {
+ font-size: 1rem;
+ vertical-align: middle;
+}
+
+.recept_form .table--border {
+ border: 0 !important;
+}
+
+.recept_form th {
+ background-color: #F3F6FF;
+ color: #434556 !important;
+}
+
+.recept_form th.table--border,
+.recept_form td.table--border {
+ border: 0;
+}
+
+.recept_form .recept_form_info {
+ background-color: #fff;
+ border-radius: 16rpx;
+ padding-bottom: 16rpx;
+}
+
+.recept_form .uni-table-td {
+ font-size: 0.8rem;
+}
+
+/* 天津发货详情 */
+.deliver_card {
+ flex: 1;
+ line-height: 30px;
+ margin: 20rpx 20rpx 0;
+ border-radius: 16rpx;
+ overflow: hidden;
+ background-color: transparent;
+ position: relative;
+ border-bottom-color: #f5f5f5;
+ border-bottom-width: 1px;
+ border-bottom-style: solid;
+}
+
+.deliver_card .card_info {
+ background-color: #fff;
+}
+
+.deliver_card .deliverState {
+ background-color: #fff;
+ padding: 20rpx 10rpx;
+ background-color: transparent;
+ border-left: 10rpx solid transparent;
+}
+
+.deliver_card .deliverState .content-text image {
+ vertical-align: text-bottom;
+ margin-right: 6rpx;
+}
+
+.deliver_card .deliverState .content-text text {
+ margin-right: 10rpx;
+}
+
+.deliver_card .deliverState1 {
+ background-color: #fff;
+ border-left: 10rpx solid #F6CB61;
+}
+
+.deliver_card .deliverState3 {
+ background-color: #fff;
+ border-left: 10rpx solid #5FCB94;
+}
+
+.deliver_card .deliverState4 {
+ background-color: #fff;
+ border-left: 10rpx solid #EC5B28;
+}
+
+.deliver_card .card_state {
+ border: 1px solid transparent;
+ padding: 0 20rpx;
+ font-size: 0.8rem;
+ position: absolute;
+ right: 20rpx;
+ top: 50%;
+ transform: translateY(-50%);
+ border-radius: 80rpx;
+}
+
+.deliver_card .tjpending {
+ border-color: #F6CB61;
+ color: #F6CB61;
+}
+
+.deliver_card .tjsent {
+ border-color: #5FCB94;
+ color: #5FCB94;
+}
+
+.deliver_card .tjnosend {
+ border-color: #EC5B28;
+ color: #EC5B28;
+}
+
+.login_wrap {
+ width: 100%;
+ position: relative;
+ top: -20rpx;
+ background-color: #fff;
+ border-top-left-radius: 16rpx;
+ border-top-right-radius: 16rpx;
+}
+
+.login_title {
+ position: absolute;
+ top: 120rpx;
+ left: 30rpx;
+ color: #fff;
+ font-size: 1.125rem;
+ font-weight: bold;
+ letter-spacing: 4rpx;
+ line-height: 1.5;
+}
+
+.login_title text {
+ font-size: 1.125rem;
+ letter-spacing: 0;
+}
+
+/* 登录 */
+.mybox .is-input-border {
+ border: 0 !important;
+}
+
+/* 消息列表 */
+.msg_body {
+ background-color: #fff;
+}
+
+.msg_list {
+ padding-top: 20rpx;
+}
+
+.msg_list .uni-list-chat__header {
+ width: 60rpx !important;
+ height: 60rpx !important;
+ background-color: #3d7eff;
+ border-color: transparent !important;
+ border-radius: 6rpx !important;
+}
+
+.msg_list .uni-list--border-top,
+.msg_list .uni-list--border-bottom,
+.msg_list .uni-list--border:after,
+.msg_body .uni-list:after {
+ height: 0 !important;
+}
+
+.msg_list .uni-list-chat__header-image {
+ width: 50rpx !important;
+ height: 50rpx !important;
+}
+
+.msg_list .uni-badge--dot {
+ left: inherit !important;
+ right: 20rpx;
+ top: 40rpx !important;
+}
+
+.msg_list .uni-list-chat__content-title {
+ font-size: .9rem !important;
+}
+
+.msg_list .hasread .uni-list-chat__header {
+ background-color: #ccc;
+}
+
+/* index */
+.index_top {
+ background-color: #5A7CF3;
+ width: 100%;
+}
+
+.index_top .uni-searchbar {
+ padding-right: 0 !important;
+}
+
+.index_top .index_btn {
+ background-color: transparent;
+ font-size: 0.825rem;
+ padding: 0 0.9rem;
+
+}
+
+.index_top uni-button:after {
+ border: 0 !important;
+}
+
+.index_top .uni-searchbar__box {
+ background-color: rgba(255, 255, 255, 0.3) !important;
+ border-color: transparent !important;
+ justify-content: inherit !important;
+}
+
+.index_top .uni-searchbar__text-input,
+.uni-searchbar__box-icon-search,
+.index_top .uniui-search {
+ color: #fff !important;
+}
+
+.index_top .uni-searchbar__text-placeholder,
+.index_top .uni-input-placeholder {
+ color: #eee !important;
+}
+
+.index_top .uni-input-input {
+ color: #fff;
+}
+
+.common_title {
+ font-size: .825rem;
+ font-weight: bold;
+}
+
+.common_icons {
+ width: 100%;
+ padding: 20rpx;
+ box-sizing: border-box;
+}
+
+.common_icons .common_info {
+ position: relative;
+ top: -120rpx;
+ background-color: #fff;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 20rpx;
+ border-radius: 16rpx;
+
+ /* box-shadow: 0 0 10rpx rgba(0,0,0,0.1); */
+}
+
+.common_icons .common_info .common_cell {
+ margin-right: 20rpx;
+ text-align: center;
+}
+
+.common_icons .common_info .common_cell .cell_icon {
+ background-color: #EEF2FE;
+ border-radius: 50%;
+ width: 110rpx;
+ height: 110rpx;
+ margin: 20rpx 20rpx 0;
+}
+
+.common_icons .common_info .common_cell .cell_icon image {
+ float: left;
+ width: 50rpx;
+ height: 50rpx;
+ margin: 35rpx;
+}
+
+.common_icons .common_info .cell_last {
+ margin-right: 0;
+}
+
+uni-tabbar .uni-tabbar-border {
+ height: 0;
+}
+
+.index_menu {
+ width: 100%;
+ float: left;
+ margin-top: -100rpx;
+ /* height: calc(100% - 200px); */
+}
+
+.index_menu .menu_content {
+ width: 26%;
+ text-align: center;
+ float: left;
+ height: 100%;
+ overflow-y: scroll;
+}
+
+.index_menu .index_title .title_left {
+ width: 100%;
+ border-left: 2px solid transparent;
+ line-height: 80rpx;
+ font-size: 0.825rem;
+ text-align: center;
+}
+
+.index_menu .menu_content .index_title {
+ width: 100%;
+ float: left;
+ line-height: 100rpx;
+ font-size: 0.825rem;
+}
+
+.index_menu .menu_content .tit_active {
+ box-sizing: border-box;
+ background-color: #fff;
+ border-left: 2px solid #5A7CF3;
+ font-weight: bold;
+ float: left;
+}
+
+.index_menuinfo {
+ width: 74%;
+ float: left;
+ box-sizing: border-box;
+ padding: 20rpx;
+ position: relative;
+ overflow-y: scroll;
+ background-color: #fff;
+ /* height: 100%; */
+
+}
+
+.menu_ab {
+ position: absolute;
+ top: 420rpx;
+ left: 0;
+ width: 100%;
+ z-index: 10;
+ /* height: calc(100% - 185px); */
+
+}
+
+.index_menuinfo .icon_block {
+ position: relative;
+ text-align: center;
+ width: 33%;
+ float: left;
+ /* margin-top: -10rpx; */
+}
+
+.index_menuinfo .icon_block image {
+ float: left;
+ width: 80%;
+ height: 80rpx;
+ margin: 3% 10% 0;
+}
+
+.index_menuinfo .icon_block text {
+ float: left;
+ width: 100%;
+ font-size: .8rem;
+ height: 80rpx;
+ color: #101010;
+}
+
+.index_menuinfo .icon_block .index_badge {
+ width: 42rpx;
+ height: 42rpx;
+ font-size: 0.6rem;
+ background-color: #c00;
+ position: absolute;
+ right: 0;
+ color: #fff;
+ text-align: center;
+ line-height: 42rpx;
+ border-radius: 50%;
+}
+
+uni-tabbar.uni-tabbar-bottom .uni-tabbar {
+ box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.1);
+}
+
+uni-modal .uni-modal__bd {
+ font-size: 1rem !important;
+ color: #000 !important;
+}
+
+.passwordpage .uni-forms-item__label .label-text {
+ font-size: 0.8rem !important;
+}
+
+.passwordpage .is-input-border {
+ border: 0 !important;
+}
+
+.passwordpage .is-direction-left {
+ padding: 10rpx 20rpx;
+ background-color: #fff;
+ /* margin: 20rpx 0; */
+}
+
+.passwordpage .uni-forms-item__inner {
+ padding-bottom: 10rpx !important;
+}
+
+.passwordpage .new_save_btn {
+ font-size: 1rem;
+}
+
+.personal uni-button:after {
+ border: 0 !important;
+}
+
+.personal .uni-list:after {
+ height: 0 !important;
+}
+
+.personal .uni-list-item__icon {
+ margin-right: 0 !important;
+}
+
+.personal .uni-list-item__extra-text {
+ font-size: 1rem !important;
+ color: #101010 !important;
+ font-weight: bold;
+}
+
+.personal .uni-list--border-top,
+.uni-list--border-bottom,
+.uni-list--border::after {
+ background-color: transparent !important;
+}
+
+uni-modal .uni-modal__ft {
+ font-size: 0.875rem;
+}
+
+uni-modal .uni-modal__title {
+ color: #333;
+}
+
+uni-modal .uni-modal__bd {
+ padding: 1.3em 1.6em 1.3em;
+ min-height: 40px;
+ /* font-size: 15px; */
+ line-height: 1.4;
+ /* color: #999; */
+ max-height: 400px;
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+
+uni-modal .uni-modal__hd {
+ padding: 1em 1.6em .3em;
+ height: 30px;
+}
+
+/*dy_add*/
+.btn_unusual button {
+ margin-right: 10rpx;
+}
+
+.btn_unusual button:last-child {
+ margin-right: 0;
+}
+
+/* .tit_ljh .text_white{
+ color: #fff !important;
+ font-size: 0.725rem;
+ font-weight: normal;
+ padding: 4rpx;
+} */
+.bot_card .pending {
+ color: #5FCB94;
+}
+
+.camera_pop {
+ border-top-left-radius: 16rpx;
+ border-top-right-radius: 16rpx;
+}
+
+.camera_list {
+ padding: 20rpx;
+ box-sizing: border-box;
+ max-height: 75vh;
+ overflow-y: scroll;
+}
+
+.camera_list .list_cell {
+ border-bottom: 1px solid #eee;
+ box-shadow: none;
+ margin-bottom: 0;
+}
+
+.camera_list .list_cell .uni-easyinput {
+ padding-right: 0;
+}
+
+.camera_list .list_cell .title {
+ color: #666;
+}
+
+.camera_list .selected-item {
+ font-size: 0.875rem;
+}
+
+.camera_list .input-value span {
+ padding: 0;
+ font-size: 0.875rem;
+}
+
+.camera_pop .pop_btn {
+ background-color: #fff;
+}
+
+.cell_box .result_card .text_black {
+ font-size: 1rem;
+}
+
+.cell_box .result_card .red {
+ color: #c00;
+}
+
+.new_btn_bot .btn_triple {
+ margin-right: 10rpx;
+}
+
+.cell_box .scan_btn_fr {
+ float: right;
+ background-color: #ececec;
+ color: #5A7CF3;
+ font-size: 0.725rem;
+ padding: 10rpx 20rpx;
+ border-radius: 16rpx;
+ line-height: 2;
+ margin: 0 20rpx 20rpx 0;
+ height: 60rpx;
+}
+
+.cell_box .scan_btn_fr image {
+ /* margin-top: 4rpx; */
+ /* float: left; */
+}
+
+.cell_box .scan_btn_fr text {}
+
+.login_wrap .content-clear-icon {
+ display: none;
+}
+
+.login_wrap .conone .uni-easyinput {
+ padding-left: 10rpx !important;
+}
+
+.quality_cell {
+ height: auto !important;
+}
+
+.quality_cell .title {
+ line-height: 80rpx;
+ color: #666;
+}
+
+.check_textarea {
+ font-size: 0.875rem;
+ color: #333;
+}
+
+.check_textarea uni-textarea {
+ padding: 10rpx 20rpx;
+ height: 40px;
+}
+
+.check_textarea .uni-textarea-placeholder {
+ font-size: 0.875rem;
+ color: #ccc;
+}
+
+.common_card .ljh_box,
+.pop_card .ljh {
+ width: 100%;
+ box-sizing: border-box;
+}
+
+.common_card .ljh_box .tit_ljh,
+.pop_card .ljh_box .tit_ljh {
+ float: left;
+ width: 50%;
+}
+
+.common_card .ljh_info,
+.pop_card .ljh_info {
+ width: 100%;
+ box-sizing: border-box;
+}
+
+.common_card .desc_card,
+.pop_card .desc_card {
+ width: 100%;
+ box-sizing: border-box;
+ padding: 0;
+}
+
+.common_card .label_xm,
+.pop_card .label_xm {
+ background-color: #45B5F3;
+ line-height: 2.0;
+ padding: 0 10rpx;
+ color: #fff;
+ border-radius: 8rpx;
+ max-width: 300rpx;
+ font-size: 0.7rem;
+ overflow: visble;
+ word-break: break-all;
+ /* overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ font-size: 0.7rem;*/
+}
+
+.result_nodata text {
+ display: inline-block;
+ width: 100%;
+ text-align: center;
+ color: #999;
+ font-size: 1.125rem;
+ margin-top: -20rpx;
+}
+
+.passwordpage .uni-forms-item__label {
+ width: 180rpx !important;
+}
+
+/* 20221114add */
+.semi_col {
+ margin-top: 0;
+}
+
+.semi_col .uni-collapse-item__title-text span {
+ font-size: 1rem;
+ /* font-weight: bold; */
+}
+
+.semi_col .common_card .ljh_box .tit_ljh {
+ font-size: 1rem;
+ width: 56%;
+ /* font-weight: normal; */
+}
+
+.semi_col .num_color {
+ color: #EC5B28;
+}
+
+.issuelist {
+ position: relative;
+}
+
+.issuelist .notuse,
+.issuelist .use {
+ float: right;
+ color: #333;
+ font-size: 0.825rem;
+}
+
+.issuelist .notuse image,
+.issuelist .use image {
+ vertical-align: middle;
+}
+
+.issuecard .task_num {
+ border: 0;
+ margin-bottom: 0;
+ padding: 0;
+
+ border-bottom: 1px solid #eee;
+ padding-bottom: 10rpx;
+ margin-bottom: 10rpx;
+ overflow: hidden;
+}
+
+.issuelist .tag_icon {
+ width: 94rpx;
+ height: 94rpx;
+ position: absolute;
+ right: 0;
+ top: -6rpx;
+}
+
+button::after {
+ border: none;
+ border-radius: 0;
+}
+
+.btn_confirm {
+ width: 50%;
+ border: none;
+ background: #009EFF;
+ border-radius: 0;
+ color: #FFFFFF;
+}
+
+.btn_cancle {
+ width: 50%;
+ border: none;
+ background: #FFFFFF;
+ border-radius: 0;
+ color: #000000;
+}
+
+.line_color {
+ /* color: #E7E6E4; */
+ color: #F5EBF4;
+ /* padding-top: 10rpx;
+ padding-bottom: 10rpx; */
+}
+
+
+
+.filter_button {
+ font-size: 28rpx;
+ padding-left: 20rpx;
+ padding-right: 20rpx;
+ /* width: 240rpx; */
+ color: #fff;
+ background-color: #3C9CFF;
+}
+
+.filter_button_after {
+ opacity: 0.7;
+}
+
+.btn_edit_big_confirm {
+ font-size: 35rpx;
+ width: 50%;
+ color: #fff;
+ background-color: #3C9CFF;
+ border: none;
+ border-radius: 0;
+}
+
+.btn_edit_big_cancle {
+ font-size: 35rpx;
+ width: 50%;
+ color: #303133;
+ border: none;
+ border-radius: 0;
+ box-shadow: none;
+ background-color: #fff;
+
+}
+
+.btn_edit_big_after {
+ opacity: 0.7;
+}
+
+.btn_add_big {
+ background-color: #D8D8D8;
+ color: #fff;
+ text-align: center;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.icons_close {
+ width: 70rpx;
+ height: 70rpx;
+ margin: 10rpx;
+}
+
+.paizhao {
+ padding-bottom: 10rpx;
+ padding-top: 20rpx;
+ padding-left: 20rpx;
+}
+
+.paizhao image {
+ width: 50rpx;
+ height: 50rpx;
+}
+
+.card_partCode {
+ font-size: 36rpx;
+ font-weight: 500;
+ padding: 10rpx;
+
+}
+
+.card_itemCode {
+ font-size: 36rpx;
+ /* font-weight: 500; */
+ padding: 5rpx 10rpx;
+}
+
+.card_itemName {
+ color: #909399;
+ font-size: 30rpx;
+ padding: 5rpx 20rpx;
+}
+
+.card_ProdLine {
+ color: #909399;
+ font-size: 30rpx;
+ padding: 5rpx 30rpx;
+}
+
+
+/* .std_pack {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ padding: 0px;
+ color: #909399;
+ font-size: 30rpx;
+}
+ */
+
+
+.card_content {
+ font-size: 32rpx;
+ padding: 5px;
+}
+
+.card_icon_normal {
+ width: 45rpx;
+ height: 45rpx;
+ vertical-align: middle
+}
+
+.card_packing_code {
+ color: #3315EB;
+ padding: 5px;
+}
+
+.card_packing_code_content {
+ font-size: 32rpx;
+ padding: 5px;
+}
+
+.card_batch {
+ color: #9747FF;
+ padding: 5px;
+}
+
+
+.card_batch_content {
+ font-size: 32rpx;
+ padding: 5px;
+}
+
+.card_container {
+ color: #0076F6;
+ padding: 5px;
+}
+
+
+.card_container_content {
+ font-size: 32rpx;
+ padding: 5px;
+}
+
+.card_business {
+ color: #F1A532;
+ padding: 5px;
+}
+
+.card_business_content {
+ font-size: 32rpx;
+ padding: 5px;
+}
+
+.card_location {
+ color: #DA8910;
+ padding: 5px;
+}
+
+.card_to_location {
+ color: #329362;
+ padding: 5px;
+}
+
+.card_location_content {
+ font-size: 32rpx;
+ padding: 5px;
+}
+
+.card_supportCode {
+ color: #DA8910;
+}
+
+.card_supportCode_content {
+ font-size: 32rpx;
+}
+
+.scan_view {
+ /* #0CC2B6 20% */
+ background: linear-gradient(90deg, rgba(12, 194, 182, 0.2) 0%, rgba(12, 194, 182, 0) 100%)
+}
+
+.card_view {
+ font-size: 32rpx;
+ padding: 5rpx;
+}
+
+/*
+.pack_view {
+ font-size: 32rpx;
+ padding: 5rpx;
+}
+
+.location_view {
+ font-size: 32rpx;
+ padding: 5rpx;
+}
+
+.batch_view {
+ font-size: 32rpx;
+ padding: 5rpx;
+}
+ */
+.business_view {
+ font-size: 32rpx;
+ padding: 5rpx;
+}
+
+.pop_customer {
+ border-radius: 8rpx;
+ background-color: #fff;
+}
+
+.nodata {
+ width: 390rpx;
+ height: 300rpx;
+}
+
+.text_ellipsis {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
+.task_top {
+ margin: 0rpx 10rpx;
+ background-color: #fff;
+}
+
+.task_item {
+ margin: 0rpx 10rpx;
+ background-color: #fff;
+}
+
+.task_card {
+ padding: 12rpx;
+ background-color: #fff;
+ border-radius: 10rpx;
+ margin: 12rpx;
+}
+
+.task_number {
+ font-size: 35rpx;
+ font-weight: 600;
+ /* bold */
+}
+
+.task_text {
+ font-size: 30rpx;
+ margin: 5rpx 0rpx;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.request_state_un-doing {
+ font-size: 28rpx;
+ background: rgba(95, 203, 148, 0.2);
+ color: #22AF68;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+.job_state_doing {
+ font-size: 28rpx;
+ background: rgba(236, 156, 0, 0.2);
+ color: #EC9C00;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+.job_state_un-doing {
+ font-size: 28rpx;
+ background: rgba(95, 203, 148, 0.2);
+ color: #22AF68;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+.job_state_completed {
+ font-size: 28rpx;
+ background: rgba(95, 203, 148, 0.2);
+ color: #22AF68;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+.job_state_close {
+ font-size: 28rpx;
+ background: rgba(95, 203, 148, 0.2);
+ color: #22AF68;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+
+.job_state_cancelled {
+ font-size: 28rpx;
+ background: rgba(95, 203, 148, 0.2);
+ color: #ff0000;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+.pop_detail {
+ background-color: #fff;
+ width: 100%;
+ border-radius: 8rpx 8rpx 0rpx 0rpx;
+ padding: 15rpx;
+}
+
+.pop_detail .item {
+ padding-top: 5rpx;
+ padding-bottom: 5rpx;
+
+ margin-left: 10rpx;
+ margin-right: 10rpx;
+
+ display: flex;
+ flex-direction: row;
+
+ -webkit-justify-content: space-between;
+ justify-content: space-between;
+}
+
+.pop_detail .item_title {
+ padding-top: 5rpx;
+ padding-bottom: 5rpx;
+}
+
+.pop_detail .text_wrap {
+ color: #909399;
+ word-break: break-all;
+ text-align: right;
+}
+
+.pop_detail .item_big_title {
+ /* color: #2196F3; */
+ /* font-size: 35rpx; */
+ margin-left: 10rpx;
+ margin-right: 10rpx;
+ margin-top: 10rpx;
+ margin-bottom: 10rpx;
+}
+
+
+
+
+/deep/.uni-popup .uni-popup__wrapper {
+ width: 100% !important;
+ padding: 15rpx 20rpx 15rpx 20rpx;
+}
+
+.btn_bottom {
+ position: fixed;
+ bottom: 10rpx;
+ right: 0;
+}
+
+.btn_add_small {
+
+ background-color: #3C9CFF;
+ width: 200rpx;
+ font-size: 30rpx;
+ color: #fff;
+ border-radius: 5rpx;
+}
+
+.btn_add_small_after {
+ opacity: 0.7;
+}
+
+.btn_commit_after {
+ opacity: 0.7;
+}
+
+/* 禁用时样式 */
+button[disabled] {
+ background-color: #fff;
+ color: #666;
+}
+
+.btn_commit {
+ background-color: #3C9CFF;
+ font-size: 30rpx;
+ color: #fff;
+ text-align: center;
+ padding-left: 80rpx;
+ padding-right: 80rpx;
+ margin-right: 20rpx;
+ margin-left: 10rpx;
+}
+
+.btn_add {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+
+ position: absolute;
+ width: 97%;
+ height: 35px;
+ border-radius: 3px;
+ opacity: 1;
+ padding: 5px;
+ margin-left: 5px;
+ margin-right: 5px;
+
+ box-sizing: border-box;
+ border: 1px dashed #AAAAAA;
+ background: #D8D8D8;
+
+ color: #FFFFFF;
+ font-size: 16px;
+ font-weight: normal;
+ line-height: 26px;
+ letter-spacing: 0em;
+}
+
+.btn_clear_after {
+ opacity: 0.7;
+}
+
+
+.btn_clear {
+ background-color: #fff;
+ font-size: 30rpx;
+ color: #000;
+ text-align: center;
+ padding-left: 80rpx;
+ padding-right: 80rpx;
+ margin-right: 10rpx;
+ margin-left: 20rpx;
+}
+
+.icons_scan_close {
+ width: 35rpx;
+ height: 35rpx;
+}
+
+.count_image {
+ width: 45rpx;
+ height: 45rpx;
+}
+
+.count_type_light {
+ color: #0CC2B6;
+ font-size: 30rpx;
+ margin-left: 10rpx;
+ margin-right: 10rpx;
+}
+
+.count_type_black {
+ color: #FA5151;
+ font-size: 30rpx;
+ margin-left: 10rpx;
+ margin-right: 10rpx;
+}
+
+.btn_bot {
+ position: fixed;
+ bottom: 0;
+ right: 0;
+ padding-bottom: 20rpx;
+ padding-right: 20rpx;
+ z-index: 10;
+}
+
+.btn_single_commit {
+ background-color: #3C9CFF;
+ font-size: 30rpx;
+ color: #fff;
+ text-align: center;
+ width: 180rpx;
+}
+
+.center {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+}
+
+.space_between {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+}
+
+.text_recommend {
+ color: #0A84FF;
+ font-size: 38rpx;
+}
+
+.text_balance {
+ font-size: 36rpx;
+}
+
+.text_default {
+ color: #000000;
+ font-size: 36rpx;
+}
+
+.text_greater {
+ color: #F56C6C;
+ font-size: 36rpx;
+}
+
+.text_less {
+ color: #FF9500;
+ font-size: 36rpx;
+}
+
+.text_equal {
+ color: #34C759;
+ font-size: 38rpx;
+}
+
+.std_pack {
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ padding: 0px;
+ color: #909399;
+ font-size: 30rpx;
+}
+
+.std_uom {
+ color: #909399;
+ font-size: 30rpx;
+ margin-left: 5rpx;
+ margin-right: 5rpx;
+}
+
+.uom {
+ color: #909399;
+ font-size: 30rpx;
+ margin-left: 5rpx;
+ margin-right: 5rpx;
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+}
+
+
+.std_split {
+ color: #909399;
+ font-size: 36rpx;
+ margin-left: 5rpx;
+ margin-right: 5rpx;
+}
+
+.inspect_job {
+ color: #F1A532;
+ font-size: 36rpx;
+ margin-right: 10rpx;
+}
+
+.ok_job {
+ color: #53C21D;
+ font-size: 36rpx;
+ margin-right: 2rpx;
+}
+
+.nook_job {
+ color: #E45656;
+ font-size: 36rpx;
+ margin-right: 10rpx;
+}
+
+.raw_location {
+ padding-top: 5rpx;
+ padding-bottom: 5rpx;
+ padding-left: 15rpx;
+ padding-right: 15rpx;
+ background-color: #34C759;
+ color: #fff;
+ font-size: 35rpx;
+}
+
+.fg_location {
+ padding-top: 5rpx;
+ padding-bottom: 5rpx;
+ padding-left: 15rpx;
+ padding-right: 15rpx;
+ background-color: #5A7CF3;
+ color: #fff;
+ font-size: 35rpx;
+}
+
+.semi_location {
+ padding-top: 5rpx;
+ padding-bottom: 5rpx;
+ padding-left: 15rpx;
+ padding-right: 15rpx;
+ background-color: #FF9500;
+ color: #fff;
+ font-size: 35rpx;
+}
+
+.hold_location {
+ padding-top: 5rpx;
+ padding-bottom: 5rpx;
+ padding-left: 15rpx;
+ padding-right: 15rpx;
+ background-color: #F56C6C;
+ color: #fff;
+ font-size: 35rpx;
+}
+
+.unk_location {
+ padding-top: 5rpx;
+ padding-bottom: 5rpx;
+ padding-left: 15rpx;
+ padding-right: 15rpx;
+ background-color: #999999;
+ color: #fff;
+ font-size: 35rpx;
+}
+
+.qty_input {
+ width: 150rpx;
+ height: 60rpx;
+ line-height: 10rpx;
+ font-size: 10rpx;
+ color: #000000;
+ text-align: right;
+ border: 1px solid rgb(220, 211, 211);
+ padding: 5rpx;
+}
+
+.qty_inspect_input {
+ width: 150rpx;
+ height: 60rpx;
+ line-height: 10rpx;
+ font-size: 10rpx;
+ color: #000000;
+ text-align: center;
+ border: 1px solid rgb(220, 211, 211);
+ padding: 5rpx;
+}
+
+.icon_close {
+ width: 100rpx;
+ height: 100rpx;
+ opacity: 1;
+
+}
+
+.icon_edit {
+ width: 30rpx;
+ height: 40%;
+ opacity: 1;
+ margin-left: 10rpx;
+}
+
+.title_popup {
+ margin-top: 16px;
+ margin-bottom: 16px;
+ margin-left: 8px;
+ margin-right: 8px;
+ font-size: 35rpx;
+ text-align: center;
+}
+
+.close_button {
+ /* 自动布局子元素 */
+ position: static;
+ left: 20px;
+ /* top: 1109.01px; */
+ width: 100%;
+ height: 40px;
+ border-radius: 40px;
+ opacity: 1;
+
+ /* 自动布局 */
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ padding: 9px 12px;
+ gap: 10px;
+ align-self: stretch;
+
+ /* 颜色/白色 */
+ background: #FFFFFF;
+ box-sizing: border-box;
+ /* 颜色/边框 */
+ border: 1px solid #E7E6E4;
+ z-index: 3;
+}
+
+/**
+ * 申请状态 新增
+ */
+.request_status_new {
+ font-size: 28rpx;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+ background: rgba(34, 175, 104, 0.2);
+ color: rgba(34, 175, 104, 1);
+}
+
+/**
+ * 申请状态 审批中
+ */
+.request_status_reviewing {
+ font-size: 28rpx;
+ background: rgba(236, 156, 0, 0.2);
+ color: rgba(236, 156, 0, 1);
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+/**
+ * 申请状态 审批通过
+ */
+.request_status_agreed {
+ font-size: 28rpx;
+ background: rgba(103, 194, 57, 0.2);
+ color: rgba(103, 194, 57, 1);
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+/**
+ * 申请状态 审批驳回
+ */
+.request_status_refused {
+ font-size: 28rpx;
+ background: rgba(245, 108, 108, 0.2);
+ color: rgba(245, 108, 108, 1);
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+/**
+ * 申请状态 处理中
+ */
+.request_status_handling {
+ font-size: 28rpx;
+ background: rgba(60, 156, 255, 0.2);
+ color: rgba(60, 156, 255, 1);
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+/**
+ * 申请状态 部分完成
+ */
+.request_status_partial {
+ font-size: 28rpx;
+ background: #D3FF3C;
+ color: #ffffff;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+/**
+ * 申请状态 已完成
+ */
+.request_status_completed {
+ font-size: 28rpx;
+ background: #D3FF3C;
+ color: #ffffff;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+/**
+ * 申请状态 中止
+ */
+.request_status_abort {
+ font-size: 28rpx;
+ background: #F33140;
+ color: #ffffff;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+/**
+ * 申请状态 已关闭
+ */
+.request_status_cancelled {
+ font-size: 28rpx;
+ background: #F33140;
+ color: #ffffff;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
diff --git a/common/style/pdabasic.css b/common/style/pdabasic.css
new file mode 100644
index 0000000..d3b92ce
--- /dev/null
+++ b/common/style/pdabasic.css
@@ -0,0 +1,762 @@
+/*
+.pda-list {
+ padding: 10rpx 10rpx;
+ box-sizing: border-box;
+ display: flex;
+ width: 100%;
+ flex-direction: row;
+}
+ */
+
+/* 列表 */
+.pda-list {
+ padding: 0 20rpx;
+ box-sizing: border-box;
+ background-color: #FFFFFF;
+ position: relative;
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ border-radius: 16rpx;
+ margin-bottom: 10rpx;
+}
+
+.pda-list:after {
+ position: absolute;
+ z-index: 10;
+ /* right: 0; */
+ bottom: 0;
+ left: 0;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.pda-list-cell {
+ position: relative;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+ border-bottom: 1px solid #eee;
+ padding: 10rpx 0;
+}
+
+.pda-list-cell:last-child {
+ border-bottom: 0;
+}
+
+.pda-list-cell-left {
+ white-space: nowrap;
+ /* padding: 0 10rpx; */
+}
+
+.pda-list-cell-db,
+.pda-list-cell-right {
+ flex: 1;
+}
+
+.pda-list-cell .pda-list-cell-db .uni-input-input {
+ font-size: .875rem;
+}
+
+.pda-list-cell .uni-easyinput__content-input,
+.pda-list-cell .uni-input-placeholder {
+ height: 2rem;
+ line-height: 2rem;
+}
+
+.pda-list-cell .placeholder {
+ color: #999 !important;
+ font-size: 0.875rem;
+ padding-left: 10rpx;
+}
+
+.pda-list-cell .uni-label {
+ color: #434556;
+}
+
+.list_locode .uni-collapse-item__title-box {
+ font-weight: bold !important;
+}
+
+.display-flex {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.list-body {
+ /* height: 84rpx; */
+ display: flex;
+ flex: 1;
+ flex-direction: column;
+ justify-content: space-between;
+ align-items: flex-start;
+ overflow: hidden;
+}
+
+.list-text-top {
+ width: 100%;
+ color: #000;
+ font-weight: bolder;
+ /* line-height: 36rpx; */
+ /* font-size: 30rpx; */
+}
+
+.list-text-bottom {
+ /* line-height: 30rpx; */
+ /* font-size: 26rpx; */
+ color: #8f8f94;
+}
+
+
+/* 改为detail-content */
+/* margin-bottom: 20rpx; */
+.device-detail {
+ padding: 10rpx !important;
+ margin: 10rpx;
+ border-radius: 16rpx;
+ background-color: #fff;
+ color: #666666;
+ line-height: 1.5;
+ overflow: hidden;
+}
+
+.list-style {
+ margin-bottom: 0rpx;
+ border-radius: 16rpx;
+ background-color: #FFFFFF;
+ color: #666666;
+ line-height: 1.5;
+}
+
+.border-font {
+ color: #000;
+ font-weight: bolder;
+}
+
+.space-between {
+ -webkit-justify-content: space-between;
+ justify-content: space-between;
+}
+
+.accept-button {
+ width: 30%;
+ font-size: 16px;
+ background-color: #7ac756;
+ color: #ffffff;
+}
+
+.bigsave-button {
+ width: 80%;
+ font-size: 16px;
+ background-color: #007AFF;
+ color: #ffffff;
+}
+
+.save-button {
+ width: 30%;
+ font-size: 16px;
+ background-color: #007AFF;
+ color: #ffffff;
+}
+
+.scroll-detail {
+ overflow: hidden;
+ padding-bottom: 60px;
+ height: 480px;
+ /* 没有高度不可以回到顶部 */
+ /* background-color: #ffffff; */
+}
+
+.scrollView {
+ overflow: hidden;
+ padding-bottom: 50px
+}
+
+.scroll-Y {
+ /* height: 70ux; */
+ padding-bottom: 50px
+}
+
+.bottom1 {
+ position: fixed;
+ width: 100%;
+ /* padding: 10rpx 10rpx; */
+ left: 0;
+ /* right: 0; */
+ bottom: 0;
+ background-color: #ffffff;
+}
+
+.bottom {
+ position: fixed;
+ display: flex;
+ width: 100%;
+ padding: 10rpx 10rpx;
+ left: 0;
+ /* right: 0; */
+ bottom: 0;
+ background-color: #ffffff;
+}
+
+
+.pars-num {
+ /* font-size: 26rpx; */
+}
+
+.right-width {
+ text-align: center;
+ width: 100rpx;
+}
+
+.state-style {
+ float: left;
+ margin-top: 10rpx;
+ /* border-radius: 16rpx;
+ padding: 0rpx 10rpx; */
+ /* line-height: 50rpx;
+ height: 50rpx; */
+ /* width: 120rpx;
+ display: flex;
+ flex-direction: column;
+ align-items: center; */
+ /* 垂直居中 */
+}
+
+.uni-popup-view {
+ background-color: #fff;
+ border-radius: 10px;
+}
+
+.uni-popup-button-box {
+ /* #ifndef APP-NVUE */
+ display: flex;
+ /* #endif */
+ flex-direction: row;
+ padding: 10px 15px;
+}
+
+.uni-popup-button {
+ flex: 1;
+ /* // border-radius: 50px;
+ // color: #666; */
+ /* font-size: 16px; */
+}
+
+/* 任务状态 */
+/* 打开 */
+.open {
+ font-size: 28rpx;
+ background: rgba(95, 203, 148, 0.2);
+ color: #22AF68;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+/* 进行中 */
+.pending {
+ font-size: 28rpx;
+ background: rgba(236, 156, 0, 0.2);
+ color: #EC9C00;
+ padding: 10rpx 20rpx 10rpx 20rpx;
+ border-radius: 10rpx;
+}
+
+/* 完成 */
+.completed {
+ background-color: #E6A23C;
+ color: #FFFFFF;
+ border-radius: 10rpx;
+}
+
+/* 关闭 */
+.close {
+ background-color: #F56C6C;
+ color: #FFFFFF;
+}
+
+
+/* 关闭 */
+.other {
+ background-color: #808080;
+ color: #FFFFFF;
+ border-radius: 10rpx;
+}
+
+/* 其他 */
+.unk {
+ background-color: #ececec;
+ color: #666;
+ border-radius: 10rpx;
+}
+
+/* 检验任务状态 */
+/* 免检 */
+.exempt {
+ background-color: #409EFF;
+ color: #FFFFFF;
+}
+
+/* 全检 */
+.full {
+ background-color: #67C23A;
+ color: #FFFFFF;
+}
+
+/* 抽检 */
+.sampling {
+ background-color: #E6A23C;
+ color: #FFFFFF;
+}
+
+/* 挑检 */
+.pick {
+ background-color: #F56C6C;
+ color: #FFFFFF;
+}
+
+/* 库存状态 */
+
+.uni-link {
+ background-color: #BD2C00;
+ color: #BD2C00 !important;
+}
+
+.inventory_status_insp {
+ color: #F9AE3D;
+ margin-right: 10rpx;
+}
+
+.inventory_status_ok {
+ color: #67C23A;
+ margin-right: 10rpx;
+}
+
+.inventory_status_nok {
+ color: #FF2424;
+ margin-right: 10rpx;
+}
+
+.inventory_status_hold {
+ color: #EC9C00;
+ margin-right: 10rpx;
+}
+
+.inventory_status_scarp {
+ color: #999;
+ margin-right: 10rpx;
+}
+
+.frozen {
+ color: #FF581D;
+ margin-right: 10rpx;
+}
+
+.pass {
+ color: #67C23A !important;
+}
+
+.unPass {
+ color: #FF2424 !important;
+}
+
+.location_inspect {
+ background-color: #F6CB61;
+ color: #FFFFFF;
+}
+
+.location_raw {
+ background-color: #2DA8D8;
+ color: #FFFFFF;
+}
+
+.location_semi {
+ background-color: #EDAE50;
+ color: #FFFFFF;
+}
+
+.location_fg {
+ background-color: #078343;
+ color: #FFFFFF;
+}
+
+.location_wip {
+ background-color: #FC85FE;
+ color: #FFFFFF;
+}
+
+.location_scrap {
+ background-color: #E30016;
+ color: #FFFFFF;
+}
+
+.location_noc {
+ background-color: #C31223;
+ color: #FFFFFF;
+}
+
+.location_overflow {
+ background-color: #7D1EDC;
+ color: #FFFFFF;
+}
+
+.location_customer {
+ background-color: #5A7CF3;
+ color: #FFFFFF;
+}
+
+.location_hold {
+ background-color: #FF8C00;
+ color: #FFFFFF;
+}
+
+
+
+
+/* //物料状态
+export function getItemTypeStyle(val) {
+ if (val == 0) return 'active'
+ else if (val == 1) return 'hold'
+ else if (val == 2) return 'new'
+ else if (val == 3) return 'plan'
+ else if (val == 4) return 'disable'
+ else return 'other'
+}
+ */
+
+/* 物料状态 */
+.active {
+ background-color: #5FCB94;
+ color: #FFFFFF;
+}
+
+.hold_item {
+ background-color: #FF4206;
+ color: #FFFFFF;
+}
+
+.new {
+ background-color: #E6A23C;
+ color: #FFFFFF;
+}
+
+.plan {
+ background-color: #2677F9;
+ color: #FFFFFF;
+}
+
+.disable {
+ background-color: #666;
+ color: #FFFFFF;
+}
+
+/* 任务编号字体 */
+.text-number {
+ color: #000;
+ font-weight: bolder;
+}
+
+/* 物料编号字体 */
+.text-itemcode {
+ /* font-size: 26rpx; */
+ color: #000;
+ font-weight: bolder;
+}
+
+.text-desc {
+ color: #8f8f91;
+ /* font-size: 22rpx; */
+}
+
+/* 物料编号字体 */
+.text-bolder {
+ color: #000;
+ font-weight: bolder;
+}
+
+.detail-list {
+ background-color: #fff;
+ padding:5rpx 10rpx;
+ /* margin: 20rpx; */
+ /* border-radius: 16rpx; */
+ /* overflow: hidden; */
+}
+
+.detail-content {
+ position: relative;
+ flex: 1;
+ /* font-size: 26rpx; */
+ color: #101010;
+}
+
+.example-body {
+ background-color: #FFFFFF;
+}
+
+.result-box {
+ text-align: center;
+ padding: 20px 0px;
+ /* font-size: 16px; */
+}
+
+.toptext {
+ padding-left: 20upx;
+ line-height: 80upx;
+}
+
+.numberstyle {
+ display: flex;
+ /* flex-direction: row-reverse; */
+ border-bottom: 10upx solid #EEEEEE;
+ width: 200upx;
+ padding-bottom: 20upx;
+}
+
+.input {
+ height: 20rpx;
+ padding: 0rpx 8rpx;
+ line-height: 50rpx;
+ /* font-size: 25rpx; */
+ background: #FFF;
+ border-radius: 4rpx;
+ flex: 1;
+}
+
+.mini-type-style {
+ vertical-align: middle;
+ font-size: 0.725rem;
+ margin-right: 6rpx;
+ border-radius: 4rpx;
+ padding: 4rpx 8rpx;
+ /* width: 80rpx; */
+ /* height: 46rpx;
+ min-width: 80rpx;
+ display: flex;
+ flex-direction: column; */
+
+}
+
+.text-color {
+ color: #000;
+ font-weight: bolder;
+}
+
+.tabs {
+ flex: 1;
+ flex-direction: column;
+ overflow: hidden;
+ /* background-color: #ffffff; */
+}
+
+/* .scroll-h {
+ touch-action: none;
+ width: 100%;
+ height: 100rpx;
+ flex-direction: row;
+ white-space: nowrap;
+ justify-content: center;
+} */
+
+.line-h {
+ height: 1rpx;
+ background-color: #cccccc;
+}
+
+.uni-tab-item {
+ /* #ifndef APP-PLUS */
+ display: inline-block;
+ /* #endif */
+ flex-wrap: nowrap;
+ padding: 0 30rpx;
+}
+
+.uni-tab-item-title {
+ position: relative;
+ color: #555;
+ /* font-size: 24rpx; */
+ height: 100rpx;
+ line-height: 100rpx;
+ flex-wrap: nowrap;
+ /* #ifndef APP-PLUS */
+ white-space: nowrap;
+ /* #endif */
+}
+
+.uni-tab-item-title-active {
+ color: #101010;
+ font-weight: bold;
+}
+
+.uni-tab-item-title-active:after {
+ left: 50%;
+ transform: translateX(-50%);
+ position: absolute;
+ bottom: -20rpx;
+ display: inline-block;
+ content: "";
+ width: 40rpx;
+ height: 8rpx;
+ background-color: #5a7cf3;
+ border-radius: 5px;
+}
+
+/* .blece {
+ padding: 10upx;
+ color: #111111;
+ border-bottom: 2px solid #f5f5f5;
+ display: flex;
+ flex-wrap: wrap;
+} */
+
+.conbox {
+ /* padding: 10rpx 0; */
+ padding-left: 10rpx;
+}
+
+.myinput {
+ display: flex;
+ box-sizing: border-box;
+ overflow: hidden;
+ position: relative;
+ flex: 1;
+ justify-content: center;
+ flex-direction: row;
+ align-items: center;
+ height: 88rpx;
+ padding: 20rpx 0;
+ /* border-width: 0.5px;
+ border-style: solid;
+ border-color: #e5e5e5;
+ border-radius: 5px;
+ background-color: rgb(248, 248, 248);
+ font-size: 18px;*/
+ font-size: .825rem;
+}
+
+.qtyinput {
+ height: 50px;
+ padding: 10px 0px;
+ font-size: 20px;
+}
+
+
+.count-input {
+ padding: 5rpx 3rpx;
+ width: 95%;
+ font-size: 18px;
+}
+
+.pda-data-picker {
+ padding: 5rpx 3rpx;
+ width: 95%;
+ font-size: 18px;
+}
+
+.inputPlaceholderStyle {
+ font-size: 16px;
+}
+
+.inputfocus {
+ border-color: #007AFF;
+}
+
+
+.txt-16 {
+ font-size: 16px;
+}
+
+.txt-18 {
+ font-size: 18px;
+}
+
+.txt-20 {
+ font-size: 20px;
+}
+
+.pda-label {
+ width: 210rpx;
+ word-wrap: break-word;
+ word-break: break-all;
+ text-indent: 20rpx;
+ font-size: 16px;
+}
+
+.fontsize-16 {
+ font-size: 16px;
+}
+
+.fontsize-18 {
+ font-size: 18px;
+}
+
+.fontsize-20 {
+ font-size: 20px;
+}
+
+/deep/ .uni-collapse-item__title-text {
+ font-size: 16px;
+}
+
+
+/deep/ .input-value {
+ font-size: 16px;
+}
+
+/deep/ .uni-input-input {
+ font-size: 18px;
+}
+
+page {
+ width: 100%;
+ height: 100%;
+ /* background-color: #fff; */
+}
+
+.page-wraper {
+ display: flex;
+ flex-direction: column;
+ width: 100%;
+ height: 100%;
+ /* background-color: #fff; */
+}
+
+.page-header {
+ background-color: #fff;
+ font-size: 35rpx;
+ padding: 10rpx 20rpx;
+}
+
+.page-header .header_item {
+ /* padding-left: 10rpx; */
+ padding: 5rpx 10rpx;
+ font-size:32rpx ;
+}
+
+.page-header .header_job_top {
+ padding:5rpx 0rpx;
+}
+.page-main {
+ flex: 1;
+ position: relative;
+ background: #fff;
+}
+
+.page-main-scroll {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+}
+
+.page-main-list {
+ /* height: 80rpx;
+ line-height: 80rpx; */
+ text-align: center;
+ background: #e0e0e0;
+
+}
diff --git a/common/style/uni.css b/common/style/uni.css
new file mode 100644
index 0000000..6b1ded6
--- /dev/null
+++ b/common/style/uni.css
@@ -0,0 +1,3405 @@
+@font-face {
+ font-family: uniicons;
+ font-weight: normal;
+ font-style: normal;
+ src: url('~@/static/uni.ttf') format('truetype');
+}
+
+/* #ifdef H5 */
+.fix-left-window {
+ padding-left: var(--window-left);
+}
+
+.pc-hide {
+ display: none !important;
+}
+
+/* #endif */
+
+/*通用 */
+
+/* view{
+ font-size:28rpx;
+ line-height:1.8;
+} */
+progress,
+checkbox-group {
+ width: 100%;
+}
+
+form {
+ width: 100%;
+}
+
+.uni-flex {
+ display: flex;
+ flex-direction: row;
+}
+
+.uni-flex-item {
+ flex: 1;
+}
+
+.uni-row {
+ flex-direction: row;
+}
+
+.uni-column {
+ flex-direction: column;
+}
+
+.uni-link {
+ color: #576B95;
+ font-size: 26rpx;
+}
+
+.uni-center {
+ text-align: center;
+}
+
+.uni-inline-item {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ /* justify-content: center; */
+ /* background-color: #888888; */
+}
+
+/* .uni-inline-item text {
+ margin-right: 20rpx;
+}
+ */
+/* .uni-inline-item text:last-child {
+ margin-right: 0rpx;
+ margin-left: 20rpx;
+} */
+
+/* page */
+.common-page-head {
+ padding: 35rpx;
+ text-align: center;
+}
+
+.common-page-head-title {
+ display: inline-block;
+ padding: 0 40rpx;
+ font-size: 30rpx;
+ height: 88rpx;
+ line-height: 88rpx;
+ color: #BEBEBE;
+ box-sizing: border-box;
+ border-bottom: 2rpx solid #D8D8D8;
+}
+
+.uni-padding-wrap {
+ /* width:690rpx; */
+ padding: 0 30rpx;
+}
+
+.uni-word {
+ text-align: center;
+ padding: 200rpx 100rpx;
+}
+
+.uni-title {
+ font-size: 30rpx;
+ font-weight: 500;
+ padding: 20rpx 0;
+ line-height: 1.5;
+}
+
+.uni-text {
+ font-size: 28rpx;
+}
+
+.uni-title text {
+ font-size: 24rpx;
+ color: #888;
+}
+
+.uni-text-gray {
+ color: #ccc;
+}
+
+.uni-text-small {
+ font-size: 24rpx;
+}
+
+.uni-common-mb {
+ margin-bottom: 30rpx;
+}
+
+.uni-common-pb {
+ padding-bottom: 30rpx;
+}
+
+.uni-common-pl {
+ padding-left: 30rpx;
+}
+
+.uni-common-mt {
+ margin-top: 30rpx;
+}
+
+/* 背景色 */
+.uni-bg-red {
+ background: #F76260;
+ color: #FFF;
+}
+
+.uni-bg-green {
+ background: #09BB07;
+ color: #FFF;
+}
+
+.uni-bg-blue {
+ background: #007AFF;
+ color: #FFF;
+}
+
+.uni-bg-white {
+ background: #FFFFFF;
+}
+
+/* 标题 */
+.uni-h1 {
+ font-size: 80rpx;
+ font-weight: 700;
+}
+
+.uni-h2 {
+ font-size: 60rpx;
+ font-weight: 700;
+}
+
+.uni-h3 {
+ font-size: 48rpx;
+ font-weight: 700;
+}
+
+.uni-h4 {
+ font-size: 36rpx;
+ font-weight: 700;
+}
+
+.uni-h5 {
+ font-size: 28rpx;
+ color: #8f8f94;
+}
+
+.uni-h6 {
+ font-size: 24rpx;
+ color: #8f8f94;
+}
+
+.uni-bold {
+ font-weight: bold;
+}
+
+/* 文本溢出隐藏 */
+.uni-ellipsis {
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+
+/* 竖向百分百按钮 */
+.uni-btn-v {
+ padding: 10rpx 0;
+}
+
+.uni-btn-v button {
+ margin: 20rpx 0;
+}
+
+/* 表单 */
+.uni-form-item {
+ display: flex;
+ width: 100%;
+ padding: 10rpx 0;
+}
+
+.uni-form-item .title {
+ padding: 10rpx 25rpx;
+}
+
+.uni-label {
+ width: 210rpx;
+ word-wrap: break-word;
+ word-break: break-all;
+ text-indent: 20rpx;
+}
+
+.uni-input {
+ height: 80rpx;
+ padding: 15rpx 25rpx;
+ line-height: 80rpx;
+ font-size: 28rpx;
+ background: #FFF;
+ flex: 1;
+}
+
+radio-group,
+checkbox-group {
+ width: 100%;
+}
+
+radio-group label,
+checkbox-group label {
+ padding-right: 20rpx;
+}
+
+.uni-form-item .with-fun {
+ display: flex;
+ flex-wrap: nowrap;
+ background: #FFFFFF;
+}
+
+.uni-form-item .with-fun .uni-icon {
+ width: 40px;
+ height: 80rpx;
+ line-height: 80rpx;
+ flex-shrink: 0;
+}
+
+/* loadmore */
+.uni-loadmore {
+ height: 80rpx;
+ line-height: 80rpx;
+ text-align: center;
+ padding-bottom: 30rpx;
+}
+
+/*数字角标*/
+/* .uni-badge,
+.uni-badge-default {
+ font-family: 'Helvetica Neue', Helvetica, sans-serif;
+ font-size: 12px;
+ line-height: 1;
+ display: inline-block;
+ padding: 3px 6px;
+ color: #333;
+ border-radius: 100px;
+ background-color: rgba(0, 0, 0, .15);
+} */
+.uni-badge.uni-badge-inverted {
+ padding: 0 5px 0 0;
+ color: #929292;
+ background-color: transparent
+}
+
+.uni-badge-primary {
+ color: #fff;
+ background-color: #007aff
+}
+
+.uni-badge-blue.uni-badge-inverted,
+.uni-badge-primary.uni-badge-inverted {
+ color: #007aff;
+ background-color: transparent
+}
+
+.uni-badge-green,
+.uni-badge-success {
+ color: #fff;
+ background-color: #4cd964;
+}
+
+.uni-badge-green.uni-badge-inverted,
+.uni-badge-success.uni-badge-inverted {
+ color: #4cd964;
+ background-color: transparent
+}
+
+.uni-badge-warning,
+.uni-badge-yellow {
+ color: #fff;
+ background-color: #f0ad4e
+}
+
+.uni-badge-warning.uni-badge-inverted,
+.uni-badge-yellow.uni-badge-inverted {
+ color: #f0ad4e;
+ background-color: transparent
+}
+
+.uni-badge-danger,
+.uni-badge-red {
+ color: #fff;
+ background-color: #dd524d
+}
+
+.uni-badge-danger.uni-badge-inverted,
+.uni-badge-red.uni-badge-inverted {
+ color: #dd524d;
+ background-color: transparent
+}
+
+.uni-badge-purple,
+.uni-badge-royal {
+ color: #fff;
+ background-color: #8a6de9
+}
+
+.uni-badge-purple.uni-badge-inverted,
+.uni-badge-royal.uni-badge-inverted {
+ color: #8a6de9;
+ background-color: transparent
+}
+
+/*折叠面板 */
+.uni-collapse-content {
+ height: 0;
+ width: 100%;
+ overflow: hidden;
+}
+
+.uni-collapse-content.uni-active {
+ height: auto;
+}
+
+/*卡片视图 */
+.uni-card {
+ background: #fff;
+ border-radius: 8rpx;
+ margin: 20rpx 0;
+ position: relative;
+ /* box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, .3); */
+}
+
+.uni-card-content {
+ font-size: 30rpx;
+}
+
+.uni-card-content.image-view {
+ width: 100%;
+ margin: 0;
+}
+
+.uni-card-content-inner {
+ position: relative;
+ padding: 30rpx;
+}
+
+.uni-card-footer,
+.uni-card-header {
+ position: relative;
+ display: flex;
+ min-height: 50rpx;
+ padding: 20rpx 30rpx;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.uni-card-header {
+ font-size: 36rpx;
+}
+
+.uni-card-footer {
+ color: #6d6d72;
+}
+
+.uni-card-footer:before,
+.uni-card-header:after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
+ height: 2rpx;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-card-header:after {
+ top: auto;
+ bottom: 0;
+}
+
+.uni-card-media {
+ justify-content: flex-start;
+}
+
+.uni-card-media-logo {
+ height: 84rpx;
+ width: 84rpx;
+ margin-right: 20rpx;
+}
+
+.uni-card-media-body {
+ height: 84rpx;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ align-items: flex-start;
+}
+
+.uni-card-media-text-top {
+ line-height: 36rpx;
+ font-size: 34rpx;
+}
+
+.uni-card-media-text-bottom {
+ line-height: 30rpx;
+ font-size: 28rpx;
+ color: #8f8f94;
+}
+
+.uni-card-link {
+ color: #007AFF;
+}
+
+/* 列表 */
+.uni-list {
+ background-color: #FFFFFF;
+ position: relative;
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+}
+
+.uni-list:after {
+ position: absolute;
+ z-index: 10;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+/* .uni-list::before {
+ position: absolute;
+ z-index: 10;
+ right: 0;
+ top: 0;
+ left: 0;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+} */
+.uni-list-cell {
+ position: relative;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.uni-list-cell-hover {
+ background-color: #eee;
+}
+
+.uni-list-cell-pd {
+ padding: 22rpx 30rpx;
+}
+
+.uni-list-cell-left {
+ white-space: nowrap;
+ font-size: 28rpx;
+ padding: 0 30rpx;
+}
+
+.uni-list-cell-db,
+.uni-list-cell-right {
+ flex: 1;
+}
+
+.uni-list-cell::after {
+ position: absolute;
+ z-index: 3;
+ right: 0;
+ bottom: 0;
+ left: 30rpx;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-list .uni-list-cell:last-child::after {
+ height: 0rpx;
+}
+
+.uni-list-cell-last.uni-list-cell::after {
+ height: 0rpx;
+}
+
+.uni-list-cell-divider {
+ position: relative;
+ display: flex;
+ color: #999;
+ background-color: #f7f7f7;
+ padding: 15rpx 20rpx;
+}
+
+.uni-list-cell-divider::before {
+ position: absolute;
+ right: 0;
+ top: 0;
+ left: 0;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-list-cell-divider::after {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0rpx;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-list-cell-navigate {
+ font-size: 30rpx;
+ padding: 22rpx 30rpx;
+ line-height: 48rpx;
+ position: relative;
+ display: flex;
+ box-sizing: border-box;
+ width: 100%;
+ flex: 1;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.uni-list-cell-navigate {
+ padding-right: 36rpx;
+}
+
+.uni-navigate-badge {
+ padding-right: 50rpx;
+}
+
+.uni-list-cell-navigate.uni-navigate-right:after {
+ font-family: uniicons;
+ content: '\e583';
+ position: absolute;
+ right: 24rpx;
+ top: 50%;
+ color: #bbb;
+ -webkit-transform: translateY(-50%);
+ transform: translateY(-50%);
+}
+
+.uni-list-cell-navigate.uni-navigate-bottom:after {
+ font-family: uniicons;
+ content: '\e581';
+ position: absolute;
+ right: 24rpx;
+ top: 50%;
+ color: #bbb;
+ -webkit-transform: translateY(-50%);
+ transform: translateY(-50%);
+}
+
+.uni-list-cell-navigate.uni-navigate-bottom.uni-active::after {
+ font-family: uniicons;
+ content: '\e580';
+ position: absolute;
+ right: 24rpx;
+ top: 50%;
+ color: #bbb;
+ -webkit-transform: translateY(-50%);
+ transform: translateY(-50%);
+}
+
+.uni-collapse.uni-list-cell {
+ flex-direction: column;
+}
+
+.uni-list-cell-navigate.uni-active {
+ background: #eee;
+}
+
+.uni-list.uni-collapse {
+ box-sizing: border-box;
+ height: 0;
+ overflow: hidden;
+}
+
+.uni-collapse .uni-list-cell {
+ padding-left: 20rpx;
+}
+
+.uni-collapse .uni-list-cell::after {
+ left: 52rpx;
+}
+
+.uni-list.uni-active {
+ height: auto;
+}
+
+/* 三行列表 */
+.uni-triplex-row {
+ display: flex;
+ flex: 1;
+ width: 100%;
+ box-sizing: border-box;
+ flex-direction: row;
+ padding: 22rpx 30rpx;
+}
+
+.uni-triplex-right,
+.uni-triplex-left {
+ display: flex;
+ flex-direction: column;
+}
+
+.uni-triplex-left {
+ width: 84%;
+}
+
+.uni-triplex-left .uni-title {
+ padding: 8rpx 0;
+}
+
+.uni-triplex-left .uni-text,
+.uni-triplex-left .uni-text-small {
+ color: #999999;
+}
+
+.uni-triplex-right {
+ width: 16%;
+ text-align: right;
+}
+
+/* 图文列表 */
+.uni-media-list {
+ padding: 22rpx 30rpx;
+ box-sizing: border-box;
+ display: flex;
+ width: 100%;
+ flex-direction: row;
+}
+
+.uni-navigate-right.uni-media-list {
+ padding-right: 74rpx;
+}
+
+.uni-pull-right {
+ flex-direction: row-reverse;
+}
+
+.uni-pull-right>.uni-media-list-logo {
+ margin-right: 0rpx;
+ margin-left: 20rpx;
+}
+
+.uni-media-list-logo {
+ height: 84rpx;
+ width: 84rpx;
+ margin-right: 20rpx;
+}
+
+.uni-media-list-logo image {
+ height: 100%;
+ width: 100%;
+}
+
+.uni-media-list-body {
+ height: 84rpx;
+ display: flex;
+ flex: 1;
+ flex-direction: column;
+ justify-content: space-between;
+ align-items: flex-start;
+ overflow: hidden;
+}
+
+.uni-media-list-text-top {
+ width: 100%;
+ line-height: 36rpx;
+ font-size: 30rpx;
+}
+
+.uni-media-list-text-bottom {
+ width: 100%;
+ line-height: 30rpx;
+ font-size: 26rpx;
+ color: #8f8f94;
+}
+
+/* 九宫格 */
+.uni-grid-9 {
+ background: #f2f2f2;
+ width: 750rpx;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ border-top: 2rpx solid #eee;
+}
+
+.uni-grid-9-item {
+ width: 250rpx;
+ height: 200rpx;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ border-bottom: 2rpx solid;
+ border-right: 2rpx solid;
+ border-color: #eee;
+ box-sizing: border-box;
+}
+
+.no-border-right {
+ border-right: none;
+}
+
+.uni-grid-9-image {
+ width: 100rpx;
+ height: 100rpx;
+}
+
+.uni-grid-9-text {
+ width: 250rpx;
+ line-height: 4rpx;
+ height: 40rpx;
+ text-align: center;
+ font-size: 30rpx;
+}
+
+.uni-grid-9-item-hover {
+ background: rgba(0, 0, 0, 0.1);
+}
+
+/* 上传 */
+.uni-uploader {
+ flex: 1;
+ flex-direction: column;
+}
+
+.uni-uploader-head {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+}
+
+.uni-uploader-info {
+ color: #B2B2B2;
+}
+
+.uni-uploader-body {
+ margin-top: 16rpx;
+}
+
+.uni-uploader__files {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+}
+
+.uni-uploader__file {
+ margin: 10rpx;
+ width: 210rpx;
+ height: 210rpx;
+}
+
+.uni-uploader__img {
+ display: block;
+ width: 210rpx;
+ height: 210rpx;
+}
+
+.uni-uploader__input-box {
+ position: relative;
+ margin: 10rpx;
+ width: 208rpx;
+ height: 208rpx;
+ border: 2rpx solid #D9D9D9;
+}
+
+.uni-uploader__input-box:before,
+.uni-uploader__input-box:after {
+ content: " ";
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ -webkit-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+ background-color: #D9D9D9;
+}
+
+.uni-uploader__input-box:before {
+ width: 4rpx;
+ height: 79rpx;
+}
+
+.uni-uploader__input-box:after {
+ width: 79rpx;
+ height: 4rpx;
+}
+
+.uni-uploader__input-box:active {
+ border-color: #999999;
+}
+
+.uni-uploader__input-box:active:before,
+.uni-uploader__input-box:active:after {
+ background-color: #999999;
+}
+
+.uni-uploader__input {
+ position: absolute;
+ z-index: 1;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ opacity: 0;
+}
+
+/*问题反馈*/
+.feedback-title {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+ padding: 20rpx;
+ color: #8f8f94;
+ font-size: 28rpx;
+}
+
+.feedback-star-view.feedback-title {
+ justify-content: flex-start;
+ margin: 0;
+}
+
+.feedback-quick {
+ position: relative;
+ padding-right: 40rpx;
+}
+
+.feedback-quick:after {
+ font-family: uniicons;
+ font-size: 40rpx;
+ content: '\e581';
+ position: absolute;
+ right: 0;
+ top: 50%;
+ color: #bbb;
+ -webkit-transform: translateY(-50%);
+ transform: translateY(-50%);
+}
+
+.feedback-body {
+ background: #fff;
+}
+
+.feedback-textare {
+ height: 200rpx;
+ font-size: 34rpx;
+ line-height: 50rpx;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 20rpx 30rpx 0;
+}
+
+.feedback-input {
+ font-size: 34rpx;
+ height: 50rpx;
+ min-height: 50rpx;
+ padding: 15rpx 20rpx;
+ line-height: 50rpx;
+}
+
+.feedback-uploader {
+ padding: 22rpx 20rpx;
+}
+
+.feedback-star {
+ font-family: uniicons;
+ font-size: 40rpx;
+ margin-left: 6rpx;
+}
+
+.feedback-star-view {
+ margin-left: 20rpx;
+}
+
+.feedback-star:after {
+ content: '\e408';
+}
+
+.feedback-star.active {
+ color: #FFB400;
+}
+
+.feedback-star.active:after {
+ content: '\e438';
+}
+
+.feedback-submit {
+ background: #007AFF;
+ color: #FFFFFF;
+ margin: 20rpx;
+}
+
+/* input group */
+.uni-input-group {
+ position: relative;
+ padding: 0;
+ border: 0;
+ background-color: #fff;
+}
+
+.uni-input-group:before {
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
+ height: 2rpx;
+ content: '';
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-input-group:after {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ height: 2rpx;
+ content: '';
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-input-row {
+ position: relative;
+ display: flex;
+ flex-direction: row;
+ font-size: 28rpx;
+ padding: 22rpx 30rpx;
+ justify-content: space-between;
+}
+
+.uni-input-group .uni-input-row:after {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 30rpx;
+ height: 2rpx;
+ content: '';
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-input-row label {
+ line-height: 70rpx;
+}
+
+/* textarea */
+.uni-textarea {
+ width: 100%;
+ background: #FFF;
+}
+
+.uni-textarea textarea {
+ width: 96%;
+ padding: 18rpx 2%;
+ line-height: 1.6;
+ font-size: 28rpx;
+ height: 150rpx;
+}
+
+/* tab bar */
+.uni-tab-bar {
+ display: flex;
+ flex: 1;
+ flex-direction: column;
+ overflow: hidden;
+ height: 100%;
+}
+
+.uni-tab-bar .list {
+ width: 750rpx;
+ height: 100%;
+}
+
+.uni-swiper-tab {
+ width: 100%;
+ white-space: nowrap;
+ line-height: 100rpx;
+ height: 100rpx;
+ border-bottom: 1px solid #c8c7cc;
+}
+
+.swiper-tab-list {
+ font-size: 30rpx;
+ width: 150rpx;
+ display: inline-block;
+ text-align: center;
+ color: #555;
+}
+
+.uni-tab-bar .active {
+ color: #007AFF;
+}
+
+.uni-tab-bar .swiper-box {
+ flex: 1;
+ width: 100%;
+ height: calc(100% - 100rpx);
+}
+
+.uni-tab-bar-loading {
+ padding: 20rpx 0;
+}
+
+/* comment */
+.uni-comment {
+ padding: 5rpx 0;
+ display: flex;
+ flex-grow: 1;
+ flex-direction: column;
+}
+
+.uni-comment-list {
+ flex-wrap: nowrap;
+ padding: 10rpx 0;
+ margin: 10rpx 0;
+ width: 100%;
+ display: flex;
+}
+
+.uni-comment-face {
+ width: 70rpx;
+ height: 70rpx;
+ border-radius: 100%;
+ margin-right: 20rpx;
+ flex-shrink: 0;
+ overflow: hidden;
+}
+
+.uni-comment-face image {
+ width: 100%;
+ border-radius: 100%;
+}
+
+.uni-comment-body {
+ width: 100%;
+}
+
+.uni-comment-top {
+ line-height: 1.5em;
+ justify-content: space-between;
+}
+
+.uni-comment-top text {
+ color: #0A98D5;
+ font-size: 24rpx;
+}
+
+.uni-comment-date {
+ line-height: 38rpx;
+ flex-direction: row;
+ justify-content: space-between;
+ display: flex !important;
+ flex-grow: 1;
+}
+
+.uni-comment-date view {
+ color: #666666;
+ font-size: 24rpx;
+ line-height: 38rpx;
+}
+
+.uni-comment-content {
+ line-height: 1.6em;
+ font-size: 28rpx;
+ padding: 8rpx 0;
+}
+
+.uni-comment-replay-btn {
+ background: #FFF;
+ font-size: 24rpx;
+ line-height: 28rpx;
+ padding: 5rpx 20rpx;
+ border-radius: 30rpx;
+ color: #333 !important;
+ margin: 0 10rpx;
+}
+
+/* swiper msg */
+.uni-swiper-msg {
+ width: 100%;
+ padding: 12rpx 0;
+ flex-wrap: nowrap;
+ display: flex;
+}
+
+.uni-swiper-msg-icon {
+ width: 50rpx;
+ margin-right: 20rpx;
+}
+
+.uni-swiper-msg-icon image {
+ width: 100%;
+ flex-shrink: 0;
+}
+
+.uni-swiper-msg swiper {
+ width: 100%;
+ height: 50rpx;
+}
+
+.uni-swiper-msg swiper-item {
+ line-height: 50rpx;
+}
+
+/* product */
+.uni-product-list {
+ display: flex;
+ width: 100%;
+ flex-wrap: wrap;
+ flex-direction: row;
+}
+
+.uni-product {
+ padding: 20rpx;
+ display: flex;
+ flex-direction: column;
+}
+
+.image-view {
+ height: 330rpx;
+ width: 330rpx;
+ margin: 12rpx 0;
+}
+
+.uni-product-image {
+ height: 330rpx;
+ width: 330rpx;
+}
+
+.uni-product-title {
+ width: 300rpx;
+ word-break: break-all;
+ display: -webkit-box;
+ overflow: hidden;
+ line-height: 1.5;
+ text-overflow: ellipsis;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+}
+
+.uni-product-price {
+ margin-top: 10rpx;
+ font-size: 28rpx;
+ line-height: 1.5;
+ position: relative;
+}
+
+.uni-product-price-original {
+ color: #e80080;
+}
+
+.uni-product-price-favour {
+ color: #888888;
+ text-decoration: line-through;
+ margin-left: 10rpx;
+}
+
+.uni-product-tip {
+ position: absolute;
+ right: 10rpx;
+ background-color: #ff3333;
+ color: #ffffff;
+ padding: 0 10rpx;
+ border-radius: 5rpx;
+}
+
+/* timeline */
+.uni-timeline {
+ margin: 35rpx 0;
+ display: flex;
+ flex-direction: column;
+ position: relative;
+}
+
+
+.uni-timeline-item {
+ display: flex;
+ flex-direction: row;
+ position: relative;
+ padding-bottom: 20rpx;
+ box-sizing: border-box;
+ overflow: hidden;
+
+}
+
+.uni-timeline-item .uni-timeline-item-keynode {
+ width: 160rpx;
+ flex-shrink: 0;
+ box-sizing: border-box;
+ padding-right: 20rpx;
+ text-align: right;
+ line-height: 65rpx;
+}
+
+.uni-timeline-item .uni-timeline-item-divider {
+ flex-shrink: 0;
+ position: relative;
+ width: 30rpx;
+ height: 30rpx;
+ top: 15rpx;
+ border-radius: 50%;
+ background-color: #bbb;
+}
+
+
+
+.uni-timeline-item-divider::before,
+.uni-timeline-item-divider::after {
+ position: absolute;
+ left: 15rpx;
+ width: 1rpx;
+ height: 100vh;
+ content: '';
+ background: inherit;
+}
+
+.uni-timeline-item-divider::before {
+ bottom: 100%;
+}
+
+.uni-timeline-item-divider::after {
+ top: 100%;
+}
+
+
+.uni-timeline-last-item .uni-timeline-item-divider:after {
+ display: none;
+}
+
+.uni-timeline-first-item .uni-timeline-item-divider:before {
+ display: none;
+}
+
+.uni-timeline-item .uni-timeline-item-content {
+ padding-left: 20rpx;
+}
+
+.uni-timeline-last-item .bottom-border::after {
+ display: none;
+}
+
+.uni-timeline-item-content .datetime {
+ color: #CCCCCC;
+}
+
+/* 自定义节点颜色 */
+.uni-timeline-last-item .uni-timeline-item-divider {
+ background-color: #1AAD19;
+}
+
+
+/* uni-icon */
+
+.uni-icon {
+ font-family: uniicons;
+ font-size: 24px;
+ font-weight: normal;
+ font-style: normal;
+ line-height: 1;
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+}
+
+.uni-icon.uni-active {
+ color: #007aff;
+}
+
+.uni-icon-contact:before {
+ content: '\e100';
+}
+
+.uni-icon-person:before {
+ content: '\e101';
+}
+
+.uni-icon-personadd:before {
+ content: '\e102';
+}
+
+.uni-icon-contact-filled:before {
+ content: '\e130';
+}
+
+.uni-icon-person-filled:before {
+ content: '\e131';
+}
+
+.uni-icon-personadd-filled:before {
+ content: '\e132';
+}
+
+.uni-icon-phone:before {
+ content: '\e200';
+}
+
+.uni-icon-email:before {
+ content: '\e201';
+}
+
+.uni-icon-chatbubble:before {
+ content: '\e202';
+}
+
+.uni-icon-chatboxes:before {
+ content: '\e203';
+}
+
+.uni-icon-phone-filled:before {
+ content: '\e230';
+}
+
+.uni-icon-email-filled:before {
+ content: '\e231';
+}
+
+.uni-icon-chatbubble-filled:before {
+ content: '\e232';
+}
+
+.uni-icon-chatboxes-filled:before {
+ content: '\e233';
+}
+
+.uni-icon-weibo:before {
+ content: '\e260';
+}
+
+.uni-icon-weixin:before {
+ content: '\e261';
+}
+
+.uni-icon-pengyouquan:before {
+ content: '\e262';
+}
+
+.uni-icon-chat:before {
+ content: '\e263';
+}
+
+.uni-icon-qq:before {
+ content: '\e264';
+}
+
+.uni-icon-videocam:before {
+ content: '\e300';
+}
+
+.uni-icon-camera:before {
+ content: '\e301';
+}
+
+.uni-icon-mic:before {
+ content: '\e302';
+}
+
+.uni-icon-location:before {
+ content: '\e303';
+}
+
+.uni-icon-mic-filled:before,
+.uni-icon-speech:before {
+ content: '\e332';
+}
+
+.uni-icon-location-filled:before {
+ content: '\e333';
+}
+
+.uni-icon-micoff:before {
+ content: '\e360';
+}
+
+.uni-icon-image:before {
+ content: '\e363';
+}
+
+.uni-icon-map:before {
+ content: '\e364';
+}
+
+.uni-icon-compose:before {
+ content: '\e400';
+}
+
+.uni-icon-trash:before {
+ content: '\e401';
+}
+
+.uni-icon-upload:before {
+ content: '\e402';
+}
+
+.uni-icon-download:before {
+ content: '\e403';
+}
+
+.uni-icon-close:before {
+ content: '\e404';
+}
+
+.uni-icon-redo:before {
+ content: '\e405';
+}
+
+.uni-icon-undo:before {
+ content: '\e406';
+}
+
+.uni-icon-refresh:before {
+ content: '\e407';
+}
+
+.uni-icon-star:before {
+ content: '\e408';
+}
+
+.uni-icon-plus:before {
+ content: '\e409';
+}
+
+.uni-icon-minus:before {
+ content: '\e410';
+}
+
+.uni-icon-circle:before,
+.uni-icon-checkbox:before {
+ content: '\e411';
+}
+
+.uni-icon-close-filled:before,
+.uni-icon-clear:before {
+ content: '\e434';
+}
+
+.uni-icon-refresh-filled:before {
+ content: '\e437';
+}
+
+.uni-icon-star-filled:before {
+ content: '\e438';
+}
+
+.uni-icon-plus-filled:before {
+ content: '\e439';
+}
+
+.uni-icon-minus-filled:before {
+ content: '\e440';
+}
+
+.uni-icon-circle-filled:before {
+ content: '\e441';
+}
+
+.uni-icon-checkbox-filled:before {
+ content: '\e442';
+}
+
+.uni-icon-closeempty:before {
+ content: '\e460';
+}
+
+.uni-icon-refreshempty:before {
+ content: '\e461';
+}
+
+.uni-icon-reload:before {
+ content: '\e462';
+}
+
+.uni-icon-starhalf:before {
+ content: '\e463';
+}
+
+.uni-icon-spinner:before {
+ content: '\e464';
+}
+
+.uni-icon-spinner-cycle:before {
+ content: '\e465';
+}
+
+.uni-icon-search:before {
+ content: '\e466';
+}
+
+.uni-icon-plusempty:before {
+ content: '\e468';
+}
+
+.uni-icon-forward:before {
+ content: '\e470';
+}
+
+.uni-icon-back:before,
+.uni-icon-left-nav:before {
+ content: '\e471';
+}
+
+.uni-icon-checkmarkempty:before {
+ content: '\e472';
+}
+
+.uni-icon-home:before {
+ content: '\e500';
+}
+
+.uni-icon-navigate:before {
+ content: '\e501';
+}
+
+.uni-icon-gear:before {
+ content: '\e502';
+}
+
+.uni-icon-paperplane:before {
+ content: '\e503';
+}
+
+.uni-icon-info:before {
+ content: '\e504';
+}
+
+.uni-icon-help:before {
+ content: '\e505';
+}
+
+.uni-icon-locked:before {
+ content: '\e506';
+}
+
+.uni-icon-more:before {
+ content: '\e507';
+}
+
+.uni-icon-flag:before {
+ content: '\e508';
+}
+
+.uni-icon-home-filled:before {
+ content: '\e530';
+}
+
+.uni-icon-gear-filled:before {
+ content: '\e532';
+}
+
+.uni-icon-info-filled:before {
+ content: '\e534';
+}
+
+.uni-icon-help-filled:before {
+ content: '\e535';
+}
+
+.uni-icon-more-filled:before {
+ content: '\e537';
+}
+
+.uni-icon-settings:before {
+ content: '\e560';
+}
+
+.uni-icon-list:before {
+ content: '\e562';
+}
+
+.uni-icon-bars:before {
+ content: '\e563';
+}
+
+.uni-icon-loop:before {
+ content: '\e565';
+}
+
+.uni-icon-paperclip:before {
+ content: '\e567';
+}
+
+.uni-icon-eye:before {
+ content: '\e568';
+}
+
+.uni-icon-arrowup:before {
+ content: '\e580';
+}
+
+.uni-icon-arrowdown:before {
+ content: '\e581';
+}
+
+.uni-icon-arrowleft:before {
+ content: '\e582';
+}
+
+.uni-icon-arrowright:before {
+ content: '\e583';
+}
+
+.uni-icon-arrowthinup:before {
+ content: '\e584';
+}
+
+.uni-icon-arrowthindown:before {
+ content: '\e585';
+}
+
+.uni-icon-arrowthinleft:before {
+ content: '\e586';
+}
+
+.uni-icon-arrowthinright:before {
+ content: '\e587';
+}
+
+.uni-icon-pulldown:before {
+ content: '\e588';
+}
+
+.uni-icon-scan:before {
+ content: "\e612";
+}
+
+/* 分界线 */
+.uni-divider {
+ height: 110rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+}
+
+.uni-divider__content {
+ font-size: 28rpx;
+ color: #999;
+ padding: 0 20rpx;
+ position: relative;
+ z-index: 101;
+ background: #F4F5F6;
+}
+
+.uni-divider__line {
+ background-color: #CCCCCC;
+ height: 1px;
+ width: 100%;
+ position: absolute;
+ z-index: 100;
+ top: 50%;
+ left: 0;
+ transform: translateY(50%);
+}
+
+/* view{
+ font-size:28rpx;
+ line-height:1.8;
+} */
+progress,
+checkbox-group {
+ width: 100%;
+}
+
+form {
+ width: 100%;
+}
+
+.uni-flex {
+ display: flex;
+ flex-direction: row;
+}
+
+.uni-flex-item {
+ flex: 1;
+}
+
+.uni-row {
+ flex-direction: row;
+}
+
+.uni-column {
+ flex-direction: column;
+}
+
+.uni-link {
+ color: #576B95;
+ font-size: 26rpx;
+}
+
+.uni-center {
+ text-align: center;
+}
+
+.uni-inline-item {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+}
+
+.uni-inline-item text {
+ margin-right: 20rpx;
+}
+
+.uni-inline-item text:last-child {
+ margin-right: 0rpx;
+ margin-left: 20rpx;
+}
+
+/* page */
+.common-page-head {
+ padding: 35rpx;
+ text-align: center;
+}
+
+.common-page-head-title {
+ display: inline-block;
+ padding: 0 40rpx;
+ font-size: 30rpx;
+ height: 88rpx;
+ line-height: 88rpx;
+ color: #BEBEBE;
+ box-sizing: border-box;
+ border-bottom: 2rpx solid #D8D8D8;
+}
+
+.uni-padding-wrap {
+ /* width:690rpx; */
+ padding: 0 30rpx;
+}
+
+.uni-word {
+ text-align: center;
+ padding: 200rpx 100rpx;
+}
+
+.uni-title {
+ font-size: 30rpx;
+ font-weight: 500;
+ padding: 20rpx 0;
+ line-height: 1.5;
+}
+
+.uni-text {
+ font-size: 28rpx;
+}
+
+.uni-title text {
+ font-size: 24rpx;
+ color: #888;
+}
+
+.uni-text-gray {
+ color: #ccc;
+}
+
+.uni-text-small {
+ font-size: 24rpx;
+}
+
+.uni-common-mb {
+ margin-bottom: 30rpx;
+}
+
+.uni-common-pb {
+ padding-bottom: 30rpx;
+}
+
+.uni-common-pl {
+ padding-left: 30rpx;
+}
+
+.uni-common-mt {
+ margin-top: 30rpx;
+}
+
+/* 背景色 */
+.uni-bg-red {
+ background: #F76260;
+ color: #FFF;
+}
+
+.uni-bg-green {
+ background: #09BB07;
+ color: #FFF;
+}
+
+.uni-bg-blue {
+ background: #007AFF;
+ color: #FFF;
+}
+
+/* 标题 */
+.uni-h1 {
+ font-size: 80rpx;
+ font-weight: 700;
+}
+
+.uni-h2 {
+ font-size: 60rpx;
+ font-weight: 700;
+}
+
+.uni-h3 {
+ font-size: 48rpx;
+ font-weight: 700;
+}
+
+.uni-h4 {
+ font-size: 36rpx;
+ font-weight: 700;
+}
+
+.uni-h5 {
+ font-size: 28rpx;
+ color: #8f8f94;
+}
+
+.uni-h6 {
+ font-size: 24rpx;
+ color: #8f8f94;
+}
+
+.uni-bold {
+ font-weight: bold;
+}
+
+/* 文本溢出隐藏 */
+.uni-ellipsis {
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+
+/* 竖向百分百按钮 */
+.uni-btn-v {
+ padding: 10rpx 0;
+}
+
+.uni-btn-v button {
+ margin: 20rpx 0;
+}
+
+/* 表单 */
+.uni-form-item {
+ display: flex;
+ width: 100%;
+ padding: 10rpx 0;
+}
+
+.uni-form-item .title {
+ padding: 10rpx 25rpx;
+}
+
+.uni-label {
+ width: 210rpx;
+ word-wrap: break-word;
+ word-break: break-all;
+ text-indent: 20rpx;
+}
+
+.uni-input {
+ height: 50rpx;
+ padding: 15rpx 25rpx;
+ line-height: 50rpx;
+ font-size: 28rpx;
+ background: #FFF;
+ flex: 1;
+}
+
+radio-group,
+checkbox-group {
+ width: 100%;
+}
+
+radio-group label,
+checkbox-group label {
+ padding-right: 20rpx;
+}
+
+.uni-form-item .with-fun {
+ display: flex;
+ flex-wrap: nowrap;
+ background: #FFFFFF;
+}
+
+.uni-form-item .with-fun .uni-icon {
+ width: 40px;
+ height: 80rpx;
+ line-height: 80rpx;
+ flex-shrink: 0;
+}
+
+/* loadmore */
+.uni-loadmore {
+ height: 80rpx;
+ line-height: 80rpx;
+ text-align: center;
+ padding-bottom: 30rpx;
+}
+
+/*数字角标*/
+/* .uni-badge,
+.uni-badge-default {
+ font-family: 'Helvetica Neue', Helvetica, sans-serif;
+ font-size: 12px;
+ line-height: 1;
+ display: inline-block;
+ padding: 3px 6px;
+ color: #333;
+ border-radius: 100px;
+ background-color: rgba(0, 0, 0, .15);
+} */
+.uni-badge.uni-badge-inverted {
+ padding: 0 5px 0 0;
+ color: #929292;
+ background-color: transparent
+}
+
+.uni-badge-primary {
+ color: #fff;
+ background-color: #007aff
+}
+
+.uni-badge-blue.uni-badge-inverted,
+.uni-badge-primary.uni-badge-inverted {
+ color: #007aff;
+ background-color: transparent
+}
+
+.uni-badge-green,
+.uni-badge-success {
+ color: #fff;
+ background-color: #4cd964;
+}
+
+.uni-badge-green.uni-badge-inverted,
+.uni-badge-success.uni-badge-inverted {
+ color: #4cd964;
+ background-color: transparent
+}
+
+.uni-badge-warning,
+.uni-badge-yellow {
+ color: #fff;
+ background-color: #f0ad4e
+}
+
+.uni-badge-warning.uni-badge-inverted,
+.uni-badge-yellow.uni-badge-inverted {
+ color: #f0ad4e;
+ background-color: transparent
+}
+
+.uni-badge-danger,
+.uni-badge-red {
+ color: #fff;
+ background-color: #dd524d
+}
+
+.uni-badge-danger.uni-badge-inverted,
+.uni-badge-red.uni-badge-inverted {
+ color: #dd524d;
+ background-color: transparent
+}
+
+.uni-badge-purple,
+.uni-badge-royal {
+ color: #fff;
+ background-color: #8a6de9
+}
+
+.uni-badge-purple.uni-badge-inverted,
+.uni-badge-royal.uni-badge-inverted {
+ color: #8a6de9;
+ background-color: transparent
+}
+
+/*折叠面板 */
+.uni-collapse-content {
+ height: 0;
+ width: 100%;
+ overflow: hidden;
+}
+
+.uni-collapse-content.uni-active {
+ height: auto;
+}
+
+/*卡片视图 */
+.uni-card {
+ background: #fff;
+ border-radius: 8rpx;
+ margin: 20rpx 0;
+ position: relative;
+ /* box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, .3); */
+}
+
+.uni-card-content {
+ font-size: 30rpx;
+}
+
+.uni-card-content.image-view {
+ width: 100%;
+ margin: 0;
+}
+
+.uni-card-content-inner {
+ position: relative;
+ padding: 30rpx;
+}
+
+.uni-card-footer,
+.uni-card-header {
+ position: relative;
+ display: flex;
+ min-height: 50rpx;
+ padding: 20rpx 30rpx;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.uni-card-header {
+ font-size: 36rpx;
+}
+
+.uni-card-footer {
+ color: #6d6d72;
+}
+
+.uni-card-footer:before,
+.uni-card-header:after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
+ height: 2rpx;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-card-header:after {
+ top: auto;
+ bottom: 0;
+}
+
+.uni-card-media {
+ justify-content: flex-start;
+}
+
+.uni-card-media-logo {
+ height: 84rpx;
+ width: 84rpx;
+ margin-right: 20rpx;
+}
+
+.uni-card-media-body {
+ height: 84rpx;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ align-items: flex-start;
+}
+
+.uni-card-media-text-top {
+ line-height: 36rpx;
+ font-size: 34rpx;
+}
+
+.uni-card-media-text-bottom {
+ line-height: 30rpx;
+ font-size: 28rpx;
+ color: #8f8f94;
+}
+
+.uni-card-link {
+ color: #007AFF;
+}
+
+/* 列表 */
+.uni-list {
+ background-color: #FFFFFF;
+ position: relative;
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+}
+
+.uni-list:after {
+ position: absolute;
+ z-index: 10;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+/* .uni-list::before {
+ position: absolute;
+ z-index: 10;
+ right: 0;
+ top: 0;
+ left: 0;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+} */
+.uni-list-cell {
+ position: relative;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.uni-list-cell-hover {
+ background-color: #eee;
+}
+
+.uni-list-cell-pd {
+ padding: 22rpx 30rpx;
+}
+
+.uni-list-cell-left {
+ white-space: nowrap;
+ font-size: 28rpx;
+ padding: 0 30rpx;
+}
+
+.uni-list-cell-db,
+.uni-list-cell-right {
+ flex: 1;
+}
+
+.uni-list-cell::after {
+ position: absolute;
+ z-index: 3;
+ right: 0;
+ bottom: 0;
+ left: 30rpx;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-list .uni-list-cell:last-child::after {
+ height: 0rpx;
+}
+
+.uni-list-cell-last.uni-list-cell::after {
+ height: 0rpx;
+}
+
+.uni-list-cell-divider {
+ position: relative;
+ display: flex;
+ color: #999;
+ background-color: #f7f7f7;
+ padding: 15rpx 20rpx;
+}
+
+.uni-list-cell-divider::before {
+ position: absolute;
+ right: 0;
+ top: 0;
+ left: 0;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-list-cell-divider::after {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0rpx;
+ height: 1px;
+ content: '';
+ -webkit-transform: scaleY(.5);
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-list-cell-navigate {
+ font-size: 30rpx;
+ padding: 22rpx 30rpx;
+ line-height: 48rpx;
+ position: relative;
+ display: flex;
+ box-sizing: border-box;
+ width: 100%;
+ flex: 1;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.uni-list-cell-navigate {
+ padding-right: 36rpx;
+}
+
+.uni-navigate-badge {
+ padding-right: 50rpx;
+}
+
+.uni-list-cell-navigate.uni-navigate-right:after {
+ font-family: uniicons;
+ content: '\e583';
+ position: absolute;
+ right: 24rpx;
+ top: 50%;
+ color: #bbb;
+ -webkit-transform: translateY(-50%);
+ transform: translateY(-50%);
+}
+
+.uni-list-cell-navigate.uni-navigate-bottom:after {
+ font-family: uniicons;
+ content: '\e581';
+ position: absolute;
+ right: 24rpx;
+ top: 50%;
+ color: #bbb;
+ -webkit-transform: translateY(-50%);
+ transform: translateY(-50%);
+}
+
+.uni-list-cell-navigate.uni-navigate-bottom.uni-active::after {
+ font-family: uniicons;
+ content: '\e580';
+ position: absolute;
+ right: 24rpx;
+ top: 50%;
+ color: #bbb;
+ -webkit-transform: translateY(-50%);
+ transform: translateY(-50%);
+}
+
+.uni-collapse.uni-list-cell {
+ flex-direction: column;
+}
+
+.uni-list-cell-navigate.uni-active {
+ background: #eee;
+}
+
+.uni-list.uni-collapse {
+ box-sizing: border-box;
+ height: 0;
+ overflow: hidden;
+}
+
+.uni-collapse .uni-list-cell {
+ padding-left: 20rpx;
+}
+
+.uni-collapse .uni-list-cell::after {
+ left: 52rpx;
+}
+
+.uni-list.uni-active {
+ height: auto;
+}
+
+/* 三行列表 */
+.uni-triplex-row {
+ display: flex;
+ flex: 1;
+ width: 100%;
+ box-sizing: border-box;
+ flex-direction: row;
+ padding: 22rpx 30rpx;
+}
+
+.uni-triplex-right,
+.uni-triplex-left {
+ display: flex;
+ flex-direction: column;
+}
+
+.uni-triplex-left {
+ width: 84%;
+}
+
+.uni-triplex-left .uni-title {
+ padding: 8rpx 0;
+}
+
+.uni-triplex-left .uni-text,
+.uni-triplex-left .uni-text-small {
+ color: #999999;
+}
+
+.uni-triplex-right {
+ width: 16%;
+ text-align: right;
+}
+
+/* 图文列表 */
+.uni-media-list {
+ padding: 22rpx 30rpx;
+ box-sizing: border-box;
+ display: flex;
+ width: 100%;
+ flex-direction: row;
+}
+
+.uni-navigate-right.uni-media-list {
+ padding-right: 74rpx;
+}
+
+.uni-pull-right {
+ flex-direction: row-reverse;
+}
+
+.uni-pull-right>.uni-media-list-logo {
+ margin-right: 0rpx;
+ margin-left: 20rpx;
+}
+
+.uni-media-list-logo {
+ height: 84rpx;
+ width: 84rpx;
+ margin-right: 20rpx;
+}
+
+.uni-media-list-logo image {
+ height: 100%;
+ width: 100%;
+}
+
+.uni-media-list-body {
+ height: 84rpx;
+ display: flex;
+ flex: 1;
+ flex-direction: column;
+ justify-content: space-between;
+ align-items: flex-start;
+ overflow: hidden;
+}
+
+.uni-media-list-text-top {
+ width: 100%;
+ line-height: 36rpx;
+ font-size: 30rpx;
+}
+
+.uni-media-list-text-bottom {
+ width: 100%;
+ line-height: 30rpx;
+ font-size: 26rpx;
+ color: #8f8f94;
+}
+
+/* 九宫格 */
+.uni-grid-9 {
+ background: #f2f2f2;
+ width: 750rpx;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ border-top: 2rpx solid #eee;
+}
+
+.uni-grid-9-item {
+ width: 250rpx;
+ height: 200rpx;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ border-bottom: 2rpx solid;
+ border-right: 2rpx solid;
+ border-color: #eee;
+ box-sizing: border-box;
+}
+
+.no-border-right {
+ border-right: none;
+}
+
+.uni-grid-9-image {
+ width: 100rpx;
+ height: 100rpx;
+}
+
+.uni-grid-9-text {
+ width: 250rpx;
+ line-height: 4rpx;
+ height: 40rpx;
+ text-align: center;
+ font-size: 30rpx;
+}
+
+.uni-grid-9-item-hover {
+ background: rgba(0, 0, 0, 0.1);
+}
+
+/* 上传 */
+.uni-uploader {
+ flex: 1;
+ flex-direction: column;
+}
+
+.uni-uploader-head {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+}
+
+.uni-uploader-info {
+ color: #B2B2B2;
+}
+
+.uni-uploader-body {
+ margin-top: 16rpx;
+}
+
+.uni-uploader__files {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+}
+
+.uni-uploader__file {
+ margin: 10rpx;
+ width: 210rpx;
+ height: 210rpx;
+}
+
+.uni-uploader__img {
+ display: block;
+ width: 210rpx;
+ height: 210rpx;
+}
+
+.uni-uploader__input-box {
+ position: relative;
+ margin: 10rpx;
+ width: 208rpx;
+ height: 208rpx;
+ border: 2rpx solid #D9D9D9;
+}
+
+.uni-uploader__input-box:before,
+.uni-uploader__input-box:after {
+ content: " ";
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ -webkit-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+ background-color: #D9D9D9;
+}
+
+.uni-uploader__input-box:before {
+ width: 4rpx;
+ height: 79rpx;
+}
+
+.uni-uploader__input-box:after {
+ width: 79rpx;
+ height: 4rpx;
+}
+
+.uni-uploader__input-box:active {
+ border-color: #999999;
+}
+
+.uni-uploader__input-box:active:before,
+.uni-uploader__input-box:active:after {
+ background-color: #999999;
+}
+
+.uni-uploader__input {
+ position: absolute;
+ z-index: 1;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ opacity: 0;
+}
+
+/*问题反馈*/
+.feedback-title {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+ padding: 20rpx;
+ color: #8f8f94;
+ font-size: 28rpx;
+}
+
+.feedback-star-view.feedback-title {
+ justify-content: flex-start;
+ margin: 0;
+}
+
+.feedback-quick {
+ position: relative;
+ padding-right: 40rpx;
+}
+
+.feedback-quick:after {
+ font-family: uniicons;
+ font-size: 40rpx;
+ content: '\e581';
+ position: absolute;
+ right: 0;
+ top: 50%;
+ color: #bbb;
+ -webkit-transform: translateY(-50%);
+ transform: translateY(-50%);
+}
+
+.feedback-body {
+ background: #fff;
+}
+
+.feedback-textare {
+ height: 200rpx;
+ font-size: 34rpx;
+ line-height: 50rpx;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 20rpx 30rpx 0;
+}
+
+.feedback-input {
+ font-size: 34rpx;
+ height: 50rpx;
+ min-height: 50rpx;
+ padding: 15rpx 20rpx;
+ line-height: 50rpx;
+}
+
+.feedback-uploader {
+ padding: 22rpx 20rpx;
+}
+
+.feedback-star {
+ font-family: uniicons;
+ font-size: 40rpx;
+ margin-left: 6rpx;
+}
+
+.feedback-star-view {
+ margin-left: 20rpx;
+}
+
+.feedback-star:after {
+ content: '\e408';
+}
+
+.feedback-star.active {
+ color: #FFB400;
+}
+
+.feedback-star.active:after {
+ content: '\e438';
+}
+
+.feedback-submit {
+ background: #007AFF;
+ color: #FFFFFF;
+ margin: 20rpx;
+}
+
+/* input group */
+.uni-input-group {
+ position: relative;
+ padding: 0;
+ border: 0;
+ background-color: #fff;
+}
+
+.uni-input-group:before {
+ position: absolute;
+ top: 0;
+ right: 0;
+ left: 0;
+ height: 2rpx;
+ content: '';
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-input-group:after {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ height: 2rpx;
+ content: '';
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-input-row {
+ position: relative;
+ display: flex;
+ flex-direction: row;
+ font-size: 28rpx;
+ padding: 22rpx 30rpx;
+ justify-content: space-between;
+}
+
+.uni-input-group .uni-input-row:after {
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ left: 30rpx;
+ height: 2rpx;
+ content: '';
+ transform: scaleY(.5);
+ background-color: #c8c7cc;
+}
+
+.uni-input-row label {
+ line-height: 70rpx;
+}
+
+/* textarea */
+.uni-textarea {
+ width: 100%;
+ background: #FFF;
+}
+
+.uni-textarea textarea {
+ width: 96%;
+ padding: 18rpx 2%;
+ line-height: 1.6;
+ font-size: 28rpx;
+ height: 150rpx;
+}
+
+/* tab bar */
+.uni-tab-bar {
+ display: flex;
+ flex: 1;
+ flex-direction: column;
+ overflow: hidden;
+ height: 100%;
+}
+
+.uni-tab-bar .list {
+ width: 750rpx;
+ height: 100%;
+}
+
+.uni-swiper-tab {
+ width: 100%;
+ white-space: nowrap;
+ line-height: 100rpx;
+ height: 100rpx;
+ border-bottom: 1px solid #c8c7cc;
+}
+
+.swiper-tab-list {
+ font-size: 30rpx;
+ width: 150rpx;
+ display: inline-block;
+ text-align: center;
+ color: #555;
+}
+
+.uni-tab-bar .active {
+ color: #007AFF;
+}
+
+.uni-tab-bar .swiper-box {
+ flex: 1;
+ width: 100%;
+ height: calc(100% - 100rpx);
+}
+
+.uni-tab-bar-loading {
+ padding: 20rpx 0;
+}
+
+/* comment */
+.uni-comment {
+ padding: 5rpx 0;
+ display: flex;
+ flex-grow: 1;
+ flex-direction: column;
+}
+
+.uni-comment-list {
+ flex-wrap: nowrap;
+ padding: 10rpx 0;
+ margin: 10rpx 0;
+ width: 100%;
+ display: flex;
+}
+
+.uni-comment-face {
+ width: 70rpx;
+ height: 70rpx;
+ border-radius: 100%;
+ margin-right: 20rpx;
+ flex-shrink: 0;
+ overflow: hidden;
+}
+
+.uni-comment-face image {
+ width: 100%;
+ border-radius: 100%;
+}
+
+.uni-comment-body {
+ width: 100%;
+}
+
+.uni-comment-top {
+ line-height: 1.5em;
+ justify-content: space-between;
+}
+
+.uni-comment-top text {
+ color: #0A98D5;
+ font-size: 24rpx;
+}
+
+.uni-comment-date {
+ line-height: 38rpx;
+ flex-direction: row;
+ justify-content: space-between;
+ display: flex !important;
+ flex-grow: 1;
+}
+
+.uni-comment-date view {
+ color: #666666;
+ font-size: 24rpx;
+ line-height: 38rpx;
+}
+
+.uni-comment-content {
+ line-height: 1.6em;
+ font-size: 28rpx;
+ padding: 8rpx 0;
+}
+
+.uni-comment-replay-btn {
+ background: #FFF;
+ font-size: 24rpx;
+ line-height: 28rpx;
+ padding: 5rpx 20rpx;
+ border-radius: 30rpx;
+ color: #333 !important;
+ margin: 0 10rpx;
+}
+
+/* swiper msg */
+.uni-swiper-msg {
+ width: 100%;
+ padding: 12rpx 0;
+ flex-wrap: nowrap;
+ display: flex;
+}
+
+.uni-swiper-msg-icon {
+ width: 50rpx;
+ margin-right: 20rpx;
+}
+
+.uni-swiper-msg-icon image {
+ width: 100%;
+ flex-shrink: 0;
+}
+
+.uni-swiper-msg swiper {
+ width: 100%;
+ height: 50rpx;
+}
+
+.uni-swiper-msg swiper-item {
+ line-height: 50rpx;
+}
+
+/* product */
+.uni-product-list {
+ display: flex;
+ width: 100%;
+ flex-wrap: wrap;
+ flex-direction: row;
+}
+
+.uni-product {
+ padding: 20rpx;
+ display: flex;
+ flex-direction: column;
+}
+
+.image-view {
+ height: 330rpx;
+ width: 330rpx;
+ margin: 12rpx 0;
+}
+
+.uni-product-image {
+ height: 330rpx;
+ width: 330rpx;
+}
+
+.uni-product-title {
+ width: 300rpx;
+ word-break: break-all;
+ display: -webkit-box;
+ overflow: hidden;
+ line-height: 1.5;
+ text-overflow: ellipsis;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+}
+
+.uni-product-price {
+ margin-top: 10rpx;
+ font-size: 28rpx;
+ line-height: 1.5;
+ position: relative;
+}
+
+.uni-product-price-original {
+ color: #e80080;
+}
+
+.uni-product-price-favour {
+ color: #888888;
+ text-decoration: line-through;
+ margin-left: 10rpx;
+}
+
+.uni-product-tip {
+ position: absolute;
+ right: 10rpx;
+ background-color: #ff3333;
+ color: #ffffff;
+ padding: 0 10rpx;
+ border-radius: 5rpx;
+}
+
+/* timeline */
+.uni-timeline {
+ margin: 35rpx 0;
+ display: flex;
+ flex-direction: column;
+ position: relative;
+}
+
+
+.uni-timeline-item {
+ display: flex;
+ flex-direction: row;
+ position: relative;
+ padding-bottom: 20rpx;
+ box-sizing: border-box;
+ overflow: hidden;
+
+}
+
+.uni-timeline-item .uni-timeline-item-keynode {
+ width: 160rpx;
+ flex-shrink: 0;
+ box-sizing: border-box;
+ padding-right: 20rpx;
+ text-align: right;
+ line-height: 65rpx;
+}
+
+.uni-timeline-item .uni-timeline-item-divider {
+ flex-shrink: 0;
+ position: relative;
+ width: 30rpx;
+ height: 30rpx;
+ top: 15rpx;
+ border-radius: 50%;
+ background-color: #bbb;
+}
+
+
+
+.uni-timeline-item-divider::before,
+.uni-timeline-item-divider::after {
+ position: absolute;
+ left: 15rpx;
+ width: 1rpx;
+ height: 100vh;
+ content: '';
+ background: inherit;
+}
+
+.uni-timeline-item-divider::before {
+ bottom: 100%;
+}
+
+.uni-timeline-item-divider::after {
+ top: 100%;
+}
+
+
+.uni-timeline-last-item .uni-timeline-item-divider:after {
+ display: none;
+}
+
+.uni-timeline-first-item .uni-timeline-item-divider:before {
+ display: none;
+}
+
+.uni-timeline-item .uni-timeline-item-content {
+ padding-left: 20rpx;
+}
+
+.uni-timeline-last-item .bottom-border::after {
+ display: none;
+}
+
+.uni-timeline-item-content .datetime {
+ color: #CCCCCC;
+}
+
+/* 自定义节点颜色 */
+.uni-timeline-last-item .uni-timeline-item-divider {
+ background-color: #1AAD19;
+}
+
+
+/* uni-icon */
+
+.uni-icon {
+ font-family: uniicons;
+ font-size: 24px;
+ font-weight: normal;
+ font-style: normal;
+ line-height: 1;
+ display: inline-block;
+ text-decoration: none;
+ -webkit-font-smoothing: antialiased;
+}
+
+.uni-icon.uni-active {
+ color: #007aff;
+}
+
+.uni-icon-contact:before {
+ content: '\e100';
+}
+
+.uni-icon-person:before {
+ content: '\e101';
+}
+
+.uni-icon-personadd:before {
+ content: '\e102';
+}
+
+.uni-icon-contact-filled:before {
+ content: '\e130';
+}
+
+.uni-icon-person-filled:before {
+ content: '\e131';
+}
+
+.uni-icon-personadd-filled:before {
+ content: '\e132';
+}
+
+.uni-icon-phone:before {
+ content: '\e200';
+}
+
+.uni-icon-email:before {
+ content: '\e201';
+}
+
+.uni-icon-chatbubble:before {
+ content: '\e202';
+}
+
+.uni-icon-chatboxes:before {
+ content: '\e203';
+}
+
+.uni-icon-phone-filled:before {
+ content: '\e230';
+}
+
+.uni-icon-email-filled:before {
+ content: '\e231';
+}
+
+.uni-icon-chatbubble-filled:before {
+ content: '\e232';
+}
+
+.uni-icon-chatboxes-filled:before {
+ content: '\e233';
+}
+
+.uni-icon-weibo:before {
+ content: '\e260';
+}
+
+.uni-icon-weixin:before {
+ content: '\e261';
+}
+
+.uni-icon-pengyouquan:before {
+ content: '\e262';
+}
+
+.uni-icon-chat:before {
+ content: '\e263';
+}
+
+.uni-icon-qq:before {
+ content: '\e264';
+}
+
+.uni-icon-videocam:before {
+ content: '\e300';
+}
+
+.uni-icon-camera:before {
+ content: '\e301';
+}
+
+.uni-icon-mic:before {
+ content: '\e302';
+}
+
+.uni-icon-location:before {
+ content: '\e303';
+}
+
+.uni-icon-mic-filled:before,
+.uni-icon-speech:before {
+ content: '\e332';
+}
+
+.uni-icon-location-filled:before {
+ content: '\e333';
+}
+
+.uni-icon-micoff:before {
+ content: '\e360';
+}
+
+.uni-icon-image:before {
+ content: '\e363';
+}
+
+.uni-icon-map:before {
+ content: '\e364';
+}
+
+.uni-icon-compose:before {
+ content: '\e400';
+}
+
+.uni-icon-trash:before {
+ content: '\e401';
+}
+
+.uni-icon-upload:before {
+ content: '\e402';
+}
+
+.uni-icon-download:before {
+ content: '\e403';
+}
+
+.uni-icon-close:before {
+ content: '\e404';
+}
+
+.uni-icon-redo:before {
+ content: '\e405';
+}
+
+.uni-icon-undo:before {
+ content: '\e406';
+}
+
+.uni-icon-refresh:before {
+ content: '\e407';
+}
+
+.uni-icon-star:before {
+ content: '\e408';
+}
+
+.uni-icon-plus:before {
+ content: '\e409';
+}
+
+.uni-icon-minus:before {
+ content: '\e410';
+}
+
+.uni-icon-circle:before,
+.uni-icon-checkbox:before {
+ content: '\e411';
+}
+
+.uni-icon-close-filled:before,
+.uni-icon-clear:before {
+ content: '\e434';
+}
+
+.uni-icon-refresh-filled:before {
+ content: '\e437';
+}
+
+.uni-icon-star-filled:before {
+ content: '\e438';
+}
+
+.uni-icon-plus-filled:before {
+ content: '\e439';
+}
+
+.uni-icon-minus-filled:before {
+ content: '\e440';
+}
+
+.uni-icon-circle-filled:before {
+ content: '\e441';
+}
+
+.uni-icon-checkbox-filled:before {
+ content: '\e442';
+}
+
+.uni-icon-closeempty:before {
+ content: '\e460';
+}
+
+.uni-icon-refreshempty:before {
+ content: '\e461';
+}
+
+.uni-icon-reload:before {
+ content: '\e462';
+}
+
+.uni-icon-starhalf:before {
+ content: '\e463';
+}
+
+.uni-icon-spinner:before {
+ content: '\e464';
+}
+
+.uni-icon-spinner-cycle:before {
+ content: '\e465';
+}
+
+.uni-icon-search:before {
+ content: '\e466';
+}
+
+.uni-icon-plusempty:before {
+ content: '\e468';
+}
+
+.uni-icon-forward:before {
+ content: '\e470';
+}
+
+.uni-icon-back:before,
+.uni-icon-left-nav:before {
+ content: '\e471';
+}
+
+.uni-icon-checkmarkempty:before {
+ content: '\e472';
+}
+
+.uni-icon-home:before {
+ content: '\e500';
+}
+
+.uni-icon-navigate:before {
+ content: '\e501';
+}
+
+.uni-icon-gear:before {
+ content: '\e502';
+}
+
+.uni-icon-paperplane:before {
+ content: '\e503';
+}
+
+.uni-icon-info:before {
+ content: '\e504';
+}
+
+.uni-icon-help:before {
+ content: '\e505';
+}
+
+.uni-icon-locked:before {
+ content: '\e506';
+}
+
+.uni-icon-more:before {
+ content: '\e507';
+}
+
+.uni-icon-flag:before {
+ content: '\e508';
+}
+
+.uni-icon-home-filled:before {
+ content: '\e530';
+}
+
+.uni-icon-gear-filled:before {
+ content: '\e532';
+}
+
+.uni-icon-info-filled:before {
+ content: '\e534';
+}
+
+.uni-icon-help-filled:before {
+ content: '\e535';
+}
+
+.uni-icon-more-filled:before {
+ content: '\e537';
+}
+
+.uni-icon-settings:before {
+ content: '\e560';
+}
+
+.uni-icon-list:before {
+ content: '\e562';
+}
+
+.uni-icon-bars:before {
+ content: '\e563';
+}
+
+.uni-icon-loop:before {
+ content: '\e565';
+}
+
+.uni-icon-paperclip:before {
+ content: '\e567';
+}
+
+.uni-icon-eye:before {
+ content: '\e568';
+}
+
+.uni-icon-arrowup:before {
+ content: '\e580';
+}
+
+.uni-icon-arrowdown:before {
+ content: '\e581';
+}
+
+.uni-icon-arrowleft:before {
+ content: '\e582';
+}
+
+.uni-icon-arrowright:before {
+ content: '\e583';
+}
+
+.uni-icon-arrowthinup:before {
+ content: '\e584';
+}
+
+.uni-icon-arrowthindown:before {
+ content: '\e585';
+}
+
+.uni-icon-arrowthinleft:before {
+ content: '\e586';
+}
+
+.uni-icon-arrowthinright:before {
+ content: '\e587';
+}
+
+.uni-icon-pulldown:before {
+ content: '\e588';
+}
+
+.uni-icon-scan:before {
+ content: "\e612";
+}
+
+/* 分界线 */
+.uni-divider {
+ height: 110rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+}
+
+.uni-divider__content {
+ font-size: 28rpx;
+ color: #999;
+ padding: 0 20rpx;
+ position: relative;
+ z-index: 101;
+ background: #F4F5F6;
+}
+
+.uni-divider__line {
+ background-color: #CCCCCC;
+ height: 1px;
+ width: 100%;
+ position: absolute;
+ z-index: 100;
+ top: 50%;
+ left: 0;
+ transform: translateY(50%);
+}
+
+.left-win-active text {
+ color: #007AFF !important;
+}
diff --git a/common/utils/auth.js b/common/utils/auth.js
new file mode 100644
index 0000000..57eeb28
--- /dev/null
+++ b/common/utils/auth.js
@@ -0,0 +1,21 @@
+const AccessTokenKey = 'ACCESS_TOKEN'
+const RefreshTokenKey = 'REFRESH_TOKEN'
+
+// ========== Token 相关 ==========
+export function getAccessToken() {
+ return uni.getStorageSync(AccessTokenKey)
+}
+
+export function getRefreshToken() {
+ return uni.getStorageSync(RefreshTokenKey)
+}
+
+export function setToken(token) {
+ uni.setStorageSync(AccessTokenKey, token.accessToken)
+ uni.setStorageSync(RefreshTokenKey, token.refreshToken)
+}
+
+export function removeToken() {
+ uni.removeStorageSync(AccessTokenKey)
+ uni.removeStorageSync(RefreshTokenKey)
+}
diff --git a/common/utils/common.js b/common/utils/common.js
new file mode 100644
index 0000000..00d4137
--- /dev/null
+++ b/common/utils/common.js
@@ -0,0 +1,54 @@
+/**
+* 显示消息提示框
+* @param content 提示的标题
+*/
+export function toast(content) {
+ uni.showToast({
+ icon: 'none',
+ title: content
+ })
+}
+
+/**
+* 显示模态弹窗
+* @param content 提示的标题
+*/
+export function showConfirm(content) {
+ return new Promise((resolve, reject) => {
+ uni.showModal({
+ title: '提示',
+ content: content,
+ cancelText: '取消',
+ confirmText: '确定',
+ success: function(res) {
+ resolve(res)
+ }
+ })
+ })
+}
+
+/**
+* 参数处理
+* @param params 参数
+*/
+export function tansParams(params) {
+ let result = ''
+ for (const propName of Object.keys(params)) {
+ const value = params[propName]
+ var part = encodeURIComponent(propName) + "="
+ if (value !== null && value !== "" && typeof (value) !== "undefined") {
+ if (typeof value === 'object') {
+ for (const key of Object.keys(value)) {
+ if (value[key] !== null && value[key] !== "" && typeof (value[key]) !== 'undefined') {
+ let params = propName + '[' + key + ']'
+ var subPart = encodeURIComponent(params) + "="
+ result += subPart + encodeURIComponent(value[key]) + "&"
+ }
+ }
+ } else {
+ result += part + encodeURIComponent(value) + "&"
+ }
+ }
+ }
+ return result
+}
\ No newline at end of file
diff --git a/common/utils/constant.js b/common/utils/constant.js
new file mode 100644
index 0000000..89e54ca
--- /dev/null
+++ b/common/utils/constant.js
@@ -0,0 +1,9 @@
+const constant = {
+ avatar: 'vuex_avatar',
+ name: 'vuex_name',
+ roles: 'vuex_roles',
+ permissions: 'vuex_permissions',
+ tenantId:'vuex_tenantId'
+ }
+
+ export default constant
diff --git a/common/utils/errorCode.js b/common/utils/errorCode.js
new file mode 100644
index 0000000..d2111ee
--- /dev/null
+++ b/common/utils/errorCode.js
@@ -0,0 +1,6 @@
+export default {
+ '401': '认证失败,无法访问系统资源',
+ '403': '当前操作没有权限',
+ '404': '访问资源不存在',
+ 'default': '系统未知错误,请反馈给管理员'
+}
diff --git a/common/utils/permission.js b/common/utils/permission.js
new file mode 100644
index 0000000..17969f2
--- /dev/null
+++ b/common/utils/permission.js
@@ -0,0 +1,51 @@
+import store from '@/store'
+
+/**
+ * 字符权限校验
+ * @param {Array} value 校验值
+ * @returns {Boolean}
+ */
+export function checkPermi(value) {
+ if (value && value instanceof Array && value.length > 0) {
+ const permissions = store.getters && store.getters.permissions
+ const permissionDatas = value
+ const all_permission = "*:*:*"
+
+ const hasPermission = permissions.some(permission => {
+ return all_permission === permission || permissionDatas.includes(permission)
+ })
+
+ if (!hasPermission) {
+ return false
+ }
+ return true
+ } else {
+ console.error(`need roles! Like checkPermi="['system:user:add','system:user:edit']"`)
+ return false
+ }
+}
+
+/**
+ * 角色权限校验
+ * @param {Array} value 校验值
+ * @returns {Boolean}
+ */
+export function checkRole(value) {
+ if (value && value instanceof Array && value.length > 0) {
+ const roles = store.getters && store.getters.roles
+ const permissionRoles = value
+ const super_admin = "admin"
+
+ const hasRole = roles.some(role => {
+ return super_admin === role || permissionRoles.includes(role)
+ })
+
+ if (!hasRole) {
+ return false
+ }
+ return true
+ } else {
+ console.error(`need roles! Like checkRole="['admin','editor']"`)
+ return false
+ }
+}
\ No newline at end of file
diff --git a/common/utils/ruoyi.js b/common/utils/ruoyi.js
new file mode 100644
index 0000000..fb60217
--- /dev/null
+++ b/common/utils/ruoyi.js
@@ -0,0 +1,47 @@
+/**
+ * 通用js方法封装处理
+ * Copyright (c) 2019 ruoyi
+ */
+
+// 日期格式化
+export function parseTime(time, pattern) {
+ if (arguments.length === 0 || !time) {
+ return null
+ }
+ const format = pattern || '{y}-{m}-{d} {h}:{i}:{s}'
+ let date
+ if (typeof time === 'object') {
+ date = time
+ } else {
+ if ((typeof time === 'string') && (/^[0-9]+$/.test(time))) {
+ time = parseInt(time)
+ } else if (typeof time === 'string') {
+ time = time.replace(new RegExp(/-/gm), '/').replace('T', ' ').replace(new RegExp(/\.[\d]{3}/gm),'');
+ }
+ if ((typeof time === 'number') && (time.toString().length === 10)) {
+ time = time * 1000
+ }
+ date = new Date(time)
+ }
+ const formatObj = {
+ y: date.getFullYear(),
+ m: date.getMonth() + 1,
+ d: date.getDate(),
+ h: date.getHours(),
+ i: date.getMinutes(),
+ s: date.getSeconds(),
+ a: date.getDay()
+ }
+ const time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, (result, key) => {
+ let value = formatObj[key]
+ // Note: getDay() returns 0 on Sunday
+ if (key === 'a') {
+ return ['日', '一', '二', '三', '四', '五', '六'][value]
+ }
+ if (result.length > 0 && value < 10) {
+ value = '0' + value
+ }
+ return value || 0
+ })
+ return time_str
+}
diff --git a/common/utils/storage.js b/common/utils/storage.js
new file mode 100644
index 0000000..515d413
--- /dev/null
+++ b/common/utils/storage.js
@@ -0,0 +1,37 @@
+// 获取本地存储对应key
+const getStorage = (key)=>{
+ return uni.getStorageSync( key );
+}
+
+// 设置本地存储对应key
+const setStorage = (key,value)=>{
+ return uni.setStorageSync( key,value );
+}
+
+// 清除全部本地存储
+const clearStorage = ()=>{
+ uni.clearStorageSync();
+}
+
+// 清除指定key本地存储
+const removeStorage = ( key )=>{
+ uni.removeStorageSync( key );
+}
+
+const constant = {
+ id:"id",
+ token:"token",
+ avatar: 'avatar',
+ name: 'name',
+ roles: 'roles',
+ permissions: 'permissions'
+ }
+
+
+export default {
+ getStorage,
+ setStorage,
+ clearStorage,
+ removeStorage,
+ constant
+}
\ No newline at end of file
diff --git a/components/amap-wx/js/util.js b/components/amap-wx/js/util.js
new file mode 100644
index 0000000..65779df
--- /dev/null
+++ b/components/amap-wx/js/util.js
@@ -0,0 +1,181 @@
+import amap from '@/components/amap-wx/lib/amap-wx.js';
+// 地铁颜色图
+const line = {
+ '1号线': '#C43B33',
+ '2号线': '#016299',
+ '4号线/大兴线': '#008E9C',
+ '5号线': '#A42380',
+ '6号线': '#D09900',
+ '7号线': '#F2C172',
+ '8号线': '#009D6A',
+ '9号线': '#8FC41E',
+ '10号线': '#009DBE',
+ '13号线': '#F9E701',
+ '14号线东段': '#D4A7A2',
+ '14号线西段': '#D4A7A2',
+ '15号线': '#5D2D69',
+ '八通线': '#C33A32',
+ '昌平线': '#DE82B1',
+ '亦庄线': '#E40177',
+ '房山线': '#E66021',
+ '机场线': '#A29BBC',
+}
+
+// 150500:地铁站 ,150700:公交站 , 190700:地名地址
+const typecode = [{
+ id: '150500',
+ icon: 'icon-ditie'
+}, {
+ id: '150700',
+ icon: 'icon-gongjiao'
+}, {
+ id: '190700',
+ icon: 'icon-gonglu'
+}];
+
+const util = {
+ key:'b526b09b86cd2996e7732be8ab8c4430',
+ /**
+ * 初始化高德地图api
+ */
+ mapInit() {
+ return new amap.AMapWX({
+ key: this.key
+ });
+ },
+ // 服务状态吗
+ typecode,
+ /**
+ * 获取地图颜色
+ */
+ lineColor(name) {
+ if (line[name]) {
+ return line[name];
+ } else {
+ return '#ccc';
+ }
+ },
+ /**
+ * 关键字颜色变化
+ */
+ serachNmme(val, name) {
+ let namestr = new RegExp(val);
+ let nameresult =
+ `
+ ${name.replace(namestr, "" + val + '')}
+
`
+ .trim();
+
+ return nameresult;
+ },
+ /**
+ * 地址转地铁线路
+ */
+ addressToLine(address, type) {
+ let addr = address.split(';');
+ let dt = '';
+ addr.forEach(elm => {
+ let color = '#cccccc';
+ if (type === typecode[0].id) {
+ color = this.lineColor(elm)
+ } else if (type === typecode[1].id) {
+ color = '#4075cb'
+ }
+ let style = 'margin:5px 0;margin-right:5px;padding:0 5px;background:' + color +
+ ';font-size:12px;color:#fff;border-radius:3px;';
+ dt += `${elm}
`;
+
+ });
+ return `${dt}
`;
+ },
+ /**
+ * 数据处理
+ */
+ dataHandle(item, val) {
+ // 改变字体颜色
+ if (val) {
+ item.nameNodes = util.serachNmme(val, item.name);
+ } else {
+ item.nameNodes = `${item.name}
`;
+
+ }
+ // 地址解析 地铁
+ if (
+ item.typecode === util.typecode[0].id ||
+ item.typecode === util.typecode[1].id
+ ) {
+ item.addressNodes = util.addressToLine(item.address, item.typecode);
+ if (item.typecode === util.typecode[0].id) {
+ item.icon = util.typecode[0].icon;
+ } else if (item.typecode === util.typecode[1].id) {
+ item.icon = util.typecode[1].icon;
+ }
+ } else {
+ item.addressNodes = `${item.district}${
+ item.address.length > 0 ? '·' + item.address : ''
+ }`.trim();
+ item.icon = 'icon-weizhi';
+ }
+
+ if (item.location && item.location.length === 0) {
+ item.icon = 'icon-sousuo';
+ }
+
+ return item;
+ },
+ /**
+ * 存储历史数据
+ * val [string | object]需要存储的内容
+ */
+ setHistory(val) {
+ let searchHistory = uni.getStorageSync('search:history');
+ if (!searchHistory) searchHistory = [];
+ let serachData = {};
+ if (typeof(val) === 'string') {
+ serachData = {
+ adcode: [],
+ address: [],
+ city: [],
+ district: [],
+ id: [],
+ location: [],
+ name: val,
+ typecode: []
+ };
+ } else {
+ serachData = val
+ }
+
+ // 判断数组是否存在,如果存在,那么将放到最前面
+ for (var i = 0; i < searchHistory.length; i++) {
+ if (searchHistory[i].name === serachData.name) {
+ searchHistory.splice(i, 1);
+ break;
+ }
+ }
+
+ searchHistory.unshift(util.dataHandle(serachData));
+ uni.setStorage({
+ key: 'search:history',
+ data: searchHistory,
+ success: function() {
+ // console.log('success');
+ }
+ });
+ },
+ getHistory() {
+
+ },
+ removeHistory() {
+ uni.removeStorage({
+ key: 'search:history',
+ success: function(res) {
+ console.log('success');
+ }
+ });
+ return []
+ }
+
+}
+
+export default util;
diff --git a/components/amap-wx/lib/amap-wx.js b/components/amap-wx/lib/amap-wx.js
new file mode 100644
index 0000000..e1ef2b2
--- /dev/null
+++ b/components/amap-wx/lib/amap-wx.js
@@ -0,0 +1 @@
+function AMapWX(a){this.key=a.key,this.requestConfig={key:a.key,s:"rsx",platform:"WXJS",appname:a.key,sdkversion:"1.2.0",logversion:"2.0"}}AMapWX.prototype.getWxLocation=function(a,b){wx.getLocation({type:"gcj02",success:function(a){var c=a.longitude+","+a.latitude;wx.setStorage({key:"userLocation",data:c}),b(c)},fail:function(c){wx.getStorage({key:"userLocation",success:function(a){a.data&&b(a.data)}}),a.fail({errCode:"0",errMsg:c.errMsg||""})}})},AMapWX.prototype.getRegeo=function(a){function c(c){var d=b.requestConfig;wx.request({url:"https://restapi.amap.com/v3/geocode/regeo",data:{key:b.key,location:c,extensions:"all",s:d.s,platform:d.platform,appname:b.key,sdkversion:d.sdkversion,logversion:d.logversion},method:"GET",header:{"content-type":"application/json"},success:function(b){var d,e,f,g,h,i,j,k,l;b.data.status&&"1"==b.data.status?(d=b.data.regeocode,e=d.addressComponent,f=[],g="",d&&d.roads[0]&&d.roads[0].name&&(g=d.roads[0].name+"附近"),h=c.split(",")[0],i=c.split(",")[1],d.pois&&d.pois[0]&&(g=d.pois[0].name+"附近",j=d.pois[0].location,j&&(h=parseFloat(j.split(",")[0]),i=parseFloat(j.split(",")[1]))),e.provice&&f.push(e.provice),e.city&&f.push(e.city),e.district&&f.push(e.district),e.streetNumber&&e.streetNumber.street&&e.streetNumber.number?(f.push(e.streetNumber.street),f.push(e.streetNumber.number)):(k="",d&&d.roads[0]&&d.roads[0].name&&(k=d.roads[0].name),f.push(k)),f=f.join(""),l=[{iconPath:a.iconPath,width:a.iconWidth,height:a.iconHeight,name:f,desc:g,longitude:h,latitude:i,id:0,regeocodeData:d}],a.success(l)):a.fail({errCode:b.data.infocode,errMsg:b.data.info})},fail:function(b){a.fail({errCode:"0",errMsg:b.errMsg||""})}})}var b=this;a.location?c(a.location):b.getWxLocation(a,function(a){c(a)})},AMapWX.prototype.getWeather=function(a){function d(d){var e="base";a.type&&"forecast"==a.type&&(e="all"),wx.request({url:"https://restapi.amap.com/v3/weather/weatherInfo",data:{key:b.key,city:d,extensions:e,s:c.s,platform:c.platform,appname:b.key,sdkversion:c.sdkversion,logversion:c.logversion},method:"GET",header:{"content-type":"application/json"},success:function(b){function c(a){var b={city:{text:"城市",data:a.city},weather:{text:"天气",data:a.weather},temperature:{text:"温度",data:a.temperature},winddirection:{text:"风向",data:a.winddirection+"风"},windpower:{text:"风力",data:a.windpower+"级"},humidity:{text:"湿度",data:a.humidity+"%"}};return b}var d,e;b.data.status&&"1"==b.data.status?b.data.lives?(d=b.data.lives,d&&d.length>0&&(d=d[0],e=c(d),e["liveData"]=d,a.success(e))):b.data.forecasts&&b.data.forecasts[0]&&a.success({forecast:b.data.forecasts[0]}):a.fail({errCode:b.data.infocode,errMsg:b.data.info})},fail:function(b){a.fail({errCode:"0",errMsg:b.errMsg||""})}})}function e(e){wx.request({url:"https://restapi.amap.com/v3/geocode/regeo",data:{key:b.key,location:e,extensions:"all",s:c.s,platform:c.platform,appname:b.key,sdkversion:c.sdkversion,logversion:c.logversion},method:"GET",header:{"content-type":"application/json"},success:function(b){var c,e;b.data.status&&"1"==b.data.status?(e=b.data.regeocode,e.addressComponent?c=e.addressComponent.adcode:e.aois&&e.aois.length>0&&(c=e.aois[0].adcode),d(c)):a.fail({errCode:b.data.infocode,errMsg:b.data.info})},fail:function(b){a.fail({errCode:"0",errMsg:b.errMsg||""})}})}var b=this,c=b.requestConfig;a.city?d(a.city):b.getWxLocation(a,function(a){e(a)})},AMapWX.prototype.getPoiAround=function(a){function d(d){var e={key:b.key,location:d,s:c.s,platform:c.platform,appname:b.key,sdkversion:c.sdkversion,logversion:c.logversion};a.querytypes&&(e["types"]=a.querytypes),a.querykeywords&&(e["keywords"]=a.querykeywords),wx.request({url:"https://restapi.amap.com/v3/place/around",data:e,method:"GET",header:{"content-type":"application/json"},success:function(b){var c,d,e,f;if(b.data.status&&"1"==b.data.status){if(b=b.data,b&&b.pois){for(c=[],d=0;d
+
+
+
+
+ 已经到达宇宙尽头啦~
+
+
+
+
+
+
diff --git a/components/custom-refresher/custom-refresher.vue b/components/custom-refresher/custom-refresher.vue
new file mode 100644
index 0000000..1a7f6f1
--- /dev/null
+++ b/components/custom-refresher/custom-refresher.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
+ {{statusText}}
+
+
+
+
+
+
diff --git a/components/marked/index.js b/components/marked/index.js
new file mode 100644
index 0000000..33e56c3
--- /dev/null
+++ b/components/marked/index.js
@@ -0,0 +1 @@
+export default './lib/marked'
diff --git a/components/marked/lib/marked.js b/components/marked/lib/marked.js
new file mode 100644
index 0000000..6a71e92
--- /dev/null
+++ b/components/marked/lib/marked.js
@@ -0,0 +1,1573 @@
+/**
+ * marked - a markdown parser
+ * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed)
+ * https://github.com/markedjs/marked
+ */
+
+;(function(root) {
+'use strict';
+
+/**
+ * Block-Level Grammar
+ */
+
+var block = {
+ newline: /^\n+/,
+ code: /^( {4}[^\n]+\n*)+/,
+ fences: noop,
+ hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,
+ heading: /^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,
+ nptable: noop,
+ blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
+ list: /^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,
+ html: '^ {0,3}(?:' // optional indentation
+ + '<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)' // (1)
+ + '|comment[^\\n]*(\\n+|$)' // (2)
+ + '|<\\?[\\s\\S]*?\\?>\\n*' // (3)
+ + '|\\n*' // (4)
+ + '|\\n*' // (5)
+ + '|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)' // (6)
+ + '|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)' // (7) open tag
+ + '|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)' // (7) closing tag
+ + ')',
+ def: /^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,
+ table: noop,
+ lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,
+ paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,
+ text: /^[^\n]+/
+};
+
+block._label = /(?!\s*\])(?:\\[\[\]]|[^\[\]])+/;
+block._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;
+block.def = edit(block.def)
+ .replace('label', block._label)
+ .replace('title', block._title)
+ .getRegex();
+
+block.bullet = /(?:[*+-]|\d+\.)/;
+block.item = /^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;
+block.item = edit(block.item, 'gm')
+ .replace(/bull/g, block.bullet)
+ .getRegex();
+
+block.list = edit(block.list)
+ .replace(/bull/g, block.bullet)
+ .replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))')
+ .replace('def', '\\n+(?=' + block.def.source + ')')
+ .getRegex();
+
+block._tag = 'address|article|aside|base|basefont|blockquote|body|caption'
+ + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption'
+ + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe'
+ + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option'
+ + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr'
+ + '|track|ul';
+block._comment = //;
+block.html = edit(block.html, 'i')
+ .replace('comment', block._comment)
+ .replace('tag', block._tag)
+ .replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/)
+ .getRegex();
+
+block.paragraph = edit(block.paragraph)
+ .replace('hr', block.hr)
+ .replace('heading', block.heading)
+ .replace('lheading', block.lheading)
+ .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
+ .getRegex();
+
+block.blockquote = edit(block.blockquote)
+ .replace('paragraph', block.paragraph)
+ .getRegex();
+
+/**
+ * Normal Block Grammar
+ */
+
+block.normal = merge({}, block);
+
+/**
+ * GFM Block Grammar
+ */
+
+block.gfm = merge({}, block.normal, {
+ fences: /^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,
+ paragraph: /^/,
+ heading: /^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/
+});
+
+block.gfm.paragraph = edit(block.paragraph)
+ .replace('(?!', '(?!'
+ + block.gfm.fences.source.replace('\\1', '\\2') + '|'
+ + block.list.source.replace('\\1', '\\3') + '|')
+ .getRegex();
+
+/**
+ * GFM + Tables Block Grammar
+ */
+
+block.tables = merge({}, block.gfm, {
+ nptable: /^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,
+ table: /^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/
+});
+
+/**
+ * Pedantic grammar
+ */
+
+block.pedantic = merge({}, block.normal, {
+ html: edit(
+ '^ *(?:comment *(?:\\n|\\s*$)'
+ + '|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)' // closed tag
+ + '|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))')
+ .replace('comment', block._comment)
+ .replace(/tag/g, '(?!(?:'
+ + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub'
+ + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)'
+ + '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b')
+ .getRegex(),
+ def: /^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/
+});
+
+/**
+ * Block Lexer
+ */
+
+function Lexer(options) {
+ this.tokens = [];
+ this.tokens.links = Object.create(null);
+ this.options = options || marked.defaults;
+ this.rules = block.normal;
+
+ if (this.options.pedantic) {
+ this.rules = block.pedantic;
+ } else if (this.options.gfm) {
+ if (this.options.tables) {
+ this.rules = block.tables;
+ } else {
+ this.rules = block.gfm;
+ }
+ }
+}
+
+/**
+ * Expose Block Rules
+ */
+
+Lexer.rules = block;
+
+/**
+ * Static Lex Method
+ */
+
+Lexer.lex = function(src, options) {
+ var lexer = new Lexer(options);
+ return lexer.lex(src);
+};
+
+/**
+ * Preprocessing
+ */
+
+Lexer.prototype.lex = function(src) {
+ src = src
+ .replace(/\r\n|\r/g, '\n')
+ .replace(/\t/g, ' ')
+ .replace(/\u00a0/g, ' ')
+ .replace(/\u2424/g, '\n');
+
+ return this.token(src, true);
+};
+
+/**
+ * Lexing
+ */
+
+Lexer.prototype.token = function(src, top) {
+ src = src.replace(/^ +$/gm, '');
+ var next,
+ loose,
+ cap,
+ bull,
+ b,
+ item,
+ listStart,
+ listItems,
+ t,
+ space,
+ i,
+ tag,
+ l,
+ isordered,
+ istask,
+ ischecked;
+
+ while (src) {
+ // newline
+ if (cap = this.rules.newline.exec(src)) {
+ src = src.substring(cap[0].length);
+ if (cap[0].length > 1) {
+ this.tokens.push({
+ type: 'space'
+ });
+ }
+ }
+
+ // code
+ if (cap = this.rules.code.exec(src)) {
+ src = src.substring(cap[0].length);
+ cap = cap[0].replace(/^ {4}/gm, '');
+ this.tokens.push({
+ type: 'code',
+ text: !this.options.pedantic
+ ? rtrim(cap, '\n')
+ : cap
+ });
+ continue;
+ }
+
+ // fences (gfm)
+ if (cap = this.rules.fences.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'code',
+ lang: cap[2],
+ text: cap[3] || ''
+ });
+ continue;
+ }
+
+ // heading
+ if (cap = this.rules.heading.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'heading',
+ depth: cap[1].length,
+ text: cap[2]
+ });
+ continue;
+ }
+
+ // table no leading pipe (gfm)
+ if (top && (cap = this.rules.nptable.exec(src))) {
+ item = {
+ type: 'table',
+ header: splitCells(cap[1].replace(/^ *| *\| *$/g, '')),
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
+ cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : []
+ };
+
+ if (item.header.length === item.align.length) {
+ src = src.substring(cap[0].length);
+
+ for (i = 0; i < item.align.length; i++) {
+ if (/^ *-+: *$/.test(item.align[i])) {
+ item.align[i] = 'right';
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
+ item.align[i] = 'center';
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
+ item.align[i] = 'left';
+ } else {
+ item.align[i] = null;
+ }
+ }
+
+ for (i = 0; i < item.cells.length; i++) {
+ item.cells[i] = splitCells(item.cells[i], item.header.length);
+ }
+
+ this.tokens.push(item);
+
+ continue;
+ }
+ }
+
+ // hr
+ if (cap = this.rules.hr.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'hr'
+ });
+ continue;
+ }
+
+ // blockquote
+ if (cap = this.rules.blockquote.exec(src)) {
+ src = src.substring(cap[0].length);
+
+ this.tokens.push({
+ type: 'blockquote_start'
+ });
+
+ cap = cap[0].replace(/^ *> ?/gm, '');
+
+ // Pass `top` to keep the current
+ // "toplevel" state. This is exactly
+ // how markdown.pl works.
+ this.token(cap, top);
+
+ this.tokens.push({
+ type: 'blockquote_end'
+ });
+
+ continue;
+ }
+
+ // list
+ if (cap = this.rules.list.exec(src)) {
+ src = src.substring(cap[0].length);
+ bull = cap[2];
+ isordered = bull.length > 1;
+
+ listStart = {
+ type: 'list_start',
+ ordered: isordered,
+ start: isordered ? +bull : '',
+ loose: false
+ };
+
+ this.tokens.push(listStart);
+
+ // Get each top-level item.
+ cap = cap[0].match(this.rules.item);
+
+ listItems = [];
+ next = false;
+ l = cap.length;
+ i = 0;
+
+ for (; i < l; i++) {
+ item = cap[i];
+
+ // Remove the list item's bullet
+ // so it is seen as the next token.
+ space = item.length;
+ item = item.replace(/^ *([*+-]|\d+\.) +/, '');
+
+ // Outdent whatever the
+ // list item contains. Hacky.
+ if (~item.indexOf('\n ')) {
+ space -= item.length;
+ item = !this.options.pedantic
+ ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '')
+ : item.replace(/^ {1,4}/gm, '');
+ }
+
+ // Determine whether the next list item belongs here.
+ // Backpedal if it does not belong in this list.
+ if (this.options.smartLists && i !== l - 1) {
+ b = block.bullet.exec(cap[i + 1])[0];
+ if (bull !== b && !(bull.length > 1 && b.length > 1)) {
+ src = cap.slice(i + 1).join('\n') + src;
+ i = l - 1;
+ }
+ }
+
+ // Determine whether item is loose or not.
+ // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/
+ // for discount behavior.
+ loose = next || /\n\n(?!\s*$)/.test(item);
+ if (i !== l - 1) {
+ next = item.charAt(item.length - 1) === '\n';
+ if (!loose) loose = next;
+ }
+
+ if (loose) {
+ listStart.loose = true;
+ }
+
+ // Check for task list items
+ istask = /^\[[ xX]\] /.test(item);
+ ischecked = undefined;
+ if (istask) {
+ ischecked = item[1] !== ' ';
+ item = item.replace(/^\[[ xX]\] +/, '');
+ }
+
+ t = {
+ type: 'list_item_start',
+ task: istask,
+ checked: ischecked,
+ loose: loose
+ };
+
+ listItems.push(t);
+ this.tokens.push(t);
+
+ // Recurse.
+ this.token(item, false);
+
+ this.tokens.push({
+ type: 'list_item_end'
+ });
+ }
+
+ if (listStart.loose) {
+ l = listItems.length;
+ i = 0;
+ for (; i < l; i++) {
+ listItems[i].loose = true;
+ }
+ }
+
+ this.tokens.push({
+ type: 'list_end'
+ });
+
+ continue;
+ }
+
+ // html
+ if (cap = this.rules.html.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: this.options.sanitize
+ ? 'paragraph'
+ : 'html',
+ pre: !this.options.sanitizer
+ && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),
+ text: cap[0]
+ });
+ continue;
+ }
+
+ // def
+ if (top && (cap = this.rules.def.exec(src))) {
+ src = src.substring(cap[0].length);
+ if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
+ tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
+ if (!this.tokens.links[tag]) {
+ this.tokens.links[tag] = {
+ href: cap[2],
+ title: cap[3]
+ };
+ }
+ continue;
+ }
+
+ // table (gfm)
+ if (top && (cap = this.rules.table.exec(src))) {
+ item = {
+ type: 'table',
+ header: splitCells(cap[1].replace(/^ *| *\| *$/g, '')),
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
+ cells: cap[3] ? cap[3].replace(/(?: *\| *)?\n$/, '').split('\n') : []
+ };
+
+ if (item.header.length === item.align.length) {
+ src = src.substring(cap[0].length);
+
+ for (i = 0; i < item.align.length; i++) {
+ if (/^ *-+: *$/.test(item.align[i])) {
+ item.align[i] = 'right';
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
+ item.align[i] = 'center';
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
+ item.align[i] = 'left';
+ } else {
+ item.align[i] = null;
+ }
+ }
+
+ for (i = 0; i < item.cells.length; i++) {
+ item.cells[i] = splitCells(
+ item.cells[i].replace(/^ *\| *| *\| *$/g, ''),
+ item.header.length);
+ }
+
+ this.tokens.push(item);
+
+ continue;
+ }
+ }
+
+ // lheading
+ if (cap = this.rules.lheading.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'heading',
+ depth: cap[2] === '=' ? 1 : 2,
+ text: cap[1]
+ });
+ continue;
+ }
+
+ // top-level paragraph
+ if (top && (cap = this.rules.paragraph.exec(src))) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'paragraph',
+ text: cap[1].charAt(cap[1].length - 1) === '\n'
+ ? cap[1].slice(0, -1)
+ : cap[1]
+ });
+ continue;
+ }
+
+ // text
+ if (cap = this.rules.text.exec(src)) {
+ // Top-level should never reach here.
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'text',
+ text: cap[0]
+ });
+ continue;
+ }
+
+ if (src) {
+ throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
+ }
+ }
+
+ return this.tokens;
+};
+
+/**
+ * Inline-Level Grammar
+ */
+
+var inline = {
+ escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
+ autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/,
+ url: noop,
+ tag: '^comment'
+ + '|^[a-zA-Z][\\w:-]*\\s*>' // self-closing tag
+ + '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag
+ + '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g.
+ + '|^' // declaration, e.g.
+ + '|^', // CDATA section
+ link: /^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,
+ reflink: /^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,
+ nolink: /^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,
+ strong: /^__([^\s])__(?!_)|^\*\*([^\s])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,
+ em: /^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_)|^_([^\s_][\s\S]*?[^\s])_(?!_)|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,
+ code: /^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,
+ br: /^( {2,}|\\)\n(?!\s*$)/,
+ del: noop,
+ text: /^[\s\S]+?(?=[\\?@\[\]\\^_`{|}~])/g;
+
+inline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;
+inline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;
+inline.autolink = edit(inline.autolink)
+ .replace('scheme', inline._scheme)
+ .replace('email', inline._email)
+ .getRegex();
+
+inline._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;
+
+inline.tag = edit(inline.tag)
+ .replace('comment', block._comment)
+ .replace('attribute', inline._attribute)
+ .getRegex();
+
+inline._label = /(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/;
+inline._href = /\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f\\]*\)|[^\s\x00-\x1f()\\])*?)/;
+inline._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;
+
+inline.link = edit(inline.link)
+ .replace('label', inline._label)
+ .replace('href', inline._href)
+ .replace('title', inline._title)
+ .getRegex();
+
+inline.reflink = edit(inline.reflink)
+ .replace('label', inline._label)
+ .getRegex();
+
+/**
+ * Normal Inline Grammar
+ */
+
+inline.normal = merge({}, inline);
+
+/**
+ * Pedantic Inline Grammar
+ */
+
+inline.pedantic = merge({}, inline.normal, {
+ strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
+ em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,
+ link: edit(/^!?\[(label)\]\((.*?)\)/)
+ .replace('label', inline._label)
+ .getRegex(),
+ reflink: edit(/^!?\[(label)\]\s*\[([^\]]*)\]/)
+ .replace('label', inline._label)
+ .getRegex()
+});
+
+/**
+ * GFM Inline Grammar
+ */
+
+inline.gfm = merge({}, inline.normal, {
+ escape: edit(inline.escape).replace('])', '~|])').getRegex(),
+ url: edit(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/)
+ .replace('email', inline._email)
+ .getRegex(),
+ _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,
+ del: /^~+(?=\S)([\s\S]*?\S)~+/,
+ text: edit(inline.text)
+ .replace(']|', '~]|')
+ .replace('|', '|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&\'*+/=?^_`{\\|}~-]+@|')
+ .getRegex()
+});
+
+/**
+ * GFM + Line Breaks Inline Grammar
+ */
+
+inline.breaks = merge({}, inline.gfm, {
+ br: edit(inline.br).replace('{2,}', '*').getRegex(),
+ text: edit(inline.gfm.text).replace('{2,}', '*').getRegex()
+});
+
+/**
+ * Inline Lexer & Compiler
+ */
+
+function InlineLexer(links, options) {
+ this.options = options || marked.defaults;
+ this.links = links;
+ this.rules = inline.normal;
+ this.renderer = this.options.renderer || new Renderer();
+ this.renderer.options = this.options;
+
+ if (!this.links) {
+ throw new Error('Tokens array requires a `links` property.');
+ }
+
+ if (this.options.pedantic) {
+ this.rules = inline.pedantic;
+ } else if (this.options.gfm) {
+ if (this.options.breaks) {
+ this.rules = inline.breaks;
+ } else {
+ this.rules = inline.gfm;
+ }
+ }
+}
+
+/**
+ * Expose Inline Rules
+ */
+
+InlineLexer.rules = inline;
+
+/**
+ * Static Lexing/Compiling Method
+ */
+
+InlineLexer.output = function(src, links, options) {
+ var inline = new InlineLexer(links, options);
+ return inline.output(src);
+};
+
+/**
+ * Lexing/Compiling
+ */
+
+InlineLexer.prototype.output = function(src) {
+ var out = '',
+ link,
+ text,
+ href,
+ title,
+ cap,
+ prevCapZero;
+
+ while (src) {
+ // escape
+ if (cap = this.rules.escape.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += cap[1];
+ continue;
+ }
+
+ // autolink
+ if (cap = this.rules.autolink.exec(src)) {
+ src = src.substring(cap[0].length);
+ if (cap[2] === '@') {
+ text = escape(this.mangle(cap[1]));
+ href = 'mailto:' + text;
+ } else {
+ text = escape(cap[1]);
+ href = text;
+ }
+ out += this.renderer.link(href, null, text);
+ continue;
+ }
+
+ // url (gfm)
+ if (!this.inLink && (cap = this.rules.url.exec(src))) {
+ do {
+ prevCapZero = cap[0];
+ cap[0] = this.rules._backpedal.exec(cap[0])[0];
+ } while (prevCapZero !== cap[0]);
+ src = src.substring(cap[0].length);
+ if (cap[2] === '@') {
+ text = escape(cap[0]);
+ href = 'mailto:' + text;
+ } else {
+ text = escape(cap[0]);
+ if (cap[1] === 'www.') {
+ href = 'http://' + text;
+ } else {
+ href = text;
+ }
+ }
+ out += this.renderer.link(href, null, text);
+ continue;
+ }
+
+ // tag
+ if (cap = this.rules.tag.exec(src)) {
+ if (!this.inLink && /^/i.test(cap[0])) {
+ this.inLink = false;
+ }
+ src = src.substring(cap[0].length);
+ out += this.options.sanitize
+ ? this.options.sanitizer
+ ? this.options.sanitizer(cap[0])
+ : escape(cap[0])
+ : cap[0]
+ continue;
+ }
+
+ // link
+ if (cap = this.rules.link.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.inLink = true;
+ href = cap[2];
+ if (this.options.pedantic) {
+ link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href);
+
+ if (link) {
+ href = link[1];
+ title = link[3];
+ } else {
+ title = '';
+ }
+ } else {
+ title = cap[3] ? cap[3].slice(1, -1) : '';
+ }
+ href = href.trim().replace(/^<([\s\S]*)>$/, '$1');
+ out += this.outputLink(cap, {
+ href: InlineLexer.escapes(href),
+ title: InlineLexer.escapes(title)
+ });
+ this.inLink = false;
+ continue;
+ }
+
+ // reflink, nolink
+ if ((cap = this.rules.reflink.exec(src))
+ || (cap = this.rules.nolink.exec(src))) {
+ src = src.substring(cap[0].length);
+ link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
+ link = this.links[link.toLowerCase()];
+ if (!link || !link.href) {
+ out += cap[0].charAt(0);
+ src = cap[0].substring(1) + src;
+ continue;
+ }
+ this.inLink = true;
+ out += this.outputLink(cap, link);
+ this.inLink = false;
+ continue;
+ }
+
+ // strong
+ if (cap = this.rules.strong.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.strong(this.output(cap[4] || cap[3] || cap[2] || cap[1]));
+ continue;
+ }
+
+ // em
+ if (cap = this.rules.em.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.em(this.output(cap[6] || cap[5] || cap[4] || cap[3] || cap[2] || cap[1]));
+ continue;
+ }
+
+ // code
+ if (cap = this.rules.code.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.codespan(escape(cap[2].trim(), true));
+ continue;
+ }
+
+ // br
+ if (cap = this.rules.br.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.br();
+ continue;
+ }
+
+ // del (gfm)
+ if (cap = this.rules.del.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.del(this.output(cap[1]));
+ continue;
+ }
+
+ // text
+ if (cap = this.rules.text.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.text(escape(this.smartypants(cap[0])));
+ continue;
+ }
+
+ if (src) {
+ throw new Error('Infinite loop on byte: ' + src.charCodeAt(0));
+ }
+ }
+
+ return out;
+};
+
+InlineLexer.escapes = function(text) {
+ return text ? text.replace(InlineLexer.rules._escapes, '$1') : text;
+}
+
+/**
+ * Compile Link
+ */
+
+InlineLexer.prototype.outputLink = function(cap, link) {
+ var href = link.href,
+ title = link.title ? escape(link.title) : null;
+
+ return cap[0].charAt(0) !== '!'
+ ? this.renderer.link(href, title, this.output(cap[1]))
+ : this.renderer.image(href, title, escape(cap[1]));
+};
+
+/**
+ * Smartypants Transformations
+ */
+
+InlineLexer.prototype.smartypants = function(text) {
+ if (!this.options.smartypants) return text;
+ return text
+ // em-dashes
+ .replace(/---/g, '\u2014')
+ // en-dashes
+ .replace(/--/g, '\u2013')
+ // opening singles
+ .replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018')
+ // closing singles & apostrophes
+ .replace(/'/g, '\u2019')
+ // opening doubles
+ .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c')
+ // closing doubles
+ .replace(/"/g, '\u201d')
+ // ellipses
+ .replace(/\.{3}/g, '\u2026');
+};
+
+/**
+ * Mangle Links
+ */
+
+InlineLexer.prototype.mangle = function(text) {
+ if (!this.options.mangle) return text;
+ var out = '',
+ l = text.length,
+ i = 0,
+ ch;
+
+ for (; i < l; i++) {
+ ch = text.charCodeAt(i);
+ if (Math.random() > 0.5) {
+ ch = 'x' + ch.toString(16);
+ }
+ out += '' + ch + ';';
+ }
+
+ return out;
+};
+
+/**
+ * Renderer
+ */
+
+function Renderer(options) {
+ this.options = options || marked.defaults;
+}
+
+Renderer.prototype.code = function(code, lang, escaped) {
+ if (this.options.highlight) {
+ var out = this.options.highlight(code, lang);
+ if (out != null && out !== code) {
+ escaped = true;
+ code = out;
+ }
+ }
+
+ if (!lang) {
+ return ''
+ + (escaped ? code : escape(code, true))
+ + '
';
+ }
+
+ return ''
+ + (escaped ? code : escape(code, true))
+ + '
\n';
+};
+
+Renderer.prototype.blockquote = function(quote) {
+ return '\n' + quote + '
\n';
+};
+
+Renderer.prototype.html = function(html) {
+ return html;
+};
+
+Renderer.prototype.heading = function(text, level, raw) {
+ if (this.options.headerIds) {
+ return '\n';
+ }
+ // ignore IDs
+ return '' + text + '\n';
+};
+
+Renderer.prototype.hr = function() {
+ return this.options.xhtml ? '
\n' : '
\n';
+};
+
+Renderer.prototype.list = function(body, ordered, start) {
+ var type = ordered ? 'ol' : 'ul',
+ startatt = (ordered && start !== 1) ? (' start="' + start + '"') : '';
+ return '<' + type + startatt + '>\n' + body + '' + type + '>\n';
+};
+
+Renderer.prototype.listitem = function(text) {
+ return '' + text + '\n';
+};
+
+Renderer.prototype.checkbox = function(checked) {
+ return ' ';
+}
+
+Renderer.prototype.paragraph = function(text) {
+ return '' + text + '
\n';
+};
+
+Renderer.prototype.table = function(header, body) {
+ if (body) body = '' + body + '';
+
+ return '\n'
+ + '\n'
+ + header
+ + '\n'
+ + body
+ + '
\n';
+};
+
+Renderer.prototype.tablerow = function(content) {
+ return '\n' + content + '
\n';
+};
+
+Renderer.prototype.tablecell = function(content, flags) {
+ var type = flags.header ? 'th' : 'td';
+ var tag = flags.align
+ ? '<' + type + ' align="' + flags.align + '">'
+ : '<' + type + '>';
+ return tag + content + '' + type + '>\n';
+};
+
+// span level renderer
+Renderer.prototype.strong = function(text) {
+ return '' + text + '';
+};
+
+Renderer.prototype.em = function(text) {
+ return '' + text + '';
+};
+
+Renderer.prototype.codespan = function(text) {
+ return '' + text + '
';
+};
+
+Renderer.prototype.br = function() {
+ return this.options.xhtml ? '
' : '
';
+};
+
+Renderer.prototype.del = function(text) {
+ return '' + text + '';
+};
+
+Renderer.prototype.link = function(href, title, text) {
+ if (this.options.sanitize) {
+ try {
+ var prot = decodeURIComponent(unescape(href))
+ .replace(/[^\w:]/g, '')
+ .toLowerCase();
+ } catch (e) {
+ return text;
+ }
+ if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {
+ return text;
+ }
+ }
+ if (this.options.baseUrl && !originIndependentUrl.test(href)) {
+ href = resolveUrl(this.options.baseUrl, href);
+ }
+ try {
+ href = encodeURI(href).replace(/%25/g, '%');
+ } catch (e) {
+ return text;
+ }
+ var out = '' + text + '';
+ return out;
+};
+
+Renderer.prototype.image = function(href, title, text) {
+ if (this.options.baseUrl && !originIndependentUrl.test(href)) {
+ href = resolveUrl(this.options.baseUrl, href);
+ }
+ var out = '' : '>';
+ return out;
+};
+
+Renderer.prototype.text = function(text) {
+ return text;
+};
+
+/**
+ * TextRenderer
+ * returns only the textual part of the token
+ */
+
+function TextRenderer() {}
+
+// no need for block level renderers
+
+TextRenderer.prototype.strong =
+TextRenderer.prototype.em =
+TextRenderer.prototype.codespan =
+TextRenderer.prototype.del =
+TextRenderer.prototype.text = function (text) {
+ return text;
+}
+
+TextRenderer.prototype.link =
+TextRenderer.prototype.image = function(href, title, text) {
+ return '' + text;
+}
+
+TextRenderer.prototype.br = function() {
+ return '';
+}
+
+/**
+ * Parsing & Compiling
+ */
+
+function Parser(options) {
+ this.tokens = [];
+ this.token = null;
+ this.options = options || marked.defaults;
+ this.options.renderer = this.options.renderer || new Renderer();
+ this.renderer = this.options.renderer;
+ this.renderer.options = this.options;
+}
+
+/**
+ * Static Parse Method
+ */
+
+Parser.parse = function(src, options) {
+ var parser = new Parser(options);
+ return parser.parse(src);
+};
+
+/**
+ * Parse Loop
+ */
+
+Parser.prototype.parse = function(src) {
+ this.inline = new InlineLexer(src.links, this.options);
+ // use an InlineLexer with a TextRenderer to extract pure text
+ this.inlineText = new InlineLexer(
+ src.links,
+ merge({}, this.options, {renderer: new TextRenderer()})
+ );
+ this.tokens = src.reverse();
+
+ var out = '';
+ while (this.next()) {
+ out += this.tok();
+ }
+
+ return out;
+};
+
+/**
+ * Next Token
+ */
+
+Parser.prototype.next = function() {
+ return this.token = this.tokens.pop();
+};
+
+/**
+ * Preview Next Token
+ */
+
+Parser.prototype.peek = function() {
+ return this.tokens[this.tokens.length - 1] || 0;
+};
+
+/**
+ * Parse Text Tokens
+ */
+
+Parser.prototype.parseText = function() {
+ var body = this.token.text;
+
+ while (this.peek().type === 'text') {
+ body += '\n' + this.next().text;
+ }
+
+ return this.inline.output(body);
+};
+
+/**
+ * Parse Current Token
+ */
+
+Parser.prototype.tok = function() {
+ switch (this.token.type) {
+ case 'space': {
+ return '';
+ }
+ case 'hr': {
+ return this.renderer.hr();
+ }
+ case 'heading': {
+ return this.renderer.heading(
+ this.inline.output(this.token.text),
+ this.token.depth,
+ unescape(this.inlineText.output(this.token.text)));
+ }
+ case 'code': {
+ return this.renderer.code(this.token.text,
+ this.token.lang,
+ this.token.escaped);
+ }
+ case 'table': {
+ var header = '',
+ body = '',
+ i,
+ row,
+ cell,
+ j;
+
+ // header
+ cell = '';
+ for (i = 0; i < this.token.header.length; i++) {
+ cell += this.renderer.tablecell(
+ this.inline.output(this.token.header[i]),
+ { header: true, align: this.token.align[i] }
+ );
+ }
+ header += this.renderer.tablerow(cell);
+
+ for (i = 0; i < this.token.cells.length; i++) {
+ row = this.token.cells[i];
+
+ cell = '';
+ for (j = 0; j < row.length; j++) {
+ cell += this.renderer.tablecell(
+ this.inline.output(row[j]),
+ { header: false, align: this.token.align[j] }
+ );
+ }
+
+ body += this.renderer.tablerow(cell);
+ }
+ return this.renderer.table(header, body);
+ }
+ case 'blockquote_start': {
+ body = '';
+
+ while (this.next().type !== 'blockquote_end') {
+ body += this.tok();
+ }
+
+ return this.renderer.blockquote(body);
+ }
+ case 'list_start': {
+ body = '';
+ var ordered = this.token.ordered,
+ start = this.token.start;
+
+ while (this.next().type !== 'list_end') {
+ body += this.tok();
+ }
+
+ return this.renderer.list(body, ordered, start);
+ }
+ case 'list_item_start': {
+ body = '';
+ var loose = this.token.loose;
+
+ if (this.token.task) {
+ body += this.renderer.checkbox(this.token.checked);
+ }
+
+ while (this.next().type !== 'list_item_end') {
+ body += !loose && this.token.type === 'text'
+ ? this.parseText()
+ : this.tok();
+ }
+
+ return this.renderer.listitem(body);
+ }
+ case 'html': {
+ // TODO parse inline content if parameter markdown=1
+ return this.renderer.html(this.token.text);
+ }
+ case 'paragraph': {
+ return this.renderer.paragraph(this.inline.output(this.token.text));
+ }
+ case 'text': {
+ return this.renderer.paragraph(this.parseText());
+ }
+ }
+};
+
+/**
+ * Helpers
+ */
+
+function escape(html, encode) {
+ return html
+ .replace(!encode ? /&(?!#?\w+;)/g : /&/g, '&')
+ .replace(//g, '>')
+ .replace(/"/g, '"')
+ .replace(/'/g, ''');
+}
+
+function unescape(html) {
+ // explicitly match decimal, hex, and named HTML entities
+ return html.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, function(_, n) {
+ n = n.toLowerCase();
+ if (n === 'colon') return ':';
+ if (n.charAt(0) === '#') {
+ return n.charAt(1) === 'x'
+ ? String.fromCharCode(parseInt(n.substring(2), 16))
+ : String.fromCharCode(+n.substring(1));
+ }
+ return '';
+ });
+}
+
+function edit(regex, opt) {
+ regex = regex.source || regex;
+ opt = opt || '';
+ return {
+ replace: function(name, val) {
+ val = val.source || val;
+ val = val.replace(/(^|[^\[])\^/g, '$1');
+ regex = regex.replace(name, val);
+ return this;
+ },
+ getRegex: function() {
+ return new RegExp(regex, opt);
+ }
+ };
+}
+
+function resolveUrl(base, href) {
+ if (!baseUrls[' ' + base]) {
+ // we can ignore everything in base after the last slash of its path component,
+ // but we might need to add _that_
+ // https://tools.ietf.org/html/rfc3986#section-3
+ if (/^[^:]+:\/*[^/]*$/.test(base)) {
+ baseUrls[' ' + base] = base + '/';
+ } else {
+ baseUrls[' ' + base] = rtrim(base, '/', true);
+ }
+ }
+ base = baseUrls[' ' + base];
+
+ if (href.slice(0, 2) === '//') {
+ return base.replace(/:[\s\S]*/, ':') + href;
+ } else if (href.charAt(0) === '/') {
+ return base.replace(/(:\/*[^/]*)[\s\S]*/, '$1') + href;
+ } else {
+ return base + href;
+ }
+}
+var baseUrls = {};
+var originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
+
+function noop() {}
+noop.exec = noop;
+
+function merge(obj) {
+ var i = 1,
+ target,
+ key;
+
+ for (; i < arguments.length; i++) {
+ target = arguments[i];
+ for (key in target) {
+ if (Object.prototype.hasOwnProperty.call(target, key)) {
+ obj[key] = target[key];
+ }
+ }
+ }
+
+ return obj;
+}
+
+function splitCells(tableRow, count) {
+ // ensure that every cell-delimiting pipe has a space
+ // before it to distinguish it from an escaped pipe
+ var row = tableRow.replace(/\|/g, function (match, offset, str) {
+ var escaped = false,
+ curr = offset;
+ while (--curr >= 0 && str[curr] === '\\') escaped = !escaped;
+ if (escaped) {
+ // odd number of slashes means | is escaped
+ // so we leave it alone
+ return '|';
+ } else {
+ // add space before unescaped |
+ return ' |';
+ }
+ }),
+ cells = row.split(/ \|/),
+ i = 0;
+
+ if (cells.length > count) {
+ cells.splice(count);
+ } else {
+ while (cells.length < count) cells.push('');
+ }
+
+ for (; i < cells.length; i++) {
+ // leading or trailing whitespace is ignored per the gfm spec
+ cells[i] = cells[i].trim().replace(/\\\|/g, '|');
+ }
+ return cells;
+}
+
+// Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
+// /c*$/ is vulnerable to REDOS.
+// invert: Remove suffix of non-c chars instead. Default falsey.
+function rtrim(str, c, invert) {
+ if (str.length === 0) {
+ return '';
+ }
+
+ // Length of suffix matching the invert condition.
+ var suffLen = 0;
+
+ // Step left until we fail to match the invert condition.
+ while (suffLen < str.length) {
+ var currChar = str.charAt(str.length - suffLen - 1);
+ if (currChar === c && !invert) {
+ suffLen++;
+ } else if (currChar !== c && invert) {
+ suffLen++;
+ } else {
+ break;
+ }
+ }
+
+ return str.substr(0, str.length - suffLen);
+}
+
+/**
+ * Marked
+ */
+
+function marked(src, opt, callback) {
+ // throw error in case of non string input
+ if (typeof src === 'undefined' || src === null) {
+ throw new Error('marked(): input parameter is undefined or null');
+ }
+ if (typeof src !== 'string') {
+ throw new Error('marked(): input parameter is of type '
+ + Object.prototype.toString.call(src) + ', string expected');
+ }
+
+ if (callback || typeof opt === 'function') {
+ if (!callback) {
+ callback = opt;
+ opt = null;
+ }
+
+ opt = merge({}, marked.defaults, opt || {});
+
+ var highlight = opt.highlight,
+ tokens,
+ pending,
+ i = 0;
+
+ try {
+ tokens = Lexer.lex(src, opt)
+ } catch (e) {
+ return callback(e);
+ }
+
+ pending = tokens.length;
+
+ var done = function(err) {
+ if (err) {
+ opt.highlight = highlight;
+ return callback(err);
+ }
+
+ var out;
+
+ try {
+ out = Parser.parse(tokens, opt);
+ } catch (e) {
+ err = e;
+ }
+
+ opt.highlight = highlight;
+
+ return err
+ ? callback(err)
+ : callback(null, out);
+ };
+
+ if (!highlight || highlight.length < 3) {
+ return done();
+ }
+
+ delete opt.highlight;
+
+ if (!pending) return done();
+
+ for (; i < tokens.length; i++) {
+ (function(token) {
+ if (token.type !== 'code') {
+ return --pending || done();
+ }
+ return highlight(token.text, token.lang, function(err, code) {
+ if (err) return done(err);
+ if (code == null || code === token.text) {
+ return --pending || done();
+ }
+ token.text = code;
+ token.escaped = true;
+ --pending || done();
+ });
+ })(tokens[i]);
+ }
+
+ return;
+ }
+ try {
+ if (opt) opt = merge({}, marked.defaults, opt);
+ return Parser.parse(Lexer.lex(src, opt), opt);
+ } catch (e) {
+ e.message += '\nPlease report this to https://github.com/markedjs/marked.';
+ if ((opt || marked.defaults).silent) {
+ return 'An error occurred:
'
+ + escape(e.message + '', true)
+ + '
';
+ }
+ throw e;
+ }
+}
+
+/**
+ * Options
+ */
+
+marked.options =
+marked.setOptions = function(opt) {
+ merge(marked.defaults, opt);
+ return marked;
+};
+
+marked.getDefaults = function () {
+ return {
+ baseUrl: null,
+ breaks: false,
+ gfm: true,
+ headerIds: true,
+ headerPrefix: '',
+ highlight: null,
+ langPrefix: 'language-',
+ mangle: true,
+ pedantic: false,
+ renderer: new Renderer(),
+ sanitize: false,
+ sanitizer: null,
+ silent: false,
+ smartLists: false,
+ smartypants: false,
+ tables: true,
+ xhtml: false
+ };
+}
+
+marked.defaults = marked.getDefaults();
+
+/**
+ * Expose
+ */
+
+marked.Parser = Parser;
+marked.parser = Parser.parse;
+
+marked.Renderer = Renderer;
+marked.TextRenderer = TextRenderer;
+
+marked.Lexer = Lexer;
+marked.lexer = Lexer.lex;
+
+marked.InlineLexer = InlineLexer;
+marked.inlineLexer = InlineLexer.output;
+
+marked.parse = marked;
+
+if (typeof module !== 'undefined' && typeof exports === 'object') {
+ module.exports = marked;
+} else if (typeof define === 'function' && define.amd) {
+ define(function() { return marked; });
+} else {
+ root.marked = marked;
+}
+})(this || (typeof window !== 'undefined' ? window : global));
diff --git a/components/mpvue-citypicker/city-data/area.js b/components/mpvue-citypicker/city-data/area.js
new file mode 100644
index 0000000..92dfc30
--- /dev/null
+++ b/components/mpvue-citypicker/city-data/area.js
@@ -0,0 +1,12542 @@
+/* eslint-disable */
+var areaData = [
+ [
+ [{
+ "label": "东城区",
+ "value": "110101"
+ },
+ {
+ "label": "西城区",
+ "value": "110102"
+ },
+ {
+ "label": "朝阳区",
+ "value": "110105"
+ },
+ {
+ "label": "丰台区",
+ "value": "110106"
+ },
+ {
+ "label": "石景山区",
+ "value": "110107"
+ },
+ {
+ "label": "海淀区",
+ "value": "110108"
+ },
+ {
+ "label": "门头沟区",
+ "value": "110109"
+ },
+ {
+ "label": "房山区",
+ "value": "110111"
+ },
+ {
+ "label": "通州区",
+ "value": "110112"
+ },
+ {
+ "label": "顺义区",
+ "value": "110113"
+ },
+ {
+ "label": "昌平区",
+ "value": "110114"
+ },
+ {
+ "label": "大兴区",
+ "value": "110115"
+ },
+ {
+ "label": "怀柔区",
+ "value": "110116"
+ },
+ {
+ "label": "平谷区",
+ "value": "110117"
+ },
+ {
+ "label": "密云区",
+ "value": "110118"
+ },
+ {
+ "label": "延庆区",
+ "value": "110119"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "和平区",
+ "value": "120101"
+ },
+ {
+ "label": "河东区",
+ "value": "120102"
+ },
+ {
+ "label": "河西区",
+ "value": "120103"
+ },
+ {
+ "label": "南开区",
+ "value": "120104"
+ },
+ {
+ "label": "河北区",
+ "value": "120105"
+ },
+ {
+ "label": "红桥区",
+ "value": "120106"
+ },
+ {
+ "label": "东丽区",
+ "value": "120110"
+ },
+ {
+ "label": "西青区",
+ "value": "120111"
+ },
+ {
+ "label": "津南区",
+ "value": "120112"
+ },
+ {
+ "label": "北辰区",
+ "value": "120113"
+ },
+ {
+ "label": "武清区",
+ "value": "120114"
+ },
+ {
+ "label": "宝坻区",
+ "value": "120115"
+ },
+ {
+ "label": "滨海新区",
+ "value": "120116"
+ },
+ {
+ "label": "宁河区",
+ "value": "120117"
+ },
+ {
+ "label": "静海区",
+ "value": "120118"
+ },
+ {
+ "label": "蓟州区",
+ "value": "120119"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "长安区",
+ "value": "130102"
+ },
+ {
+ "label": "桥西区",
+ "value": "130104"
+ },
+ {
+ "label": "新华区",
+ "value": "130105"
+ },
+ {
+ "label": "井陉矿区",
+ "value": "130107"
+ },
+ {
+ "label": "裕华区",
+ "value": "130108"
+ },
+ {
+ "label": "藁城区",
+ "value": "130109"
+ },
+ {
+ "label": "鹿泉区",
+ "value": "130110"
+ },
+ {
+ "label": "栾城区",
+ "value": "130111"
+ },
+ {
+ "label": "井陉县",
+ "value": "130121"
+ },
+ {
+ "label": "正定县",
+ "value": "130123"
+ },
+ {
+ "label": "行唐县",
+ "value": "130125"
+ },
+ {
+ "label": "灵寿县",
+ "value": "130126"
+ },
+ {
+ "label": "高邑县",
+ "value": "130127"
+ },
+ {
+ "label": "深泽县",
+ "value": "130128"
+ },
+ {
+ "label": "赞皇县",
+ "value": "130129"
+ },
+ {
+ "label": "无极县",
+ "value": "130130"
+ },
+ {
+ "label": "平山县",
+ "value": "130131"
+ },
+ {
+ "label": "元氏县",
+ "value": "130132"
+ },
+ {
+ "label": "赵县",
+ "value": "130133"
+ },
+ {
+ "label": "石家庄高新技术产业开发区",
+ "value": "130171"
+ },
+ {
+ "label": "石家庄循环化工园区",
+ "value": "130172"
+ },
+ {
+ "label": "辛集市",
+ "value": "130181"
+ },
+ {
+ "label": "晋州市",
+ "value": "130183"
+ },
+ {
+ "label": "新乐市",
+ "value": "130184"
+ }
+ ],
+ [{
+ "label": "路南区",
+ "value": "130202"
+ },
+ {
+ "label": "路北区",
+ "value": "130203"
+ },
+ {
+ "label": "古冶区",
+ "value": "130204"
+ },
+ {
+ "label": "开平区",
+ "value": "130205"
+ },
+ {
+ "label": "丰南区",
+ "value": "130207"
+ },
+ {
+ "label": "丰润区",
+ "value": "130208"
+ },
+ {
+ "label": "曹妃甸区",
+ "value": "130209"
+ },
+ {
+ "label": "滦县",
+ "value": "130223"
+ },
+ {
+ "label": "滦南县",
+ "value": "130224"
+ },
+ {
+ "label": "乐亭县",
+ "value": "130225"
+ },
+ {
+ "label": "迁西县",
+ "value": "130227"
+ },
+ {
+ "label": "玉田县",
+ "value": "130229"
+ },
+ {
+ "label": "唐山市芦台经济技术开发区",
+ "value": "130271"
+ },
+ {
+ "label": "唐山市汉沽管理区",
+ "value": "130272"
+ },
+ {
+ "label": "唐山高新技术产业开发区",
+ "value": "130273"
+ },
+ {
+ "label": "河北唐山海港经济开发区",
+ "value": "130274"
+ },
+ {
+ "label": "遵化市",
+ "value": "130281"
+ },
+ {
+ "label": "迁安市",
+ "value": "130283"
+ }
+ ],
+ [{
+ "label": "海港区",
+ "value": "130302"
+ },
+ {
+ "label": "山海关区",
+ "value": "130303"
+ },
+ {
+ "label": "北戴河区",
+ "value": "130304"
+ },
+ {
+ "label": "抚宁区",
+ "value": "130306"
+ },
+ {
+ "label": "青龙满族自治县",
+ "value": "130321"
+ },
+ {
+ "label": "昌黎县",
+ "value": "130322"
+ },
+ {
+ "label": "卢龙县",
+ "value": "130324"
+ },
+ {
+ "label": "秦皇岛市经济技术开发区",
+ "value": "130371"
+ },
+ {
+ "label": "北戴河新区",
+ "value": "130372"
+ }
+ ],
+ [{
+ "label": "邯山区",
+ "value": "130402"
+ },
+ {
+ "label": "丛台区",
+ "value": "130403"
+ },
+ {
+ "label": "复兴区",
+ "value": "130404"
+ },
+ {
+ "label": "峰峰矿区",
+ "value": "130406"
+ },
+ {
+ "label": "肥乡区",
+ "value": "130407"
+ },
+ {
+ "label": "永年区",
+ "value": "130408"
+ },
+ {
+ "label": "临漳县",
+ "value": "130423"
+ },
+ {
+ "label": "成安县",
+ "value": "130424"
+ },
+ {
+ "label": "大名县",
+ "value": "130425"
+ },
+ {
+ "label": "涉县",
+ "value": "130426"
+ },
+ {
+ "label": "磁县",
+ "value": "130427"
+ },
+ {
+ "label": "邱县",
+ "value": "130430"
+ },
+ {
+ "label": "鸡泽县",
+ "value": "130431"
+ },
+ {
+ "label": "广平县",
+ "value": "130432"
+ },
+ {
+ "label": "馆陶县",
+ "value": "130433"
+ },
+ {
+ "label": "魏县",
+ "value": "130434"
+ },
+ {
+ "label": "曲周县",
+ "value": "130435"
+ },
+ {
+ "label": "邯郸经济技术开发区",
+ "value": "130471"
+ },
+ {
+ "label": "邯郸冀南新区",
+ "value": "130473"
+ },
+ {
+ "label": "武安市",
+ "value": "130481"
+ }
+ ],
+ [{
+ "label": "桥东区",
+ "value": "130502"
+ },
+ {
+ "label": "桥西区",
+ "value": "130503"
+ },
+ {
+ "label": "邢台县",
+ "value": "130521"
+ },
+ {
+ "label": "临城县",
+ "value": "130522"
+ },
+ {
+ "label": "内丘县",
+ "value": "130523"
+ },
+ {
+ "label": "柏乡县",
+ "value": "130524"
+ },
+ {
+ "label": "隆尧县",
+ "value": "130525"
+ },
+ {
+ "label": "任县",
+ "value": "130526"
+ },
+ {
+ "label": "南和县",
+ "value": "130527"
+ },
+ {
+ "label": "宁晋县",
+ "value": "130528"
+ },
+ {
+ "label": "巨鹿县",
+ "value": "130529"
+ },
+ {
+ "label": "新河县",
+ "value": "130530"
+ },
+ {
+ "label": "广宗县",
+ "value": "130531"
+ },
+ {
+ "label": "平乡县",
+ "value": "130532"
+ },
+ {
+ "label": "威县",
+ "value": "130533"
+ },
+ {
+ "label": "清河县",
+ "value": "130534"
+ },
+ {
+ "label": "临西县",
+ "value": "130535"
+ },
+ {
+ "label": "河北邢台经济开发区",
+ "value": "130571"
+ },
+ {
+ "label": "南宫市",
+ "value": "130581"
+ },
+ {
+ "label": "沙河市",
+ "value": "130582"
+ }
+ ],
+ [{
+ "label": "竞秀区",
+ "value": "130602"
+ },
+ {
+ "label": "莲池区",
+ "value": "130606"
+ },
+ {
+ "label": "满城区",
+ "value": "130607"
+ },
+ {
+ "label": "清苑区",
+ "value": "130608"
+ },
+ {
+ "label": "徐水区",
+ "value": "130609"
+ },
+ {
+ "label": "涞水县",
+ "value": "130623"
+ },
+ {
+ "label": "阜平县",
+ "value": "130624"
+ },
+ {
+ "label": "定兴县",
+ "value": "130626"
+ },
+ {
+ "label": "唐县",
+ "value": "130627"
+ },
+ {
+ "label": "高阳县",
+ "value": "130628"
+ },
+ {
+ "label": "容城县",
+ "value": "130629"
+ },
+ {
+ "label": "涞源县",
+ "value": "130630"
+ },
+ {
+ "label": "望都县",
+ "value": "130631"
+ },
+ {
+ "label": "安新县",
+ "value": "130632"
+ },
+ {
+ "label": "易县",
+ "value": "130633"
+ },
+ {
+ "label": "曲阳县",
+ "value": "130634"
+ },
+ {
+ "label": "蠡县",
+ "value": "130635"
+ },
+ {
+ "label": "顺平县",
+ "value": "130636"
+ },
+ {
+ "label": "博野县",
+ "value": "130637"
+ },
+ {
+ "label": "雄县",
+ "value": "130638"
+ },
+ {
+ "label": "保定高新技术产业开发区",
+ "value": "130671"
+ },
+ {
+ "label": "保定白沟新城",
+ "value": "130672"
+ },
+ {
+ "label": "涿州市",
+ "value": "130681"
+ },
+ {
+ "label": "定州市",
+ "value": "130682"
+ },
+ {
+ "label": "安国市",
+ "value": "130683"
+ },
+ {
+ "label": "高碑店市",
+ "value": "130684"
+ }
+ ],
+ [{
+ "label": "桥东区",
+ "value": "130702"
+ },
+ {
+ "label": "桥西区",
+ "value": "130703"
+ },
+ {
+ "label": "宣化区",
+ "value": "130705"
+ },
+ {
+ "label": "下花园区",
+ "value": "130706"
+ },
+ {
+ "label": "万全区",
+ "value": "130708"
+ },
+ {
+ "label": "崇礼区",
+ "value": "130709"
+ },
+ {
+ "label": "张北县",
+ "value": "130722"
+ },
+ {
+ "label": "康保县",
+ "value": "130723"
+ },
+ {
+ "label": "沽源县",
+ "value": "130724"
+ },
+ {
+ "label": "尚义县",
+ "value": "130725"
+ },
+ {
+ "label": "蔚县",
+ "value": "130726"
+ },
+ {
+ "label": "阳原县",
+ "value": "130727"
+ },
+ {
+ "label": "怀安县",
+ "value": "130728"
+ },
+ {
+ "label": "怀来县",
+ "value": "130730"
+ },
+ {
+ "label": "涿鹿县",
+ "value": "130731"
+ },
+ {
+ "label": "赤城县",
+ "value": "130732"
+ },
+ {
+ "label": "张家口市高新技术产业开发区",
+ "value": "130771"
+ },
+ {
+ "label": "张家口市察北管理区",
+ "value": "130772"
+ },
+ {
+ "label": "张家口市塞北管理区",
+ "value": "130773"
+ }
+ ],
+ [{
+ "label": "双桥区",
+ "value": "130802"
+ },
+ {
+ "label": "双滦区",
+ "value": "130803"
+ },
+ {
+ "label": "鹰手营子矿区",
+ "value": "130804"
+ },
+ {
+ "label": "承德县",
+ "value": "130821"
+ },
+ {
+ "label": "兴隆县",
+ "value": "130822"
+ },
+ {
+ "label": "滦平县",
+ "value": "130824"
+ },
+ {
+ "label": "隆化县",
+ "value": "130825"
+ },
+ {
+ "label": "丰宁满族自治县",
+ "value": "130826"
+ },
+ {
+ "label": "宽城满族自治县",
+ "value": "130827"
+ },
+ {
+ "label": "围场满族蒙古族自治县",
+ "value": "130828"
+ },
+ {
+ "label": "承德高新技术产业开发区",
+ "value": "130871"
+ },
+ {
+ "label": "平泉市",
+ "value": "130881"
+ }
+ ],
+ [{
+ "label": "新华区",
+ "value": "130902"
+ },
+ {
+ "label": "运河区",
+ "value": "130903"
+ },
+ {
+ "label": "沧县",
+ "value": "130921"
+ },
+ {
+ "label": "青县",
+ "value": "130922"
+ },
+ {
+ "label": "东光县",
+ "value": "130923"
+ },
+ {
+ "label": "海兴县",
+ "value": "130924"
+ },
+ {
+ "label": "盐山县",
+ "value": "130925"
+ },
+ {
+ "label": "肃宁县",
+ "value": "130926"
+ },
+ {
+ "label": "南皮县",
+ "value": "130927"
+ },
+ {
+ "label": "吴桥县",
+ "value": "130928"
+ },
+ {
+ "label": "献县",
+ "value": "130929"
+ },
+ {
+ "label": "孟村回族自治县",
+ "value": "130930"
+ },
+ {
+ "label": "河北沧州经济开发区",
+ "value": "130971"
+ },
+ {
+ "label": "沧州高新技术产业开发区",
+ "value": "130972"
+ },
+ {
+ "label": "沧州渤海新区",
+ "value": "130973"
+ },
+ {
+ "label": "泊头市",
+ "value": "130981"
+ },
+ {
+ "label": "任丘市",
+ "value": "130982"
+ },
+ {
+ "label": "黄骅市",
+ "value": "130983"
+ },
+ {
+ "label": "河间市",
+ "value": "130984"
+ }
+ ],
+ [{
+ "label": "安次区",
+ "value": "131002"
+ },
+ {
+ "label": "广阳区",
+ "value": "131003"
+ },
+ {
+ "label": "固安县",
+ "value": "131022"
+ },
+ {
+ "label": "永清县",
+ "value": "131023"
+ },
+ {
+ "label": "香河县",
+ "value": "131024"
+ },
+ {
+ "label": "大城县",
+ "value": "131025"
+ },
+ {
+ "label": "文安县",
+ "value": "131026"
+ },
+ {
+ "label": "大厂回族自治县",
+ "value": "131028"
+ },
+ {
+ "label": "廊坊经济技术开发区",
+ "value": "131071"
+ },
+ {
+ "label": "霸州市",
+ "value": "131081"
+ },
+ {
+ "label": "三河市",
+ "value": "131082"
+ }
+ ],
+ [{
+ "label": "桃城区",
+ "value": "131102"
+ },
+ {
+ "label": "冀州区",
+ "value": "131103"
+ },
+ {
+ "label": "枣强县",
+ "value": "131121"
+ },
+ {
+ "label": "武邑县",
+ "value": "131122"
+ },
+ {
+ "label": "武强县",
+ "value": "131123"
+ },
+ {
+ "label": "饶阳县",
+ "value": "131124"
+ },
+ {
+ "label": "安平县",
+ "value": "131125"
+ },
+ {
+ "label": "故城县",
+ "value": "131126"
+ },
+ {
+ "label": "景县",
+ "value": "131127"
+ },
+ {
+ "label": "阜城县",
+ "value": "131128"
+ },
+ {
+ "label": "河北衡水经济开发区",
+ "value": "131171"
+ },
+ {
+ "label": "衡水滨湖新区",
+ "value": "131172"
+ },
+ {
+ "label": "深州市",
+ "value": "131182"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "小店区",
+ "value": "140105"
+ },
+ {
+ "label": "迎泽区",
+ "value": "140106"
+ },
+ {
+ "label": "杏花岭区",
+ "value": "140107"
+ },
+ {
+ "label": "尖草坪区",
+ "value": "140108"
+ },
+ {
+ "label": "万柏林区",
+ "value": "140109"
+ },
+ {
+ "label": "晋源区",
+ "value": "140110"
+ },
+ {
+ "label": "清徐县",
+ "value": "140121"
+ },
+ {
+ "label": "阳曲县",
+ "value": "140122"
+ },
+ {
+ "label": "娄烦县",
+ "value": "140123"
+ },
+ {
+ "label": "山西转型综合改革示范区",
+ "value": "140171"
+ },
+ {
+ "label": "古交市",
+ "value": "140181"
+ }
+ ],
+ [{
+ "label": "城区",
+ "value": "140202"
+ },
+ {
+ "label": "矿区",
+ "value": "140203"
+ },
+ {
+ "label": "南郊区",
+ "value": "140211"
+ },
+ {
+ "label": "新荣区",
+ "value": "140212"
+ },
+ {
+ "label": "阳高县",
+ "value": "140221"
+ },
+ {
+ "label": "天镇县",
+ "value": "140222"
+ },
+ {
+ "label": "广灵县",
+ "value": "140223"
+ },
+ {
+ "label": "灵丘县",
+ "value": "140224"
+ },
+ {
+ "label": "浑源县",
+ "value": "140225"
+ },
+ {
+ "label": "左云县",
+ "value": "140226"
+ },
+ {
+ "label": "大同县",
+ "value": "140227"
+ },
+ {
+ "label": "山西大同经济开发区",
+ "value": "140271"
+ }
+ ],
+ [{
+ "label": "城区",
+ "value": "140302"
+ },
+ {
+ "label": "矿区",
+ "value": "140303"
+ },
+ {
+ "label": "郊区",
+ "value": "140311"
+ },
+ {
+ "label": "平定县",
+ "value": "140321"
+ },
+ {
+ "label": "盂县",
+ "value": "140322"
+ },
+ {
+ "label": "山西阳泉经济开发区",
+ "value": "140371"
+ }
+ ],
+ [{
+ "label": "城区",
+ "value": "140402"
+ },
+ {
+ "label": "郊区",
+ "value": "140411"
+ },
+ {
+ "label": "长治县",
+ "value": "140421"
+ },
+ {
+ "label": "襄垣县",
+ "value": "140423"
+ },
+ {
+ "label": "屯留县",
+ "value": "140424"
+ },
+ {
+ "label": "平顺县",
+ "value": "140425"
+ },
+ {
+ "label": "黎城县",
+ "value": "140426"
+ },
+ {
+ "label": "壶关县",
+ "value": "140427"
+ },
+ {
+ "label": "长子县",
+ "value": "140428"
+ },
+ {
+ "label": "武乡县",
+ "value": "140429"
+ },
+ {
+ "label": "沁县",
+ "value": "140430"
+ },
+ {
+ "label": "沁源县",
+ "value": "140431"
+ },
+ {
+ "label": "山西长治高新技术产业园区",
+ "value": "140471"
+ },
+ {
+ "label": "潞城市",
+ "value": "140481"
+ }
+ ],
+ [{
+ "label": "城区",
+ "value": "140502"
+ },
+ {
+ "label": "沁水县",
+ "value": "140521"
+ },
+ {
+ "label": "阳城县",
+ "value": "140522"
+ },
+ {
+ "label": "陵川县",
+ "value": "140524"
+ },
+ {
+ "label": "泽州县",
+ "value": "140525"
+ },
+ {
+ "label": "高平市",
+ "value": "140581"
+ }
+ ],
+ [{
+ "label": "朔城区",
+ "value": "140602"
+ },
+ {
+ "label": "平鲁区",
+ "value": "140603"
+ },
+ {
+ "label": "山阴县",
+ "value": "140621"
+ },
+ {
+ "label": "应县",
+ "value": "140622"
+ },
+ {
+ "label": "右玉县",
+ "value": "140623"
+ },
+ {
+ "label": "怀仁县",
+ "value": "140624"
+ },
+ {
+ "label": "山西朔州经济开发区",
+ "value": "140671"
+ }
+ ],
+ [{
+ "label": "榆次区",
+ "value": "140702"
+ },
+ {
+ "label": "榆社县",
+ "value": "140721"
+ },
+ {
+ "label": "左权县",
+ "value": "140722"
+ },
+ {
+ "label": "和顺县",
+ "value": "140723"
+ },
+ {
+ "label": "昔阳县",
+ "value": "140724"
+ },
+ {
+ "label": "寿阳县",
+ "value": "140725"
+ },
+ {
+ "label": "太谷县",
+ "value": "140726"
+ },
+ {
+ "label": "祁县",
+ "value": "140727"
+ },
+ {
+ "label": "平遥县",
+ "value": "140728"
+ },
+ {
+ "label": "灵石县",
+ "value": "140729"
+ },
+ {
+ "label": "介休市",
+ "value": "140781"
+ }
+ ],
+ [{
+ "label": "盐湖区",
+ "value": "140802"
+ },
+ {
+ "label": "临猗县",
+ "value": "140821"
+ },
+ {
+ "label": "万荣县",
+ "value": "140822"
+ },
+ {
+ "label": "闻喜县",
+ "value": "140823"
+ },
+ {
+ "label": "稷山县",
+ "value": "140824"
+ },
+ {
+ "label": "新绛县",
+ "value": "140825"
+ },
+ {
+ "label": "绛县",
+ "value": "140826"
+ },
+ {
+ "label": "垣曲县",
+ "value": "140827"
+ },
+ {
+ "label": "夏县",
+ "value": "140828"
+ },
+ {
+ "label": "平陆县",
+ "value": "140829"
+ },
+ {
+ "label": "芮城县",
+ "value": "140830"
+ },
+ {
+ "label": "永济市",
+ "value": "140881"
+ },
+ {
+ "label": "河津市",
+ "value": "140882"
+ }
+ ],
+ [{
+ "label": "忻府区",
+ "value": "140902"
+ },
+ {
+ "label": "定襄县",
+ "value": "140921"
+ },
+ {
+ "label": "五台县",
+ "value": "140922"
+ },
+ {
+ "label": "代县",
+ "value": "140923"
+ },
+ {
+ "label": "繁峙县",
+ "value": "140924"
+ },
+ {
+ "label": "宁武县",
+ "value": "140925"
+ },
+ {
+ "label": "静乐县",
+ "value": "140926"
+ },
+ {
+ "label": "神池县",
+ "value": "140927"
+ },
+ {
+ "label": "五寨县",
+ "value": "140928"
+ },
+ {
+ "label": "岢岚县",
+ "value": "140929"
+ },
+ {
+ "label": "河曲县",
+ "value": "140930"
+ },
+ {
+ "label": "保德县",
+ "value": "140931"
+ },
+ {
+ "label": "偏关县",
+ "value": "140932"
+ },
+ {
+ "label": "五台山风景名胜区",
+ "value": "140971"
+ },
+ {
+ "label": "原平市",
+ "value": "140981"
+ }
+ ],
+ [{
+ "label": "尧都区",
+ "value": "141002"
+ },
+ {
+ "label": "曲沃县",
+ "value": "141021"
+ },
+ {
+ "label": "翼城县",
+ "value": "141022"
+ },
+ {
+ "label": "襄汾县",
+ "value": "141023"
+ },
+ {
+ "label": "洪洞县",
+ "value": "141024"
+ },
+ {
+ "label": "古县",
+ "value": "141025"
+ },
+ {
+ "label": "安泽县",
+ "value": "141026"
+ },
+ {
+ "label": "浮山县",
+ "value": "141027"
+ },
+ {
+ "label": "吉县",
+ "value": "141028"
+ },
+ {
+ "label": "乡宁县",
+ "value": "141029"
+ },
+ {
+ "label": "大宁县",
+ "value": "141030"
+ },
+ {
+ "label": "隰县",
+ "value": "141031"
+ },
+ {
+ "label": "永和县",
+ "value": "141032"
+ },
+ {
+ "label": "蒲县",
+ "value": "141033"
+ },
+ {
+ "label": "汾西县",
+ "value": "141034"
+ },
+ {
+ "label": "侯马市",
+ "value": "141081"
+ },
+ {
+ "label": "霍州市",
+ "value": "141082"
+ }
+ ],
+ [{
+ "label": "离石区",
+ "value": "141102"
+ },
+ {
+ "label": "文水县",
+ "value": "141121"
+ },
+ {
+ "label": "交城县",
+ "value": "141122"
+ },
+ {
+ "label": "兴县",
+ "value": "141123"
+ },
+ {
+ "label": "临县",
+ "value": "141124"
+ },
+ {
+ "label": "柳林县",
+ "value": "141125"
+ },
+ {
+ "label": "石楼县",
+ "value": "141126"
+ },
+ {
+ "label": "岚县",
+ "value": "141127"
+ },
+ {
+ "label": "方山县",
+ "value": "141128"
+ },
+ {
+ "label": "中阳县",
+ "value": "141129"
+ },
+ {
+ "label": "交口县",
+ "value": "141130"
+ },
+ {
+ "label": "孝义市",
+ "value": "141181"
+ },
+ {
+ "label": "汾阳市",
+ "value": "141182"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "新城区",
+ "value": "150102"
+ },
+ {
+ "label": "回民区",
+ "value": "150103"
+ },
+ {
+ "label": "玉泉区",
+ "value": "150104"
+ },
+ {
+ "label": "赛罕区",
+ "value": "150105"
+ },
+ {
+ "label": "土默特左旗",
+ "value": "150121"
+ },
+ {
+ "label": "托克托县",
+ "value": "150122"
+ },
+ {
+ "label": "和林格尔县",
+ "value": "150123"
+ },
+ {
+ "label": "清水河县",
+ "value": "150124"
+ },
+ {
+ "label": "武川县",
+ "value": "150125"
+ },
+ {
+ "label": "呼和浩特金海工业园区",
+ "value": "150171"
+ },
+ {
+ "label": "呼和浩特经济技术开发区",
+ "value": "150172"
+ }
+ ],
+ [{
+ "label": "东河区",
+ "value": "150202"
+ },
+ {
+ "label": "昆都仑区",
+ "value": "150203"
+ },
+ {
+ "label": "青山区",
+ "value": "150204"
+ },
+ {
+ "label": "石拐区",
+ "value": "150205"
+ },
+ {
+ "label": "白云鄂博矿区",
+ "value": "150206"
+ },
+ {
+ "label": "九原区",
+ "value": "150207"
+ },
+ {
+ "label": "土默特右旗",
+ "value": "150221"
+ },
+ {
+ "label": "固阳县",
+ "value": "150222"
+ },
+ {
+ "label": "达尔罕茂明安联合旗",
+ "value": "150223"
+ },
+ {
+ "label": "包头稀土高新技术产业开发区",
+ "value": "150271"
+ }
+ ],
+ [{
+ "label": "海勃湾区",
+ "value": "150302"
+ },
+ {
+ "label": "海南区",
+ "value": "150303"
+ },
+ {
+ "label": "乌达区",
+ "value": "150304"
+ }
+ ],
+ [{
+ "label": "红山区",
+ "value": "150402"
+ },
+ {
+ "label": "元宝山区",
+ "value": "150403"
+ },
+ {
+ "label": "松山区",
+ "value": "150404"
+ },
+ {
+ "label": "阿鲁科尔沁旗",
+ "value": "150421"
+ },
+ {
+ "label": "巴林左旗",
+ "value": "150422"
+ },
+ {
+ "label": "巴林右旗",
+ "value": "150423"
+ },
+ {
+ "label": "林西县",
+ "value": "150424"
+ },
+ {
+ "label": "克什克腾旗",
+ "value": "150425"
+ },
+ {
+ "label": "翁牛特旗",
+ "value": "150426"
+ },
+ {
+ "label": "喀喇沁旗",
+ "value": "150428"
+ },
+ {
+ "label": "宁城县",
+ "value": "150429"
+ },
+ {
+ "label": "敖汉旗",
+ "value": "150430"
+ }
+ ],
+ [{
+ "label": "科尔沁区",
+ "value": "150502"
+ },
+ {
+ "label": "科尔沁左翼中旗",
+ "value": "150521"
+ },
+ {
+ "label": "科尔沁左翼后旗",
+ "value": "150522"
+ },
+ {
+ "label": "开鲁县",
+ "value": "150523"
+ },
+ {
+ "label": "库伦旗",
+ "value": "150524"
+ },
+ {
+ "label": "奈曼旗",
+ "value": "150525"
+ },
+ {
+ "label": "扎鲁特旗",
+ "value": "150526"
+ },
+ {
+ "label": "通辽经济技术开发区",
+ "value": "150571"
+ },
+ {
+ "label": "霍林郭勒市",
+ "value": "150581"
+ }
+ ],
+ [{
+ "label": "东胜区",
+ "value": "150602"
+ },
+ {
+ "label": "康巴什区",
+ "value": "150603"
+ },
+ {
+ "label": "达拉特旗",
+ "value": "150621"
+ },
+ {
+ "label": "准格尔旗",
+ "value": "150622"
+ },
+ {
+ "label": "鄂托克前旗",
+ "value": "150623"
+ },
+ {
+ "label": "鄂托克旗",
+ "value": "150624"
+ },
+ {
+ "label": "杭锦旗",
+ "value": "150625"
+ },
+ {
+ "label": "乌审旗",
+ "value": "150626"
+ },
+ {
+ "label": "伊金霍洛旗",
+ "value": "150627"
+ }
+ ],
+ [{
+ "label": "海拉尔区",
+ "value": "150702"
+ },
+ {
+ "label": "扎赉诺尔区",
+ "value": "150703"
+ },
+ {
+ "label": "阿荣旗",
+ "value": "150721"
+ },
+ {
+ "label": "莫力达瓦达斡尔族自治旗",
+ "value": "150722"
+ },
+ {
+ "label": "鄂伦春自治旗",
+ "value": "150723"
+ },
+ {
+ "label": "鄂温克族自治旗",
+ "value": "150724"
+ },
+ {
+ "label": "陈巴尔虎旗",
+ "value": "150725"
+ },
+ {
+ "label": "新巴尔虎左旗",
+ "value": "150726"
+ },
+ {
+ "label": "新巴尔虎右旗",
+ "value": "150727"
+ },
+ {
+ "label": "满洲里市",
+ "value": "150781"
+ },
+ {
+ "label": "牙克石市",
+ "value": "150782"
+ },
+ {
+ "label": "扎兰屯市",
+ "value": "150783"
+ },
+ {
+ "label": "额尔古纳市",
+ "value": "150784"
+ },
+ {
+ "label": "根河市",
+ "value": "150785"
+ }
+ ],
+ [{
+ "label": "临河区",
+ "value": "150802"
+ },
+ {
+ "label": "五原县",
+ "value": "150821"
+ },
+ {
+ "label": "磴口县",
+ "value": "150822"
+ },
+ {
+ "label": "乌拉特前旗",
+ "value": "150823"
+ },
+ {
+ "label": "乌拉特中旗",
+ "value": "150824"
+ },
+ {
+ "label": "乌拉特后旗",
+ "value": "150825"
+ },
+ {
+ "label": "杭锦后旗",
+ "value": "150826"
+ }
+ ],
+ [{
+ "label": "集宁区",
+ "value": "150902"
+ },
+ {
+ "label": "卓资县",
+ "value": "150921"
+ },
+ {
+ "label": "化德县",
+ "value": "150922"
+ },
+ {
+ "label": "商都县",
+ "value": "150923"
+ },
+ {
+ "label": "兴和县",
+ "value": "150924"
+ },
+ {
+ "label": "凉城县",
+ "value": "150925"
+ },
+ {
+ "label": "察哈尔右翼前旗",
+ "value": "150926"
+ },
+ {
+ "label": "察哈尔右翼中旗",
+ "value": "150927"
+ },
+ {
+ "label": "察哈尔右翼后旗",
+ "value": "150928"
+ },
+ {
+ "label": "四子王旗",
+ "value": "150929"
+ },
+ {
+ "label": "丰镇市",
+ "value": "150981"
+ }
+ ],
+ [{
+ "label": "乌兰浩特市",
+ "value": "152201"
+ },
+ {
+ "label": "阿尔山市",
+ "value": "152202"
+ },
+ {
+ "label": "科尔沁右翼前旗",
+ "value": "152221"
+ },
+ {
+ "label": "科尔沁右翼中旗",
+ "value": "152222"
+ },
+ {
+ "label": "扎赉特旗",
+ "value": "152223"
+ },
+ {
+ "label": "突泉县",
+ "value": "152224"
+ }
+ ],
+ [{
+ "label": "二连浩特市",
+ "value": "152501"
+ },
+ {
+ "label": "锡林浩特市",
+ "value": "152502"
+ },
+ {
+ "label": "阿巴嘎旗",
+ "value": "152522"
+ },
+ {
+ "label": "苏尼特左旗",
+ "value": "152523"
+ },
+ {
+ "label": "苏尼特右旗",
+ "value": "152524"
+ },
+ {
+ "label": "东乌珠穆沁旗",
+ "value": "152525"
+ },
+ {
+ "label": "西乌珠穆沁旗",
+ "value": "152526"
+ },
+ {
+ "label": "太仆寺旗",
+ "value": "152527"
+ },
+ {
+ "label": "镶黄旗",
+ "value": "152528"
+ },
+ {
+ "label": "正镶白旗",
+ "value": "152529"
+ },
+ {
+ "label": "正蓝旗",
+ "value": "152530"
+ },
+ {
+ "label": "多伦县",
+ "value": "152531"
+ },
+ {
+ "label": "乌拉盖管委会",
+ "value": "152571"
+ }
+ ],
+ [{
+ "label": "阿拉善左旗",
+ "value": "152921"
+ },
+ {
+ "label": "阿拉善右旗",
+ "value": "152922"
+ },
+ {
+ "label": "额济纳旗",
+ "value": "152923"
+ },
+ {
+ "label": "内蒙古阿拉善经济开发区",
+ "value": "152971"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "和平区",
+ "value": "210102"
+ },
+ {
+ "label": "沈河区",
+ "value": "210103"
+ },
+ {
+ "label": "大东区",
+ "value": "210104"
+ },
+ {
+ "label": "皇姑区",
+ "value": "210105"
+ },
+ {
+ "label": "铁西区",
+ "value": "210106"
+ },
+ {
+ "label": "苏家屯区",
+ "value": "210111"
+ },
+ {
+ "label": "浑南区",
+ "value": "210112"
+ },
+ {
+ "label": "沈北新区",
+ "value": "210113"
+ },
+ {
+ "label": "于洪区",
+ "value": "210114"
+ },
+ {
+ "label": "辽中区",
+ "value": "210115"
+ },
+ {
+ "label": "康平县",
+ "value": "210123"
+ },
+ {
+ "label": "法库县",
+ "value": "210124"
+ },
+ {
+ "label": "新民市",
+ "value": "210181"
+ }
+ ],
+ [{
+ "label": "中山区",
+ "value": "210202"
+ },
+ {
+ "label": "西岗区",
+ "value": "210203"
+ },
+ {
+ "label": "沙河口区",
+ "value": "210204"
+ },
+ {
+ "label": "甘井子区",
+ "value": "210211"
+ },
+ {
+ "label": "旅顺口区",
+ "value": "210212"
+ },
+ {
+ "label": "金州区",
+ "value": "210213"
+ },
+ {
+ "label": "普兰店区",
+ "value": "210214"
+ },
+ {
+ "label": "长海县",
+ "value": "210224"
+ },
+ {
+ "label": "瓦房店市",
+ "value": "210281"
+ },
+ {
+ "label": "庄河市",
+ "value": "210283"
+ }
+ ],
+ [{
+ "label": "铁东区",
+ "value": "210302"
+ },
+ {
+ "label": "铁西区",
+ "value": "210303"
+ },
+ {
+ "label": "立山区",
+ "value": "210304"
+ },
+ {
+ "label": "千山区",
+ "value": "210311"
+ },
+ {
+ "label": "台安县",
+ "value": "210321"
+ },
+ {
+ "label": "岫岩满族自治县",
+ "value": "210323"
+ },
+ {
+ "label": "海城市",
+ "value": "210381"
+ }
+ ],
+ [{
+ "label": "新抚区",
+ "value": "210402"
+ },
+ {
+ "label": "东洲区",
+ "value": "210403"
+ },
+ {
+ "label": "望花区",
+ "value": "210404"
+ },
+ {
+ "label": "顺城区",
+ "value": "210411"
+ },
+ {
+ "label": "抚顺县",
+ "value": "210421"
+ },
+ {
+ "label": "新宾满族自治县",
+ "value": "210422"
+ },
+ {
+ "label": "清原满族自治县",
+ "value": "210423"
+ }
+ ],
+ [{
+ "label": "平山区",
+ "value": "210502"
+ },
+ {
+ "label": "溪湖区",
+ "value": "210503"
+ },
+ {
+ "label": "明山区",
+ "value": "210504"
+ },
+ {
+ "label": "南芬区",
+ "value": "210505"
+ },
+ {
+ "label": "本溪满族自治县",
+ "value": "210521"
+ },
+ {
+ "label": "桓仁满族自治县",
+ "value": "210522"
+ }
+ ],
+ [{
+ "label": "元宝区",
+ "value": "210602"
+ },
+ {
+ "label": "振兴区",
+ "value": "210603"
+ },
+ {
+ "label": "振安区",
+ "value": "210604"
+ },
+ {
+ "label": "宽甸满族自治县",
+ "value": "210624"
+ },
+ {
+ "label": "东港市",
+ "value": "210681"
+ },
+ {
+ "label": "凤城市",
+ "value": "210682"
+ }
+ ],
+ [{
+ "label": "古塔区",
+ "value": "210702"
+ },
+ {
+ "label": "凌河区",
+ "value": "210703"
+ },
+ {
+ "label": "太和区",
+ "value": "210711"
+ },
+ {
+ "label": "黑山县",
+ "value": "210726"
+ },
+ {
+ "label": "义县",
+ "value": "210727"
+ },
+ {
+ "label": "凌海市",
+ "value": "210781"
+ },
+ {
+ "label": "北镇市",
+ "value": "210782"
+ }
+ ],
+ [{
+ "label": "站前区",
+ "value": "210802"
+ },
+ {
+ "label": "西市区",
+ "value": "210803"
+ },
+ {
+ "label": "鲅鱼圈区",
+ "value": "210804"
+ },
+ {
+ "label": "老边区",
+ "value": "210811"
+ },
+ {
+ "label": "盖州市",
+ "value": "210881"
+ },
+ {
+ "label": "大石桥市",
+ "value": "210882"
+ }
+ ],
+ [{
+ "label": "海州区",
+ "value": "210902"
+ },
+ {
+ "label": "新邱区",
+ "value": "210903"
+ },
+ {
+ "label": "太平区",
+ "value": "210904"
+ },
+ {
+ "label": "清河门区",
+ "value": "210905"
+ },
+ {
+ "label": "细河区",
+ "value": "210911"
+ },
+ {
+ "label": "阜新蒙古族自治县",
+ "value": "210921"
+ },
+ {
+ "label": "彰武县",
+ "value": "210922"
+ }
+ ],
+ [{
+ "label": "白塔区",
+ "value": "211002"
+ },
+ {
+ "label": "文圣区",
+ "value": "211003"
+ },
+ {
+ "label": "宏伟区",
+ "value": "211004"
+ },
+ {
+ "label": "弓长岭区",
+ "value": "211005"
+ },
+ {
+ "label": "太子河区",
+ "value": "211011"
+ },
+ {
+ "label": "辽阳县",
+ "value": "211021"
+ },
+ {
+ "label": "灯塔市",
+ "value": "211081"
+ }
+ ],
+ [{
+ "label": "双台子区",
+ "value": "211102"
+ },
+ {
+ "label": "兴隆台区",
+ "value": "211103"
+ },
+ {
+ "label": "大洼区",
+ "value": "211104"
+ },
+ {
+ "label": "盘山县",
+ "value": "211122"
+ }
+ ],
+ [{
+ "label": "银州区",
+ "value": "211202"
+ },
+ {
+ "label": "清河区",
+ "value": "211204"
+ },
+ {
+ "label": "铁岭县",
+ "value": "211221"
+ },
+ {
+ "label": "西丰县",
+ "value": "211223"
+ },
+ {
+ "label": "昌图县",
+ "value": "211224"
+ },
+ {
+ "label": "调兵山市",
+ "value": "211281"
+ },
+ {
+ "label": "开原市",
+ "value": "211282"
+ }
+ ],
+ [{
+ "label": "双塔区",
+ "value": "211302"
+ },
+ {
+ "label": "龙城区",
+ "value": "211303"
+ },
+ {
+ "label": "朝阳县",
+ "value": "211321"
+ },
+ {
+ "label": "建平县",
+ "value": "211322"
+ },
+ {
+ "label": "喀喇沁左翼蒙古族自治县",
+ "value": "211324"
+ },
+ {
+ "label": "北票市",
+ "value": "211381"
+ },
+ {
+ "label": "凌源市",
+ "value": "211382"
+ }
+ ],
+ [{
+ "label": "连山区",
+ "value": "211402"
+ },
+ {
+ "label": "龙港区",
+ "value": "211403"
+ },
+ {
+ "label": "南票区",
+ "value": "211404"
+ },
+ {
+ "label": "绥中县",
+ "value": "211421"
+ },
+ {
+ "label": "建昌县",
+ "value": "211422"
+ },
+ {
+ "label": "兴城市",
+ "value": "211481"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "南关区",
+ "value": "220102"
+ },
+ {
+ "label": "宽城区",
+ "value": "220103"
+ },
+ {
+ "label": "朝阳区",
+ "value": "220104"
+ },
+ {
+ "label": "二道区",
+ "value": "220105"
+ },
+ {
+ "label": "绿园区",
+ "value": "220106"
+ },
+ {
+ "label": "双阳区",
+ "value": "220112"
+ },
+ {
+ "label": "九台区",
+ "value": "220113"
+ },
+ {
+ "label": "农安县",
+ "value": "220122"
+ },
+ {
+ "label": "长春经济技术开发区",
+ "value": "220171"
+ },
+ {
+ "label": "长春净月高新技术产业开发区",
+ "value": "220172"
+ },
+ {
+ "label": "长春高新技术产业开发区",
+ "value": "220173"
+ },
+ {
+ "label": "长春汽车经济技术开发区",
+ "value": "220174"
+ },
+ {
+ "label": "榆树市",
+ "value": "220182"
+ },
+ {
+ "label": "德惠市",
+ "value": "220183"
+ }
+ ],
+ [{
+ "label": "昌邑区",
+ "value": "220202"
+ },
+ {
+ "label": "龙潭区",
+ "value": "220203"
+ },
+ {
+ "label": "船营区",
+ "value": "220204"
+ },
+ {
+ "label": "丰满区",
+ "value": "220211"
+ },
+ {
+ "label": "永吉县",
+ "value": "220221"
+ },
+ {
+ "label": "吉林经济开发区",
+ "value": "220271"
+ },
+ {
+ "label": "吉林高新技术产业开发区",
+ "value": "220272"
+ },
+ {
+ "label": "吉林中国新加坡食品区",
+ "value": "220273"
+ },
+ {
+ "label": "蛟河市",
+ "value": "220281"
+ },
+ {
+ "label": "桦甸市",
+ "value": "220282"
+ },
+ {
+ "label": "舒兰市",
+ "value": "220283"
+ },
+ {
+ "label": "磐石市",
+ "value": "220284"
+ }
+ ],
+ [{
+ "label": "铁西区",
+ "value": "220302"
+ },
+ {
+ "label": "铁东区",
+ "value": "220303"
+ },
+ {
+ "label": "梨树县",
+ "value": "220322"
+ },
+ {
+ "label": "伊通满族自治县",
+ "value": "220323"
+ },
+ {
+ "label": "公主岭市",
+ "value": "220381"
+ },
+ {
+ "label": "双辽市",
+ "value": "220382"
+ }
+ ],
+ [{
+ "label": "龙山区",
+ "value": "220402"
+ },
+ {
+ "label": "西安区",
+ "value": "220403"
+ },
+ {
+ "label": "东丰县",
+ "value": "220421"
+ },
+ {
+ "label": "东辽县",
+ "value": "220422"
+ }
+ ],
+ [{
+ "label": "东昌区",
+ "value": "220502"
+ },
+ {
+ "label": "二道江区",
+ "value": "220503"
+ },
+ {
+ "label": "通化县",
+ "value": "220521"
+ },
+ {
+ "label": "辉南县",
+ "value": "220523"
+ },
+ {
+ "label": "柳河县",
+ "value": "220524"
+ },
+ {
+ "label": "梅河口市",
+ "value": "220581"
+ },
+ {
+ "label": "集安市",
+ "value": "220582"
+ }
+ ],
+ [{
+ "label": "浑江区",
+ "value": "220602"
+ },
+ {
+ "label": "江源区",
+ "value": "220605"
+ },
+ {
+ "label": "抚松县",
+ "value": "220621"
+ },
+ {
+ "label": "靖宇县",
+ "value": "220622"
+ },
+ {
+ "label": "长白朝鲜族自治县",
+ "value": "220623"
+ },
+ {
+ "label": "临江市",
+ "value": "220681"
+ }
+ ],
+ [{
+ "label": "宁江区",
+ "value": "220702"
+ },
+ {
+ "label": "前郭尔罗斯蒙古族自治县",
+ "value": "220721"
+ },
+ {
+ "label": "长岭县",
+ "value": "220722"
+ },
+ {
+ "label": "乾安县",
+ "value": "220723"
+ },
+ {
+ "label": "吉林松原经济开发区",
+ "value": "220771"
+ },
+ {
+ "label": "扶余市",
+ "value": "220781"
+ }
+ ],
+ [{
+ "label": "洮北区",
+ "value": "220802"
+ },
+ {
+ "label": "镇赉县",
+ "value": "220821"
+ },
+ {
+ "label": "通榆县",
+ "value": "220822"
+ },
+ {
+ "label": "吉林白城经济开发区",
+ "value": "220871"
+ },
+ {
+ "label": "洮南市",
+ "value": "220881"
+ },
+ {
+ "label": "大安市",
+ "value": "220882"
+ }
+ ],
+ [{
+ "label": "延吉市",
+ "value": "222401"
+ },
+ {
+ "label": "图们市",
+ "value": "222402"
+ },
+ {
+ "label": "敦化市",
+ "value": "222403"
+ },
+ {
+ "label": "珲春市",
+ "value": "222404"
+ },
+ {
+ "label": "龙井市",
+ "value": "222405"
+ },
+ {
+ "label": "和龙市",
+ "value": "222406"
+ },
+ {
+ "label": "汪清县",
+ "value": "222424"
+ },
+ {
+ "label": "安图县",
+ "value": "222426"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "道里区",
+ "value": "230102"
+ },
+ {
+ "label": "南岗区",
+ "value": "230103"
+ },
+ {
+ "label": "道外区",
+ "value": "230104"
+ },
+ {
+ "label": "平房区",
+ "value": "230108"
+ },
+ {
+ "label": "松北区",
+ "value": "230109"
+ },
+ {
+ "label": "香坊区",
+ "value": "230110"
+ },
+ {
+ "label": "呼兰区",
+ "value": "230111"
+ },
+ {
+ "label": "阿城区",
+ "value": "230112"
+ },
+ {
+ "label": "双城区",
+ "value": "230113"
+ },
+ {
+ "label": "依兰县",
+ "value": "230123"
+ },
+ {
+ "label": "方正县",
+ "value": "230124"
+ },
+ {
+ "label": "宾县",
+ "value": "230125"
+ },
+ {
+ "label": "巴彦县",
+ "value": "230126"
+ },
+ {
+ "label": "木兰县",
+ "value": "230127"
+ },
+ {
+ "label": "通河县",
+ "value": "230128"
+ },
+ {
+ "label": "延寿县",
+ "value": "230129"
+ },
+ {
+ "label": "尚志市",
+ "value": "230183"
+ },
+ {
+ "label": "五常市",
+ "value": "230184"
+ }
+ ],
+ [{
+ "label": "龙沙区",
+ "value": "230202"
+ },
+ {
+ "label": "建华区",
+ "value": "230203"
+ },
+ {
+ "label": "铁锋区",
+ "value": "230204"
+ },
+ {
+ "label": "昂昂溪区",
+ "value": "230205"
+ },
+ {
+ "label": "富拉尔基区",
+ "value": "230206"
+ },
+ {
+ "label": "碾子山区",
+ "value": "230207"
+ },
+ {
+ "label": "梅里斯达斡尔族区",
+ "value": "230208"
+ },
+ {
+ "label": "龙江县",
+ "value": "230221"
+ },
+ {
+ "label": "依安县",
+ "value": "230223"
+ },
+ {
+ "label": "泰来县",
+ "value": "230224"
+ },
+ {
+ "label": "甘南县",
+ "value": "230225"
+ },
+ {
+ "label": "富裕县",
+ "value": "230227"
+ },
+ {
+ "label": "克山县",
+ "value": "230229"
+ },
+ {
+ "label": "克东县",
+ "value": "230230"
+ },
+ {
+ "label": "拜泉县",
+ "value": "230231"
+ },
+ {
+ "label": "讷河市",
+ "value": "230281"
+ }
+ ],
+ [{
+ "label": "鸡冠区",
+ "value": "230302"
+ },
+ {
+ "label": "恒山区",
+ "value": "230303"
+ },
+ {
+ "label": "滴道区",
+ "value": "230304"
+ },
+ {
+ "label": "梨树区",
+ "value": "230305"
+ },
+ {
+ "label": "城子河区",
+ "value": "230306"
+ },
+ {
+ "label": "麻山区",
+ "value": "230307"
+ },
+ {
+ "label": "鸡东县",
+ "value": "230321"
+ },
+ {
+ "label": "虎林市",
+ "value": "230381"
+ },
+ {
+ "label": "密山市",
+ "value": "230382"
+ }
+ ],
+ [{
+ "label": "向阳区",
+ "value": "230402"
+ },
+ {
+ "label": "工农区",
+ "value": "230403"
+ },
+ {
+ "label": "南山区",
+ "value": "230404"
+ },
+ {
+ "label": "兴安区",
+ "value": "230405"
+ },
+ {
+ "label": "东山区",
+ "value": "230406"
+ },
+ {
+ "label": "兴山区",
+ "value": "230407"
+ },
+ {
+ "label": "萝北县",
+ "value": "230421"
+ },
+ {
+ "label": "绥滨县",
+ "value": "230422"
+ }
+ ],
+ [{
+ "label": "尖山区",
+ "value": "230502"
+ },
+ {
+ "label": "岭东区",
+ "value": "230503"
+ },
+ {
+ "label": "四方台区",
+ "value": "230505"
+ },
+ {
+ "label": "宝山区",
+ "value": "230506"
+ },
+ {
+ "label": "集贤县",
+ "value": "230521"
+ },
+ {
+ "label": "友谊县",
+ "value": "230522"
+ },
+ {
+ "label": "宝清县",
+ "value": "230523"
+ },
+ {
+ "label": "饶河县",
+ "value": "230524"
+ }
+ ],
+ [{
+ "label": "萨尔图区",
+ "value": "230602"
+ },
+ {
+ "label": "龙凤区",
+ "value": "230603"
+ },
+ {
+ "label": "让胡路区",
+ "value": "230604"
+ },
+ {
+ "label": "红岗区",
+ "value": "230605"
+ },
+ {
+ "label": "大同区",
+ "value": "230606"
+ },
+ {
+ "label": "肇州县",
+ "value": "230621"
+ },
+ {
+ "label": "肇源县",
+ "value": "230622"
+ },
+ {
+ "label": "林甸县",
+ "value": "230623"
+ },
+ {
+ "label": "杜尔伯特蒙古族自治县",
+ "value": "230624"
+ },
+ {
+ "label": "大庆高新技术产业开发区",
+ "value": "230671"
+ }
+ ],
+ [{
+ "label": "伊春区",
+ "value": "230702"
+ },
+ {
+ "label": "南岔区",
+ "value": "230703"
+ },
+ {
+ "label": "友好区",
+ "value": "230704"
+ },
+ {
+ "label": "西林区",
+ "value": "230705"
+ },
+ {
+ "label": "翠峦区",
+ "value": "230706"
+ },
+ {
+ "label": "新青区",
+ "value": "230707"
+ },
+ {
+ "label": "美溪区",
+ "value": "230708"
+ },
+ {
+ "label": "金山屯区",
+ "value": "230709"
+ },
+ {
+ "label": "五营区",
+ "value": "230710"
+ },
+ {
+ "label": "乌马河区",
+ "value": "230711"
+ },
+ {
+ "label": "汤旺河区",
+ "value": "230712"
+ },
+ {
+ "label": "带岭区",
+ "value": "230713"
+ },
+ {
+ "label": "乌伊岭区",
+ "value": "230714"
+ },
+ {
+ "label": "红星区",
+ "value": "230715"
+ },
+ {
+ "label": "上甘岭区",
+ "value": "230716"
+ },
+ {
+ "label": "嘉荫县",
+ "value": "230722"
+ },
+ {
+ "label": "铁力市",
+ "value": "230781"
+ }
+ ],
+ [{
+ "label": "向阳区",
+ "value": "230803"
+ },
+ {
+ "label": "前进区",
+ "value": "230804"
+ },
+ {
+ "label": "东风区",
+ "value": "230805"
+ },
+ {
+ "label": "郊区",
+ "value": "230811"
+ },
+ {
+ "label": "桦南县",
+ "value": "230822"
+ },
+ {
+ "label": "桦川县",
+ "value": "230826"
+ },
+ {
+ "label": "汤原县",
+ "value": "230828"
+ },
+ {
+ "label": "同江市",
+ "value": "230881"
+ },
+ {
+ "label": "富锦市",
+ "value": "230882"
+ },
+ {
+ "label": "抚远市",
+ "value": "230883"
+ }
+ ],
+ [{
+ "label": "新兴区",
+ "value": "230902"
+ },
+ {
+ "label": "桃山区",
+ "value": "230903"
+ },
+ {
+ "label": "茄子河区",
+ "value": "230904"
+ },
+ {
+ "label": "勃利县",
+ "value": "230921"
+ }
+ ],
+ [{
+ "label": "东安区",
+ "value": "231002"
+ },
+ {
+ "label": "阳明区",
+ "value": "231003"
+ },
+ {
+ "label": "爱民区",
+ "value": "231004"
+ },
+ {
+ "label": "西安区",
+ "value": "231005"
+ },
+ {
+ "label": "林口县",
+ "value": "231025"
+ },
+ {
+ "label": "牡丹江经济技术开发区",
+ "value": "231071"
+ },
+ {
+ "label": "绥芬河市",
+ "value": "231081"
+ },
+ {
+ "label": "海林市",
+ "value": "231083"
+ },
+ {
+ "label": "宁安市",
+ "value": "231084"
+ },
+ {
+ "label": "穆棱市",
+ "value": "231085"
+ },
+ {
+ "label": "东宁市",
+ "value": "231086"
+ }
+ ],
+ [{
+ "label": "爱辉区",
+ "value": "231102"
+ },
+ {
+ "label": "嫩江县",
+ "value": "231121"
+ },
+ {
+ "label": "逊克县",
+ "value": "231123"
+ },
+ {
+ "label": "孙吴县",
+ "value": "231124"
+ },
+ {
+ "label": "北安市",
+ "value": "231181"
+ },
+ {
+ "label": "五大连池市",
+ "value": "231182"
+ }
+ ],
+ [{
+ "label": "北林区",
+ "value": "231202"
+ },
+ {
+ "label": "望奎县",
+ "value": "231221"
+ },
+ {
+ "label": "兰西县",
+ "value": "231222"
+ },
+ {
+ "label": "青冈县",
+ "value": "231223"
+ },
+ {
+ "label": "庆安县",
+ "value": "231224"
+ },
+ {
+ "label": "明水县",
+ "value": "231225"
+ },
+ {
+ "label": "绥棱县",
+ "value": "231226"
+ },
+ {
+ "label": "安达市",
+ "value": "231281"
+ },
+ {
+ "label": "肇东市",
+ "value": "231282"
+ },
+ {
+ "label": "海伦市",
+ "value": "231283"
+ }
+ ],
+ [{
+ "label": "加格达奇区",
+ "value": "232701"
+ },
+ {
+ "label": "松岭区",
+ "value": "232702"
+ },
+ {
+ "label": "新林区",
+ "value": "232703"
+ },
+ {
+ "label": "呼中区",
+ "value": "232704"
+ },
+ {
+ "label": "呼玛县",
+ "value": "232721"
+ },
+ {
+ "label": "塔河县",
+ "value": "232722"
+ },
+ {
+ "label": "漠河县",
+ "value": "232723"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "黄浦区",
+ "value": "310101"
+ },
+ {
+ "label": "徐汇区",
+ "value": "310104"
+ },
+ {
+ "label": "长宁区",
+ "value": "310105"
+ },
+ {
+ "label": "静安区",
+ "value": "310106"
+ },
+ {
+ "label": "普陀区",
+ "value": "310107"
+ },
+ {
+ "label": "虹口区",
+ "value": "310109"
+ },
+ {
+ "label": "杨浦区",
+ "value": "310110"
+ },
+ {
+ "label": "闵行区",
+ "value": "310112"
+ },
+ {
+ "label": "宝山区",
+ "value": "310113"
+ },
+ {
+ "label": "嘉定区",
+ "value": "310114"
+ },
+ {
+ "label": "浦东新区",
+ "value": "310115"
+ },
+ {
+ "label": "金山区",
+ "value": "310116"
+ },
+ {
+ "label": "松江区",
+ "value": "310117"
+ },
+ {
+ "label": "青浦区",
+ "value": "310118"
+ },
+ {
+ "label": "奉贤区",
+ "value": "310120"
+ },
+ {
+ "label": "崇明区",
+ "value": "310151"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "玄武区",
+ "value": "320102"
+ },
+ {
+ "label": "秦淮区",
+ "value": "320104"
+ },
+ {
+ "label": "建邺区",
+ "value": "320105"
+ },
+ {
+ "label": "鼓楼区",
+ "value": "320106"
+ },
+ {
+ "label": "浦口区",
+ "value": "320111"
+ },
+ {
+ "label": "栖霞区",
+ "value": "320113"
+ },
+ {
+ "label": "雨花台区",
+ "value": "320114"
+ },
+ {
+ "label": "江宁区",
+ "value": "320115"
+ },
+ {
+ "label": "六合区",
+ "value": "320116"
+ },
+ {
+ "label": "溧水区",
+ "value": "320117"
+ },
+ {
+ "label": "高淳区",
+ "value": "320118"
+ }
+ ],
+ [{
+ "label": "锡山区",
+ "value": "320205"
+ },
+ {
+ "label": "惠山区",
+ "value": "320206"
+ },
+ {
+ "label": "滨湖区",
+ "value": "320211"
+ },
+ {
+ "label": "梁溪区",
+ "value": "320213"
+ },
+ {
+ "label": "新吴区",
+ "value": "320214"
+ },
+ {
+ "label": "江阴市",
+ "value": "320281"
+ },
+ {
+ "label": "宜兴市",
+ "value": "320282"
+ }
+ ],
+ [{
+ "label": "鼓楼区",
+ "value": "320302"
+ },
+ {
+ "label": "云龙区",
+ "value": "320303"
+ },
+ {
+ "label": "贾汪区",
+ "value": "320305"
+ },
+ {
+ "label": "泉山区",
+ "value": "320311"
+ },
+ {
+ "label": "铜山区",
+ "value": "320312"
+ },
+ {
+ "label": "丰县",
+ "value": "320321"
+ },
+ {
+ "label": "沛县",
+ "value": "320322"
+ },
+ {
+ "label": "睢宁县",
+ "value": "320324"
+ },
+ {
+ "label": "徐州经济技术开发区",
+ "value": "320371"
+ },
+ {
+ "label": "新沂市",
+ "value": "320381"
+ },
+ {
+ "label": "邳州市",
+ "value": "320382"
+ }
+ ],
+ [{
+ "label": "天宁区",
+ "value": "320402"
+ },
+ {
+ "label": "钟楼区",
+ "value": "320404"
+ },
+ {
+ "label": "新北区",
+ "value": "320411"
+ },
+ {
+ "label": "武进区",
+ "value": "320412"
+ },
+ {
+ "label": "金坛区",
+ "value": "320413"
+ },
+ {
+ "label": "溧阳市",
+ "value": "320481"
+ }
+ ],
+ [{
+ "label": "虎丘区",
+ "value": "320505"
+ },
+ {
+ "label": "吴中区",
+ "value": "320506"
+ },
+ {
+ "label": "相城区",
+ "value": "320507"
+ },
+ {
+ "label": "姑苏区",
+ "value": "320508"
+ },
+ {
+ "label": "吴江区",
+ "value": "320509"
+ },
+ {
+ "label": "苏州工业园区",
+ "value": "320571"
+ },
+ {
+ "label": "常熟市",
+ "value": "320581"
+ },
+ {
+ "label": "张家港市",
+ "value": "320582"
+ },
+ {
+ "label": "昆山市",
+ "value": "320583"
+ },
+ {
+ "label": "太仓市",
+ "value": "320585"
+ }
+ ],
+ [{
+ "label": "崇川区",
+ "value": "320602"
+ },
+ {
+ "label": "港闸区",
+ "value": "320611"
+ },
+ {
+ "label": "通州区",
+ "value": "320612"
+ },
+ {
+ "label": "海安县",
+ "value": "320621"
+ },
+ {
+ "label": "如东县",
+ "value": "320623"
+ },
+ {
+ "label": "南通经济技术开发区",
+ "value": "320671"
+ },
+ {
+ "label": "启东市",
+ "value": "320681"
+ },
+ {
+ "label": "如皋市",
+ "value": "320682"
+ },
+ {
+ "label": "海门市",
+ "value": "320684"
+ }
+ ],
+ [{
+ "label": "连云区",
+ "value": "320703"
+ },
+ {
+ "label": "海州区",
+ "value": "320706"
+ },
+ {
+ "label": "赣榆区",
+ "value": "320707"
+ },
+ {
+ "label": "东海县",
+ "value": "320722"
+ },
+ {
+ "label": "灌云县",
+ "value": "320723"
+ },
+ {
+ "label": "灌南县",
+ "value": "320724"
+ },
+ {
+ "label": "连云港经济技术开发区",
+ "value": "320771"
+ },
+ {
+ "label": "连云港高新技术产业开发区",
+ "value": "320772"
+ }
+ ],
+ [{
+ "label": "淮安区",
+ "value": "320803"
+ },
+ {
+ "label": "淮阴区",
+ "value": "320804"
+ },
+ {
+ "label": "清江浦区",
+ "value": "320812"
+ },
+ {
+ "label": "洪泽区",
+ "value": "320813"
+ },
+ {
+ "label": "涟水县",
+ "value": "320826"
+ },
+ {
+ "label": "盱眙县",
+ "value": "320830"
+ },
+ {
+ "label": "金湖县",
+ "value": "320831"
+ },
+ {
+ "label": "淮安经济技术开发区",
+ "value": "320871"
+ }
+ ],
+ [{
+ "label": "亭湖区",
+ "value": "320902"
+ },
+ {
+ "label": "盐都区",
+ "value": "320903"
+ },
+ {
+ "label": "大丰区",
+ "value": "320904"
+ },
+ {
+ "label": "响水县",
+ "value": "320921"
+ },
+ {
+ "label": "滨海县",
+ "value": "320922"
+ },
+ {
+ "label": "阜宁县",
+ "value": "320923"
+ },
+ {
+ "label": "射阳县",
+ "value": "320924"
+ },
+ {
+ "label": "建湖县",
+ "value": "320925"
+ },
+ {
+ "label": "盐城经济技术开发区",
+ "value": "320971"
+ },
+ {
+ "label": "东台市",
+ "value": "320981"
+ }
+ ],
+ [{
+ "label": "广陵区",
+ "value": "321002"
+ },
+ {
+ "label": "邗江区",
+ "value": "321003"
+ },
+ {
+ "label": "江都区",
+ "value": "321012"
+ },
+ {
+ "label": "宝应县",
+ "value": "321023"
+ },
+ {
+ "label": "扬州经济技术开发区",
+ "value": "321071"
+ },
+ {
+ "label": "仪征市",
+ "value": "321081"
+ },
+ {
+ "label": "高邮市",
+ "value": "321084"
+ }
+ ],
+ [{
+ "label": "京口区",
+ "value": "321102"
+ },
+ {
+ "label": "润州区",
+ "value": "321111"
+ },
+ {
+ "label": "丹徒区",
+ "value": "321112"
+ },
+ {
+ "label": "镇江新区",
+ "value": "321171"
+ },
+ {
+ "label": "丹阳市",
+ "value": "321181"
+ },
+ {
+ "label": "扬中市",
+ "value": "321182"
+ },
+ {
+ "label": "句容市",
+ "value": "321183"
+ }
+ ],
+ [{
+ "label": "海陵区",
+ "value": "321202"
+ },
+ {
+ "label": "高港区",
+ "value": "321203"
+ },
+ {
+ "label": "姜堰区",
+ "value": "321204"
+ },
+ {
+ "label": "泰州医药高新技术产业开发区",
+ "value": "321271"
+ },
+ {
+ "label": "兴化市",
+ "value": "321281"
+ },
+ {
+ "label": "靖江市",
+ "value": "321282"
+ },
+ {
+ "label": "泰兴市",
+ "value": "321283"
+ }
+ ],
+ [{
+ "label": "宿城区",
+ "value": "321302"
+ },
+ {
+ "label": "宿豫区",
+ "value": "321311"
+ },
+ {
+ "label": "沭阳县",
+ "value": "321322"
+ },
+ {
+ "label": "泗阳县",
+ "value": "321323"
+ },
+ {
+ "label": "泗洪县",
+ "value": "321324"
+ },
+ {
+ "label": "宿迁经济技术开发区",
+ "value": "321371"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "上城区",
+ "value": "330102"
+ },
+ {
+ "label": "下城区",
+ "value": "330103"
+ },
+ {
+ "label": "江干区",
+ "value": "330104"
+ },
+ {
+ "label": "拱墅区",
+ "value": "330105"
+ },
+ {
+ "label": "西湖区",
+ "value": "330106"
+ },
+ {
+ "label": "滨江区",
+ "value": "330108"
+ },
+ {
+ "label": "萧山区",
+ "value": "330109"
+ },
+ {
+ "label": "余杭区",
+ "value": "330110"
+ },
+ {
+ "label": "富阳区",
+ "value": "330111"
+ },
+ {
+ "label": "临安区",
+ "value": "330112"
+ },
+ {
+ "label": "桐庐县",
+ "value": "330122"
+ },
+ {
+ "label": "淳安县",
+ "value": "330127"
+ },
+ {
+ "label": "建德市",
+ "value": "330182"
+ }
+ ],
+ [{
+ "label": "海曙区",
+ "value": "330203"
+ },
+ {
+ "label": "江北区",
+ "value": "330205"
+ },
+ {
+ "label": "北仑区",
+ "value": "330206"
+ },
+ {
+ "label": "镇海区",
+ "value": "330211"
+ },
+ {
+ "label": "鄞州区",
+ "value": "330212"
+ },
+ {
+ "label": "奉化区",
+ "value": "330213"
+ },
+ {
+ "label": "象山县",
+ "value": "330225"
+ },
+ {
+ "label": "宁海县",
+ "value": "330226"
+ },
+ {
+ "label": "余姚市",
+ "value": "330281"
+ },
+ {
+ "label": "慈溪市",
+ "value": "330282"
+ }
+ ],
+ [{
+ "label": "鹿城区",
+ "value": "330302"
+ },
+ {
+ "label": "龙湾区",
+ "value": "330303"
+ },
+ {
+ "label": "瓯海区",
+ "value": "330304"
+ },
+ {
+ "label": "洞头区",
+ "value": "330305"
+ },
+ {
+ "label": "永嘉县",
+ "value": "330324"
+ },
+ {
+ "label": "平阳县",
+ "value": "330326"
+ },
+ {
+ "label": "苍南县",
+ "value": "330327"
+ },
+ {
+ "label": "文成县",
+ "value": "330328"
+ },
+ {
+ "label": "泰顺县",
+ "value": "330329"
+ },
+ {
+ "label": "温州经济技术开发区",
+ "value": "330371"
+ },
+ {
+ "label": "瑞安市",
+ "value": "330381"
+ },
+ {
+ "label": "乐清市",
+ "value": "330382"
+ }
+ ],
+ [{
+ "label": "南湖区",
+ "value": "330402"
+ },
+ {
+ "label": "秀洲区",
+ "value": "330411"
+ },
+ {
+ "label": "嘉善县",
+ "value": "330421"
+ },
+ {
+ "label": "海盐县",
+ "value": "330424"
+ },
+ {
+ "label": "海宁市",
+ "value": "330481"
+ },
+ {
+ "label": "平湖市",
+ "value": "330482"
+ },
+ {
+ "label": "桐乡市",
+ "value": "330483"
+ }
+ ],
+ [{
+ "label": "吴兴区",
+ "value": "330502"
+ },
+ {
+ "label": "南浔区",
+ "value": "330503"
+ },
+ {
+ "label": "德清县",
+ "value": "330521"
+ },
+ {
+ "label": "长兴县",
+ "value": "330522"
+ },
+ {
+ "label": "安吉县",
+ "value": "330523"
+ }
+ ],
+ [{
+ "label": "越城区",
+ "value": "330602"
+ },
+ {
+ "label": "柯桥区",
+ "value": "330603"
+ },
+ {
+ "label": "上虞区",
+ "value": "330604"
+ },
+ {
+ "label": "新昌县",
+ "value": "330624"
+ },
+ {
+ "label": "诸暨市",
+ "value": "330681"
+ },
+ {
+ "label": "嵊州市",
+ "value": "330683"
+ }
+ ],
+ [{
+ "label": "婺城区",
+ "value": "330702"
+ },
+ {
+ "label": "金东区",
+ "value": "330703"
+ },
+ {
+ "label": "武义县",
+ "value": "330723"
+ },
+ {
+ "label": "浦江县",
+ "value": "330726"
+ },
+ {
+ "label": "磐安县",
+ "value": "330727"
+ },
+ {
+ "label": "兰溪市",
+ "value": "330781"
+ },
+ {
+ "label": "义乌市",
+ "value": "330782"
+ },
+ {
+ "label": "东阳市",
+ "value": "330783"
+ },
+ {
+ "label": "永康市",
+ "value": "330784"
+ }
+ ],
+ [{
+ "label": "柯城区",
+ "value": "330802"
+ },
+ {
+ "label": "衢江区",
+ "value": "330803"
+ },
+ {
+ "label": "常山县",
+ "value": "330822"
+ },
+ {
+ "label": "开化县",
+ "value": "330824"
+ },
+ {
+ "label": "龙游县",
+ "value": "330825"
+ },
+ {
+ "label": "江山市",
+ "value": "330881"
+ }
+ ],
+ [{
+ "label": "定海区",
+ "value": "330902"
+ },
+ {
+ "label": "普陀区",
+ "value": "330903"
+ },
+ {
+ "label": "岱山县",
+ "value": "330921"
+ },
+ {
+ "label": "嵊泗县",
+ "value": "330922"
+ }
+ ],
+ [{
+ "label": "椒江区",
+ "value": "331002"
+ },
+ {
+ "label": "黄岩区",
+ "value": "331003"
+ },
+ {
+ "label": "路桥区",
+ "value": "331004"
+ },
+ {
+ "label": "三门县",
+ "value": "331022"
+ },
+ {
+ "label": "天台县",
+ "value": "331023"
+ },
+ {
+ "label": "仙居县",
+ "value": "331024"
+ },
+ {
+ "label": "温岭市",
+ "value": "331081"
+ },
+ {
+ "label": "临海市",
+ "value": "331082"
+ },
+ {
+ "label": "玉环市",
+ "value": "331083"
+ }
+ ],
+ [{
+ "label": "莲都区",
+ "value": "331102"
+ },
+ {
+ "label": "青田县",
+ "value": "331121"
+ },
+ {
+ "label": "缙云县",
+ "value": "331122"
+ },
+ {
+ "label": "遂昌县",
+ "value": "331123"
+ },
+ {
+ "label": "松阳县",
+ "value": "331124"
+ },
+ {
+ "label": "云和县",
+ "value": "331125"
+ },
+ {
+ "label": "庆元县",
+ "value": "331126"
+ },
+ {
+ "label": "景宁畲族自治县",
+ "value": "331127"
+ },
+ {
+ "label": "龙泉市",
+ "value": "331181"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "瑶海区",
+ "value": "340102"
+ },
+ {
+ "label": "庐阳区",
+ "value": "340103"
+ },
+ {
+ "label": "蜀山区",
+ "value": "340104"
+ },
+ {
+ "label": "包河区",
+ "value": "340111"
+ },
+ {
+ "label": "长丰县",
+ "value": "340121"
+ },
+ {
+ "label": "肥东县",
+ "value": "340122"
+ },
+ {
+ "label": "肥西县",
+ "value": "340123"
+ },
+ {
+ "label": "庐江县",
+ "value": "340124"
+ },
+ {
+ "label": "合肥高新技术产业开发区",
+ "value": "340171"
+ },
+ {
+ "label": "合肥经济技术开发区",
+ "value": "340172"
+ },
+ {
+ "label": "合肥新站高新技术产业开发区",
+ "value": "340173"
+ },
+ {
+ "label": "巢湖市",
+ "value": "340181"
+ }
+ ],
+ [{
+ "label": "镜湖区",
+ "value": "340202"
+ },
+ {
+ "label": "弋江区",
+ "value": "340203"
+ },
+ {
+ "label": "鸠江区",
+ "value": "340207"
+ },
+ {
+ "label": "三山区",
+ "value": "340208"
+ },
+ {
+ "label": "芜湖县",
+ "value": "340221"
+ },
+ {
+ "label": "繁昌县",
+ "value": "340222"
+ },
+ {
+ "label": "南陵县",
+ "value": "340223"
+ },
+ {
+ "label": "无为县",
+ "value": "340225"
+ },
+ {
+ "label": "芜湖经济技术开发区",
+ "value": "340271"
+ },
+ {
+ "label": "安徽芜湖长江大桥经济开发区",
+ "value": "340272"
+ }
+ ],
+ [{
+ "label": "龙子湖区",
+ "value": "340302"
+ },
+ {
+ "label": "蚌山区",
+ "value": "340303"
+ },
+ {
+ "label": "禹会区",
+ "value": "340304"
+ },
+ {
+ "label": "淮上区",
+ "value": "340311"
+ },
+ {
+ "label": "怀远县",
+ "value": "340321"
+ },
+ {
+ "label": "五河县",
+ "value": "340322"
+ },
+ {
+ "label": "固镇县",
+ "value": "340323"
+ },
+ {
+ "label": "蚌埠市高新技术开发区",
+ "value": "340371"
+ },
+ {
+ "label": "蚌埠市经济开发区",
+ "value": "340372"
+ }
+ ],
+ [{
+ "label": "大通区",
+ "value": "340402"
+ },
+ {
+ "label": "田家庵区",
+ "value": "340403"
+ },
+ {
+ "label": "谢家集区",
+ "value": "340404"
+ },
+ {
+ "label": "八公山区",
+ "value": "340405"
+ },
+ {
+ "label": "潘集区",
+ "value": "340406"
+ },
+ {
+ "label": "凤台县",
+ "value": "340421"
+ },
+ {
+ "label": "寿县",
+ "value": "340422"
+ }
+ ],
+ [{
+ "label": "花山区",
+ "value": "340503"
+ },
+ {
+ "label": "雨山区",
+ "value": "340504"
+ },
+ {
+ "label": "博望区",
+ "value": "340506"
+ },
+ {
+ "label": "当涂县",
+ "value": "340521"
+ },
+ {
+ "label": "含山县",
+ "value": "340522"
+ },
+ {
+ "label": "和县",
+ "value": "340523"
+ }
+ ],
+ [{
+ "label": "杜集区",
+ "value": "340602"
+ },
+ {
+ "label": "相山区",
+ "value": "340603"
+ },
+ {
+ "label": "烈山区",
+ "value": "340604"
+ },
+ {
+ "label": "濉溪县",
+ "value": "340621"
+ }
+ ],
+ [{
+ "label": "铜官区",
+ "value": "340705"
+ },
+ {
+ "label": "义安区",
+ "value": "340706"
+ },
+ {
+ "label": "郊区",
+ "value": "340711"
+ },
+ {
+ "label": "枞阳县",
+ "value": "340722"
+ }
+ ],
+ [{
+ "label": "迎江区",
+ "value": "340802"
+ },
+ {
+ "label": "大观区",
+ "value": "340803"
+ },
+ {
+ "label": "宜秀区",
+ "value": "340811"
+ },
+ {
+ "label": "怀宁县",
+ "value": "340822"
+ },
+ {
+ "label": "潜山县",
+ "value": "340824"
+ },
+ {
+ "label": "太湖县",
+ "value": "340825"
+ },
+ {
+ "label": "宿松县",
+ "value": "340826"
+ },
+ {
+ "label": "望江县",
+ "value": "340827"
+ },
+ {
+ "label": "岳西县",
+ "value": "340828"
+ },
+ {
+ "label": "安徽安庆经济开发区",
+ "value": "340871"
+ },
+ {
+ "label": "桐城市",
+ "value": "340881"
+ }
+ ],
+ [{
+ "label": "屯溪区",
+ "value": "341002"
+ },
+ {
+ "label": "黄山区",
+ "value": "341003"
+ },
+ {
+ "label": "徽州区",
+ "value": "341004"
+ },
+ {
+ "label": "歙县",
+ "value": "341021"
+ },
+ {
+ "label": "休宁县",
+ "value": "341022"
+ },
+ {
+ "label": "黟县",
+ "value": "341023"
+ },
+ {
+ "label": "祁门县",
+ "value": "341024"
+ }
+ ],
+ [{
+ "label": "琅琊区",
+ "value": "341102"
+ },
+ {
+ "label": "南谯区",
+ "value": "341103"
+ },
+ {
+ "label": "来安县",
+ "value": "341122"
+ },
+ {
+ "label": "全椒县",
+ "value": "341124"
+ },
+ {
+ "label": "定远县",
+ "value": "341125"
+ },
+ {
+ "label": "凤阳县",
+ "value": "341126"
+ },
+ {
+ "label": "苏滁现代产业园",
+ "value": "341171"
+ },
+ {
+ "label": "滁州经济技术开发区",
+ "value": "341172"
+ },
+ {
+ "label": "天长市",
+ "value": "341181"
+ },
+ {
+ "label": "明光市",
+ "value": "341182"
+ }
+ ],
+ [{
+ "label": "颍州区",
+ "value": "341202"
+ },
+ {
+ "label": "颍东区",
+ "value": "341203"
+ },
+ {
+ "label": "颍泉区",
+ "value": "341204"
+ },
+ {
+ "label": "临泉县",
+ "value": "341221"
+ },
+ {
+ "label": "太和县",
+ "value": "341222"
+ },
+ {
+ "label": "阜南县",
+ "value": "341225"
+ },
+ {
+ "label": "颍上县",
+ "value": "341226"
+ },
+ {
+ "label": "阜阳合肥现代产业园区",
+ "value": "341271"
+ },
+ {
+ "label": "阜阳经济技术开发区",
+ "value": "341272"
+ },
+ {
+ "label": "界首市",
+ "value": "341282"
+ }
+ ],
+ [{
+ "label": "埇桥区",
+ "value": "341302"
+ },
+ {
+ "label": "砀山县",
+ "value": "341321"
+ },
+ {
+ "label": "萧县",
+ "value": "341322"
+ },
+ {
+ "label": "灵璧县",
+ "value": "341323"
+ },
+ {
+ "label": "泗县",
+ "value": "341324"
+ },
+ {
+ "label": "宿州马鞍山现代产业园区",
+ "value": "341371"
+ },
+ {
+ "label": "宿州经济技术开发区",
+ "value": "341372"
+ }
+ ],
+ [{
+ "label": "金安区",
+ "value": "341502"
+ },
+ {
+ "label": "裕安区",
+ "value": "341503"
+ },
+ {
+ "label": "叶集区",
+ "value": "341504"
+ },
+ {
+ "label": "霍邱县",
+ "value": "341522"
+ },
+ {
+ "label": "舒城县",
+ "value": "341523"
+ },
+ {
+ "label": "金寨县",
+ "value": "341524"
+ },
+ {
+ "label": "霍山县",
+ "value": "341525"
+ }
+ ],
+ [{
+ "label": "谯城区",
+ "value": "341602"
+ },
+ {
+ "label": "涡阳县",
+ "value": "341621"
+ },
+ {
+ "label": "蒙城县",
+ "value": "341622"
+ },
+ {
+ "label": "利辛县",
+ "value": "341623"
+ }
+ ],
+ [{
+ "label": "贵池区",
+ "value": "341702"
+ },
+ {
+ "label": "东至县",
+ "value": "341721"
+ },
+ {
+ "label": "石台县",
+ "value": "341722"
+ },
+ {
+ "label": "青阳县",
+ "value": "341723"
+ }
+ ],
+ [{
+ "label": "宣州区",
+ "value": "341802"
+ },
+ {
+ "label": "郎溪县",
+ "value": "341821"
+ },
+ {
+ "label": "广德县",
+ "value": "341822"
+ },
+ {
+ "label": "泾县",
+ "value": "341823"
+ },
+ {
+ "label": "绩溪县",
+ "value": "341824"
+ },
+ {
+ "label": "旌德县",
+ "value": "341825"
+ },
+ {
+ "label": "宣城市经济开发区",
+ "value": "341871"
+ },
+ {
+ "label": "宁国市",
+ "value": "341881"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "鼓楼区",
+ "value": "350102"
+ },
+ {
+ "label": "台江区",
+ "value": "350103"
+ },
+ {
+ "label": "仓山区",
+ "value": "350104"
+ },
+ {
+ "label": "马尾区",
+ "value": "350105"
+ },
+ {
+ "label": "晋安区",
+ "value": "350111"
+ },
+ {
+ "label": "闽侯县",
+ "value": "350121"
+ },
+ {
+ "label": "连江县",
+ "value": "350122"
+ },
+ {
+ "label": "罗源县",
+ "value": "350123"
+ },
+ {
+ "label": "闽清县",
+ "value": "350124"
+ },
+ {
+ "label": "永泰县",
+ "value": "350125"
+ },
+ {
+ "label": "平潭县",
+ "value": "350128"
+ },
+ {
+ "label": "福清市",
+ "value": "350181"
+ },
+ {
+ "label": "长乐市",
+ "value": "350182"
+ }
+ ],
+ [{
+ "label": "思明区",
+ "value": "350203"
+ },
+ {
+ "label": "海沧区",
+ "value": "350205"
+ },
+ {
+ "label": "湖里区",
+ "value": "350206"
+ },
+ {
+ "label": "集美区",
+ "value": "350211"
+ },
+ {
+ "label": "同安区",
+ "value": "350212"
+ },
+ {
+ "label": "翔安区",
+ "value": "350213"
+ }
+ ],
+ [{
+ "label": "城厢区",
+ "value": "350302"
+ },
+ {
+ "label": "涵江区",
+ "value": "350303"
+ },
+ {
+ "label": "荔城区",
+ "value": "350304"
+ },
+ {
+ "label": "秀屿区",
+ "value": "350305"
+ },
+ {
+ "label": "仙游县",
+ "value": "350322"
+ }
+ ],
+ [{
+ "label": "梅列区",
+ "value": "350402"
+ },
+ {
+ "label": "三元区",
+ "value": "350403"
+ },
+ {
+ "label": "明溪县",
+ "value": "350421"
+ },
+ {
+ "label": "清流县",
+ "value": "350423"
+ },
+ {
+ "label": "宁化县",
+ "value": "350424"
+ },
+ {
+ "label": "大田县",
+ "value": "350425"
+ },
+ {
+ "label": "尤溪县",
+ "value": "350426"
+ },
+ {
+ "label": "沙县",
+ "value": "350427"
+ },
+ {
+ "label": "将乐县",
+ "value": "350428"
+ },
+ {
+ "label": "泰宁县",
+ "value": "350429"
+ },
+ {
+ "label": "建宁县",
+ "value": "350430"
+ },
+ {
+ "label": "永安市",
+ "value": "350481"
+ }
+ ],
+ [{
+ "label": "鲤城区",
+ "value": "350502"
+ },
+ {
+ "label": "丰泽区",
+ "value": "350503"
+ },
+ {
+ "label": "洛江区",
+ "value": "350504"
+ },
+ {
+ "label": "泉港区",
+ "value": "350505"
+ },
+ {
+ "label": "惠安县",
+ "value": "350521"
+ },
+ {
+ "label": "安溪县",
+ "value": "350524"
+ },
+ {
+ "label": "永春县",
+ "value": "350525"
+ },
+ {
+ "label": "德化县",
+ "value": "350526"
+ },
+ {
+ "label": "金门县",
+ "value": "350527"
+ },
+ {
+ "label": "石狮市",
+ "value": "350581"
+ },
+ {
+ "label": "晋江市",
+ "value": "350582"
+ },
+ {
+ "label": "南安市",
+ "value": "350583"
+ }
+ ],
+ [{
+ "label": "芗城区",
+ "value": "350602"
+ },
+ {
+ "label": "龙文区",
+ "value": "350603"
+ },
+ {
+ "label": "云霄县",
+ "value": "350622"
+ },
+ {
+ "label": "漳浦县",
+ "value": "350623"
+ },
+ {
+ "label": "诏安县",
+ "value": "350624"
+ },
+ {
+ "label": "长泰县",
+ "value": "350625"
+ },
+ {
+ "label": "东山县",
+ "value": "350626"
+ },
+ {
+ "label": "南靖县",
+ "value": "350627"
+ },
+ {
+ "label": "平和县",
+ "value": "350628"
+ },
+ {
+ "label": "华安县",
+ "value": "350629"
+ },
+ {
+ "label": "龙海市",
+ "value": "350681"
+ }
+ ],
+ [{
+ "label": "延平区",
+ "value": "350702"
+ },
+ {
+ "label": "建阳区",
+ "value": "350703"
+ },
+ {
+ "label": "顺昌县",
+ "value": "350721"
+ },
+ {
+ "label": "浦城县",
+ "value": "350722"
+ },
+ {
+ "label": "光泽县",
+ "value": "350723"
+ },
+ {
+ "label": "松溪县",
+ "value": "350724"
+ },
+ {
+ "label": "政和县",
+ "value": "350725"
+ },
+ {
+ "label": "邵武市",
+ "value": "350781"
+ },
+ {
+ "label": "武夷山市",
+ "value": "350782"
+ },
+ {
+ "label": "建瓯市",
+ "value": "350783"
+ }
+ ],
+ [{
+ "label": "新罗区",
+ "value": "350802"
+ },
+ {
+ "label": "永定区",
+ "value": "350803"
+ },
+ {
+ "label": "长汀县",
+ "value": "350821"
+ },
+ {
+ "label": "上杭县",
+ "value": "350823"
+ },
+ {
+ "label": "武平县",
+ "value": "350824"
+ },
+ {
+ "label": "连城县",
+ "value": "350825"
+ },
+ {
+ "label": "漳平市",
+ "value": "350881"
+ }
+ ],
+ [{
+ "label": "蕉城区",
+ "value": "350902"
+ },
+ {
+ "label": "霞浦县",
+ "value": "350921"
+ },
+ {
+ "label": "古田县",
+ "value": "350922"
+ },
+ {
+ "label": "屏南县",
+ "value": "350923"
+ },
+ {
+ "label": "寿宁县",
+ "value": "350924"
+ },
+ {
+ "label": "周宁县",
+ "value": "350925"
+ },
+ {
+ "label": "柘荣县",
+ "value": "350926"
+ },
+ {
+ "label": "福安市",
+ "value": "350981"
+ },
+ {
+ "label": "福鼎市",
+ "value": "350982"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "东湖区",
+ "value": "360102"
+ },
+ {
+ "label": "西湖区",
+ "value": "360103"
+ },
+ {
+ "label": "青云谱区",
+ "value": "360104"
+ },
+ {
+ "label": "湾里区",
+ "value": "360105"
+ },
+ {
+ "label": "青山湖区",
+ "value": "360111"
+ },
+ {
+ "label": "新建区",
+ "value": "360112"
+ },
+ {
+ "label": "南昌县",
+ "value": "360121"
+ },
+ {
+ "label": "安义县",
+ "value": "360123"
+ },
+ {
+ "label": "进贤县",
+ "value": "360124"
+ }
+ ],
+ [{
+ "label": "昌江区",
+ "value": "360202"
+ },
+ {
+ "label": "珠山区",
+ "value": "360203"
+ },
+ {
+ "label": "浮梁县",
+ "value": "360222"
+ },
+ {
+ "label": "乐平市",
+ "value": "360281"
+ }
+ ],
+ [{
+ "label": "安源区",
+ "value": "360302"
+ },
+ {
+ "label": "湘东区",
+ "value": "360313"
+ },
+ {
+ "label": "莲花县",
+ "value": "360321"
+ },
+ {
+ "label": "上栗县",
+ "value": "360322"
+ },
+ {
+ "label": "芦溪县",
+ "value": "360323"
+ }
+ ],
+ [{
+ "label": "濂溪区",
+ "value": "360402"
+ },
+ {
+ "label": "浔阳区",
+ "value": "360403"
+ },
+ {
+ "label": "柴桑区",
+ "value": "360404"
+ },
+ {
+ "label": "武宁县",
+ "value": "360423"
+ },
+ {
+ "label": "修水县",
+ "value": "360424"
+ },
+ {
+ "label": "永修县",
+ "value": "360425"
+ },
+ {
+ "label": "德安县",
+ "value": "360426"
+ },
+ {
+ "label": "都昌县",
+ "value": "360428"
+ },
+ {
+ "label": "湖口县",
+ "value": "360429"
+ },
+ {
+ "label": "彭泽县",
+ "value": "360430"
+ },
+ {
+ "label": "瑞昌市",
+ "value": "360481"
+ },
+ {
+ "label": "共青城市",
+ "value": "360482"
+ },
+ {
+ "label": "庐山市",
+ "value": "360483"
+ }
+ ],
+ [{
+ "label": "渝水区",
+ "value": "360502"
+ },
+ {
+ "label": "分宜县",
+ "value": "360521"
+ }
+ ],
+ [{
+ "label": "月湖区",
+ "value": "360602"
+ },
+ {
+ "label": "余江县",
+ "value": "360622"
+ },
+ {
+ "label": "贵溪市",
+ "value": "360681"
+ }
+ ],
+ [{
+ "label": "章贡区",
+ "value": "360702"
+ },
+ {
+ "label": "南康区",
+ "value": "360703"
+ },
+ {
+ "label": "赣县区",
+ "value": "360704"
+ },
+ {
+ "label": "信丰县",
+ "value": "360722"
+ },
+ {
+ "label": "大余县",
+ "value": "360723"
+ },
+ {
+ "label": "上犹县",
+ "value": "360724"
+ },
+ {
+ "label": "崇义县",
+ "value": "360725"
+ },
+ {
+ "label": "安远县",
+ "value": "360726"
+ },
+ {
+ "label": "龙南县",
+ "value": "360727"
+ },
+ {
+ "label": "定南县",
+ "value": "360728"
+ },
+ {
+ "label": "全南县",
+ "value": "360729"
+ },
+ {
+ "label": "宁都县",
+ "value": "360730"
+ },
+ {
+ "label": "于都县",
+ "value": "360731"
+ },
+ {
+ "label": "兴国县",
+ "value": "360732"
+ },
+ {
+ "label": "会昌县",
+ "value": "360733"
+ },
+ {
+ "label": "寻乌县",
+ "value": "360734"
+ },
+ {
+ "label": "石城县",
+ "value": "360735"
+ },
+ {
+ "label": "瑞金市",
+ "value": "360781"
+ }
+ ],
+ [{
+ "label": "吉州区",
+ "value": "360802"
+ },
+ {
+ "label": "青原区",
+ "value": "360803"
+ },
+ {
+ "label": "吉安县",
+ "value": "360821"
+ },
+ {
+ "label": "吉水县",
+ "value": "360822"
+ },
+ {
+ "label": "峡江县",
+ "value": "360823"
+ },
+ {
+ "label": "新干县",
+ "value": "360824"
+ },
+ {
+ "label": "永丰县",
+ "value": "360825"
+ },
+ {
+ "label": "泰和县",
+ "value": "360826"
+ },
+ {
+ "label": "遂川县",
+ "value": "360827"
+ },
+ {
+ "label": "万安县",
+ "value": "360828"
+ },
+ {
+ "label": "安福县",
+ "value": "360829"
+ },
+ {
+ "label": "永新县",
+ "value": "360830"
+ },
+ {
+ "label": "井冈山市",
+ "value": "360881"
+ }
+ ],
+ [{
+ "label": "袁州区",
+ "value": "360902"
+ },
+ {
+ "label": "奉新县",
+ "value": "360921"
+ },
+ {
+ "label": "万载县",
+ "value": "360922"
+ },
+ {
+ "label": "上高县",
+ "value": "360923"
+ },
+ {
+ "label": "宜丰县",
+ "value": "360924"
+ },
+ {
+ "label": "靖安县",
+ "value": "360925"
+ },
+ {
+ "label": "铜鼓县",
+ "value": "360926"
+ },
+ {
+ "label": "丰城市",
+ "value": "360981"
+ },
+ {
+ "label": "樟树市",
+ "value": "360982"
+ },
+ {
+ "label": "高安市",
+ "value": "360983"
+ }
+ ],
+ [{
+ "label": "临川区",
+ "value": "361002"
+ },
+ {
+ "label": "东乡区",
+ "value": "361003"
+ },
+ {
+ "label": "南城县",
+ "value": "361021"
+ },
+ {
+ "label": "黎川县",
+ "value": "361022"
+ },
+ {
+ "label": "南丰县",
+ "value": "361023"
+ },
+ {
+ "label": "崇仁县",
+ "value": "361024"
+ },
+ {
+ "label": "乐安县",
+ "value": "361025"
+ },
+ {
+ "label": "宜黄县",
+ "value": "361026"
+ },
+ {
+ "label": "金溪县",
+ "value": "361027"
+ },
+ {
+ "label": "资溪县",
+ "value": "361028"
+ },
+ {
+ "label": "广昌县",
+ "value": "361030"
+ }
+ ],
+ [{
+ "label": "信州区",
+ "value": "361102"
+ },
+ {
+ "label": "广丰区",
+ "value": "361103"
+ },
+ {
+ "label": "上饶县",
+ "value": "361121"
+ },
+ {
+ "label": "玉山县",
+ "value": "361123"
+ },
+ {
+ "label": "铅山县",
+ "value": "361124"
+ },
+ {
+ "label": "横峰县",
+ "value": "361125"
+ },
+ {
+ "label": "弋阳县",
+ "value": "361126"
+ },
+ {
+ "label": "余干县",
+ "value": "361127"
+ },
+ {
+ "label": "鄱阳县",
+ "value": "361128"
+ },
+ {
+ "label": "万年县",
+ "value": "361129"
+ },
+ {
+ "label": "婺源县",
+ "value": "361130"
+ },
+ {
+ "label": "德兴市",
+ "value": "361181"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "历下区",
+ "value": "370102"
+ },
+ {
+ "label": "市中区",
+ "value": "370103"
+ },
+ {
+ "label": "槐荫区",
+ "value": "370104"
+ },
+ {
+ "label": "天桥区",
+ "value": "370105"
+ },
+ {
+ "label": "历城区",
+ "value": "370112"
+ },
+ {
+ "label": "长清区",
+ "value": "370113"
+ },
+ {
+ "label": "章丘区",
+ "value": "370114"
+ },
+ {
+ "label": "平阴县",
+ "value": "370124"
+ },
+ {
+ "label": "济阳县",
+ "value": "370125"
+ },
+ {
+ "label": "商河县",
+ "value": "370126"
+ },
+ {
+ "label": "济南高新技术产业开发区",
+ "value": "370171"
+ }
+ ],
+ [{
+ "label": "市南区",
+ "value": "370202"
+ },
+ {
+ "label": "市北区",
+ "value": "370203"
+ },
+ {
+ "label": "黄岛区",
+ "value": "370211"
+ },
+ {
+ "label": "崂山区",
+ "value": "370212"
+ },
+ {
+ "label": "李沧区",
+ "value": "370213"
+ },
+ {
+ "label": "城阳区",
+ "value": "370214"
+ },
+ {
+ "label": "即墨区",
+ "value": "370215"
+ },
+ {
+ "label": "青岛高新技术产业开发区",
+ "value": "370271"
+ },
+ {
+ "label": "胶州市",
+ "value": "370281"
+ },
+ {
+ "label": "平度市",
+ "value": "370283"
+ },
+ {
+ "label": "莱西市",
+ "value": "370285"
+ }
+ ],
+ [{
+ "label": "淄川区",
+ "value": "370302"
+ },
+ {
+ "label": "张店区",
+ "value": "370303"
+ },
+ {
+ "label": "博山区",
+ "value": "370304"
+ },
+ {
+ "label": "临淄区",
+ "value": "370305"
+ },
+ {
+ "label": "周村区",
+ "value": "370306"
+ },
+ {
+ "label": "桓台县",
+ "value": "370321"
+ },
+ {
+ "label": "高青县",
+ "value": "370322"
+ },
+ {
+ "label": "沂源县",
+ "value": "370323"
+ }
+ ],
+ [{
+ "label": "市中区",
+ "value": "370402"
+ },
+ {
+ "label": "薛城区",
+ "value": "370403"
+ },
+ {
+ "label": "峄城区",
+ "value": "370404"
+ },
+ {
+ "label": "台儿庄区",
+ "value": "370405"
+ },
+ {
+ "label": "山亭区",
+ "value": "370406"
+ },
+ {
+ "label": "滕州市",
+ "value": "370481"
+ }
+ ],
+ [{
+ "label": "东营区",
+ "value": "370502"
+ },
+ {
+ "label": "河口区",
+ "value": "370503"
+ },
+ {
+ "label": "垦利区",
+ "value": "370505"
+ },
+ {
+ "label": "利津县",
+ "value": "370522"
+ },
+ {
+ "label": "广饶县",
+ "value": "370523"
+ },
+ {
+ "label": "东营经济技术开发区",
+ "value": "370571"
+ },
+ {
+ "label": "东营港经济开发区",
+ "value": "370572"
+ }
+ ],
+ [{
+ "label": "芝罘区",
+ "value": "370602"
+ },
+ {
+ "label": "福山区",
+ "value": "370611"
+ },
+ {
+ "label": "牟平区",
+ "value": "370612"
+ },
+ {
+ "label": "莱山区",
+ "value": "370613"
+ },
+ {
+ "label": "长岛县",
+ "value": "370634"
+ },
+ {
+ "label": "烟台高新技术产业开发区",
+ "value": "370671"
+ },
+ {
+ "label": "烟台经济技术开发区",
+ "value": "370672"
+ },
+ {
+ "label": "龙口市",
+ "value": "370681"
+ },
+ {
+ "label": "莱阳市",
+ "value": "370682"
+ },
+ {
+ "label": "莱州市",
+ "value": "370683"
+ },
+ {
+ "label": "蓬莱市",
+ "value": "370684"
+ },
+ {
+ "label": "招远市",
+ "value": "370685"
+ },
+ {
+ "label": "栖霞市",
+ "value": "370686"
+ },
+ {
+ "label": "海阳市",
+ "value": "370687"
+ }
+ ],
+ [{
+ "label": "潍城区",
+ "value": "370702"
+ },
+ {
+ "label": "寒亭区",
+ "value": "370703"
+ },
+ {
+ "label": "坊子区",
+ "value": "370704"
+ },
+ {
+ "label": "奎文区",
+ "value": "370705"
+ },
+ {
+ "label": "临朐县",
+ "value": "370724"
+ },
+ {
+ "label": "昌乐县",
+ "value": "370725"
+ },
+ {
+ "label": "潍坊滨海经济技术开发区",
+ "value": "370772"
+ },
+ {
+ "label": "青州市",
+ "value": "370781"
+ },
+ {
+ "label": "诸城市",
+ "value": "370782"
+ },
+ {
+ "label": "寿光市",
+ "value": "370783"
+ },
+ {
+ "label": "安丘市",
+ "value": "370784"
+ },
+ {
+ "label": "高密市",
+ "value": "370785"
+ },
+ {
+ "label": "昌邑市",
+ "value": "370786"
+ }
+ ],
+ [{
+ "label": "任城区",
+ "value": "370811"
+ },
+ {
+ "label": "兖州区",
+ "value": "370812"
+ },
+ {
+ "label": "微山县",
+ "value": "370826"
+ },
+ {
+ "label": "鱼台县",
+ "value": "370827"
+ },
+ {
+ "label": "金乡县",
+ "value": "370828"
+ },
+ {
+ "label": "嘉祥县",
+ "value": "370829"
+ },
+ {
+ "label": "汶上县",
+ "value": "370830"
+ },
+ {
+ "label": "泗水县",
+ "value": "370831"
+ },
+ {
+ "label": "梁山县",
+ "value": "370832"
+ },
+ {
+ "label": "济宁高新技术产业开发区",
+ "value": "370871"
+ },
+ {
+ "label": "曲阜市",
+ "value": "370881"
+ },
+ {
+ "label": "邹城市",
+ "value": "370883"
+ }
+ ],
+ [{
+ "label": "泰山区",
+ "value": "370902"
+ },
+ {
+ "label": "岱岳区",
+ "value": "370911"
+ },
+ {
+ "label": "宁阳县",
+ "value": "370921"
+ },
+ {
+ "label": "东平县",
+ "value": "370923"
+ },
+ {
+ "label": "新泰市",
+ "value": "370982"
+ },
+ {
+ "label": "肥城市",
+ "value": "370983"
+ }
+ ],
+ [{
+ "label": "环翠区",
+ "value": "371002"
+ },
+ {
+ "label": "文登区",
+ "value": "371003"
+ },
+ {
+ "label": "威海火炬高技术产业开发区",
+ "value": "371071"
+ },
+ {
+ "label": "威海经济技术开发区",
+ "value": "371072"
+ },
+ {
+ "label": "威海临港经济技术开发区",
+ "value": "371073"
+ },
+ {
+ "label": "荣成市",
+ "value": "371082"
+ },
+ {
+ "label": "乳山市",
+ "value": "371083"
+ }
+ ],
+ [{
+ "label": "东港区",
+ "value": "371102"
+ },
+ {
+ "label": "岚山区",
+ "value": "371103"
+ },
+ {
+ "label": "五莲县",
+ "value": "371121"
+ },
+ {
+ "label": "莒县",
+ "value": "371122"
+ },
+ {
+ "label": "日照经济技术开发区",
+ "value": "371171"
+ },
+ {
+ "label": "日照国际海洋城",
+ "value": "371172"
+ }
+ ],
+ [{
+ "label": "莱城区",
+ "value": "371202"
+ },
+ {
+ "label": "钢城区",
+ "value": "371203"
+ }
+ ],
+ [{
+ "label": "兰山区",
+ "value": "371302"
+ },
+ {
+ "label": "罗庄区",
+ "value": "371311"
+ },
+ {
+ "label": "河东区",
+ "value": "371312"
+ },
+ {
+ "label": "沂南县",
+ "value": "371321"
+ },
+ {
+ "label": "郯城县",
+ "value": "371322"
+ },
+ {
+ "label": "沂水县",
+ "value": "371323"
+ },
+ {
+ "label": "兰陵县",
+ "value": "371324"
+ },
+ {
+ "label": "费县",
+ "value": "371325"
+ },
+ {
+ "label": "平邑县",
+ "value": "371326"
+ },
+ {
+ "label": "莒南县",
+ "value": "371327"
+ },
+ {
+ "label": "蒙阴县",
+ "value": "371328"
+ },
+ {
+ "label": "临沭县",
+ "value": "371329"
+ },
+ {
+ "label": "临沂高新技术产业开发区",
+ "value": "371371"
+ },
+ {
+ "label": "临沂经济技术开发区",
+ "value": "371372"
+ },
+ {
+ "label": "临沂临港经济开发区",
+ "value": "371373"
+ }
+ ],
+ [{
+ "label": "德城区",
+ "value": "371402"
+ },
+ {
+ "label": "陵城区",
+ "value": "371403"
+ },
+ {
+ "label": "宁津县",
+ "value": "371422"
+ },
+ {
+ "label": "庆云县",
+ "value": "371423"
+ },
+ {
+ "label": "临邑县",
+ "value": "371424"
+ },
+ {
+ "label": "齐河县",
+ "value": "371425"
+ },
+ {
+ "label": "平原县",
+ "value": "371426"
+ },
+ {
+ "label": "夏津县",
+ "value": "371427"
+ },
+ {
+ "label": "武城县",
+ "value": "371428"
+ },
+ {
+ "label": "德州经济技术开发区",
+ "value": "371471"
+ },
+ {
+ "label": "德州运河经济开发区",
+ "value": "371472"
+ },
+ {
+ "label": "乐陵市",
+ "value": "371481"
+ },
+ {
+ "label": "禹城市",
+ "value": "371482"
+ }
+ ],
+ [{
+ "label": "东昌府区",
+ "value": "371502"
+ },
+ {
+ "label": "阳谷县",
+ "value": "371521"
+ },
+ {
+ "label": "莘县",
+ "value": "371522"
+ },
+ {
+ "label": "茌平县",
+ "value": "371523"
+ },
+ {
+ "label": "东阿县",
+ "value": "371524"
+ },
+ {
+ "label": "冠县",
+ "value": "371525"
+ },
+ {
+ "label": "高唐县",
+ "value": "371526"
+ },
+ {
+ "label": "临清市",
+ "value": "371581"
+ }
+ ],
+ [{
+ "label": "滨城区",
+ "value": "371602"
+ },
+ {
+ "label": "沾化区",
+ "value": "371603"
+ },
+ {
+ "label": "惠民县",
+ "value": "371621"
+ },
+ {
+ "label": "阳信县",
+ "value": "371622"
+ },
+ {
+ "label": "无棣县",
+ "value": "371623"
+ },
+ {
+ "label": "博兴县",
+ "value": "371625"
+ },
+ {
+ "label": "邹平县",
+ "value": "371626"
+ }
+ ],
+ [{
+ "label": "牡丹区",
+ "value": "371702"
+ },
+ {
+ "label": "定陶区",
+ "value": "371703"
+ },
+ {
+ "label": "曹县",
+ "value": "371721"
+ },
+ {
+ "label": "单县",
+ "value": "371722"
+ },
+ {
+ "label": "成武县",
+ "value": "371723"
+ },
+ {
+ "label": "巨野县",
+ "value": "371724"
+ },
+ {
+ "label": "郓城县",
+ "value": "371725"
+ },
+ {
+ "label": "鄄城县",
+ "value": "371726"
+ },
+ {
+ "label": "东明县",
+ "value": "371728"
+ },
+ {
+ "label": "菏泽经济技术开发区",
+ "value": "371771"
+ },
+ {
+ "label": "菏泽高新技术开发区",
+ "value": "371772"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "中原区",
+ "value": "410102"
+ },
+ {
+ "label": "二七区",
+ "value": "410103"
+ },
+ {
+ "label": "管城回族区",
+ "value": "410104"
+ },
+ {
+ "label": "金水区",
+ "value": "410105"
+ },
+ {
+ "label": "上街区",
+ "value": "410106"
+ },
+ {
+ "label": "惠济区",
+ "value": "410108"
+ },
+ {
+ "label": "中牟县",
+ "value": "410122"
+ },
+ {
+ "label": "郑州经济技术开发区",
+ "value": "410171"
+ },
+ {
+ "label": "郑州高新技术产业开发区",
+ "value": "410172"
+ },
+ {
+ "label": "郑州航空港经济综合实验区",
+ "value": "410173"
+ },
+ {
+ "label": "巩义市",
+ "value": "410181"
+ },
+ {
+ "label": "荥阳市",
+ "value": "410182"
+ },
+ {
+ "label": "新密市",
+ "value": "410183"
+ },
+ {
+ "label": "新郑市",
+ "value": "410184"
+ },
+ {
+ "label": "登封市",
+ "value": "410185"
+ }
+ ],
+ [{
+ "label": "龙亭区",
+ "value": "410202"
+ },
+ {
+ "label": "顺河回族区",
+ "value": "410203"
+ },
+ {
+ "label": "鼓楼区",
+ "value": "410204"
+ },
+ {
+ "label": "禹王台区",
+ "value": "410205"
+ },
+ {
+ "label": "祥符区",
+ "value": "410212"
+ },
+ {
+ "label": "杞县",
+ "value": "410221"
+ },
+ {
+ "label": "通许县",
+ "value": "410222"
+ },
+ {
+ "label": "尉氏县",
+ "value": "410223"
+ },
+ {
+ "label": "兰考县",
+ "value": "410225"
+ }
+ ],
+ [{
+ "label": "老城区",
+ "value": "410302"
+ },
+ {
+ "label": "西工区",
+ "value": "410303"
+ },
+ {
+ "label": "瀍河回族区",
+ "value": "410304"
+ },
+ {
+ "label": "涧西区",
+ "value": "410305"
+ },
+ {
+ "label": "吉利区",
+ "value": "410306"
+ },
+ {
+ "label": "洛龙区",
+ "value": "410311"
+ },
+ {
+ "label": "孟津县",
+ "value": "410322"
+ },
+ {
+ "label": "新安县",
+ "value": "410323"
+ },
+ {
+ "label": "栾川县",
+ "value": "410324"
+ },
+ {
+ "label": "嵩县",
+ "value": "410325"
+ },
+ {
+ "label": "汝阳县",
+ "value": "410326"
+ },
+ {
+ "label": "宜阳县",
+ "value": "410327"
+ },
+ {
+ "label": "洛宁县",
+ "value": "410328"
+ },
+ {
+ "label": "伊川县",
+ "value": "410329"
+ },
+ {
+ "label": "洛阳高新技术产业开发区",
+ "value": "410371"
+ },
+ {
+ "label": "偃师市",
+ "value": "410381"
+ }
+ ],
+ [{
+ "label": "新华区",
+ "value": "410402"
+ },
+ {
+ "label": "卫东区",
+ "value": "410403"
+ },
+ {
+ "label": "石龙区",
+ "value": "410404"
+ },
+ {
+ "label": "湛河区",
+ "value": "410411"
+ },
+ {
+ "label": "宝丰县",
+ "value": "410421"
+ },
+ {
+ "label": "叶县",
+ "value": "410422"
+ },
+ {
+ "label": "鲁山县",
+ "value": "410423"
+ },
+ {
+ "label": "郏县",
+ "value": "410425"
+ },
+ {
+ "label": "平顶山高新技术产业开发区",
+ "value": "410471"
+ },
+ {
+ "label": "平顶山市新城区",
+ "value": "410472"
+ },
+ {
+ "label": "舞钢市",
+ "value": "410481"
+ },
+ {
+ "label": "汝州市",
+ "value": "410482"
+ }
+ ],
+ [{
+ "label": "文峰区",
+ "value": "410502"
+ },
+ {
+ "label": "北关区",
+ "value": "410503"
+ },
+ {
+ "label": "殷都区",
+ "value": "410505"
+ },
+ {
+ "label": "龙安区",
+ "value": "410506"
+ },
+ {
+ "label": "安阳县",
+ "value": "410522"
+ },
+ {
+ "label": "汤阴县",
+ "value": "410523"
+ },
+ {
+ "label": "滑县",
+ "value": "410526"
+ },
+ {
+ "label": "内黄县",
+ "value": "410527"
+ },
+ {
+ "label": "安阳高新技术产业开发区",
+ "value": "410571"
+ },
+ {
+ "label": "林州市",
+ "value": "410581"
+ }
+ ],
+ [{
+ "label": "鹤山区",
+ "value": "410602"
+ },
+ {
+ "label": "山城区",
+ "value": "410603"
+ },
+ {
+ "label": "淇滨区",
+ "value": "410611"
+ },
+ {
+ "label": "浚县",
+ "value": "410621"
+ },
+ {
+ "label": "淇县",
+ "value": "410622"
+ },
+ {
+ "label": "鹤壁经济技术开发区",
+ "value": "410671"
+ }
+ ],
+ [{
+ "label": "红旗区",
+ "value": "410702"
+ },
+ {
+ "label": "卫滨区",
+ "value": "410703"
+ },
+ {
+ "label": "凤泉区",
+ "value": "410704"
+ },
+ {
+ "label": "牧野区",
+ "value": "410711"
+ },
+ {
+ "label": "新乡县",
+ "value": "410721"
+ },
+ {
+ "label": "获嘉县",
+ "value": "410724"
+ },
+ {
+ "label": "原阳县",
+ "value": "410725"
+ },
+ {
+ "label": "延津县",
+ "value": "410726"
+ },
+ {
+ "label": "封丘县",
+ "value": "410727"
+ },
+ {
+ "label": "长垣县",
+ "value": "410728"
+ },
+ {
+ "label": "新乡高新技术产业开发区",
+ "value": "410771"
+ },
+ {
+ "label": "新乡经济技术开发区",
+ "value": "410772"
+ },
+ {
+ "label": "新乡市平原城乡一体化示范区",
+ "value": "410773"
+ },
+ {
+ "label": "卫辉市",
+ "value": "410781"
+ },
+ {
+ "label": "辉县市",
+ "value": "410782"
+ }
+ ],
+ [{
+ "label": "解放区",
+ "value": "410802"
+ },
+ {
+ "label": "中站区",
+ "value": "410803"
+ },
+ {
+ "label": "马村区",
+ "value": "410804"
+ },
+ {
+ "label": "山阳区",
+ "value": "410811"
+ },
+ {
+ "label": "修武县",
+ "value": "410821"
+ },
+ {
+ "label": "博爱县",
+ "value": "410822"
+ },
+ {
+ "label": "武陟县",
+ "value": "410823"
+ },
+ {
+ "label": "温县",
+ "value": "410825"
+ },
+ {
+ "label": "焦作城乡一体化示范区",
+ "value": "410871"
+ },
+ {
+ "label": "沁阳市",
+ "value": "410882"
+ },
+ {
+ "label": "孟州市",
+ "value": "410883"
+ }
+ ],
+ [{
+ "label": "华龙区",
+ "value": "410902"
+ },
+ {
+ "label": "清丰县",
+ "value": "410922"
+ },
+ {
+ "label": "南乐县",
+ "value": "410923"
+ },
+ {
+ "label": "范县",
+ "value": "410926"
+ },
+ {
+ "label": "台前县",
+ "value": "410927"
+ },
+ {
+ "label": "濮阳县",
+ "value": "410928"
+ },
+ {
+ "label": "河南濮阳工业园区",
+ "value": "410971"
+ },
+ {
+ "label": "濮阳经济技术开发区",
+ "value": "410972"
+ }
+ ],
+ [{
+ "label": "魏都区",
+ "value": "411002"
+ },
+ {
+ "label": "建安区",
+ "value": "411003"
+ },
+ {
+ "label": "鄢陵县",
+ "value": "411024"
+ },
+ {
+ "label": "襄城县",
+ "value": "411025"
+ },
+ {
+ "label": "许昌经济技术开发区",
+ "value": "411071"
+ },
+ {
+ "label": "禹州市",
+ "value": "411081"
+ },
+ {
+ "label": "长葛市",
+ "value": "411082"
+ }
+ ],
+ [{
+ "label": "源汇区",
+ "value": "411102"
+ },
+ {
+ "label": "郾城区",
+ "value": "411103"
+ },
+ {
+ "label": "召陵区",
+ "value": "411104"
+ },
+ {
+ "label": "舞阳县",
+ "value": "411121"
+ },
+ {
+ "label": "临颍县",
+ "value": "411122"
+ },
+ {
+ "label": "漯河经济技术开发区",
+ "value": "411171"
+ }
+ ],
+ [{
+ "label": "湖滨区",
+ "value": "411202"
+ },
+ {
+ "label": "陕州区",
+ "value": "411203"
+ },
+ {
+ "label": "渑池县",
+ "value": "411221"
+ },
+ {
+ "label": "卢氏县",
+ "value": "411224"
+ },
+ {
+ "label": "河南三门峡经济开发区",
+ "value": "411271"
+ },
+ {
+ "label": "义马市",
+ "value": "411281"
+ },
+ {
+ "label": "灵宝市",
+ "value": "411282"
+ }
+ ],
+ [{
+ "label": "宛城区",
+ "value": "411302"
+ },
+ {
+ "label": "卧龙区",
+ "value": "411303"
+ },
+ {
+ "label": "南召县",
+ "value": "411321"
+ },
+ {
+ "label": "方城县",
+ "value": "411322"
+ },
+ {
+ "label": "西峡县",
+ "value": "411323"
+ },
+ {
+ "label": "镇平县",
+ "value": "411324"
+ },
+ {
+ "label": "内乡县",
+ "value": "411325"
+ },
+ {
+ "label": "淅川县",
+ "value": "411326"
+ },
+ {
+ "label": "社旗县",
+ "value": "411327"
+ },
+ {
+ "label": "唐河县",
+ "value": "411328"
+ },
+ {
+ "label": "新野县",
+ "value": "411329"
+ },
+ {
+ "label": "桐柏县",
+ "value": "411330"
+ },
+ {
+ "label": "南阳高新技术产业开发区",
+ "value": "411371"
+ },
+ {
+ "label": "南阳市城乡一体化示范区",
+ "value": "411372"
+ },
+ {
+ "label": "邓州市",
+ "value": "411381"
+ }
+ ],
+ [{
+ "label": "梁园区",
+ "value": "411402"
+ },
+ {
+ "label": "睢阳区",
+ "value": "411403"
+ },
+ {
+ "label": "民权县",
+ "value": "411421"
+ },
+ {
+ "label": "睢县",
+ "value": "411422"
+ },
+ {
+ "label": "宁陵县",
+ "value": "411423"
+ },
+ {
+ "label": "柘城县",
+ "value": "411424"
+ },
+ {
+ "label": "虞城县",
+ "value": "411425"
+ },
+ {
+ "label": "夏邑县",
+ "value": "411426"
+ },
+ {
+ "label": "豫东综合物流产业聚集区",
+ "value": "411471"
+ },
+ {
+ "label": "河南商丘经济开发区",
+ "value": "411472"
+ },
+ {
+ "label": "永城市",
+ "value": "411481"
+ }
+ ],
+ [{
+ "label": "浉河区",
+ "value": "411502"
+ },
+ {
+ "label": "平桥区",
+ "value": "411503"
+ },
+ {
+ "label": "罗山县",
+ "value": "411521"
+ },
+ {
+ "label": "光山县",
+ "value": "411522"
+ },
+ {
+ "label": "新县",
+ "value": "411523"
+ },
+ {
+ "label": "商城县",
+ "value": "411524"
+ },
+ {
+ "label": "固始县",
+ "value": "411525"
+ },
+ {
+ "label": "潢川县",
+ "value": "411526"
+ },
+ {
+ "label": "淮滨县",
+ "value": "411527"
+ },
+ {
+ "label": "息县",
+ "value": "411528"
+ },
+ {
+ "label": "信阳高新技术产业开发区",
+ "value": "411571"
+ }
+ ],
+ [{
+ "label": "川汇区",
+ "value": "411602"
+ },
+ {
+ "label": "扶沟县",
+ "value": "411621"
+ },
+ {
+ "label": "西华县",
+ "value": "411622"
+ },
+ {
+ "label": "商水县",
+ "value": "411623"
+ },
+ {
+ "label": "沈丘县",
+ "value": "411624"
+ },
+ {
+ "label": "郸城县",
+ "value": "411625"
+ },
+ {
+ "label": "淮阳县",
+ "value": "411626"
+ },
+ {
+ "label": "太康县",
+ "value": "411627"
+ },
+ {
+ "label": "鹿邑县",
+ "value": "411628"
+ },
+ {
+ "label": "河南周口经济开发区",
+ "value": "411671"
+ },
+ {
+ "label": "项城市",
+ "value": "411681"
+ }
+ ],
+ [{
+ "label": "驿城区",
+ "value": "411702"
+ },
+ {
+ "label": "西平县",
+ "value": "411721"
+ },
+ {
+ "label": "上蔡县",
+ "value": "411722"
+ },
+ {
+ "label": "平舆县",
+ "value": "411723"
+ },
+ {
+ "label": "正阳县",
+ "value": "411724"
+ },
+ {
+ "label": "确山县",
+ "value": "411725"
+ },
+ {
+ "label": "泌阳县",
+ "value": "411726"
+ },
+ {
+ "label": "汝南县",
+ "value": "411727"
+ },
+ {
+ "label": "遂平县",
+ "value": "411728"
+ },
+ {
+ "label": "新蔡县",
+ "value": "411729"
+ },
+ {
+ "label": "河南驻马店经济开发区",
+ "value": "411771"
+ }
+ ],
+ [{
+ "label": "济源市",
+ "value": "419001"
+ }]
+ ],
+ [
+ [{
+ "label": "江岸区",
+ "value": "420102"
+ },
+ {
+ "label": "江汉区",
+ "value": "420103"
+ },
+ {
+ "label": "硚口区",
+ "value": "420104"
+ },
+ {
+ "label": "汉阳区",
+ "value": "420105"
+ },
+ {
+ "label": "武昌区",
+ "value": "420106"
+ },
+ {
+ "label": "青山区",
+ "value": "420107"
+ },
+ {
+ "label": "洪山区",
+ "value": "420111"
+ },
+ {
+ "label": "东西湖区",
+ "value": "420112"
+ },
+ {
+ "label": "汉南区",
+ "value": "420113"
+ },
+ {
+ "label": "蔡甸区",
+ "value": "420114"
+ },
+ {
+ "label": "江夏区",
+ "value": "420115"
+ },
+ {
+ "label": "黄陂区",
+ "value": "420116"
+ },
+ {
+ "label": "新洲区",
+ "value": "420117"
+ }
+ ],
+ [{
+ "label": "黄石港区",
+ "value": "420202"
+ },
+ {
+ "label": "西塞山区",
+ "value": "420203"
+ },
+ {
+ "label": "下陆区",
+ "value": "420204"
+ },
+ {
+ "label": "铁山区",
+ "value": "420205"
+ },
+ {
+ "label": "阳新县",
+ "value": "420222"
+ },
+ {
+ "label": "大冶市",
+ "value": "420281"
+ }
+ ],
+ [{
+ "label": "茅箭区",
+ "value": "420302"
+ },
+ {
+ "label": "张湾区",
+ "value": "420303"
+ },
+ {
+ "label": "郧阳区",
+ "value": "420304"
+ },
+ {
+ "label": "郧西县",
+ "value": "420322"
+ },
+ {
+ "label": "竹山县",
+ "value": "420323"
+ },
+ {
+ "label": "竹溪县",
+ "value": "420324"
+ },
+ {
+ "label": "房县",
+ "value": "420325"
+ },
+ {
+ "label": "丹江口市",
+ "value": "420381"
+ }
+ ],
+ [{
+ "label": "西陵区",
+ "value": "420502"
+ },
+ {
+ "label": "伍家岗区",
+ "value": "420503"
+ },
+ {
+ "label": "点军区",
+ "value": "420504"
+ },
+ {
+ "label": "猇亭区",
+ "value": "420505"
+ },
+ {
+ "label": "夷陵区",
+ "value": "420506"
+ },
+ {
+ "label": "远安县",
+ "value": "420525"
+ },
+ {
+ "label": "兴山县",
+ "value": "420526"
+ },
+ {
+ "label": "秭归县",
+ "value": "420527"
+ },
+ {
+ "label": "长阳土家族自治县",
+ "value": "420528"
+ },
+ {
+ "label": "五峰土家族自治县",
+ "value": "420529"
+ },
+ {
+ "label": "宜都市",
+ "value": "420581"
+ },
+ {
+ "label": "当阳市",
+ "value": "420582"
+ },
+ {
+ "label": "枝江市",
+ "value": "420583"
+ }
+ ],
+ [{
+ "label": "襄城区",
+ "value": "420602"
+ },
+ {
+ "label": "樊城区",
+ "value": "420606"
+ },
+ {
+ "label": "襄州区",
+ "value": "420607"
+ },
+ {
+ "label": "南漳县",
+ "value": "420624"
+ },
+ {
+ "label": "谷城县",
+ "value": "420625"
+ },
+ {
+ "label": "保康县",
+ "value": "420626"
+ },
+ {
+ "label": "老河口市",
+ "value": "420682"
+ },
+ {
+ "label": "枣阳市",
+ "value": "420683"
+ },
+ {
+ "label": "宜城市",
+ "value": "420684"
+ }
+ ],
+ [{
+ "label": "梁子湖区",
+ "value": "420702"
+ },
+ {
+ "label": "华容区",
+ "value": "420703"
+ },
+ {
+ "label": "鄂城区",
+ "value": "420704"
+ }
+ ],
+ [{
+ "label": "东宝区",
+ "value": "420802"
+ },
+ {
+ "label": "掇刀区",
+ "value": "420804"
+ },
+ {
+ "label": "京山县",
+ "value": "420821"
+ },
+ {
+ "label": "沙洋县",
+ "value": "420822"
+ },
+ {
+ "label": "钟祥市",
+ "value": "420881"
+ }
+ ],
+ [{
+ "label": "孝南区",
+ "value": "420902"
+ },
+ {
+ "label": "孝昌县",
+ "value": "420921"
+ },
+ {
+ "label": "大悟县",
+ "value": "420922"
+ },
+ {
+ "label": "云梦县",
+ "value": "420923"
+ },
+ {
+ "label": "应城市",
+ "value": "420981"
+ },
+ {
+ "label": "安陆市",
+ "value": "420982"
+ },
+ {
+ "label": "汉川市",
+ "value": "420984"
+ }
+ ],
+ [{
+ "label": "沙市区",
+ "value": "421002"
+ },
+ {
+ "label": "荆州区",
+ "value": "421003"
+ },
+ {
+ "label": "公安县",
+ "value": "421022"
+ },
+ {
+ "label": "监利县",
+ "value": "421023"
+ },
+ {
+ "label": "江陵县",
+ "value": "421024"
+ },
+ {
+ "label": "荆州经济技术开发区",
+ "value": "421071"
+ },
+ {
+ "label": "石首市",
+ "value": "421081"
+ },
+ {
+ "label": "洪湖市",
+ "value": "421083"
+ },
+ {
+ "label": "松滋市",
+ "value": "421087"
+ }
+ ],
+ [{
+ "label": "黄州区",
+ "value": "421102"
+ },
+ {
+ "label": "团风县",
+ "value": "421121"
+ },
+ {
+ "label": "红安县",
+ "value": "421122"
+ },
+ {
+ "label": "罗田县",
+ "value": "421123"
+ },
+ {
+ "label": "英山县",
+ "value": "421124"
+ },
+ {
+ "label": "浠水县",
+ "value": "421125"
+ },
+ {
+ "label": "蕲春县",
+ "value": "421126"
+ },
+ {
+ "label": "黄梅县",
+ "value": "421127"
+ },
+ {
+ "label": "龙感湖管理区",
+ "value": "421171"
+ },
+ {
+ "label": "麻城市",
+ "value": "421181"
+ },
+ {
+ "label": "武穴市",
+ "value": "421182"
+ }
+ ],
+ [{
+ "label": "咸安区",
+ "value": "421202"
+ },
+ {
+ "label": "嘉鱼县",
+ "value": "421221"
+ },
+ {
+ "label": "通城县",
+ "value": "421222"
+ },
+ {
+ "label": "崇阳县",
+ "value": "421223"
+ },
+ {
+ "label": "通山县",
+ "value": "421224"
+ },
+ {
+ "label": "赤壁市",
+ "value": "421281"
+ }
+ ],
+ [{
+ "label": "曾都区",
+ "value": "421303"
+ },
+ {
+ "label": "随县",
+ "value": "421321"
+ },
+ {
+ "label": "广水市",
+ "value": "421381"
+ }
+ ],
+ [{
+ "label": "恩施市",
+ "value": "422801"
+ },
+ {
+ "label": "利川市",
+ "value": "422802"
+ },
+ {
+ "label": "建始县",
+ "value": "422822"
+ },
+ {
+ "label": "巴东县",
+ "value": "422823"
+ },
+ {
+ "label": "宣恩县",
+ "value": "422825"
+ },
+ {
+ "label": "咸丰县",
+ "value": "422826"
+ },
+ {
+ "label": "来凤县",
+ "value": "422827"
+ },
+ {
+ "label": "鹤峰县",
+ "value": "422828"
+ }
+ ],
+ [{
+ "label": "仙桃市",
+ "value": "429004"
+ },
+ {
+ "label": "潜江市",
+ "value": "429005"
+ },
+ {
+ "label": "天门市",
+ "value": "429006"
+ },
+ {
+ "label": "神农架林区",
+ "value": "429021"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "芙蓉区",
+ "value": "430102"
+ },
+ {
+ "label": "天心区",
+ "value": "430103"
+ },
+ {
+ "label": "岳麓区",
+ "value": "430104"
+ },
+ {
+ "label": "开福区",
+ "value": "430105"
+ },
+ {
+ "label": "雨花区",
+ "value": "430111"
+ },
+ {
+ "label": "望城区",
+ "value": "430112"
+ },
+ {
+ "label": "长沙县",
+ "value": "430121"
+ },
+ {
+ "label": "浏阳市",
+ "value": "430181"
+ },
+ {
+ "label": "宁乡市",
+ "value": "430182"
+ }
+ ],
+ [{
+ "label": "荷塘区",
+ "value": "430202"
+ },
+ {
+ "label": "芦淞区",
+ "value": "430203"
+ },
+ {
+ "label": "石峰区",
+ "value": "430204"
+ },
+ {
+ "label": "天元区",
+ "value": "430211"
+ },
+ {
+ "label": "株洲县",
+ "value": "430221"
+ },
+ {
+ "label": "攸县",
+ "value": "430223"
+ },
+ {
+ "label": "茶陵县",
+ "value": "430224"
+ },
+ {
+ "label": "炎陵县",
+ "value": "430225"
+ },
+ {
+ "label": "云龙示范区",
+ "value": "430271"
+ },
+ {
+ "label": "醴陵市",
+ "value": "430281"
+ }
+ ],
+ [{
+ "label": "雨湖区",
+ "value": "430302"
+ },
+ {
+ "label": "岳塘区",
+ "value": "430304"
+ },
+ {
+ "label": "湘潭县",
+ "value": "430321"
+ },
+ {
+ "label": "湖南湘潭高新技术产业园区",
+ "value": "430371"
+ },
+ {
+ "label": "湘潭昭山示范区",
+ "value": "430372"
+ },
+ {
+ "label": "湘潭九华示范区",
+ "value": "430373"
+ },
+ {
+ "label": "湘乡市",
+ "value": "430381"
+ },
+ {
+ "label": "韶山市",
+ "value": "430382"
+ }
+ ],
+ [{
+ "label": "珠晖区",
+ "value": "430405"
+ },
+ {
+ "label": "雁峰区",
+ "value": "430406"
+ },
+ {
+ "label": "石鼓区",
+ "value": "430407"
+ },
+ {
+ "label": "蒸湘区",
+ "value": "430408"
+ },
+ {
+ "label": "南岳区",
+ "value": "430412"
+ },
+ {
+ "label": "衡阳县",
+ "value": "430421"
+ },
+ {
+ "label": "衡南县",
+ "value": "430422"
+ },
+ {
+ "label": "衡山县",
+ "value": "430423"
+ },
+ {
+ "label": "衡东县",
+ "value": "430424"
+ },
+ {
+ "label": "祁东县",
+ "value": "430426"
+ },
+ {
+ "label": "衡阳综合保税区",
+ "value": "430471"
+ },
+ {
+ "label": "湖南衡阳高新技术产业园区",
+ "value": "430472"
+ },
+ {
+ "label": "湖南衡阳松木经济开发区",
+ "value": "430473"
+ },
+ {
+ "label": "耒阳市",
+ "value": "430481"
+ },
+ {
+ "label": "常宁市",
+ "value": "430482"
+ }
+ ],
+ [{
+ "label": "双清区",
+ "value": "430502"
+ },
+ {
+ "label": "大祥区",
+ "value": "430503"
+ },
+ {
+ "label": "北塔区",
+ "value": "430511"
+ },
+ {
+ "label": "邵东县",
+ "value": "430521"
+ },
+ {
+ "label": "新邵县",
+ "value": "430522"
+ },
+ {
+ "label": "邵阳县",
+ "value": "430523"
+ },
+ {
+ "label": "隆回县",
+ "value": "430524"
+ },
+ {
+ "label": "洞口县",
+ "value": "430525"
+ },
+ {
+ "label": "绥宁县",
+ "value": "430527"
+ },
+ {
+ "label": "新宁县",
+ "value": "430528"
+ },
+ {
+ "label": "城步苗族自治县",
+ "value": "430529"
+ },
+ {
+ "label": "武冈市",
+ "value": "430581"
+ }
+ ],
+ [{
+ "label": "岳阳楼区",
+ "value": "430602"
+ },
+ {
+ "label": "云溪区",
+ "value": "430603"
+ },
+ {
+ "label": "君山区",
+ "value": "430611"
+ },
+ {
+ "label": "岳阳县",
+ "value": "430621"
+ },
+ {
+ "label": "华容县",
+ "value": "430623"
+ },
+ {
+ "label": "湘阴县",
+ "value": "430624"
+ },
+ {
+ "label": "平江县",
+ "value": "430626"
+ },
+ {
+ "label": "岳阳市屈原管理区",
+ "value": "430671"
+ },
+ {
+ "label": "汨罗市",
+ "value": "430681"
+ },
+ {
+ "label": "临湘市",
+ "value": "430682"
+ }
+ ],
+ [{
+ "label": "武陵区",
+ "value": "430702"
+ },
+ {
+ "label": "鼎城区",
+ "value": "430703"
+ },
+ {
+ "label": "安乡县",
+ "value": "430721"
+ },
+ {
+ "label": "汉寿县",
+ "value": "430722"
+ },
+ {
+ "label": "澧县",
+ "value": "430723"
+ },
+ {
+ "label": "临澧县",
+ "value": "430724"
+ },
+ {
+ "label": "桃源县",
+ "value": "430725"
+ },
+ {
+ "label": "石门县",
+ "value": "430726"
+ },
+ {
+ "label": "常德市西洞庭管理区",
+ "value": "430771"
+ },
+ {
+ "label": "津市市",
+ "value": "430781"
+ }
+ ],
+ [{
+ "label": "永定区",
+ "value": "430802"
+ },
+ {
+ "label": "武陵源区",
+ "value": "430811"
+ },
+ {
+ "label": "慈利县",
+ "value": "430821"
+ },
+ {
+ "label": "桑植县",
+ "value": "430822"
+ }
+ ],
+ [{
+ "label": "资阳区",
+ "value": "430902"
+ },
+ {
+ "label": "赫山区",
+ "value": "430903"
+ },
+ {
+ "label": "南县",
+ "value": "430921"
+ },
+ {
+ "label": "桃江县",
+ "value": "430922"
+ },
+ {
+ "label": "安化县",
+ "value": "430923"
+ },
+ {
+ "label": "益阳市大通湖管理区",
+ "value": "430971"
+ },
+ {
+ "label": "湖南益阳高新技术产业园区",
+ "value": "430972"
+ },
+ {
+ "label": "沅江市",
+ "value": "430981"
+ }
+ ],
+ [{
+ "label": "北湖区",
+ "value": "431002"
+ },
+ {
+ "label": "苏仙区",
+ "value": "431003"
+ },
+ {
+ "label": "桂阳县",
+ "value": "431021"
+ },
+ {
+ "label": "宜章县",
+ "value": "431022"
+ },
+ {
+ "label": "永兴县",
+ "value": "431023"
+ },
+ {
+ "label": "嘉禾县",
+ "value": "431024"
+ },
+ {
+ "label": "临武县",
+ "value": "431025"
+ },
+ {
+ "label": "汝城县",
+ "value": "431026"
+ },
+ {
+ "label": "桂东县",
+ "value": "431027"
+ },
+ {
+ "label": "安仁县",
+ "value": "431028"
+ },
+ {
+ "label": "资兴市",
+ "value": "431081"
+ }
+ ],
+ [{
+ "label": "零陵区",
+ "value": "431102"
+ },
+ {
+ "label": "冷水滩区",
+ "value": "431103"
+ },
+ {
+ "label": "祁阳县",
+ "value": "431121"
+ },
+ {
+ "label": "东安县",
+ "value": "431122"
+ },
+ {
+ "label": "双牌县",
+ "value": "431123"
+ },
+ {
+ "label": "道县",
+ "value": "431124"
+ },
+ {
+ "label": "江永县",
+ "value": "431125"
+ },
+ {
+ "label": "宁远县",
+ "value": "431126"
+ },
+ {
+ "label": "蓝山县",
+ "value": "431127"
+ },
+ {
+ "label": "新田县",
+ "value": "431128"
+ },
+ {
+ "label": "江华瑶族自治县",
+ "value": "431129"
+ },
+ {
+ "label": "永州经济技术开发区",
+ "value": "431171"
+ },
+ {
+ "label": "永州市金洞管理区",
+ "value": "431172"
+ },
+ {
+ "label": "永州市回龙圩管理区",
+ "value": "431173"
+ }
+ ],
+ [{
+ "label": "鹤城区",
+ "value": "431202"
+ },
+ {
+ "label": "中方县",
+ "value": "431221"
+ },
+ {
+ "label": "沅陵县",
+ "value": "431222"
+ },
+ {
+ "label": "辰溪县",
+ "value": "431223"
+ },
+ {
+ "label": "溆浦县",
+ "value": "431224"
+ },
+ {
+ "label": "会同县",
+ "value": "431225"
+ },
+ {
+ "label": "麻阳苗族自治县",
+ "value": "431226"
+ },
+ {
+ "label": "新晃侗族自治县",
+ "value": "431227"
+ },
+ {
+ "label": "芷江侗族自治县",
+ "value": "431228"
+ },
+ {
+ "label": "靖州苗族侗族自治县",
+ "value": "431229"
+ },
+ {
+ "label": "通道侗族自治县",
+ "value": "431230"
+ },
+ {
+ "label": "怀化市洪江管理区",
+ "value": "431271"
+ },
+ {
+ "label": "洪江市",
+ "value": "431281"
+ }
+ ],
+ [{
+ "label": "娄星区",
+ "value": "431302"
+ },
+ {
+ "label": "双峰县",
+ "value": "431321"
+ },
+ {
+ "label": "新化县",
+ "value": "431322"
+ },
+ {
+ "label": "冷水江市",
+ "value": "431381"
+ },
+ {
+ "label": "涟源市",
+ "value": "431382"
+ }
+ ],
+ [{
+ "label": "吉首市",
+ "value": "433101"
+ },
+ {
+ "label": "泸溪县",
+ "value": "433122"
+ },
+ {
+ "label": "凤凰县",
+ "value": "433123"
+ },
+ {
+ "label": "花垣县",
+ "value": "433124"
+ },
+ {
+ "label": "保靖县",
+ "value": "433125"
+ },
+ {
+ "label": "古丈县",
+ "value": "433126"
+ },
+ {
+ "label": "永顺县",
+ "value": "433127"
+ },
+ {
+ "label": "龙山县",
+ "value": "433130"
+ },
+ {
+ "label": "湖南吉首经济开发区",
+ "value": "433172"
+ },
+ {
+ "label": "湖南永顺经济开发区",
+ "value": "433173"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "荔湾区",
+ "value": "440103"
+ },
+ {
+ "label": "越秀区",
+ "value": "440104"
+ },
+ {
+ "label": "海珠区",
+ "value": "440105"
+ },
+ {
+ "label": "天河区",
+ "value": "440106"
+ },
+ {
+ "label": "白云区",
+ "value": "440111"
+ },
+ {
+ "label": "黄埔区",
+ "value": "440112"
+ },
+ {
+ "label": "番禺区",
+ "value": "440113"
+ },
+ {
+ "label": "花都区",
+ "value": "440114"
+ },
+ {
+ "label": "南沙区",
+ "value": "440115"
+ },
+ {
+ "label": "从化区",
+ "value": "440117"
+ },
+ {
+ "label": "增城区",
+ "value": "440118"
+ }
+ ],
+ [{
+ "label": "武江区",
+ "value": "440203"
+ },
+ {
+ "label": "浈江区",
+ "value": "440204"
+ },
+ {
+ "label": "曲江区",
+ "value": "440205"
+ },
+ {
+ "label": "始兴县",
+ "value": "440222"
+ },
+ {
+ "label": "仁化县",
+ "value": "440224"
+ },
+ {
+ "label": "翁源县",
+ "value": "440229"
+ },
+ {
+ "label": "乳源瑶族自治县",
+ "value": "440232"
+ },
+ {
+ "label": "新丰县",
+ "value": "440233"
+ },
+ {
+ "label": "乐昌市",
+ "value": "440281"
+ },
+ {
+ "label": "南雄市",
+ "value": "440282"
+ }
+ ],
+ [{
+ "label": "罗湖区",
+ "value": "440303"
+ },
+ {
+ "label": "福田区",
+ "value": "440304"
+ },
+ {
+ "label": "南山区",
+ "value": "440305"
+ },
+ {
+ "label": "宝安区",
+ "value": "440306"
+ },
+ {
+ "label": "龙岗区",
+ "value": "440307"
+ },
+ {
+ "label": "盐田区",
+ "value": "440308"
+ },
+ {
+ "label": "龙华区",
+ "value": "440309"
+ },
+ {
+ "label": "坪山区",
+ "value": "440310"
+ }
+ ],
+ [{
+ "label": "香洲区",
+ "value": "440402"
+ },
+ {
+ "label": "斗门区",
+ "value": "440403"
+ },
+ {
+ "label": "金湾区",
+ "value": "440404"
+ }
+ ],
+ [{
+ "label": "龙湖区",
+ "value": "440507"
+ },
+ {
+ "label": "金平区",
+ "value": "440511"
+ },
+ {
+ "label": "濠江区",
+ "value": "440512"
+ },
+ {
+ "label": "潮阳区",
+ "value": "440513"
+ },
+ {
+ "label": "潮南区",
+ "value": "440514"
+ },
+ {
+ "label": "澄海区",
+ "value": "440515"
+ },
+ {
+ "label": "南澳县",
+ "value": "440523"
+ }
+ ],
+ [{
+ "label": "禅城区",
+ "value": "440604"
+ },
+ {
+ "label": "南海区",
+ "value": "440605"
+ },
+ {
+ "label": "顺德区",
+ "value": "440606"
+ },
+ {
+ "label": "三水区",
+ "value": "440607"
+ },
+ {
+ "label": "高明区",
+ "value": "440608"
+ }
+ ],
+ [{
+ "label": "蓬江区",
+ "value": "440703"
+ },
+ {
+ "label": "江海区",
+ "value": "440704"
+ },
+ {
+ "label": "新会区",
+ "value": "440705"
+ },
+ {
+ "label": "台山市",
+ "value": "440781"
+ },
+ {
+ "label": "开平市",
+ "value": "440783"
+ },
+ {
+ "label": "鹤山市",
+ "value": "440784"
+ },
+ {
+ "label": "恩平市",
+ "value": "440785"
+ }
+ ],
+ [{
+ "label": "赤坎区",
+ "value": "440802"
+ },
+ {
+ "label": "霞山区",
+ "value": "440803"
+ },
+ {
+ "label": "坡头区",
+ "value": "440804"
+ },
+ {
+ "label": "麻章区",
+ "value": "440811"
+ },
+ {
+ "label": "遂溪县",
+ "value": "440823"
+ },
+ {
+ "label": "徐闻县",
+ "value": "440825"
+ },
+ {
+ "label": "廉江市",
+ "value": "440881"
+ },
+ {
+ "label": "雷州市",
+ "value": "440882"
+ },
+ {
+ "label": "吴川市",
+ "value": "440883"
+ }
+ ],
+ [{
+ "label": "茂南区",
+ "value": "440902"
+ },
+ {
+ "label": "电白区",
+ "value": "440904"
+ },
+ {
+ "label": "高州市",
+ "value": "440981"
+ },
+ {
+ "label": "化州市",
+ "value": "440982"
+ },
+ {
+ "label": "信宜市",
+ "value": "440983"
+ }
+ ],
+ [{
+ "label": "端州区",
+ "value": "441202"
+ },
+ {
+ "label": "鼎湖区",
+ "value": "441203"
+ },
+ {
+ "label": "高要区",
+ "value": "441204"
+ },
+ {
+ "label": "广宁县",
+ "value": "441223"
+ },
+ {
+ "label": "怀集县",
+ "value": "441224"
+ },
+ {
+ "label": "封开县",
+ "value": "441225"
+ },
+ {
+ "label": "德庆县",
+ "value": "441226"
+ },
+ {
+ "label": "四会市",
+ "value": "441284"
+ }
+ ],
+ [{
+ "label": "惠城区",
+ "value": "441302"
+ },
+ {
+ "label": "惠阳区",
+ "value": "441303"
+ },
+ {
+ "label": "博罗县",
+ "value": "441322"
+ },
+ {
+ "label": "惠东县",
+ "value": "441323"
+ },
+ {
+ "label": "龙门县",
+ "value": "441324"
+ }
+ ],
+ [{
+ "label": "梅江区",
+ "value": "441402"
+ },
+ {
+ "label": "梅县区",
+ "value": "441403"
+ },
+ {
+ "label": "大埔县",
+ "value": "441422"
+ },
+ {
+ "label": "丰顺县",
+ "value": "441423"
+ },
+ {
+ "label": "五华县",
+ "value": "441424"
+ },
+ {
+ "label": "平远县",
+ "value": "441426"
+ },
+ {
+ "label": "蕉岭县",
+ "value": "441427"
+ },
+ {
+ "label": "兴宁市",
+ "value": "441481"
+ }
+ ],
+ [{
+ "label": "城区",
+ "value": "441502"
+ },
+ {
+ "label": "海丰县",
+ "value": "441521"
+ },
+ {
+ "label": "陆河县",
+ "value": "441523"
+ },
+ {
+ "label": "陆丰市",
+ "value": "441581"
+ }
+ ],
+ [{
+ "label": "源城区",
+ "value": "441602"
+ },
+ {
+ "label": "紫金县",
+ "value": "441621"
+ },
+ {
+ "label": "龙川县",
+ "value": "441622"
+ },
+ {
+ "label": "连平县",
+ "value": "441623"
+ },
+ {
+ "label": "和平县",
+ "value": "441624"
+ },
+ {
+ "label": "东源县",
+ "value": "441625"
+ }
+ ],
+ [{
+ "label": "江城区",
+ "value": "441702"
+ },
+ {
+ "label": "阳东区",
+ "value": "441704"
+ },
+ {
+ "label": "阳西县",
+ "value": "441721"
+ },
+ {
+ "label": "阳春市",
+ "value": "441781"
+ }
+ ],
+ [{
+ "label": "清城区",
+ "value": "441802"
+ },
+ {
+ "label": "清新区",
+ "value": "441803"
+ },
+ {
+ "label": "佛冈县",
+ "value": "441821"
+ },
+ {
+ "label": "阳山县",
+ "value": "441823"
+ },
+ {
+ "label": "连山壮族瑶族自治县",
+ "value": "441825"
+ },
+ {
+ "label": "连南瑶族自治县",
+ "value": "441826"
+ },
+ {
+ "label": "英德市",
+ "value": "441881"
+ },
+ {
+ "label": "连州市",
+ "value": "441882"
+ }
+ ],
+ [{
+ "label": "东莞市",
+ "value": "441900"
+ }],
+ [{
+ "label": "中山市",
+ "value": "442000"
+ }],
+ [{
+ "label": "湘桥区",
+ "value": "445102"
+ },
+ {
+ "label": "潮安区",
+ "value": "445103"
+ },
+ {
+ "label": "饶平县",
+ "value": "445122"
+ }
+ ],
+ [{
+ "label": "榕城区",
+ "value": "445202"
+ },
+ {
+ "label": "揭东区",
+ "value": "445203"
+ },
+ {
+ "label": "揭西县",
+ "value": "445222"
+ },
+ {
+ "label": "惠来县",
+ "value": "445224"
+ },
+ {
+ "label": "普宁市",
+ "value": "445281"
+ }
+ ],
+ [{
+ "label": "云城区",
+ "value": "445302"
+ },
+ {
+ "label": "云安区",
+ "value": "445303"
+ },
+ {
+ "label": "新兴县",
+ "value": "445321"
+ },
+ {
+ "label": "郁南县",
+ "value": "445322"
+ },
+ {
+ "label": "罗定市",
+ "value": "445381"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "兴宁区",
+ "value": "450102"
+ },
+ {
+ "label": "青秀区",
+ "value": "450103"
+ },
+ {
+ "label": "江南区",
+ "value": "450105"
+ },
+ {
+ "label": "西乡塘区",
+ "value": "450107"
+ },
+ {
+ "label": "良庆区",
+ "value": "450108"
+ },
+ {
+ "label": "邕宁区",
+ "value": "450109"
+ },
+ {
+ "label": "武鸣区",
+ "value": "450110"
+ },
+ {
+ "label": "隆安县",
+ "value": "450123"
+ },
+ {
+ "label": "马山县",
+ "value": "450124"
+ },
+ {
+ "label": "上林县",
+ "value": "450125"
+ },
+ {
+ "label": "宾阳县",
+ "value": "450126"
+ },
+ {
+ "label": "横县",
+ "value": "450127"
+ }
+ ],
+ [{
+ "label": "城中区",
+ "value": "450202"
+ },
+ {
+ "label": "鱼峰区",
+ "value": "450203"
+ },
+ {
+ "label": "柳南区",
+ "value": "450204"
+ },
+ {
+ "label": "柳北区",
+ "value": "450205"
+ },
+ {
+ "label": "柳江区",
+ "value": "450206"
+ },
+ {
+ "label": "柳城县",
+ "value": "450222"
+ },
+ {
+ "label": "鹿寨县",
+ "value": "450223"
+ },
+ {
+ "label": "融安县",
+ "value": "450224"
+ },
+ {
+ "label": "融水苗族自治县",
+ "value": "450225"
+ },
+ {
+ "label": "三江侗族自治县",
+ "value": "450226"
+ }
+ ],
+ [{
+ "label": "秀峰区",
+ "value": "450302"
+ },
+ {
+ "label": "叠彩区",
+ "value": "450303"
+ },
+ {
+ "label": "象山区",
+ "value": "450304"
+ },
+ {
+ "label": "七星区",
+ "value": "450305"
+ },
+ {
+ "label": "雁山区",
+ "value": "450311"
+ },
+ {
+ "label": "临桂区",
+ "value": "450312"
+ },
+ {
+ "label": "阳朔县",
+ "value": "450321"
+ },
+ {
+ "label": "灵川县",
+ "value": "450323"
+ },
+ {
+ "label": "全州县",
+ "value": "450324"
+ },
+ {
+ "label": "兴安县",
+ "value": "450325"
+ },
+ {
+ "label": "永福县",
+ "value": "450326"
+ },
+ {
+ "label": "灌阳县",
+ "value": "450327"
+ },
+ {
+ "label": "龙胜各族自治县",
+ "value": "450328"
+ },
+ {
+ "label": "资源县",
+ "value": "450329"
+ },
+ {
+ "label": "平乐县",
+ "value": "450330"
+ },
+ {
+ "label": "荔浦县",
+ "value": "450331"
+ },
+ {
+ "label": "恭城瑶族自治县",
+ "value": "450332"
+ }
+ ],
+ [{
+ "label": "万秀区",
+ "value": "450403"
+ },
+ {
+ "label": "长洲区",
+ "value": "450405"
+ },
+ {
+ "label": "龙圩区",
+ "value": "450406"
+ },
+ {
+ "label": "苍梧县",
+ "value": "450421"
+ },
+ {
+ "label": "藤县",
+ "value": "450422"
+ },
+ {
+ "label": "蒙山县",
+ "value": "450423"
+ },
+ {
+ "label": "岑溪市",
+ "value": "450481"
+ }
+ ],
+ [{
+ "label": "海城区",
+ "value": "450502"
+ },
+ {
+ "label": "银海区",
+ "value": "450503"
+ },
+ {
+ "label": "铁山港区",
+ "value": "450512"
+ },
+ {
+ "label": "合浦县",
+ "value": "450521"
+ }
+ ],
+ [{
+ "label": "港口区",
+ "value": "450602"
+ },
+ {
+ "label": "防城区",
+ "value": "450603"
+ },
+ {
+ "label": "上思县",
+ "value": "450621"
+ },
+ {
+ "label": "东兴市",
+ "value": "450681"
+ }
+ ],
+ [{
+ "label": "钦南区",
+ "value": "450702"
+ },
+ {
+ "label": "钦北区",
+ "value": "450703"
+ },
+ {
+ "label": "灵山县",
+ "value": "450721"
+ },
+ {
+ "label": "浦北县",
+ "value": "450722"
+ }
+ ],
+ [{
+ "label": "港北区",
+ "value": "450802"
+ },
+ {
+ "label": "港南区",
+ "value": "450803"
+ },
+ {
+ "label": "覃塘区",
+ "value": "450804"
+ },
+ {
+ "label": "平南县",
+ "value": "450821"
+ },
+ {
+ "label": "桂平市",
+ "value": "450881"
+ }
+ ],
+ [{
+ "label": "玉州区",
+ "value": "450902"
+ },
+ {
+ "label": "福绵区",
+ "value": "450903"
+ },
+ {
+ "label": "容县",
+ "value": "450921"
+ },
+ {
+ "label": "陆川县",
+ "value": "450922"
+ },
+ {
+ "label": "博白县",
+ "value": "450923"
+ },
+ {
+ "label": "兴业县",
+ "value": "450924"
+ },
+ {
+ "label": "北流市",
+ "value": "450981"
+ }
+ ],
+ [{
+ "label": "右江区",
+ "value": "451002"
+ },
+ {
+ "label": "田阳县",
+ "value": "451021"
+ },
+ {
+ "label": "田东县",
+ "value": "451022"
+ },
+ {
+ "label": "平果县",
+ "value": "451023"
+ },
+ {
+ "label": "德保县",
+ "value": "451024"
+ },
+ {
+ "label": "那坡县",
+ "value": "451026"
+ },
+ {
+ "label": "凌云县",
+ "value": "451027"
+ },
+ {
+ "label": "乐业县",
+ "value": "451028"
+ },
+ {
+ "label": "田林县",
+ "value": "451029"
+ },
+ {
+ "label": "西林县",
+ "value": "451030"
+ },
+ {
+ "label": "隆林各族自治县",
+ "value": "451031"
+ },
+ {
+ "label": "靖西市",
+ "value": "451081"
+ }
+ ],
+ [{
+ "label": "八步区",
+ "value": "451102"
+ },
+ {
+ "label": "平桂区",
+ "value": "451103"
+ },
+ {
+ "label": "昭平县",
+ "value": "451121"
+ },
+ {
+ "label": "钟山县",
+ "value": "451122"
+ },
+ {
+ "label": "富川瑶族自治县",
+ "value": "451123"
+ }
+ ],
+ [{
+ "label": "金城江区",
+ "value": "451202"
+ },
+ {
+ "label": "宜州区",
+ "value": "451203"
+ },
+ {
+ "label": "南丹县",
+ "value": "451221"
+ },
+ {
+ "label": "天峨县",
+ "value": "451222"
+ },
+ {
+ "label": "凤山县",
+ "value": "451223"
+ },
+ {
+ "label": "东兰县",
+ "value": "451224"
+ },
+ {
+ "label": "罗城仫佬族自治县",
+ "value": "451225"
+ },
+ {
+ "label": "环江毛南族自治县",
+ "value": "451226"
+ },
+ {
+ "label": "巴马瑶族自治县",
+ "value": "451227"
+ },
+ {
+ "label": "都安瑶族自治县",
+ "value": "451228"
+ },
+ {
+ "label": "大化瑶族自治县",
+ "value": "451229"
+ }
+ ],
+ [{
+ "label": "兴宾区",
+ "value": "451302"
+ },
+ {
+ "label": "忻城县",
+ "value": "451321"
+ },
+ {
+ "label": "象州县",
+ "value": "451322"
+ },
+ {
+ "label": "武宣县",
+ "value": "451323"
+ },
+ {
+ "label": "金秀瑶族自治县",
+ "value": "451324"
+ },
+ {
+ "label": "合山市",
+ "value": "451381"
+ }
+ ],
+ [{
+ "label": "江州区",
+ "value": "451402"
+ },
+ {
+ "label": "扶绥县",
+ "value": "451421"
+ },
+ {
+ "label": "宁明县",
+ "value": "451422"
+ },
+ {
+ "label": "龙州县",
+ "value": "451423"
+ },
+ {
+ "label": "大新县",
+ "value": "451424"
+ },
+ {
+ "label": "天等县",
+ "value": "451425"
+ },
+ {
+ "label": "凭祥市",
+ "value": "451481"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "秀英区",
+ "value": "460105"
+ },
+ {
+ "label": "龙华区",
+ "value": "460106"
+ },
+ {
+ "label": "琼山区",
+ "value": "460107"
+ },
+ {
+ "label": "美兰区",
+ "value": "460108"
+ }
+ ],
+ [{
+ "label": "海棠区",
+ "value": "460202"
+ },
+ {
+ "label": "吉阳区",
+ "value": "460203"
+ },
+ {
+ "label": "天涯区",
+ "value": "460204"
+ },
+ {
+ "label": "崖州区",
+ "value": "460205"
+ }
+ ],
+ [{
+ "label": "西沙群岛",
+ "value": "460321"
+ },
+ {
+ "label": "南沙群岛",
+ "value": "460322"
+ },
+ {
+ "label": "中沙群岛的岛礁及其海域",
+ "value": "460323"
+ }
+ ],
+ [{
+ "label": "儋州市",
+ "value": "460400"
+ }],
+ [{
+ "label": "五指山市",
+ "value": "469001"
+ },
+ {
+ "label": "琼海市",
+ "value": "469002"
+ },
+ {
+ "label": "文昌市",
+ "value": "469005"
+ },
+ {
+ "label": "万宁市",
+ "value": "469006"
+ },
+ {
+ "label": "东方市",
+ "value": "469007"
+ },
+ {
+ "label": "定安县",
+ "value": "469021"
+ },
+ {
+ "label": "屯昌县",
+ "value": "469022"
+ },
+ {
+ "label": "澄迈县",
+ "value": "469023"
+ },
+ {
+ "label": "临高县",
+ "value": "469024"
+ },
+ {
+ "label": "白沙黎族自治县",
+ "value": "469025"
+ },
+ {
+ "label": "昌江黎族自治县",
+ "value": "469026"
+ },
+ {
+ "label": "乐东黎族自治县",
+ "value": "469027"
+ },
+ {
+ "label": "陵水黎族自治县",
+ "value": "469028"
+ },
+ {
+ "label": "保亭黎族苗族自治县",
+ "value": "469029"
+ },
+ {
+ "label": "琼中黎族苗族自治县",
+ "value": "469030"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "万州区",
+ "value": "500101"
+ },
+ {
+ "label": "涪陵区",
+ "value": "500102"
+ },
+ {
+ "label": "渝中区",
+ "value": "500103"
+ },
+ {
+ "label": "大渡口区",
+ "value": "500104"
+ },
+ {
+ "label": "江北区",
+ "value": "500105"
+ },
+ {
+ "label": "沙坪坝区",
+ "value": "500106"
+ },
+ {
+ "label": "九龙坡区",
+ "value": "500107"
+ },
+ {
+ "label": "南岸区",
+ "value": "500108"
+ },
+ {
+ "label": "北碚区",
+ "value": "500109"
+ },
+ {
+ "label": "綦江区",
+ "value": "500110"
+ },
+ {
+ "label": "大足区",
+ "value": "500111"
+ },
+ {
+ "label": "渝北区",
+ "value": "500112"
+ },
+ {
+ "label": "巴南区",
+ "value": "500113"
+ },
+ {
+ "label": "黔江区",
+ "value": "500114"
+ },
+ {
+ "label": "长寿区",
+ "value": "500115"
+ },
+ {
+ "label": "江津区",
+ "value": "500116"
+ },
+ {
+ "label": "合川区",
+ "value": "500117"
+ },
+ {
+ "label": "永川区",
+ "value": "500118"
+ },
+ {
+ "label": "南川区",
+ "value": "500119"
+ },
+ {
+ "label": "璧山区",
+ "value": "500120"
+ },
+ {
+ "label": "铜梁区",
+ "value": "500151"
+ },
+ {
+ "label": "潼南区",
+ "value": "500152"
+ },
+ {
+ "label": "荣昌区",
+ "value": "500153"
+ },
+ {
+ "label": "开州区",
+ "value": "500154"
+ },
+ {
+ "label": "梁平区",
+ "value": "500155"
+ },
+ {
+ "label": "武隆区",
+ "value": "500156"
+ }
+ ],
+ [{
+ "label": "城口县",
+ "value": "500229"
+ },
+ {
+ "label": "丰都县",
+ "value": "500230"
+ },
+ {
+ "label": "垫江县",
+ "value": "500231"
+ },
+ {
+ "label": "忠县",
+ "value": "500233"
+ },
+ {
+ "label": "云阳县",
+ "value": "500235"
+ },
+ {
+ "label": "奉节县",
+ "value": "500236"
+ },
+ {
+ "label": "巫山县",
+ "value": "500237"
+ },
+ {
+ "label": "巫溪县",
+ "value": "500238"
+ },
+ {
+ "label": "石柱土家族自治县",
+ "value": "500240"
+ },
+ {
+ "label": "秀山土家族苗族自治县",
+ "value": "500241"
+ },
+ {
+ "label": "酉阳土家族苗族自治县",
+ "value": "500242"
+ },
+ {
+ "label": "彭水苗族土家族自治县",
+ "value": "500243"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "锦江区",
+ "value": "510104"
+ },
+ {
+ "label": "青羊区",
+ "value": "510105"
+ },
+ {
+ "label": "金牛区",
+ "value": "510106"
+ },
+ {
+ "label": "武侯区",
+ "value": "510107"
+ },
+ {
+ "label": "成华区",
+ "value": "510108"
+ },
+ {
+ "label": "龙泉驿区",
+ "value": "510112"
+ },
+ {
+ "label": "青白江区",
+ "value": "510113"
+ },
+ {
+ "label": "新都区",
+ "value": "510114"
+ },
+ {
+ "label": "温江区",
+ "value": "510115"
+ },
+ {
+ "label": "双流区",
+ "value": "510116"
+ },
+ {
+ "label": "郫都区",
+ "value": "510117"
+ },
+ {
+ "label": "金堂县",
+ "value": "510121"
+ },
+ {
+ "label": "大邑县",
+ "value": "510129"
+ },
+ {
+ "label": "蒲江县",
+ "value": "510131"
+ },
+ {
+ "label": "新津县",
+ "value": "510132"
+ },
+ {
+ "label": "都江堰市",
+ "value": "510181"
+ },
+ {
+ "label": "彭州市",
+ "value": "510182"
+ },
+ {
+ "label": "邛崃市",
+ "value": "510183"
+ },
+ {
+ "label": "崇州市",
+ "value": "510184"
+ },
+ {
+ "label": "简阳市",
+ "value": "510185"
+ }
+ ],
+ [{
+ "label": "自流井区",
+ "value": "510302"
+ },
+ {
+ "label": "贡井区",
+ "value": "510303"
+ },
+ {
+ "label": "大安区",
+ "value": "510304"
+ },
+ {
+ "label": "沿滩区",
+ "value": "510311"
+ },
+ {
+ "label": "荣县",
+ "value": "510321"
+ },
+ {
+ "label": "富顺县",
+ "value": "510322"
+ }
+ ],
+ [{
+ "label": "东区",
+ "value": "510402"
+ },
+ {
+ "label": "西区",
+ "value": "510403"
+ },
+ {
+ "label": "仁和区",
+ "value": "510411"
+ },
+ {
+ "label": "米易县",
+ "value": "510421"
+ },
+ {
+ "label": "盐边县",
+ "value": "510422"
+ }
+ ],
+ [{
+ "label": "江阳区",
+ "value": "510502"
+ },
+ {
+ "label": "纳溪区",
+ "value": "510503"
+ },
+ {
+ "label": "龙马潭区",
+ "value": "510504"
+ },
+ {
+ "label": "泸县",
+ "value": "510521"
+ },
+ {
+ "label": "合江县",
+ "value": "510522"
+ },
+ {
+ "label": "叙永县",
+ "value": "510524"
+ },
+ {
+ "label": "古蔺县",
+ "value": "510525"
+ }
+ ],
+ [{
+ "label": "旌阳区",
+ "value": "510603"
+ },
+ {
+ "label": "罗江区",
+ "value": "510604"
+ },
+ {
+ "label": "中江县",
+ "value": "510623"
+ },
+ {
+ "label": "广汉市",
+ "value": "510681"
+ },
+ {
+ "label": "什邡市",
+ "value": "510682"
+ },
+ {
+ "label": "绵竹市",
+ "value": "510683"
+ }
+ ],
+ [{
+ "label": "涪城区",
+ "value": "510703"
+ },
+ {
+ "label": "游仙区",
+ "value": "510704"
+ },
+ {
+ "label": "安州区",
+ "value": "510705"
+ },
+ {
+ "label": "三台县",
+ "value": "510722"
+ },
+ {
+ "label": "盐亭县",
+ "value": "510723"
+ },
+ {
+ "label": "梓潼县",
+ "value": "510725"
+ },
+ {
+ "label": "北川羌族自治县",
+ "value": "510726"
+ },
+ {
+ "label": "平武县",
+ "value": "510727"
+ },
+ {
+ "label": "江油市",
+ "value": "510781"
+ }
+ ],
+ [{
+ "label": "利州区",
+ "value": "510802"
+ },
+ {
+ "label": "昭化区",
+ "value": "510811"
+ },
+ {
+ "label": "朝天区",
+ "value": "510812"
+ },
+ {
+ "label": "旺苍县",
+ "value": "510821"
+ },
+ {
+ "label": "青川县",
+ "value": "510822"
+ },
+ {
+ "label": "剑阁县",
+ "value": "510823"
+ },
+ {
+ "label": "苍溪县",
+ "value": "510824"
+ }
+ ],
+ [{
+ "label": "船山区",
+ "value": "510903"
+ },
+ {
+ "label": "安居区",
+ "value": "510904"
+ },
+ {
+ "label": "蓬溪县",
+ "value": "510921"
+ },
+ {
+ "label": "射洪县",
+ "value": "510922"
+ },
+ {
+ "label": "大英县",
+ "value": "510923"
+ }
+ ],
+ [{
+ "label": "市中区",
+ "value": "511002"
+ },
+ {
+ "label": "东兴区",
+ "value": "511011"
+ },
+ {
+ "label": "威远县",
+ "value": "511024"
+ },
+ {
+ "label": "资中县",
+ "value": "511025"
+ },
+ {
+ "label": "内江经济开发区",
+ "value": "511071"
+ },
+ {
+ "label": "隆昌市",
+ "value": "511083"
+ }
+ ],
+ [{
+ "label": "市中区",
+ "value": "511102"
+ },
+ {
+ "label": "沙湾区",
+ "value": "511111"
+ },
+ {
+ "label": "五通桥区",
+ "value": "511112"
+ },
+ {
+ "label": "金口河区",
+ "value": "511113"
+ },
+ {
+ "label": "犍为县",
+ "value": "511123"
+ },
+ {
+ "label": "井研县",
+ "value": "511124"
+ },
+ {
+ "label": "夹江县",
+ "value": "511126"
+ },
+ {
+ "label": "沐川县",
+ "value": "511129"
+ },
+ {
+ "label": "峨边彝族自治县",
+ "value": "511132"
+ },
+ {
+ "label": "马边彝族自治县",
+ "value": "511133"
+ },
+ {
+ "label": "峨眉山市",
+ "value": "511181"
+ }
+ ],
+ [{
+ "label": "顺庆区",
+ "value": "511302"
+ },
+ {
+ "label": "高坪区",
+ "value": "511303"
+ },
+ {
+ "label": "嘉陵区",
+ "value": "511304"
+ },
+ {
+ "label": "南部县",
+ "value": "511321"
+ },
+ {
+ "label": "营山县",
+ "value": "511322"
+ },
+ {
+ "label": "蓬安县",
+ "value": "511323"
+ },
+ {
+ "label": "仪陇县",
+ "value": "511324"
+ },
+ {
+ "label": "西充县",
+ "value": "511325"
+ },
+ {
+ "label": "阆中市",
+ "value": "511381"
+ }
+ ],
+ [{
+ "label": "东坡区",
+ "value": "511402"
+ },
+ {
+ "label": "彭山区",
+ "value": "511403"
+ },
+ {
+ "label": "仁寿县",
+ "value": "511421"
+ },
+ {
+ "label": "洪雅县",
+ "value": "511423"
+ },
+ {
+ "label": "丹棱县",
+ "value": "511424"
+ },
+ {
+ "label": "青神县",
+ "value": "511425"
+ }
+ ],
+ [{
+ "label": "翠屏区",
+ "value": "511502"
+ },
+ {
+ "label": "南溪区",
+ "value": "511503"
+ },
+ {
+ "label": "宜宾县",
+ "value": "511521"
+ },
+ {
+ "label": "江安县",
+ "value": "511523"
+ },
+ {
+ "label": "长宁县",
+ "value": "511524"
+ },
+ {
+ "label": "高县",
+ "value": "511525"
+ },
+ {
+ "label": "珙县",
+ "value": "511526"
+ },
+ {
+ "label": "筠连县",
+ "value": "511527"
+ },
+ {
+ "label": "兴文县",
+ "value": "511528"
+ },
+ {
+ "label": "屏山县",
+ "value": "511529"
+ }
+ ],
+ [{
+ "label": "广安区",
+ "value": "511602"
+ },
+ {
+ "label": "前锋区",
+ "value": "511603"
+ },
+ {
+ "label": "岳池县",
+ "value": "511621"
+ },
+ {
+ "label": "武胜县",
+ "value": "511622"
+ },
+ {
+ "label": "邻水县",
+ "value": "511623"
+ },
+ {
+ "label": "华蓥市",
+ "value": "511681"
+ }
+ ],
+ [{
+ "label": "通川区",
+ "value": "511702"
+ },
+ {
+ "label": "达川区",
+ "value": "511703"
+ },
+ {
+ "label": "宣汉县",
+ "value": "511722"
+ },
+ {
+ "label": "开江县",
+ "value": "511723"
+ },
+ {
+ "label": "大竹县",
+ "value": "511724"
+ },
+ {
+ "label": "渠县",
+ "value": "511725"
+ },
+ {
+ "label": "达州经济开发区",
+ "value": "511771"
+ },
+ {
+ "label": "万源市",
+ "value": "511781"
+ }
+ ],
+ [{
+ "label": "雨城区",
+ "value": "511802"
+ },
+ {
+ "label": "名山区",
+ "value": "511803"
+ },
+ {
+ "label": "荥经县",
+ "value": "511822"
+ },
+ {
+ "label": "汉源县",
+ "value": "511823"
+ },
+ {
+ "label": "石棉县",
+ "value": "511824"
+ },
+ {
+ "label": "天全县",
+ "value": "511825"
+ },
+ {
+ "label": "芦山县",
+ "value": "511826"
+ },
+ {
+ "label": "宝兴县",
+ "value": "511827"
+ }
+ ],
+ [{
+ "label": "巴州区",
+ "value": "511902"
+ },
+ {
+ "label": "恩阳区",
+ "value": "511903"
+ },
+ {
+ "label": "通江县",
+ "value": "511921"
+ },
+ {
+ "label": "南江县",
+ "value": "511922"
+ },
+ {
+ "label": "平昌县",
+ "value": "511923"
+ },
+ {
+ "label": "巴中经济开发区",
+ "value": "511971"
+ }
+ ],
+ [{
+ "label": "雁江区",
+ "value": "512002"
+ },
+ {
+ "label": "安岳县",
+ "value": "512021"
+ },
+ {
+ "label": "乐至县",
+ "value": "512022"
+ }
+ ],
+ [{
+ "label": "马尔康市",
+ "value": "513201"
+ },
+ {
+ "label": "汶川县",
+ "value": "513221"
+ },
+ {
+ "label": "理县",
+ "value": "513222"
+ },
+ {
+ "label": "茂县",
+ "value": "513223"
+ },
+ {
+ "label": "松潘县",
+ "value": "513224"
+ },
+ {
+ "label": "九寨沟县",
+ "value": "513225"
+ },
+ {
+ "label": "金川县",
+ "value": "513226"
+ },
+ {
+ "label": "小金县",
+ "value": "513227"
+ },
+ {
+ "label": "黑水县",
+ "value": "513228"
+ },
+ {
+ "label": "壤塘县",
+ "value": "513230"
+ },
+ {
+ "label": "阿坝县",
+ "value": "513231"
+ },
+ {
+ "label": "若尔盖县",
+ "value": "513232"
+ },
+ {
+ "label": "红原县",
+ "value": "513233"
+ }
+ ],
+ [{
+ "label": "康定市",
+ "value": "513301"
+ },
+ {
+ "label": "泸定县",
+ "value": "513322"
+ },
+ {
+ "label": "丹巴县",
+ "value": "513323"
+ },
+ {
+ "label": "九龙县",
+ "value": "513324"
+ },
+ {
+ "label": "雅江县",
+ "value": "513325"
+ },
+ {
+ "label": "道孚县",
+ "value": "513326"
+ },
+ {
+ "label": "炉霍县",
+ "value": "513327"
+ },
+ {
+ "label": "甘孜县",
+ "value": "513328"
+ },
+ {
+ "label": "新龙县",
+ "value": "513329"
+ },
+ {
+ "label": "德格县",
+ "value": "513330"
+ },
+ {
+ "label": "白玉县",
+ "value": "513331"
+ },
+ {
+ "label": "石渠县",
+ "value": "513332"
+ },
+ {
+ "label": "色达县",
+ "value": "513333"
+ },
+ {
+ "label": "理塘县",
+ "value": "513334"
+ },
+ {
+ "label": "巴塘县",
+ "value": "513335"
+ },
+ {
+ "label": "乡城县",
+ "value": "513336"
+ },
+ {
+ "label": "稻城县",
+ "value": "513337"
+ },
+ {
+ "label": "得荣县",
+ "value": "513338"
+ }
+ ],
+ [{
+ "label": "西昌市",
+ "value": "513401"
+ },
+ {
+ "label": "木里藏族自治县",
+ "value": "513422"
+ },
+ {
+ "label": "盐源县",
+ "value": "513423"
+ },
+ {
+ "label": "德昌县",
+ "value": "513424"
+ },
+ {
+ "label": "会理县",
+ "value": "513425"
+ },
+ {
+ "label": "会东县",
+ "value": "513426"
+ },
+ {
+ "label": "宁南县",
+ "value": "513427"
+ },
+ {
+ "label": "普格县",
+ "value": "513428"
+ },
+ {
+ "label": "布拖县",
+ "value": "513429"
+ },
+ {
+ "label": "金阳县",
+ "value": "513430"
+ },
+ {
+ "label": "昭觉县",
+ "value": "513431"
+ },
+ {
+ "label": "喜德县",
+ "value": "513432"
+ },
+ {
+ "label": "冕宁县",
+ "value": "513433"
+ },
+ {
+ "label": "越西县",
+ "value": "513434"
+ },
+ {
+ "label": "甘洛县",
+ "value": "513435"
+ },
+ {
+ "label": "美姑县",
+ "value": "513436"
+ },
+ {
+ "label": "雷波县",
+ "value": "513437"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "南明区",
+ "value": "520102"
+ },
+ {
+ "label": "云岩区",
+ "value": "520103"
+ },
+ {
+ "label": "花溪区",
+ "value": "520111"
+ },
+ {
+ "label": "乌当区",
+ "value": "520112"
+ },
+ {
+ "label": "白云区",
+ "value": "520113"
+ },
+ {
+ "label": "观山湖区",
+ "value": "520115"
+ },
+ {
+ "label": "开阳县",
+ "value": "520121"
+ },
+ {
+ "label": "息烽县",
+ "value": "520122"
+ },
+ {
+ "label": "修文县",
+ "value": "520123"
+ },
+ {
+ "label": "清镇市",
+ "value": "520181"
+ }
+ ],
+ [{
+ "label": "钟山区",
+ "value": "520201"
+ },
+ {
+ "label": "六枝特区",
+ "value": "520203"
+ },
+ {
+ "label": "水城县",
+ "value": "520221"
+ },
+ {
+ "label": "盘州市",
+ "value": "520281"
+ }
+ ],
+ [{
+ "label": "红花岗区",
+ "value": "520302"
+ },
+ {
+ "label": "汇川区",
+ "value": "520303"
+ },
+ {
+ "label": "播州区",
+ "value": "520304"
+ },
+ {
+ "label": "桐梓县",
+ "value": "520322"
+ },
+ {
+ "label": "绥阳县",
+ "value": "520323"
+ },
+ {
+ "label": "正安县",
+ "value": "520324"
+ },
+ {
+ "label": "道真仡佬族苗族自治县",
+ "value": "520325"
+ },
+ {
+ "label": "务川仡佬族苗族自治县",
+ "value": "520326"
+ },
+ {
+ "label": "凤冈县",
+ "value": "520327"
+ },
+ {
+ "label": "湄潭县",
+ "value": "520328"
+ },
+ {
+ "label": "余庆县",
+ "value": "520329"
+ },
+ {
+ "label": "习水县",
+ "value": "520330"
+ },
+ {
+ "label": "赤水市",
+ "value": "520381"
+ },
+ {
+ "label": "仁怀市",
+ "value": "520382"
+ }
+ ],
+ [{
+ "label": "西秀区",
+ "value": "520402"
+ },
+ {
+ "label": "平坝区",
+ "value": "520403"
+ },
+ {
+ "label": "普定县",
+ "value": "520422"
+ },
+ {
+ "label": "镇宁布依族苗族自治县",
+ "value": "520423"
+ },
+ {
+ "label": "关岭布依族苗族自治县",
+ "value": "520424"
+ },
+ {
+ "label": "紫云苗族布依族自治县",
+ "value": "520425"
+ }
+ ],
+ [{
+ "label": "七星关区",
+ "value": "520502"
+ },
+ {
+ "label": "大方县",
+ "value": "520521"
+ },
+ {
+ "label": "黔西县",
+ "value": "520522"
+ },
+ {
+ "label": "金沙县",
+ "value": "520523"
+ },
+ {
+ "label": "织金县",
+ "value": "520524"
+ },
+ {
+ "label": "纳雍县",
+ "value": "520525"
+ },
+ {
+ "label": "威宁彝族回族苗族自治县",
+ "value": "520526"
+ },
+ {
+ "label": "赫章县",
+ "value": "520527"
+ }
+ ],
+ [{
+ "label": "碧江区",
+ "value": "520602"
+ },
+ {
+ "label": "万山区",
+ "value": "520603"
+ },
+ {
+ "label": "江口县",
+ "value": "520621"
+ },
+ {
+ "label": "玉屏侗族自治县",
+ "value": "520622"
+ },
+ {
+ "label": "石阡县",
+ "value": "520623"
+ },
+ {
+ "label": "思南县",
+ "value": "520624"
+ },
+ {
+ "label": "印江土家族苗族自治县",
+ "value": "520625"
+ },
+ {
+ "label": "德江县",
+ "value": "520626"
+ },
+ {
+ "label": "沿河土家族自治县",
+ "value": "520627"
+ },
+ {
+ "label": "松桃苗族自治县",
+ "value": "520628"
+ }
+ ],
+ [{
+ "label": "兴义市",
+ "value": "522301"
+ },
+ {
+ "label": "兴仁县",
+ "value": "522322"
+ },
+ {
+ "label": "普安县",
+ "value": "522323"
+ },
+ {
+ "label": "晴隆县",
+ "value": "522324"
+ },
+ {
+ "label": "贞丰县",
+ "value": "522325"
+ },
+ {
+ "label": "望谟县",
+ "value": "522326"
+ },
+ {
+ "label": "册亨县",
+ "value": "522327"
+ },
+ {
+ "label": "安龙县",
+ "value": "522328"
+ }
+ ],
+ [{
+ "label": "凯里市",
+ "value": "522601"
+ },
+ {
+ "label": "黄平县",
+ "value": "522622"
+ },
+ {
+ "label": "施秉县",
+ "value": "522623"
+ },
+ {
+ "label": "三穗县",
+ "value": "522624"
+ },
+ {
+ "label": "镇远县",
+ "value": "522625"
+ },
+ {
+ "label": "岑巩县",
+ "value": "522626"
+ },
+ {
+ "label": "天柱县",
+ "value": "522627"
+ },
+ {
+ "label": "锦屏县",
+ "value": "522628"
+ },
+ {
+ "label": "剑河县",
+ "value": "522629"
+ },
+ {
+ "label": "台江县",
+ "value": "522630"
+ },
+ {
+ "label": "黎平县",
+ "value": "522631"
+ },
+ {
+ "label": "榕江县",
+ "value": "522632"
+ },
+ {
+ "label": "从江县",
+ "value": "522633"
+ },
+ {
+ "label": "雷山县",
+ "value": "522634"
+ },
+ {
+ "label": "麻江县",
+ "value": "522635"
+ },
+ {
+ "label": "丹寨县",
+ "value": "522636"
+ }
+ ],
+ [{
+ "label": "都匀市",
+ "value": "522701"
+ },
+ {
+ "label": "福泉市",
+ "value": "522702"
+ },
+ {
+ "label": "荔波县",
+ "value": "522722"
+ },
+ {
+ "label": "贵定县",
+ "value": "522723"
+ },
+ {
+ "label": "瓮安县",
+ "value": "522725"
+ },
+ {
+ "label": "独山县",
+ "value": "522726"
+ },
+ {
+ "label": "平塘县",
+ "value": "522727"
+ },
+ {
+ "label": "罗甸县",
+ "value": "522728"
+ },
+ {
+ "label": "长顺县",
+ "value": "522729"
+ },
+ {
+ "label": "龙里县",
+ "value": "522730"
+ },
+ {
+ "label": "惠水县",
+ "value": "522731"
+ },
+ {
+ "label": "三都水族自治县",
+ "value": "522732"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "五华区",
+ "value": "530102"
+ },
+ {
+ "label": "盘龙区",
+ "value": "530103"
+ },
+ {
+ "label": "官渡区",
+ "value": "530111"
+ },
+ {
+ "label": "西山区",
+ "value": "530112"
+ },
+ {
+ "label": "东川区",
+ "value": "530113"
+ },
+ {
+ "label": "呈贡区",
+ "value": "530114"
+ },
+ {
+ "label": "晋宁区",
+ "value": "530115"
+ },
+ {
+ "label": "富民县",
+ "value": "530124"
+ },
+ {
+ "label": "宜良县",
+ "value": "530125"
+ },
+ {
+ "label": "石林彝族自治县",
+ "value": "530126"
+ },
+ {
+ "label": "嵩明县",
+ "value": "530127"
+ },
+ {
+ "label": "禄劝彝族苗族自治县",
+ "value": "530128"
+ },
+ {
+ "label": "寻甸回族彝族自治县",
+ "value": "530129"
+ },
+ {
+ "label": "安宁市",
+ "value": "530181"
+ }
+ ],
+ [{
+ "label": "麒麟区",
+ "value": "530302"
+ },
+ {
+ "label": "沾益区",
+ "value": "530303"
+ },
+ {
+ "label": "马龙县",
+ "value": "530321"
+ },
+ {
+ "label": "陆良县",
+ "value": "530322"
+ },
+ {
+ "label": "师宗县",
+ "value": "530323"
+ },
+ {
+ "label": "罗平县",
+ "value": "530324"
+ },
+ {
+ "label": "富源县",
+ "value": "530325"
+ },
+ {
+ "label": "会泽县",
+ "value": "530326"
+ },
+ {
+ "label": "宣威市",
+ "value": "530381"
+ }
+ ],
+ [{
+ "label": "红塔区",
+ "value": "530402"
+ },
+ {
+ "label": "江川区",
+ "value": "530403"
+ },
+ {
+ "label": "澄江县",
+ "value": "530422"
+ },
+ {
+ "label": "通海县",
+ "value": "530423"
+ },
+ {
+ "label": "华宁县",
+ "value": "530424"
+ },
+ {
+ "label": "易门县",
+ "value": "530425"
+ },
+ {
+ "label": "峨山彝族自治县",
+ "value": "530426"
+ },
+ {
+ "label": "新平彝族傣族自治县",
+ "value": "530427"
+ },
+ {
+ "label": "元江哈尼族彝族傣族自治县",
+ "value": "530428"
+ }
+ ],
+ [{
+ "label": "隆阳区",
+ "value": "530502"
+ },
+ {
+ "label": "施甸县",
+ "value": "530521"
+ },
+ {
+ "label": "龙陵县",
+ "value": "530523"
+ },
+ {
+ "label": "昌宁县",
+ "value": "530524"
+ },
+ {
+ "label": "腾冲市",
+ "value": "530581"
+ }
+ ],
+ [{
+ "label": "昭阳区",
+ "value": "530602"
+ },
+ {
+ "label": "鲁甸县",
+ "value": "530621"
+ },
+ {
+ "label": "巧家县",
+ "value": "530622"
+ },
+ {
+ "label": "盐津县",
+ "value": "530623"
+ },
+ {
+ "label": "大关县",
+ "value": "530624"
+ },
+ {
+ "label": "永善县",
+ "value": "530625"
+ },
+ {
+ "label": "绥江县",
+ "value": "530626"
+ },
+ {
+ "label": "镇雄县",
+ "value": "530627"
+ },
+ {
+ "label": "彝良县",
+ "value": "530628"
+ },
+ {
+ "label": "威信县",
+ "value": "530629"
+ },
+ {
+ "label": "水富县",
+ "value": "530630"
+ }
+ ],
+ [{
+ "label": "古城区",
+ "value": "530702"
+ },
+ {
+ "label": "玉龙纳西族自治县",
+ "value": "530721"
+ },
+ {
+ "label": "永胜县",
+ "value": "530722"
+ },
+ {
+ "label": "华坪县",
+ "value": "530723"
+ },
+ {
+ "label": "宁蒗彝族自治县",
+ "value": "530724"
+ }
+ ],
+ [{
+ "label": "思茅区",
+ "value": "530802"
+ },
+ {
+ "label": "宁洱哈尼族彝族自治县",
+ "value": "530821"
+ },
+ {
+ "label": "墨江哈尼族自治县",
+ "value": "530822"
+ },
+ {
+ "label": "景东彝族自治县",
+ "value": "530823"
+ },
+ {
+ "label": "景谷傣族彝族自治县",
+ "value": "530824"
+ },
+ {
+ "label": "镇沅彝族哈尼族拉祜族自治县",
+ "value": "530825"
+ },
+ {
+ "label": "江城哈尼族彝族自治县",
+ "value": "530826"
+ },
+ {
+ "label": "孟连傣族拉祜族佤族自治县",
+ "value": "530827"
+ },
+ {
+ "label": "澜沧拉祜族自治县",
+ "value": "530828"
+ },
+ {
+ "label": "西盟佤族自治县",
+ "value": "530829"
+ }
+ ],
+ [{
+ "label": "临翔区",
+ "value": "530902"
+ },
+ {
+ "label": "凤庆县",
+ "value": "530921"
+ },
+ {
+ "label": "云县",
+ "value": "530922"
+ },
+ {
+ "label": "永德县",
+ "value": "530923"
+ },
+ {
+ "label": "镇康县",
+ "value": "530924"
+ },
+ {
+ "label": "双江拉祜族佤族布朗族傣族自治县",
+ "value": "530925"
+ },
+ {
+ "label": "耿马傣族佤族自治县",
+ "value": "530926"
+ },
+ {
+ "label": "沧源佤族自治县",
+ "value": "530927"
+ }
+ ],
+ [{
+ "label": "楚雄市",
+ "value": "532301"
+ },
+ {
+ "label": "双柏县",
+ "value": "532322"
+ },
+ {
+ "label": "牟定县",
+ "value": "532323"
+ },
+ {
+ "label": "南华县",
+ "value": "532324"
+ },
+ {
+ "label": "姚安县",
+ "value": "532325"
+ },
+ {
+ "label": "大姚县",
+ "value": "532326"
+ },
+ {
+ "label": "永仁县",
+ "value": "532327"
+ },
+ {
+ "label": "元谋县",
+ "value": "532328"
+ },
+ {
+ "label": "武定县",
+ "value": "532329"
+ },
+ {
+ "label": "禄丰县",
+ "value": "532331"
+ }
+ ],
+ [{
+ "label": "个旧市",
+ "value": "532501"
+ },
+ {
+ "label": "开远市",
+ "value": "532502"
+ },
+ {
+ "label": "蒙自市",
+ "value": "532503"
+ },
+ {
+ "label": "弥勒市",
+ "value": "532504"
+ },
+ {
+ "label": "屏边苗族自治县",
+ "value": "532523"
+ },
+ {
+ "label": "建水县",
+ "value": "532524"
+ },
+ {
+ "label": "石屏县",
+ "value": "532525"
+ },
+ {
+ "label": "泸西县",
+ "value": "532527"
+ },
+ {
+ "label": "元阳县",
+ "value": "532528"
+ },
+ {
+ "label": "红河县",
+ "value": "532529"
+ },
+ {
+ "label": "金平苗族瑶族傣族自治县",
+ "value": "532530"
+ },
+ {
+ "label": "绿春县",
+ "value": "532531"
+ },
+ {
+ "label": "河口瑶族自治县",
+ "value": "532532"
+ }
+ ],
+ [{
+ "label": "文山市",
+ "value": "532601"
+ },
+ {
+ "label": "砚山县",
+ "value": "532622"
+ },
+ {
+ "label": "西畴县",
+ "value": "532623"
+ },
+ {
+ "label": "麻栗坡县",
+ "value": "532624"
+ },
+ {
+ "label": "马关县",
+ "value": "532625"
+ },
+ {
+ "label": "丘北县",
+ "value": "532626"
+ },
+ {
+ "label": "广南县",
+ "value": "532627"
+ },
+ {
+ "label": "富宁县",
+ "value": "532628"
+ }
+ ],
+ [{
+ "label": "景洪市",
+ "value": "532801"
+ },
+ {
+ "label": "勐海县",
+ "value": "532822"
+ },
+ {
+ "label": "勐腊县",
+ "value": "532823"
+ }
+ ],
+ [{
+ "label": "大理市",
+ "value": "532901"
+ },
+ {
+ "label": "漾濞彝族自治县",
+ "value": "532922"
+ },
+ {
+ "label": "祥云县",
+ "value": "532923"
+ },
+ {
+ "label": "宾川县",
+ "value": "532924"
+ },
+ {
+ "label": "弥渡县",
+ "value": "532925"
+ },
+ {
+ "label": "南涧彝族自治县",
+ "value": "532926"
+ },
+ {
+ "label": "巍山彝族回族自治县",
+ "value": "532927"
+ },
+ {
+ "label": "永平县",
+ "value": "532928"
+ },
+ {
+ "label": "云龙县",
+ "value": "532929"
+ },
+ {
+ "label": "洱源县",
+ "value": "532930"
+ },
+ {
+ "label": "剑川县",
+ "value": "532931"
+ },
+ {
+ "label": "鹤庆县",
+ "value": "532932"
+ }
+ ],
+ [{
+ "label": "瑞丽市",
+ "value": "533102"
+ },
+ {
+ "label": "芒市",
+ "value": "533103"
+ },
+ {
+ "label": "梁河县",
+ "value": "533122"
+ },
+ {
+ "label": "盈江县",
+ "value": "533123"
+ },
+ {
+ "label": "陇川县",
+ "value": "533124"
+ }
+ ],
+ [{
+ "label": "泸水市",
+ "value": "533301"
+ },
+ {
+ "label": "福贡县",
+ "value": "533323"
+ },
+ {
+ "label": "贡山独龙族怒族自治县",
+ "value": "533324"
+ },
+ {
+ "label": "兰坪白族普米族自治县",
+ "value": "533325"
+ }
+ ],
+ [{
+ "label": "香格里拉市",
+ "value": "533401"
+ },
+ {
+ "label": "德钦县",
+ "value": "533422"
+ },
+ {
+ "label": "维西傈僳族自治县",
+ "value": "533423"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "城关区",
+ "value": "540102"
+ },
+ {
+ "label": "堆龙德庆区",
+ "value": "540103"
+ },
+ {
+ "label": "林周县",
+ "value": "540121"
+ },
+ {
+ "label": "当雄县",
+ "value": "540122"
+ },
+ {
+ "label": "尼木县",
+ "value": "540123"
+ },
+ {
+ "label": "曲水县",
+ "value": "540124"
+ },
+ {
+ "label": "达孜县",
+ "value": "540126"
+ },
+ {
+ "label": "墨竹工卡县",
+ "value": "540127"
+ },
+ {
+ "label": "格尔木藏青工业园区",
+ "value": "540171"
+ },
+ {
+ "label": "拉萨经济技术开发区",
+ "value": "540172"
+ },
+ {
+ "label": "西藏文化旅游创意园区",
+ "value": "540173"
+ },
+ {
+ "label": "达孜工业园区",
+ "value": "540174"
+ }
+ ],
+ [{
+ "label": "桑珠孜区",
+ "value": "540202"
+ },
+ {
+ "label": "南木林县",
+ "value": "540221"
+ },
+ {
+ "label": "江孜县",
+ "value": "540222"
+ },
+ {
+ "label": "定日县",
+ "value": "540223"
+ },
+ {
+ "label": "萨迦县",
+ "value": "540224"
+ },
+ {
+ "label": "拉孜县",
+ "value": "540225"
+ },
+ {
+ "label": "昂仁县",
+ "value": "540226"
+ },
+ {
+ "label": "谢通门县",
+ "value": "540227"
+ },
+ {
+ "label": "白朗县",
+ "value": "540228"
+ },
+ {
+ "label": "仁布县",
+ "value": "540229"
+ },
+ {
+ "label": "康马县",
+ "value": "540230"
+ },
+ {
+ "label": "定结县",
+ "value": "540231"
+ },
+ {
+ "label": "仲巴县",
+ "value": "540232"
+ },
+ {
+ "label": "亚东县",
+ "value": "540233"
+ },
+ {
+ "label": "吉隆县",
+ "value": "540234"
+ },
+ {
+ "label": "聂拉木县",
+ "value": "540235"
+ },
+ {
+ "label": "萨嘎县",
+ "value": "540236"
+ },
+ {
+ "label": "岗巴县",
+ "value": "540237"
+ }
+ ],
+ [{
+ "label": "卡若区",
+ "value": "540302"
+ },
+ {
+ "label": "江达县",
+ "value": "540321"
+ },
+ {
+ "label": "贡觉县",
+ "value": "540322"
+ },
+ {
+ "label": "类乌齐县",
+ "value": "540323"
+ },
+ {
+ "label": "丁青县",
+ "value": "540324"
+ },
+ {
+ "label": "察雅县",
+ "value": "540325"
+ },
+ {
+ "label": "八宿县",
+ "value": "540326"
+ },
+ {
+ "label": "左贡县",
+ "value": "540327"
+ },
+ {
+ "label": "芒康县",
+ "value": "540328"
+ },
+ {
+ "label": "洛隆县",
+ "value": "540329"
+ },
+ {
+ "label": "边坝县",
+ "value": "540330"
+ }
+ ],
+ [{
+ "label": "巴宜区",
+ "value": "540402"
+ },
+ {
+ "label": "工布江达县",
+ "value": "540421"
+ },
+ {
+ "label": "米林县",
+ "value": "540422"
+ },
+ {
+ "label": "墨脱县",
+ "value": "540423"
+ },
+ {
+ "label": "波密县",
+ "value": "540424"
+ },
+ {
+ "label": "察隅县",
+ "value": "540425"
+ },
+ {
+ "label": "朗县",
+ "value": "540426"
+ }
+ ],
+ [{
+ "label": "乃东区",
+ "value": "540502"
+ },
+ {
+ "label": "扎囊县",
+ "value": "540521"
+ },
+ {
+ "label": "贡嘎县",
+ "value": "540522"
+ },
+ {
+ "label": "桑日县",
+ "value": "540523"
+ },
+ {
+ "label": "琼结县",
+ "value": "540524"
+ },
+ {
+ "label": "曲松县",
+ "value": "540525"
+ },
+ {
+ "label": "措美县",
+ "value": "540526"
+ },
+ {
+ "label": "洛扎县",
+ "value": "540527"
+ },
+ {
+ "label": "加查县",
+ "value": "540528"
+ },
+ {
+ "label": "隆子县",
+ "value": "540529"
+ },
+ {
+ "label": "错那县",
+ "value": "540530"
+ },
+ {
+ "label": "浪卡子县",
+ "value": "540531"
+ }
+ ],
+ [{
+ "label": "那曲县",
+ "value": "542421"
+ },
+ {
+ "label": "嘉黎县",
+ "value": "542422"
+ },
+ {
+ "label": "比如县",
+ "value": "542423"
+ },
+ {
+ "label": "聂荣县",
+ "value": "542424"
+ },
+ {
+ "label": "安多县",
+ "value": "542425"
+ },
+ {
+ "label": "申扎县",
+ "value": "542426"
+ },
+ {
+ "label": "索县",
+ "value": "542427"
+ },
+ {
+ "label": "班戈县",
+ "value": "542428"
+ },
+ {
+ "label": "巴青县",
+ "value": "542429"
+ },
+ {
+ "label": "尼玛县",
+ "value": "542430"
+ },
+ {
+ "label": "双湖县",
+ "value": "542431"
+ }
+ ],
+ [{
+ "label": "普兰县",
+ "value": "542521"
+ },
+ {
+ "label": "札达县",
+ "value": "542522"
+ },
+ {
+ "label": "噶尔县",
+ "value": "542523"
+ },
+ {
+ "label": "日土县",
+ "value": "542524"
+ },
+ {
+ "label": "革吉县",
+ "value": "542525"
+ },
+ {
+ "label": "改则县",
+ "value": "542526"
+ },
+ {
+ "label": "措勤县",
+ "value": "542527"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "新城区",
+ "value": "610102"
+ },
+ {
+ "label": "碑林区",
+ "value": "610103"
+ },
+ {
+ "label": "莲湖区",
+ "value": "610104"
+ },
+ {
+ "label": "灞桥区",
+ "value": "610111"
+ },
+ {
+ "label": "未央区",
+ "value": "610112"
+ },
+ {
+ "label": "雁塔区",
+ "value": "610113"
+ },
+ {
+ "label": "阎良区",
+ "value": "610114"
+ },
+ {
+ "label": "临潼区",
+ "value": "610115"
+ },
+ {
+ "label": "长安区",
+ "value": "610116"
+ },
+ {
+ "label": "高陵区",
+ "value": "610117"
+ },
+ {
+ "label": "鄠邑区",
+ "value": "610118"
+ },
+ {
+ "label": "蓝田县",
+ "value": "610122"
+ },
+ {
+ "label": "周至县",
+ "value": "610124"
+ }
+ ],
+ [{
+ "label": "王益区",
+ "value": "610202"
+ },
+ {
+ "label": "印台区",
+ "value": "610203"
+ },
+ {
+ "label": "耀州区",
+ "value": "610204"
+ },
+ {
+ "label": "宜君县",
+ "value": "610222"
+ }
+ ],
+ [{
+ "label": "渭滨区",
+ "value": "610302"
+ },
+ {
+ "label": "金台区",
+ "value": "610303"
+ },
+ {
+ "label": "陈仓区",
+ "value": "610304"
+ },
+ {
+ "label": "凤翔县",
+ "value": "610322"
+ },
+ {
+ "label": "岐山县",
+ "value": "610323"
+ },
+ {
+ "label": "扶风县",
+ "value": "610324"
+ },
+ {
+ "label": "眉县",
+ "value": "610326"
+ },
+ {
+ "label": "陇县",
+ "value": "610327"
+ },
+ {
+ "label": "千阳县",
+ "value": "610328"
+ },
+ {
+ "label": "麟游县",
+ "value": "610329"
+ },
+ {
+ "label": "凤县",
+ "value": "610330"
+ },
+ {
+ "label": "太白县",
+ "value": "610331"
+ }
+ ],
+ [{
+ "label": "秦都区",
+ "value": "610402"
+ },
+ {
+ "label": "杨陵区",
+ "value": "610403"
+ },
+ {
+ "label": "渭城区",
+ "value": "610404"
+ },
+ {
+ "label": "三原县",
+ "value": "610422"
+ },
+ {
+ "label": "泾阳县",
+ "value": "610423"
+ },
+ {
+ "label": "乾县",
+ "value": "610424"
+ },
+ {
+ "label": "礼泉县",
+ "value": "610425"
+ },
+ {
+ "label": "永寿县",
+ "value": "610426"
+ },
+ {
+ "label": "彬县",
+ "value": "610427"
+ },
+ {
+ "label": "长武县",
+ "value": "610428"
+ },
+ {
+ "label": "旬邑县",
+ "value": "610429"
+ },
+ {
+ "label": "淳化县",
+ "value": "610430"
+ },
+ {
+ "label": "武功县",
+ "value": "610431"
+ },
+ {
+ "label": "兴平市",
+ "value": "610481"
+ }
+ ],
+ [{
+ "label": "临渭区",
+ "value": "610502"
+ },
+ {
+ "label": "华州区",
+ "value": "610503"
+ },
+ {
+ "label": "潼关县",
+ "value": "610522"
+ },
+ {
+ "label": "大荔县",
+ "value": "610523"
+ },
+ {
+ "label": "合阳县",
+ "value": "610524"
+ },
+ {
+ "label": "澄城县",
+ "value": "610525"
+ },
+ {
+ "label": "蒲城县",
+ "value": "610526"
+ },
+ {
+ "label": "白水县",
+ "value": "610527"
+ },
+ {
+ "label": "富平县",
+ "value": "610528"
+ },
+ {
+ "label": "韩城市",
+ "value": "610581"
+ },
+ {
+ "label": "华阴市",
+ "value": "610582"
+ }
+ ],
+ [{
+ "label": "宝塔区",
+ "value": "610602"
+ },
+ {
+ "label": "安塞区",
+ "value": "610603"
+ },
+ {
+ "label": "延长县",
+ "value": "610621"
+ },
+ {
+ "label": "延川县",
+ "value": "610622"
+ },
+ {
+ "label": "子长县",
+ "value": "610623"
+ },
+ {
+ "label": "志丹县",
+ "value": "610625"
+ },
+ {
+ "label": "吴起县",
+ "value": "610626"
+ },
+ {
+ "label": "甘泉县",
+ "value": "610627"
+ },
+ {
+ "label": "富县",
+ "value": "610628"
+ },
+ {
+ "label": "洛川县",
+ "value": "610629"
+ },
+ {
+ "label": "宜川县",
+ "value": "610630"
+ },
+ {
+ "label": "黄龙县",
+ "value": "610631"
+ },
+ {
+ "label": "黄陵县",
+ "value": "610632"
+ }
+ ],
+ [{
+ "label": "汉台区",
+ "value": "610702"
+ },
+ {
+ "label": "南郑区",
+ "value": "610703"
+ },
+ {
+ "label": "城固县",
+ "value": "610722"
+ },
+ {
+ "label": "洋县",
+ "value": "610723"
+ },
+ {
+ "label": "西乡县",
+ "value": "610724"
+ },
+ {
+ "label": "勉县",
+ "value": "610725"
+ },
+ {
+ "label": "宁强县",
+ "value": "610726"
+ },
+ {
+ "label": "略阳县",
+ "value": "610727"
+ },
+ {
+ "label": "镇巴县",
+ "value": "610728"
+ },
+ {
+ "label": "留坝县",
+ "value": "610729"
+ },
+ {
+ "label": "佛坪县",
+ "value": "610730"
+ }
+ ],
+ [{
+ "label": "榆阳区",
+ "value": "610802"
+ },
+ {
+ "label": "横山区",
+ "value": "610803"
+ },
+ {
+ "label": "府谷县",
+ "value": "610822"
+ },
+ {
+ "label": "靖边县",
+ "value": "610824"
+ },
+ {
+ "label": "定边县",
+ "value": "610825"
+ },
+ {
+ "label": "绥德县",
+ "value": "610826"
+ },
+ {
+ "label": "米脂县",
+ "value": "610827"
+ },
+ {
+ "label": "佳县",
+ "value": "610828"
+ },
+ {
+ "label": "吴堡县",
+ "value": "610829"
+ },
+ {
+ "label": "清涧县",
+ "value": "610830"
+ },
+ {
+ "label": "子洲县",
+ "value": "610831"
+ },
+ {
+ "label": "神木市",
+ "value": "610881"
+ }
+ ],
+ [{
+ "label": "汉滨区",
+ "value": "610902"
+ },
+ {
+ "label": "汉阴县",
+ "value": "610921"
+ },
+ {
+ "label": "石泉县",
+ "value": "610922"
+ },
+ {
+ "label": "宁陕县",
+ "value": "610923"
+ },
+ {
+ "label": "紫阳县",
+ "value": "610924"
+ },
+ {
+ "label": "岚皋县",
+ "value": "610925"
+ },
+ {
+ "label": "平利县",
+ "value": "610926"
+ },
+ {
+ "label": "镇坪县",
+ "value": "610927"
+ },
+ {
+ "label": "旬阳县",
+ "value": "610928"
+ },
+ {
+ "label": "白河县",
+ "value": "610929"
+ }
+ ],
+ [{
+ "label": "商州区",
+ "value": "611002"
+ },
+ {
+ "label": "洛南县",
+ "value": "611021"
+ },
+ {
+ "label": "丹凤县",
+ "value": "611022"
+ },
+ {
+ "label": "商南县",
+ "value": "611023"
+ },
+ {
+ "label": "山阳县",
+ "value": "611024"
+ },
+ {
+ "label": "镇安县",
+ "value": "611025"
+ },
+ {
+ "label": "柞水县",
+ "value": "611026"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "城关区",
+ "value": "620102"
+ },
+ {
+ "label": "七里河区",
+ "value": "620103"
+ },
+ {
+ "label": "西固区",
+ "value": "620104"
+ },
+ {
+ "label": "安宁区",
+ "value": "620105"
+ },
+ {
+ "label": "红古区",
+ "value": "620111"
+ },
+ {
+ "label": "永登县",
+ "value": "620121"
+ },
+ {
+ "label": "皋兰县",
+ "value": "620122"
+ },
+ {
+ "label": "榆中县",
+ "value": "620123"
+ },
+ {
+ "label": "兰州新区",
+ "value": "620171"
+ }
+ ],
+ [{
+ "label": "嘉峪关市",
+ "value": "620201"
+ }],
+ [{
+ "label": "金川区",
+ "value": "620302"
+ },
+ {
+ "label": "永昌县",
+ "value": "620321"
+ }
+ ],
+ [{
+ "label": "白银区",
+ "value": "620402"
+ },
+ {
+ "label": "平川区",
+ "value": "620403"
+ },
+ {
+ "label": "靖远县",
+ "value": "620421"
+ },
+ {
+ "label": "会宁县",
+ "value": "620422"
+ },
+ {
+ "label": "景泰县",
+ "value": "620423"
+ }
+ ],
+ [{
+ "label": "秦州区",
+ "value": "620502"
+ },
+ {
+ "label": "麦积区",
+ "value": "620503"
+ },
+ {
+ "label": "清水县",
+ "value": "620521"
+ },
+ {
+ "label": "秦安县",
+ "value": "620522"
+ },
+ {
+ "label": "甘谷县",
+ "value": "620523"
+ },
+ {
+ "label": "武山县",
+ "value": "620524"
+ },
+ {
+ "label": "张家川回族自治县",
+ "value": "620525"
+ }
+ ],
+ [{
+ "label": "凉州区",
+ "value": "620602"
+ },
+ {
+ "label": "民勤县",
+ "value": "620621"
+ },
+ {
+ "label": "古浪县",
+ "value": "620622"
+ },
+ {
+ "label": "天祝藏族自治县",
+ "value": "620623"
+ }
+ ],
+ [{
+ "label": "甘州区",
+ "value": "620702"
+ },
+ {
+ "label": "肃南裕固族自治县",
+ "value": "620721"
+ },
+ {
+ "label": "民乐县",
+ "value": "620722"
+ },
+ {
+ "label": "临泽县",
+ "value": "620723"
+ },
+ {
+ "label": "高台县",
+ "value": "620724"
+ },
+ {
+ "label": "山丹县",
+ "value": "620725"
+ }
+ ],
+ [{
+ "label": "崆峒区",
+ "value": "620802"
+ },
+ {
+ "label": "泾川县",
+ "value": "620821"
+ },
+ {
+ "label": "灵台县",
+ "value": "620822"
+ },
+ {
+ "label": "崇信县",
+ "value": "620823"
+ },
+ {
+ "label": "华亭县",
+ "value": "620824"
+ },
+ {
+ "label": "庄浪县",
+ "value": "620825"
+ },
+ {
+ "label": "静宁县",
+ "value": "620826"
+ },
+ {
+ "label": "平凉工业园区",
+ "value": "620871"
+ }
+ ],
+ [{
+ "label": "肃州区",
+ "value": "620902"
+ },
+ {
+ "label": "金塔县",
+ "value": "620921"
+ },
+ {
+ "label": "瓜州县",
+ "value": "620922"
+ },
+ {
+ "label": "肃北蒙古族自治县",
+ "value": "620923"
+ },
+ {
+ "label": "阿克塞哈萨克族自治县",
+ "value": "620924"
+ },
+ {
+ "label": "玉门市",
+ "value": "620981"
+ },
+ {
+ "label": "敦煌市",
+ "value": "620982"
+ }
+ ],
+ [{
+ "label": "西峰区",
+ "value": "621002"
+ },
+ {
+ "label": "庆城县",
+ "value": "621021"
+ },
+ {
+ "label": "环县",
+ "value": "621022"
+ },
+ {
+ "label": "华池县",
+ "value": "621023"
+ },
+ {
+ "label": "合水县",
+ "value": "621024"
+ },
+ {
+ "label": "正宁县",
+ "value": "621025"
+ },
+ {
+ "label": "宁县",
+ "value": "621026"
+ },
+ {
+ "label": "镇原县",
+ "value": "621027"
+ }
+ ],
+ [{
+ "label": "安定区",
+ "value": "621102"
+ },
+ {
+ "label": "通渭县",
+ "value": "621121"
+ },
+ {
+ "label": "陇西县",
+ "value": "621122"
+ },
+ {
+ "label": "渭源县",
+ "value": "621123"
+ },
+ {
+ "label": "临洮县",
+ "value": "621124"
+ },
+ {
+ "label": "漳县",
+ "value": "621125"
+ },
+ {
+ "label": "岷县",
+ "value": "621126"
+ }
+ ],
+ [{
+ "label": "武都区",
+ "value": "621202"
+ },
+ {
+ "label": "成县",
+ "value": "621221"
+ },
+ {
+ "label": "文县",
+ "value": "621222"
+ },
+ {
+ "label": "宕昌县",
+ "value": "621223"
+ },
+ {
+ "label": "康县",
+ "value": "621224"
+ },
+ {
+ "label": "西和县",
+ "value": "621225"
+ },
+ {
+ "label": "礼县",
+ "value": "621226"
+ },
+ {
+ "label": "徽县",
+ "value": "621227"
+ },
+ {
+ "label": "两当县",
+ "value": "621228"
+ }
+ ],
+ [{
+ "label": "临夏市",
+ "value": "622901"
+ },
+ {
+ "label": "临夏县",
+ "value": "622921"
+ },
+ {
+ "label": "康乐县",
+ "value": "622922"
+ },
+ {
+ "label": "永靖县",
+ "value": "622923"
+ },
+ {
+ "label": "广河县",
+ "value": "622924"
+ },
+ {
+ "label": "和政县",
+ "value": "622925"
+ },
+ {
+ "label": "东乡族自治县",
+ "value": "622926"
+ },
+ {
+ "label": "积石山保安族东乡族撒拉族自治县",
+ "value": "622927"
+ }
+ ],
+ [{
+ "label": "合作市",
+ "value": "623001"
+ },
+ {
+ "label": "临潭县",
+ "value": "623021"
+ },
+ {
+ "label": "卓尼县",
+ "value": "623022"
+ },
+ {
+ "label": "舟曲县",
+ "value": "623023"
+ },
+ {
+ "label": "迭部县",
+ "value": "623024"
+ },
+ {
+ "label": "玛曲县",
+ "value": "623025"
+ },
+ {
+ "label": "碌曲县",
+ "value": "623026"
+ },
+ {
+ "label": "夏河县",
+ "value": "623027"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "城东区",
+ "value": "630102"
+ },
+ {
+ "label": "城中区",
+ "value": "630103"
+ },
+ {
+ "label": "城西区",
+ "value": "630104"
+ },
+ {
+ "label": "城北区",
+ "value": "630105"
+ },
+ {
+ "label": "大通回族土族自治县",
+ "value": "630121"
+ },
+ {
+ "label": "湟中县",
+ "value": "630122"
+ },
+ {
+ "label": "湟源县",
+ "value": "630123"
+ }
+ ],
+ [{
+ "label": "乐都区",
+ "value": "630202"
+ },
+ {
+ "label": "平安区",
+ "value": "630203"
+ },
+ {
+ "label": "民和回族土族自治县",
+ "value": "630222"
+ },
+ {
+ "label": "互助土族自治县",
+ "value": "630223"
+ },
+ {
+ "label": "化隆回族自治县",
+ "value": "630224"
+ },
+ {
+ "label": "循化撒拉族自治县",
+ "value": "630225"
+ }
+ ],
+ [{
+ "label": "门源回族自治县",
+ "value": "632221"
+ },
+ {
+ "label": "祁连县",
+ "value": "632222"
+ },
+ {
+ "label": "海晏县",
+ "value": "632223"
+ },
+ {
+ "label": "刚察县",
+ "value": "632224"
+ }
+ ],
+ [{
+ "label": "同仁县",
+ "value": "632321"
+ },
+ {
+ "label": "尖扎县",
+ "value": "632322"
+ },
+ {
+ "label": "泽库县",
+ "value": "632323"
+ },
+ {
+ "label": "河南蒙古族自治县",
+ "value": "632324"
+ }
+ ],
+ [{
+ "label": "共和县",
+ "value": "632521"
+ },
+ {
+ "label": "同德县",
+ "value": "632522"
+ },
+ {
+ "label": "贵德县",
+ "value": "632523"
+ },
+ {
+ "label": "兴海县",
+ "value": "632524"
+ },
+ {
+ "label": "贵南县",
+ "value": "632525"
+ }
+ ],
+ [{
+ "label": "玛沁县",
+ "value": "632621"
+ },
+ {
+ "label": "班玛县",
+ "value": "632622"
+ },
+ {
+ "label": "甘德县",
+ "value": "632623"
+ },
+ {
+ "label": "达日县",
+ "value": "632624"
+ },
+ {
+ "label": "久治县",
+ "value": "632625"
+ },
+ {
+ "label": "玛多县",
+ "value": "632626"
+ }
+ ],
+ [{
+ "label": "玉树市",
+ "value": "632701"
+ },
+ {
+ "label": "杂多县",
+ "value": "632722"
+ },
+ {
+ "label": "称多县",
+ "value": "632723"
+ },
+ {
+ "label": "治多县",
+ "value": "632724"
+ },
+ {
+ "label": "囊谦县",
+ "value": "632725"
+ },
+ {
+ "label": "曲麻莱县",
+ "value": "632726"
+ }
+ ],
+ [{
+ "label": "格尔木市",
+ "value": "632801"
+ },
+ {
+ "label": "德令哈市",
+ "value": "632802"
+ },
+ {
+ "label": "乌兰县",
+ "value": "632821"
+ },
+ {
+ "label": "都兰县",
+ "value": "632822"
+ },
+ {
+ "label": "天峻县",
+ "value": "632823"
+ },
+ {
+ "label": "大柴旦行政委员会",
+ "value": "632857"
+ },
+ {
+ "label": "冷湖行政委员会",
+ "value": "632858"
+ },
+ {
+ "label": "茫崖行政委员会",
+ "value": "632859"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "兴庆区",
+ "value": "640104"
+ },
+ {
+ "label": "西夏区",
+ "value": "640105"
+ },
+ {
+ "label": "金凤区",
+ "value": "640106"
+ },
+ {
+ "label": "永宁县",
+ "value": "640121"
+ },
+ {
+ "label": "贺兰县",
+ "value": "640122"
+ },
+ {
+ "label": "灵武市",
+ "value": "640181"
+ }
+ ],
+ [{
+ "label": "大武口区",
+ "value": "640202"
+ },
+ {
+ "label": "惠农区",
+ "value": "640205"
+ },
+ {
+ "label": "平罗县",
+ "value": "640221"
+ }
+ ],
+ [{
+ "label": "利通区",
+ "value": "640302"
+ },
+ {
+ "label": "红寺堡区",
+ "value": "640303"
+ },
+ {
+ "label": "盐池县",
+ "value": "640323"
+ },
+ {
+ "label": "同心县",
+ "value": "640324"
+ },
+ {
+ "label": "青铜峡市",
+ "value": "640381"
+ }
+ ],
+ [{
+ "label": "原州区",
+ "value": "640402"
+ },
+ {
+ "label": "西吉县",
+ "value": "640422"
+ },
+ {
+ "label": "隆德县",
+ "value": "640423"
+ },
+ {
+ "label": "泾源县",
+ "value": "640424"
+ },
+ {
+ "label": "彭阳县",
+ "value": "640425"
+ }
+ ],
+ [{
+ "label": "沙坡头区",
+ "value": "640502"
+ },
+ {
+ "label": "中宁县",
+ "value": "640521"
+ },
+ {
+ "label": "海原县",
+ "value": "640522"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "天山区",
+ "value": "650102"
+ },
+ {
+ "label": "沙依巴克区",
+ "value": "650103"
+ },
+ {
+ "label": "新市区",
+ "value": "650104"
+ },
+ {
+ "label": "水磨沟区",
+ "value": "650105"
+ },
+ {
+ "label": "头屯河区",
+ "value": "650106"
+ },
+ {
+ "label": "达坂城区",
+ "value": "650107"
+ },
+ {
+ "label": "米东区",
+ "value": "650109"
+ },
+ {
+ "label": "乌鲁木齐县",
+ "value": "650121"
+ },
+ {
+ "label": "乌鲁木齐经济技术开发区",
+ "value": "650171"
+ },
+ {
+ "label": "乌鲁木齐高新技术产业开发区",
+ "value": "650172"
+ }
+ ],
+ [{
+ "label": "独山子区",
+ "value": "650202"
+ },
+ {
+ "label": "克拉玛依区",
+ "value": "650203"
+ },
+ {
+ "label": "白碱滩区",
+ "value": "650204"
+ },
+ {
+ "label": "乌尔禾区",
+ "value": "650205"
+ }
+ ],
+ [{
+ "label": "高昌区",
+ "value": "650402"
+ },
+ {
+ "label": "鄯善县",
+ "value": "650421"
+ },
+ {
+ "label": "托克逊县",
+ "value": "650422"
+ }
+ ],
+ [{
+ "label": "伊州区",
+ "value": "650502"
+ },
+ {
+ "label": "巴里坤哈萨克自治县",
+ "value": "650521"
+ },
+ {
+ "label": "伊吾县",
+ "value": "650522"
+ }
+ ],
+ [{
+ "label": "昌吉市",
+ "value": "652301"
+ },
+ {
+ "label": "阜康市",
+ "value": "652302"
+ },
+ {
+ "label": "呼图壁县",
+ "value": "652323"
+ },
+ {
+ "label": "玛纳斯县",
+ "value": "652324"
+ },
+ {
+ "label": "奇台县",
+ "value": "652325"
+ },
+ {
+ "label": "吉木萨尔县",
+ "value": "652327"
+ },
+ {
+ "label": "木垒哈萨克自治县",
+ "value": "652328"
+ }
+ ],
+ [{
+ "label": "博乐市",
+ "value": "652701"
+ },
+ {
+ "label": "阿拉山口市",
+ "value": "652702"
+ },
+ {
+ "label": "精河县",
+ "value": "652722"
+ },
+ {
+ "label": "温泉县",
+ "value": "652723"
+ }
+ ],
+ [{
+ "label": "库尔勒市",
+ "value": "652801"
+ },
+ {
+ "label": "轮台县",
+ "value": "652822"
+ },
+ {
+ "label": "尉犁县",
+ "value": "652823"
+ },
+ {
+ "label": "若羌县",
+ "value": "652824"
+ },
+ {
+ "label": "且末县",
+ "value": "652825"
+ },
+ {
+ "label": "焉耆回族自治县",
+ "value": "652826"
+ },
+ {
+ "label": "和静县",
+ "value": "652827"
+ },
+ {
+ "label": "和硕县",
+ "value": "652828"
+ },
+ {
+ "label": "博湖县",
+ "value": "652829"
+ },
+ {
+ "label": "库尔勒经济技术开发区",
+ "value": "652871"
+ }
+ ],
+ [{
+ "label": "阿克苏市",
+ "value": "652901"
+ },
+ {
+ "label": "温宿县",
+ "value": "652922"
+ },
+ {
+ "label": "库车县",
+ "value": "652923"
+ },
+ {
+ "label": "沙雅县",
+ "value": "652924"
+ },
+ {
+ "label": "新和县",
+ "value": "652925"
+ },
+ {
+ "label": "拜城县",
+ "value": "652926"
+ },
+ {
+ "label": "乌什县",
+ "value": "652927"
+ },
+ {
+ "label": "阿瓦提县",
+ "value": "652928"
+ },
+ {
+ "label": "柯坪县",
+ "value": "652929"
+ }
+ ],
+ [{
+ "label": "阿图什市",
+ "value": "653001"
+ },
+ {
+ "label": "阿克陶县",
+ "value": "653022"
+ },
+ {
+ "label": "阿合奇县",
+ "value": "653023"
+ },
+ {
+ "label": "乌恰县",
+ "value": "653024"
+ }
+ ],
+ [{
+ "label": "喀什市",
+ "value": "653101"
+ },
+ {
+ "label": "疏附县",
+ "value": "653121"
+ },
+ {
+ "label": "疏勒县",
+ "value": "653122"
+ },
+ {
+ "label": "英吉沙县",
+ "value": "653123"
+ },
+ {
+ "label": "泽普县",
+ "value": "653124"
+ },
+ {
+ "label": "莎车县",
+ "value": "653125"
+ },
+ {
+ "label": "叶城县",
+ "value": "653126"
+ },
+ {
+ "label": "麦盖提县",
+ "value": "653127"
+ },
+ {
+ "label": "岳普湖县",
+ "value": "653128"
+ },
+ {
+ "label": "伽师县",
+ "value": "653129"
+ },
+ {
+ "label": "巴楚县",
+ "value": "653130"
+ },
+ {
+ "label": "塔什库尔干塔吉克自治县",
+ "value": "653131"
+ }
+ ],
+ [{
+ "label": "和田市",
+ "value": "653201"
+ },
+ {
+ "label": "和田县",
+ "value": "653221"
+ },
+ {
+ "label": "墨玉县",
+ "value": "653222"
+ },
+ {
+ "label": "皮山县",
+ "value": "653223"
+ },
+ {
+ "label": "洛浦县",
+ "value": "653224"
+ },
+ {
+ "label": "策勒县",
+ "value": "653225"
+ },
+ {
+ "label": "于田县",
+ "value": "653226"
+ },
+ {
+ "label": "民丰县",
+ "value": "653227"
+ }
+ ],
+ [{
+ "label": "伊宁市",
+ "value": "654002"
+ },
+ {
+ "label": "奎屯市",
+ "value": "654003"
+ },
+ {
+ "label": "霍尔果斯市",
+ "value": "654004"
+ },
+ {
+ "label": "伊宁县",
+ "value": "654021"
+ },
+ {
+ "label": "察布查尔锡伯自治县",
+ "value": "654022"
+ },
+ {
+ "label": "霍城县",
+ "value": "654023"
+ },
+ {
+ "label": "巩留县",
+ "value": "654024"
+ },
+ {
+ "label": "新源县",
+ "value": "654025"
+ },
+ {
+ "label": "昭苏县",
+ "value": "654026"
+ },
+ {
+ "label": "特克斯县",
+ "value": "654027"
+ },
+ {
+ "label": "尼勒克县",
+ "value": "654028"
+ }
+ ],
+ [{
+ "label": "塔城市",
+ "value": "654201"
+ },
+ {
+ "label": "乌苏市",
+ "value": "654202"
+ },
+ {
+ "label": "额敏县",
+ "value": "654221"
+ },
+ {
+ "label": "沙湾县",
+ "value": "654223"
+ },
+ {
+ "label": "托里县",
+ "value": "654224"
+ },
+ {
+ "label": "裕民县",
+ "value": "654225"
+ },
+ {
+ "label": "和布克赛尔蒙古自治县",
+ "value": "654226"
+ }
+ ],
+ [{
+ "label": "阿勒泰市",
+ "value": "654301"
+ },
+ {
+ "label": "布尔津县",
+ "value": "654321"
+ },
+ {
+ "label": "富蕴县",
+ "value": "654322"
+ },
+ {
+ "label": "福海县",
+ "value": "654323"
+ },
+ {
+ "label": "哈巴河县",
+ "value": "654324"
+ },
+ {
+ "label": "青河县",
+ "value": "654325"
+ },
+ {
+ "label": "吉木乃县",
+ "value": "654326"
+ }
+ ],
+ [{
+ "label": "石河子市",
+ "value": "659001"
+ },
+ {
+ "label": "阿拉尔市",
+ "value": "659002"
+ },
+ {
+ "label": "图木舒克市",
+ "value": "659003"
+ },
+ {
+ "label": "五家渠市",
+ "value": "659004"
+ },
+ {
+ "label": "铁门关市",
+ "value": "659006"
+ }
+ ]
+ ],
+ [
+ [{
+ "label": "台北",
+ "value": "660101"
+ }],
+ [{
+ "label": "高雄",
+ "value": "660201"
+ }],
+ [{
+ "label": "基隆",
+ "value": "660301"
+ }],
+ [{
+ "label": "台中",
+ "value": "660401"
+ }],
+ [{
+ "label": "台南",
+ "value": "660501"
+ }],
+ [{
+ "label": "新竹",
+ "value": "660601"
+ }],
+ [{
+ "label": "嘉义",
+ "value": "660701"
+ }],
+ [{
+ "label": "宜兰",
+ "value": "660801"
+ }],
+ [{
+ "label": "桃园",
+ "value": "660901"
+ }],
+ [{
+ "label": "苗栗",
+ "value": "661001"
+ }],
+ [{
+ "label": "彰化",
+ "value": "661101"
+ }],
+ [{
+ "label": "南投",
+ "value": "661201"
+ }],
+ [{
+ "label": "云林",
+ "value": "661301"
+ }],
+ [{
+ "label": "屏东",
+ "value": "661401"
+ }],
+ [{
+ "label": "台东",
+ "value": "661501"
+ }],
+ [{
+ "label": "花莲",
+ "value": "661601"
+ }],
+ [{
+ "label": "澎湖",
+ "value": "661701"
+ }]
+ ],
+ [
+ [{
+ "label": "香港岛",
+ "value": "670101"
+ }],
+ [{
+ "label": "九龙",
+ "value": "670201"
+ }],
+ [{
+ "label": "新界",
+ "value": "670301"
+ }]
+ ],
+ [
+ [{
+ "label": "澳门半岛",
+ "value": "680101"
+ }],
+ [{
+ "label": "氹仔岛",
+ "value": "680201"
+ }],
+ [{
+ "label": "路环岛",
+ "value": "680301"
+ }],
+ [{
+ "label": "路氹城",
+ "value": "680401"
+ }]
+ ]
+]
+export default areaData;
diff --git a/components/mpvue-citypicker/city-data/city.js b/components/mpvue-citypicker/city-data/city.js
new file mode 100644
index 0000000..8c1dc26
--- /dev/null
+++ b/components/mpvue-citypicker/city-data/city.js
@@ -0,0 +1,1503 @@
+/* eslint-disable */
+var cityData = [
+ [{
+ "label": "市辖区",
+ "value": "1101"
+ }],
+ [{
+ "label": "市辖区",
+ "value": "1201"
+ }],
+ [{
+ "label": "石家庄市",
+ "value": "1301"
+ },
+ {
+ "label": "唐山市",
+ "value": "1302"
+ },
+ {
+ "label": "秦皇岛市",
+ "value": "1303"
+ },
+ {
+ "label": "邯郸市",
+ "value": "1304"
+ },
+ {
+ "label": "邢台市",
+ "value": "1305"
+ },
+ {
+ "label": "保定市",
+ "value": "1306"
+ },
+ {
+ "label": "张家口市",
+ "value": "1307"
+ },
+ {
+ "label": "承德市",
+ "value": "1308"
+ },
+ {
+ "label": "沧州市",
+ "value": "1309"
+ },
+ {
+ "label": "廊坊市",
+ "value": "1310"
+ },
+ {
+ "label": "衡水市",
+ "value": "1311"
+ }
+ ],
+ [{
+ "label": "太原市",
+ "value": "1401"
+ },
+ {
+ "label": "大同市",
+ "value": "1402"
+ },
+ {
+ "label": "阳泉市",
+ "value": "1403"
+ },
+ {
+ "label": "长治市",
+ "value": "1404"
+ },
+ {
+ "label": "晋城市",
+ "value": "1405"
+ },
+ {
+ "label": "朔州市",
+ "value": "1406"
+ },
+ {
+ "label": "晋中市",
+ "value": "1407"
+ },
+ {
+ "label": "运城市",
+ "value": "1408"
+ },
+ {
+ "label": "忻州市",
+ "value": "1409"
+ },
+ {
+ "label": "临汾市",
+ "value": "1410"
+ },
+ {
+ "label": "吕梁市",
+ "value": "1411"
+ }
+ ],
+ [{
+ "label": "呼和浩特市",
+ "value": "1501"
+ },
+ {
+ "label": "包头市",
+ "value": "1502"
+ },
+ {
+ "label": "乌海市",
+ "value": "1503"
+ },
+ {
+ "label": "赤峰市",
+ "value": "1504"
+ },
+ {
+ "label": "通辽市",
+ "value": "1505"
+ },
+ {
+ "label": "鄂尔多斯市",
+ "value": "1506"
+ },
+ {
+ "label": "呼伦贝尔市",
+ "value": "1507"
+ },
+ {
+ "label": "巴彦淖尔市",
+ "value": "1508"
+ },
+ {
+ "label": "乌兰察布市",
+ "value": "1509"
+ },
+ {
+ "label": "兴安盟",
+ "value": "1522"
+ },
+ {
+ "label": "锡林郭勒盟",
+ "value": "1525"
+ },
+ {
+ "label": "阿拉善盟",
+ "value": "1529"
+ }
+ ],
+ [{
+ "label": "沈阳市",
+ "value": "2101"
+ },
+ {
+ "label": "大连市",
+ "value": "2102"
+ },
+ {
+ "label": "鞍山市",
+ "value": "2103"
+ },
+ {
+ "label": "抚顺市",
+ "value": "2104"
+ },
+ {
+ "label": "本溪市",
+ "value": "2105"
+ },
+ {
+ "label": "丹东市",
+ "value": "2106"
+ },
+ {
+ "label": "锦州市",
+ "value": "2107"
+ },
+ {
+ "label": "营口市",
+ "value": "2108"
+ },
+ {
+ "label": "阜新市",
+ "value": "2109"
+ },
+ {
+ "label": "辽阳市",
+ "value": "2110"
+ },
+ {
+ "label": "盘锦市",
+ "value": "2111"
+ },
+ {
+ "label": "铁岭市",
+ "value": "2112"
+ },
+ {
+ "label": "朝阳市",
+ "value": "2113"
+ },
+ {
+ "label": "葫芦岛市",
+ "value": "2114"
+ }
+ ],
+ [{
+ "label": "长春市",
+ "value": "2201"
+ },
+ {
+ "label": "吉林市",
+ "value": "2202"
+ },
+ {
+ "label": "四平市",
+ "value": "2203"
+ },
+ {
+ "label": "辽源市",
+ "value": "2204"
+ },
+ {
+ "label": "通化市",
+ "value": "2205"
+ },
+ {
+ "label": "白山市",
+ "value": "2206"
+ },
+ {
+ "label": "松原市",
+ "value": "2207"
+ },
+ {
+ "label": "白城市",
+ "value": "2208"
+ },
+ {
+ "label": "延边朝鲜族自治州",
+ "value": "2224"
+ }
+ ],
+ [{
+ "label": "哈尔滨市",
+ "value": "2301"
+ },
+ {
+ "label": "齐齐哈尔市",
+ "value": "2302"
+ },
+ {
+ "label": "鸡西市",
+ "value": "2303"
+ },
+ {
+ "label": "鹤岗市",
+ "value": "2304"
+ },
+ {
+ "label": "双鸭山市",
+ "value": "2305"
+ },
+ {
+ "label": "大庆市",
+ "value": "2306"
+ },
+ {
+ "label": "伊春市",
+ "value": "2307"
+ },
+ {
+ "label": "佳木斯市",
+ "value": "2308"
+ },
+ {
+ "label": "七台河市",
+ "value": "2309"
+ },
+ {
+ "label": "牡丹江市",
+ "value": "2310"
+ },
+ {
+ "label": "黑河市",
+ "value": "2311"
+ },
+ {
+ "label": "绥化市",
+ "value": "2312"
+ },
+ {
+ "label": "大兴安岭地区",
+ "value": "2327"
+ }
+ ],
+ [{
+ "label": "市辖区",
+ "value": "3101"
+ }],
+ [{
+ "label": "南京市",
+ "value": "3201"
+ },
+ {
+ "label": "无锡市",
+ "value": "3202"
+ },
+ {
+ "label": "徐州市",
+ "value": "3203"
+ },
+ {
+ "label": "常州市",
+ "value": "3204"
+ },
+ {
+ "label": "苏州市",
+ "value": "3205"
+ },
+ {
+ "label": "南通市",
+ "value": "3206"
+ },
+ {
+ "label": "连云港市",
+ "value": "3207"
+ },
+ {
+ "label": "淮安市",
+ "value": "3208"
+ },
+ {
+ "label": "盐城市",
+ "value": "3209"
+ },
+ {
+ "label": "扬州市",
+ "value": "3210"
+ },
+ {
+ "label": "镇江市",
+ "value": "3211"
+ },
+ {
+ "label": "泰州市",
+ "value": "3212"
+ },
+ {
+ "label": "宿迁市",
+ "value": "3213"
+ }
+ ],
+ [{
+ "label": "杭州市",
+ "value": "3301"
+ },
+ {
+ "label": "宁波市",
+ "value": "3302"
+ },
+ {
+ "label": "温州市",
+ "value": "3303"
+ },
+ {
+ "label": "嘉兴市",
+ "value": "3304"
+ },
+ {
+ "label": "湖州市",
+ "value": "3305"
+ },
+ {
+ "label": "绍兴市",
+ "value": "3306"
+ },
+ {
+ "label": "金华市",
+ "value": "3307"
+ },
+ {
+ "label": "衢州市",
+ "value": "3308"
+ },
+ {
+ "label": "舟山市",
+ "value": "3309"
+ },
+ {
+ "label": "台州市",
+ "value": "3310"
+ },
+ {
+ "label": "丽水市",
+ "value": "3311"
+ }
+ ],
+ [{
+ "label": "合肥市",
+ "value": "3401"
+ },
+ {
+ "label": "芜湖市",
+ "value": "3402"
+ },
+ {
+ "label": "蚌埠市",
+ "value": "3403"
+ },
+ {
+ "label": "淮南市",
+ "value": "3404"
+ },
+ {
+ "label": "马鞍山市",
+ "value": "3405"
+ },
+ {
+ "label": "淮北市",
+ "value": "3406"
+ },
+ {
+ "label": "铜陵市",
+ "value": "3407"
+ },
+ {
+ "label": "安庆市",
+ "value": "3408"
+ },
+ {
+ "label": "黄山市",
+ "value": "3410"
+ },
+ {
+ "label": "滁州市",
+ "value": "3411"
+ },
+ {
+ "label": "阜阳市",
+ "value": "3412"
+ },
+ {
+ "label": "宿州市",
+ "value": "3413"
+ },
+ {
+ "label": "六安市",
+ "value": "3415"
+ },
+ {
+ "label": "亳州市",
+ "value": "3416"
+ },
+ {
+ "label": "池州市",
+ "value": "3417"
+ },
+ {
+ "label": "宣城市",
+ "value": "3418"
+ }
+ ],
+ [{
+ "label": "福州市",
+ "value": "3501"
+ },
+ {
+ "label": "厦门市",
+ "value": "3502"
+ },
+ {
+ "label": "莆田市",
+ "value": "3503"
+ },
+ {
+ "label": "三明市",
+ "value": "3504"
+ },
+ {
+ "label": "泉州市",
+ "value": "3505"
+ },
+ {
+ "label": "漳州市",
+ "value": "3506"
+ },
+ {
+ "label": "南平市",
+ "value": "3507"
+ },
+ {
+ "label": "龙岩市",
+ "value": "3508"
+ },
+ {
+ "label": "宁德市",
+ "value": "3509"
+ }
+ ],
+ [{
+ "label": "南昌市",
+ "value": "3601"
+ },
+ {
+ "label": "景德镇市",
+ "value": "3602"
+ },
+ {
+ "label": "萍乡市",
+ "value": "3603"
+ },
+ {
+ "label": "九江市",
+ "value": "3604"
+ },
+ {
+ "label": "新余市",
+ "value": "3605"
+ },
+ {
+ "label": "鹰潭市",
+ "value": "3606"
+ },
+ {
+ "label": "赣州市",
+ "value": "3607"
+ },
+ {
+ "label": "吉安市",
+ "value": "3608"
+ },
+ {
+ "label": "宜春市",
+ "value": "3609"
+ },
+ {
+ "label": "抚州市",
+ "value": "3610"
+ },
+ {
+ "label": "上饶市",
+ "value": "3611"
+ }
+ ],
+ [{
+ "label": "济南市",
+ "value": "3701"
+ },
+ {
+ "label": "青岛市",
+ "value": "3702"
+ },
+ {
+ "label": "淄博市",
+ "value": "3703"
+ },
+ {
+ "label": "枣庄市",
+ "value": "3704"
+ },
+ {
+ "label": "东营市",
+ "value": "3705"
+ },
+ {
+ "label": "烟台市",
+ "value": "3706"
+ },
+ {
+ "label": "潍坊市",
+ "value": "3707"
+ },
+ {
+ "label": "济宁市",
+ "value": "3708"
+ },
+ {
+ "label": "泰安市",
+ "value": "3709"
+ },
+ {
+ "label": "威海市",
+ "value": "3710"
+ },
+ {
+ "label": "日照市",
+ "value": "3711"
+ },
+ {
+ "label": "莱芜市",
+ "value": "3712"
+ },
+ {
+ "label": "临沂市",
+ "value": "3713"
+ },
+ {
+ "label": "德州市",
+ "value": "3714"
+ },
+ {
+ "label": "聊城市",
+ "value": "3715"
+ },
+ {
+ "label": "滨州市",
+ "value": "3716"
+ },
+ {
+ "label": "菏泽市",
+ "value": "3717"
+ }
+ ],
+ [{
+ "label": "郑州市",
+ "value": "4101"
+ },
+ {
+ "label": "开封市",
+ "value": "4102"
+ },
+ {
+ "label": "洛阳市",
+ "value": "4103"
+ },
+ {
+ "label": "平顶山市",
+ "value": "4104"
+ },
+ {
+ "label": "安阳市",
+ "value": "4105"
+ },
+ {
+ "label": "鹤壁市",
+ "value": "4106"
+ },
+ {
+ "label": "新乡市",
+ "value": "4107"
+ },
+ {
+ "label": "焦作市",
+ "value": "4108"
+ },
+ {
+ "label": "濮阳市",
+ "value": "4109"
+ },
+ {
+ "label": "许昌市",
+ "value": "4110"
+ },
+ {
+ "label": "漯河市",
+ "value": "4111"
+ },
+ {
+ "label": "三门峡市",
+ "value": "4112"
+ },
+ {
+ "label": "南阳市",
+ "value": "4113"
+ },
+ {
+ "label": "商丘市",
+ "value": "4114"
+ },
+ {
+ "label": "信阳市",
+ "value": "4115"
+ },
+ {
+ "label": "周口市",
+ "value": "4116"
+ },
+ {
+ "label": "驻马店市",
+ "value": "4117"
+ },
+ {
+ "label": "省直辖县级行政区划",
+ "value": "4190"
+ }
+ ],
+ [{
+ "label": "武汉市",
+ "value": "4201"
+ },
+ {
+ "label": "黄石市",
+ "value": "4202"
+ },
+ {
+ "label": "十堰市",
+ "value": "4203"
+ },
+ {
+ "label": "宜昌市",
+ "value": "4205"
+ },
+ {
+ "label": "襄阳市",
+ "value": "4206"
+ },
+ {
+ "label": "鄂州市",
+ "value": "4207"
+ },
+ {
+ "label": "荆门市",
+ "value": "4208"
+ },
+ {
+ "label": "孝感市",
+ "value": "4209"
+ },
+ {
+ "label": "荆州市",
+ "value": "4210"
+ },
+ {
+ "label": "黄冈市",
+ "value": "4211"
+ },
+ {
+ "label": "咸宁市",
+ "value": "4212"
+ },
+ {
+ "label": "随州市",
+ "value": "4213"
+ },
+ {
+ "label": "恩施土家族苗族自治州",
+ "value": "4228"
+ },
+ {
+ "label": "省直辖县级行政区划",
+ "value": "4290"
+ }
+ ],
+ [{
+ "label": "长沙市",
+ "value": "4301"
+ },
+ {
+ "label": "株洲市",
+ "value": "4302"
+ },
+ {
+ "label": "湘潭市",
+ "value": "4303"
+ },
+ {
+ "label": "衡阳市",
+ "value": "4304"
+ },
+ {
+ "label": "邵阳市",
+ "value": "4305"
+ },
+ {
+ "label": "岳阳市",
+ "value": "4306"
+ },
+ {
+ "label": "常德市",
+ "value": "4307"
+ },
+ {
+ "label": "张家界市",
+ "value": "4308"
+ },
+ {
+ "label": "益阳市",
+ "value": "4309"
+ },
+ {
+ "label": "郴州市",
+ "value": "4310"
+ },
+ {
+ "label": "永州市",
+ "value": "4311"
+ },
+ {
+ "label": "怀化市",
+ "value": "4312"
+ },
+ {
+ "label": "娄底市",
+ "value": "4313"
+ },
+ {
+ "label": "湘西土家族苗族自治州",
+ "value": "4331"
+ }
+ ],
+ [{
+ "label": "广州市",
+ "value": "4401"
+ },
+ {
+ "label": "韶关市",
+ "value": "4402"
+ },
+ {
+ "label": "深圳市",
+ "value": "4403"
+ },
+ {
+ "label": "珠海市",
+ "value": "4404"
+ },
+ {
+ "label": "汕头市",
+ "value": "4405"
+ },
+ {
+ "label": "佛山市",
+ "value": "4406"
+ },
+ {
+ "label": "江门市",
+ "value": "4407"
+ },
+ {
+ "label": "湛江市",
+ "value": "4408"
+ },
+ {
+ "label": "茂名市",
+ "value": "4409"
+ },
+ {
+ "label": "肇庆市",
+ "value": "4412"
+ },
+ {
+ "label": "惠州市",
+ "value": "4413"
+ },
+ {
+ "label": "梅州市",
+ "value": "4414"
+ },
+ {
+ "label": "汕尾市",
+ "value": "4415"
+ },
+ {
+ "label": "河源市",
+ "value": "4416"
+ },
+ {
+ "label": "阳江市",
+ "value": "4417"
+ },
+ {
+ "label": "清远市",
+ "value": "4418"
+ },
+ {
+ "label": "东莞市",
+ "value": "4419"
+ },
+ {
+ "label": "中山市",
+ "value": "4420"
+ },
+ {
+ "label": "潮州市",
+ "value": "4451"
+ },
+ {
+ "label": "揭阳市",
+ "value": "4452"
+ },
+ {
+ "label": "云浮市",
+ "value": "4453"
+ }
+ ],
+ [{
+ "label": "南宁市",
+ "value": "4501"
+ },
+ {
+ "label": "柳州市",
+ "value": "4502"
+ },
+ {
+ "label": "桂林市",
+ "value": "4503"
+ },
+ {
+ "label": "梧州市",
+ "value": "4504"
+ },
+ {
+ "label": "北海市",
+ "value": "4505"
+ },
+ {
+ "label": "防城港市",
+ "value": "4506"
+ },
+ {
+ "label": "钦州市",
+ "value": "4507"
+ },
+ {
+ "label": "贵港市",
+ "value": "4508"
+ },
+ {
+ "label": "玉林市",
+ "value": "4509"
+ },
+ {
+ "label": "百色市",
+ "value": "4510"
+ },
+ {
+ "label": "贺州市",
+ "value": "4511"
+ },
+ {
+ "label": "河池市",
+ "value": "4512"
+ },
+ {
+ "label": "来宾市",
+ "value": "4513"
+ },
+ {
+ "label": "崇左市",
+ "value": "4514"
+ }
+ ],
+ [{
+ "label": "海口市",
+ "value": "4601"
+ },
+ {
+ "label": "三亚市",
+ "value": "4602"
+ },
+ {
+ "label": "三沙市",
+ "value": "4603"
+ },
+ {
+ "label": "儋州市",
+ "value": "4604"
+ },
+ {
+ "label": "省直辖县级行政区划",
+ "value": "4690"
+ }
+ ],
+ [{
+ "label": "市辖区",
+ "value": "5001"
+ },
+ {
+ "label": "县",
+ "value": "5002"
+ }
+ ],
+ [{
+ "label": "成都市",
+ "value": "5101"
+ },
+ {
+ "label": "自贡市",
+ "value": "5103"
+ },
+ {
+ "label": "攀枝花市",
+ "value": "5104"
+ },
+ {
+ "label": "泸州市",
+ "value": "5105"
+ },
+ {
+ "label": "德阳市",
+ "value": "5106"
+ },
+ {
+ "label": "绵阳市",
+ "value": "5107"
+ },
+ {
+ "label": "广元市",
+ "value": "5108"
+ },
+ {
+ "label": "遂宁市",
+ "value": "5109"
+ },
+ {
+ "label": "内江市",
+ "value": "5110"
+ },
+ {
+ "label": "乐山市",
+ "value": "5111"
+ },
+ {
+ "label": "南充市",
+ "value": "5113"
+ },
+ {
+ "label": "眉山市",
+ "value": "5114"
+ },
+ {
+ "label": "宜宾市",
+ "value": "5115"
+ },
+ {
+ "label": "广安市",
+ "value": "5116"
+ },
+ {
+ "label": "达州市",
+ "value": "5117"
+ },
+ {
+ "label": "雅安市",
+ "value": "5118"
+ },
+ {
+ "label": "巴中市",
+ "value": "5119"
+ },
+ {
+ "label": "资阳市",
+ "value": "5120"
+ },
+ {
+ "label": "阿坝藏族羌族自治州",
+ "value": "5132"
+ },
+ {
+ "label": "甘孜藏族自治州",
+ "value": "5133"
+ },
+ {
+ "label": "凉山彝族自治州",
+ "value": "5134"
+ }
+ ],
+ [{
+ "label": "贵阳市",
+ "value": "5201"
+ },
+ {
+ "label": "六盘水市",
+ "value": "5202"
+ },
+ {
+ "label": "遵义市",
+ "value": "5203"
+ },
+ {
+ "label": "安顺市",
+ "value": "5204"
+ },
+ {
+ "label": "毕节市",
+ "value": "5205"
+ },
+ {
+ "label": "铜仁市",
+ "value": "5206"
+ },
+ {
+ "label": "黔西南布依族苗族自治州",
+ "value": "5223"
+ },
+ {
+ "label": "黔东南苗族侗族自治州",
+ "value": "5226"
+ },
+ {
+ "label": "黔南布依族苗族自治州",
+ "value": "5227"
+ }
+ ],
+ [{
+ "label": "昆明市",
+ "value": "5301"
+ },
+ {
+ "label": "曲靖市",
+ "value": "5303"
+ },
+ {
+ "label": "玉溪市",
+ "value": "5304"
+ },
+ {
+ "label": "保山市",
+ "value": "5305"
+ },
+ {
+ "label": "昭通市",
+ "value": "5306"
+ },
+ {
+ "label": "丽江市",
+ "value": "5307"
+ },
+ {
+ "label": "普洱市",
+ "value": "5308"
+ },
+ {
+ "label": "临沧市",
+ "value": "5309"
+ },
+ {
+ "label": "楚雄彝族自治州",
+ "value": "5323"
+ },
+ {
+ "label": "红河哈尼族彝族自治州",
+ "value": "5325"
+ },
+ {
+ "label": "文山壮族苗族自治州",
+ "value": "5326"
+ },
+ {
+ "label": "西双版纳傣族自治州",
+ "value": "5328"
+ },
+ {
+ "label": "大理白族自治州",
+ "value": "5329"
+ },
+ {
+ "label": "德宏傣族景颇族自治州",
+ "value": "5331"
+ },
+ {
+ "label": "怒江傈僳族自治州",
+ "value": "5333"
+ },
+ {
+ "label": "迪庆藏族自治州",
+ "value": "5334"
+ }
+ ],
+ [{
+ "label": "拉萨市",
+ "value": "5401"
+ },
+ {
+ "label": "日喀则市",
+ "value": "5402"
+ },
+ {
+ "label": "昌都市",
+ "value": "5403"
+ },
+ {
+ "label": "林芝市",
+ "value": "5404"
+ },
+ {
+ "label": "山南市",
+ "value": "5405"
+ },
+ {
+ "label": "那曲地区",
+ "value": "5424"
+ },
+ {
+ "label": "阿里地区",
+ "value": "5425"
+ }
+ ],
+ [{
+ "label": "西安市",
+ "value": "6101"
+ },
+ {
+ "label": "铜川市",
+ "value": "6102"
+ },
+ {
+ "label": "宝鸡市",
+ "value": "6103"
+ },
+ {
+ "label": "咸阳市",
+ "value": "6104"
+ },
+ {
+ "label": "渭南市",
+ "value": "6105"
+ },
+ {
+ "label": "延安市",
+ "value": "6106"
+ },
+ {
+ "label": "汉中市",
+ "value": "6107"
+ },
+ {
+ "label": "榆林市",
+ "value": "6108"
+ },
+ {
+ "label": "安康市",
+ "value": "6109"
+ },
+ {
+ "label": "商洛市",
+ "value": "6110"
+ }
+ ],
+ [{
+ "label": "兰州市",
+ "value": "6201"
+ },
+ {
+ "label": "嘉峪关市",
+ "value": "6202"
+ },
+ {
+ "label": "金昌市",
+ "value": "6203"
+ },
+ {
+ "label": "白银市",
+ "value": "6204"
+ },
+ {
+ "label": "天水市",
+ "value": "6205"
+ },
+ {
+ "label": "武威市",
+ "value": "6206"
+ },
+ {
+ "label": "张掖市",
+ "value": "6207"
+ },
+ {
+ "label": "平凉市",
+ "value": "6208"
+ },
+ {
+ "label": "酒泉市",
+ "value": "6209"
+ },
+ {
+ "label": "庆阳市",
+ "value": "6210"
+ },
+ {
+ "label": "定西市",
+ "value": "6211"
+ },
+ {
+ "label": "陇南市",
+ "value": "6212"
+ },
+ {
+ "label": "临夏回族自治州",
+ "value": "6229"
+ },
+ {
+ "label": "甘南藏族自治州",
+ "value": "6230"
+ }
+ ],
+ [{
+ "label": "西宁市",
+ "value": "6301"
+ },
+ {
+ "label": "海东市",
+ "value": "6302"
+ },
+ {
+ "label": "海北藏族自治州",
+ "value": "6322"
+ },
+ {
+ "label": "黄南藏族自治州",
+ "value": "6323"
+ },
+ {
+ "label": "海南藏族自治州",
+ "value": "6325"
+ },
+ {
+ "label": "果洛藏族自治州",
+ "value": "6326"
+ },
+ {
+ "label": "玉树藏族自治州",
+ "value": "6327"
+ },
+ {
+ "label": "海西蒙古族藏族自治州",
+ "value": "6328"
+ }
+ ],
+ [{
+ "label": "银川市",
+ "value": "6401"
+ },
+ {
+ "label": "石嘴山市",
+ "value": "6402"
+ },
+ {
+ "label": "吴忠市",
+ "value": "6403"
+ },
+ {
+ "label": "固原市",
+ "value": "6404"
+ },
+ {
+ "label": "中卫市",
+ "value": "6405"
+ }
+ ],
+ [{
+ "label": "乌鲁木齐市",
+ "value": "6501"
+ },
+ {
+ "label": "克拉玛依市",
+ "value": "6502"
+ },
+ {
+ "label": "吐鲁番市",
+ "value": "6504"
+ },
+ {
+ "label": "哈密市",
+ "value": "6505"
+ },
+ {
+ "label": "昌吉回族自治州",
+ "value": "6523"
+ },
+ {
+ "label": "博尔塔拉蒙古自治州",
+ "value": "6527"
+ },
+ {
+ "label": "巴音郭楞蒙古自治州",
+ "value": "6528"
+ },
+ {
+ "label": "阿克苏地区",
+ "value": "6529"
+ },
+ {
+ "label": "克孜勒苏柯尔克孜自治州",
+ "value": "6530"
+ },
+ {
+ "label": "喀什地区",
+ "value": "6531"
+ },
+ {
+ "label": "和田地区",
+ "value": "6532"
+ },
+ {
+ "label": "伊犁哈萨克自治州",
+ "value": "6540"
+ },
+ {
+ "label": "塔城地区",
+ "value": "6542"
+ },
+ {
+ "label": "阿勒泰地区",
+ "value": "6543"
+ },
+ {
+ "label": "自治区直辖县级行政区划",
+ "value": "6590"
+ }
+ ],
+ [{
+ "label": "台北",
+ "value": "6601"
+ },
+ {
+ "label": "高雄",
+ "value": "6602"
+ },
+ {
+ "label": "基隆",
+ "value": "6603"
+ },
+ {
+ "label": "台中",
+ "value": "6604"
+ },
+ {
+ "label": "台南",
+ "value": "6605"
+ },
+ {
+ "label": "新竹",
+ "value": "6606"
+ },
+ {
+ "label": "嘉义",
+ "value": "6607"
+ },
+ {
+ "label": "宜兰",
+ "value": "6608"
+ },
+ {
+ "label": "桃园",
+ "value": "6609"
+ },
+ {
+ "label": "苗栗",
+ "value": "6610"
+ },
+ {
+ "label": "彰化",
+ "value": "6611"
+ },
+ {
+ "label": "南投",
+ "value": "6612"
+ },
+ {
+ "label": "云林",
+ "value": "6613"
+ },
+ {
+ "label": "屏东",
+ "value": "6614"
+ },
+ {
+ "label": "台东",
+ "value": "6615"
+ },
+ {
+ "label": "花莲",
+ "value": "6616"
+ },
+ {
+ "label": "澎湖",
+ "value": "6617"
+ }
+ ],
+ [{
+ "label": "香港岛",
+ "value": "6701"
+ },
+ {
+ "label": "九龙",
+ "value": "6702"
+ },
+ {
+ "label": "新界",
+ "value": "6703"
+ }
+ ],
+ [{
+ "label": "澳门半岛",
+ "value": "6801"
+ },
+ {
+ "label": "氹仔岛",
+ "value": "6802"
+ },
+ {
+ "label": "路环岛",
+ "value": "6803"
+ },
+ {
+ "label": "路氹城",
+ "value": "6804"
+ }
+ ]
+]
+export default cityData;
diff --git a/components/mpvue-citypicker/city-data/province.js b/components/mpvue-citypicker/city-data/province.js
new file mode 100644
index 0000000..1bd680e
--- /dev/null
+++ b/components/mpvue-citypicker/city-data/province.js
@@ -0,0 +1,139 @@
+/* eslint-disable */
+var provinceData = [{
+ "label": "北京市",
+ "value": "11"
+ },
+ {
+ "label": "天津市",
+ "value": "12"
+ },
+ {
+ "label": "河北省",
+ "value": "13"
+ },
+ {
+ "label": "山西省",
+ "value": "14"
+ },
+ {
+ "label": "内蒙古自治区",
+ "value": "15"
+ },
+ {
+ "label": "辽宁省",
+ "value": "21"
+ },
+ {
+ "label": "吉林省",
+ "value": "22"
+ },
+ {
+ "label": "黑龙江省",
+ "value": "23"
+ },
+ {
+ "label": "上海市",
+ "value": "31"
+ },
+ {
+ "label": "江苏省",
+ "value": "32"
+ },
+ {
+ "label": "浙江省",
+ "value": "33"
+ },
+ {
+ "label": "安徽省",
+ "value": "34"
+ },
+ {
+ "label": "福建省",
+ "value": "35"
+ },
+ {
+ "label": "江西省",
+ "value": "36"
+ },
+ {
+ "label": "山东省",
+ "value": "37"
+ },
+ {
+ "label": "河南省",
+ "value": "41"
+ },
+ {
+ "label": "湖北省",
+ "value": "42"
+ },
+ {
+ "label": "湖南省",
+ "value": "43"
+ },
+ {
+ "label": "广东省",
+ "value": "44"
+ },
+ {
+ "label": "广西壮族自治区",
+ "value": "45"
+ },
+ {
+ "label": "海南省",
+ "value": "46"
+ },
+ {
+ "label": "重庆市",
+ "value": "50"
+ },
+ {
+ "label": "四川省",
+ "value": "51"
+ },
+ {
+ "label": "贵州省",
+ "value": "52"
+ },
+ {
+ "label": "云南省",
+ "value": "53"
+ },
+ {
+ "label": "西藏自治区",
+ "value": "54"
+ },
+ {
+ "label": "陕西省",
+ "value": "61"
+ },
+ {
+ "label": "甘肃省",
+ "value": "62"
+ },
+ {
+ "label": "青海省",
+ "value": "63"
+ },
+ {
+ "label": "宁夏回族自治区",
+ "value": "64"
+ },
+ {
+ "label": "新疆维吾尔自治区",
+ "value": "65"
+ },
+ {
+ "label": "台湾",
+ "value": "66"
+ },
+ {
+ "label": "香港",
+ "value": "67"
+ },
+ {
+ "label": "澳门",
+ "value": "68"
+ }
+]
+export default provinceData;
diff --git a/components/mpvue-citypicker/mpvueCityPicker.vue b/components/mpvue-citypicker/mpvueCityPicker.vue
new file mode 100644
index 0000000..ec02c8b
--- /dev/null
+++ b/components/mpvue-citypicker/mpvueCityPicker.vue
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+ {{item.label}}
+
+
+ {{item.label}}
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+
+
+
diff --git a/components/mpvue-echarts/src/echarts.vue b/components/mpvue-echarts/src/echarts.vue
new file mode 100644
index 0000000..e1cbb66
--- /dev/null
+++ b/components/mpvue-echarts/src/echarts.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
diff --git a/components/mpvue-echarts/src/wx-canvas.js b/components/mpvue-echarts/src/wx-canvas.js
new file mode 100644
index 0000000..ef58893
--- /dev/null
+++ b/components/mpvue-echarts/src/wx-canvas.js
@@ -0,0 +1,73 @@
+export default class WxCanvas {
+ constructor(ctx, canvasId) {
+ this.ctx = ctx;
+ this.canvasId = canvasId;
+ this.chart = null;
+
+ WxCanvas.initStyle(ctx);
+ this.initEvent();
+ }
+
+ getContext(contextType) {
+ return contextType === '2d' ? this.ctx : null;
+ }
+
+ setChart(chart) {
+ this.chart = chart;
+ }
+
+ attachEvent() {
+ // noop
+ }
+
+ detachEvent() {
+ // noop
+ }
+
+ static initStyle(ctx) {
+ const styles = ['fillStyle', 'strokeStyle', 'globalAlpha',
+ 'textAlign', 'textBaseAlign', 'shadow', 'lineWidth',
+ 'lineCap', 'lineJoin', 'lineDash', 'miterLimit', 'fontSize'];
+
+ styles.forEach((style) => {
+ Object.defineProperty(ctx, style, {
+ set: (value) => {
+ if ((style !== 'fillStyle' && style !== 'strokeStyle')
+ || (value !== 'none' && value !== null)
+ ) {
+ ctx[`set${style.charAt(0).toUpperCase()}${style.slice(1)}`](value);
+ }
+ },
+ });
+ });
+
+ ctx.createRadialGradient = () => ctx.createCircularGradient(arguments);
+ }
+
+ initEvent() {
+ this.event = {};
+ const eventNames = [{
+ wxName: 'touchStart',
+ ecName: 'mousedown',
+ }, {
+ wxName: 'touchMove',
+ ecName: 'mousemove',
+ }, {
+ wxName: 'touchEnd',
+ ecName: 'mouseup',
+ }, {
+ wxName: 'touchEnd',
+ ecName: 'click',
+ }];
+
+ eventNames.forEach((name) => {
+ this.event[name.wxName] = (e) => {
+ const touch = e.mp.touches[0];
+ this.chart._zr.handler.dispatch(name.ecName, {
+ zrX: name.wxName === 'tap' ? touch.clientX : touch.x,
+ zrY: name.wxName === 'tap' ? touch.clientY : touch.y,
+ });
+ };
+ });
+ }
+}
diff --git a/components/mpvue-picker/mpvuePicker.vue b/components/mpvue-picker/mpvuePicker.vue
new file mode 100644
index 0000000..93397ee
--- /dev/null
+++ b/components/mpvue-picker/mpvuePicker.vue
@@ -0,0 +1,484 @@
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+ {{item.label}}
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+
+ {{item.label}}
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+ {{item.label}}
+
+
+
+ {{item.label}}
+
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+
+
+
diff --git a/components/mpvueGestureLock/gestureLock.js b/components/mpvueGestureLock/gestureLock.js
new file mode 100644
index 0000000..21cf459
--- /dev/null
+++ b/components/mpvueGestureLock/gestureLock.js
@@ -0,0 +1,175 @@
+class GestureLock {
+
+ constructor(containerWidth, cycleRadius) {
+ this.containerWidth = containerWidth; // 容器宽度
+ this.cycleRadius = cycleRadius; // 圆的半径
+
+ this.circleArray = []; // 全部圆的对象数组
+ this.checkPoints = []; // 选中的圆的对象数组
+ this.lineArray = []; // 已激活锁之间的线段数组
+ this.lastCheckPoint = 0; // 最后一个激活的锁
+ this.offsetX = 0; // 容器的 X 偏移
+ this.offsetY = 0; // 容器的 Y 偏移
+ this.activeLine = {}; // 最后一个激活的锁与当前位置之间的线段
+
+ this.windowWidth = wx.getSystemInfoSync().windowWidth; // 窗口大小(用于rpx 和 px 转换)
+
+ this.initCircleArray();
+ }
+
+ // 初始化 画布上的 9个圆
+ initCircleArray() {
+ const cycleMargin = (this.containerWidth - 6 * this.cycleRadius) / 6;
+ let count = 0;
+ for (let i = 0; i < 3; i++) {
+ for (let j = 0; j < 3; j++) {
+ count++;
+ this.circleArray.push({
+ count: count,
+ x: this.rpxTopx((cycleMargin + this.cycleRadius) * (j * 2 + 1)),
+ y: this.rpxTopx((cycleMargin + this.cycleRadius) * (i * 2 + 1)),
+ radius: this.rpxTopx(this.cycleRadius),
+ check: false,
+ style: {
+ left: (cycleMargin + this.cycleRadius) * (j * 2 + 1) - this.cycleRadius + 'rpx',
+ top: (cycleMargin + this.cycleRadius) * (i * 2 + 1) - this.cycleRadius + 'rpx',
+ width: this.cycleRadius * 2 + 'rpx',
+ }
+ });
+ }
+ }
+ }
+
+ onTouchStart(e) {
+ this.setOffset(e);
+ this.checkTouch({
+ x: e.touches[0].pageX - this.offsetX,
+ y: e.touches[0].pageY - this.offsetY
+ });
+ }
+
+ onTouchMove(e) {
+ this.moveDraw(e)
+ }
+
+ onTouchEnd(e) {
+ const checkPoints = this.checkPoints;
+ this.reset();
+ return checkPoints;
+ }
+
+ // 初始化 偏移量
+ setOffset(e) {
+ this.offsetX = e.currentTarget.offsetLeft;
+ this.offsetY = e.currentTarget.offsetTop;
+ }
+
+ // 检测当时 触摸位置是否位于 锁上
+ checkTouch({
+ x,
+ y
+ }) {
+ for (let i = 0; i < this.circleArray.length; i++) {
+ let point = this.circleArray[i];
+ if (this.isPointInCycle(x, y, point.x, point.y, point.radius)) {
+ if (!point.check) {
+ this.checkPoints.push(point.count);
+ if (this.lastCheckPoint != 0) {
+ // 已激活锁之间的线段
+ const line = this.drawLine(this.lastCheckPoint, point);
+ this.lineArray.push(line);
+ }
+ this.lastCheckPoint = point;
+ }
+ point.check = true;
+ return;
+ }
+ }
+ }
+
+ // 画线 - 返回 样式 对象
+ drawLine(start, end) {
+ const width = this.getPointDis(start.x, start.y, end.x, end.y);
+ const rotate = this.getAngle(start, end);
+
+ return {
+ activeLeft: start.x + 'px',
+ activeTop: start.y + 'px',
+ activeWidth: width + 'px',
+ activeRotate: rotate + 'deg'
+ }
+
+ }
+
+ // 获取 画线的 角度
+ getAngle(start, end) {
+ var diff_x = end.x - start.x,
+ diff_y = end.y - start.y;
+ if (diff_x >= 0) {
+ return 360 * Math.atan(diff_y / diff_x) / (2 * Math.PI);
+ } else {
+ return 180 + 360 * Math.atan(diff_y / diff_x) / (2 * Math.PI);
+ }
+ }
+
+ // 判断 当前点是否位于 锁内
+ isPointInCycle(x, y, circleX, circleY, radius) {
+ return (this.getPointDis(x, y, circleX, circleY) < radius) ? true : false;
+ }
+
+ // 获取两点之间距离
+ getPointDis(ax, ay, bx, by) {
+ return Math.sqrt(Math.pow(ax - bx, 2) + Math.pow(ay - by, 2));
+ }
+
+ // 移动 绘制
+ moveDraw(e) {
+ // 画经过的圆
+ const x = e.touches[0].pageX - this.offsetX;
+ const y = e.touches[0].pageY - this.offsetY;
+ this.checkTouch({
+ x,
+ y
+ });
+
+ // 画 最后一个激活的锁与当前位置之间的线段
+ this.activeLine = this.drawLine(this.lastCheckPoint, {
+ x,
+ y
+ });
+ }
+
+ // 使 画布 恢复初始状态
+ reset() {
+ this.circleArray.forEach((item) => {
+ item.check = false;
+ });
+ this.checkPoints = [];
+ this.lineArray = [];
+ this.activeLine = {};
+ this.lastCheckPoint = 0;
+ }
+
+
+ // 获取 最后一个激活的锁与当前位置之间的线段
+ getActiveLine() {
+ return this.activeLine;
+ }
+
+ // 获取 圆对象数组
+ getCycleArray() {
+ return this.circleArray;
+ }
+
+ // 获取 已激活锁之间的线段
+ getLineArray() {
+ return this.lineArray;
+ }
+
+ // 将 RPX 转换成 PX
+ rpxTopx(rpx) {
+ return rpx / 750 * this.windowWidth;
+ }
+}
+
+export default GestureLock;
diff --git a/components/mpvueGestureLock/index.vue b/components/mpvueGestureLock/index.vue
new file mode 100644
index 0000000..a2cefdd
--- /dev/null
+++ b/components/mpvueGestureLock/index.vue
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/my-paging/my-paging.vue b/components/my-paging/my-paging.vue
new file mode 100644
index 0000000..7c04929
--- /dev/null
+++ b/components/my-paging/my-paging.vue
@@ -0,0 +1,157 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/page-foot/page-foot.vue b/components/page-foot/page-foot.vue
new file mode 100644
index 0000000..1154dbe
--- /dev/null
+++ b/components/page-foot/page-foot.vue
@@ -0,0 +1,38 @@
+
+
+ 感谢{{name}}提供本示例,
+ 我也提交
+
+
+
+
+
diff --git a/components/page-head/page-head.vue b/components/page-head/page-head.vue
new file mode 100644
index 0000000..07ed46d
--- /dev/null
+++ b/components/page-head/page-head.vue
@@ -0,0 +1,16 @@
+
+
+ {{title}}
+
+
+
diff --git a/components/pullDown/pullDown.vue b/components/pullDown/pullDown.vue
new file mode 100644
index 0000000..10058a2
--- /dev/null
+++ b/components/pullDown/pullDown.vue
@@ -0,0 +1,663 @@
+
+
+
+
+
+ {{label}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/search/index.vue b/components/search/index.vue
new file mode 100644
index 0000000..c9239e9
--- /dev/null
+++ b/components/search/index.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+ 筛选
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/show-modal/show-modal.vue b/components/show-modal/show-modal.vue
new file mode 100644
index 0000000..f8b523a
--- /dev/null
+++ b/components/show-modal/show-modal.vue
@@ -0,0 +1,456 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ cancelText }}
+
+
+
+ {{confirmText}}
+ ({{seconds}}s关闭)
+
+
+
+
+
+
+
+
+
+
diff --git a/components/tab-nvue/mediaList.vue b/components/tab-nvue/mediaList.vue
new file mode 100644
index 0000000..ea3d224
--- /dev/null
+++ b/components/tab-nvue/mediaList.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+ {{options.title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/u-charts/u-charts.js b/components/u-charts/u-charts.js
new file mode 100644
index 0000000..3b1b798
--- /dev/null
+++ b/components/u-charts/u-charts.js
@@ -0,0 +1,5046 @@
+/*
+ * uCharts v1.8.5.20190815
+ * uni-app平台高性能跨全端图表,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)
+ * Copyright (c) 2019 QIUN秋云 https://www.ucharts.cn All rights reserved.
+ * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
+ *
+ * uCharts官方网站
+ * https://www.uCharts.cn
+ *
+ * 开源地址:
+ * https://gitee.com/uCharts/uCharts
+ *
+ * uni-app插件市场地址:
+ * http://ext.dcloud.net.cn/plugin?id=271
+ *
+ */
+
+'use strict';
+
+var config = {
+ yAxisWidth: 15,
+ yAxisSplit: 5,
+ xAxisHeight: 15,
+ xAxisLineHeight: 15,
+ legendHeight: 15,
+ yAxisTitleWidth: 15,
+ padding: [10, 10, 10, 10],
+ pixelRatio: 1,
+ rotate: false,
+ columePadding: 3,
+ fontSize: 13,
+ //dataPointShape: ['diamond', 'circle', 'triangle', 'rect'],
+ dataPointShape: ['circle', 'circle', 'circle', 'circle'],
+ colors: ['#1890ff', '#2fc25b', '#facc14', '#f04864', '#8543e0', '#90ed7d'],
+ pieChartLinePadding: 15,
+ pieChartTextPadding: 5,
+ xAxisTextPadding: 3,
+ titleColor: '#333333',
+ titleFontSize: 20,
+ subtitleColor: '#999999',
+ subtitleFontSize: 15,
+ toolTipPadding: 3,
+ toolTipBackground: '#000000',
+ toolTipOpacity: 0.7,
+ toolTipLineHeight: 20,
+ radarGridCount: 3,
+ radarLabelTextMargin: 15,
+ gaugeLabelTextMargin: 15
+};
+
+let assign;
+if (Object.assign) {
+ assign = Object.assign;
+} else {
+ // 使用polyfill
+ assign = function(target, varArgs) {
+ if (target == null) {
+ throw new TypeError('Cannot convert undefined or null to object');
+ }
+ var to = Object(target);
+ for (var index = 1; index < arguments.length; index++) {
+ var nextSource = arguments[index];
+ if (nextSource != null) {
+ for (var nextKey in nextSource) {
+ if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
+ to[nextKey] = nextSource[nextKey];
+ }
+ }
+ }
+ }
+ return to;
+ }
+}
+
+var util = {
+ toFixed: function toFixed(num, limit) {
+ limit = limit || 2;
+ if (this.isFloat(num)) {
+ num = num.toFixed(limit);
+ }
+ return num;
+ },
+ isFloat: function isFloat(num) {
+ return num % 1 !== 0;
+ },
+ approximatelyEqual: function approximatelyEqual(num1, num2) {
+ return Math.abs(num1 - num2) < 1e-10;
+ },
+ isSameSign: function isSameSign(num1, num2) {
+ return Math.abs(num1) === num1 && Math.abs(num2) === num2 || Math.abs(num1) !== num1 && Math.abs(num2) !== num2;
+ },
+ isSameXCoordinateArea: function isSameXCoordinateArea(p1, p2) {
+ return this.isSameSign(p1.x, p2.x);
+ },
+ isCollision: function isCollision(obj1, obj2) {
+ obj1.end = {};
+ obj1.end.x = obj1.start.x + obj1.width;
+ obj1.end.y = obj1.start.y - obj1.height;
+ obj2.end = {};
+ obj2.end.x = obj2.start.x + obj2.width;
+ obj2.end.y = obj2.start.y - obj2.height;
+ var flag = obj2.start.x > obj1.end.x || obj2.end.x < obj1.start.x || obj2.end.y > obj1.start.y || obj2.start.y < obj1.end.y;
+ return !flag;
+ }
+};
+
+//兼容H5点击事件
+function getH5Offset(e) {
+ e.mp = {
+ changedTouches: []
+ };
+ e.mp.changedTouches.push({
+ x: e.offsetX,
+ y: e.offsetY
+ });
+ return e;
+}
+
+// hex 转 rgba
+function hexToRgb(hexValue, opc) {
+ var rgx = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
+ var hex = hexValue.replace(rgx, function(m, r, g, b) {
+ return r + r + g + g + b + b;
+ });
+ var rgb = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
+ var r = parseInt(rgb[1], 16);
+ var g = parseInt(rgb[2], 16);
+ var b = parseInt(rgb[3], 16);
+ return 'rgba(' + r + ',' + g + ',' + b + ',' + opc + ')';
+}
+
+function findRange(num, type, limit) {
+ if (isNaN(num)) {
+ throw new Error('[uCharts] unvalid series data!');
+ }
+ limit = limit || 10;
+ type = type ? type : 'upper';
+ var multiple = 1;
+ while (limit < 1) {
+ limit *= 10;
+ multiple *= 10;
+ }
+ if (type === 'upper') {
+ num = Math.ceil(num * multiple);
+ } else {
+ num = Math.floor(num * multiple);
+ }
+ while (num % limit !== 0) {
+ if (type === 'upper') {
+ num++;
+ } else {
+ num--;
+ }
+ }
+ return num / multiple;
+}
+
+function calCandleMA(dayArr, nameArr, colorArr, kdata) {
+ let seriesTemp = [];
+ for (let k = 0; k < dayArr.length; k++) {
+ let seriesItem = {
+ data: [],
+ name: nameArr[k],
+ color: colorArr[k]
+ };
+ for (let i = 0, len = kdata.length; i < len; i++) {
+ if (i < dayArr[k]) {
+ seriesItem.data.push(null);
+ continue;
+ }
+ let sum = 0;
+ for (let j = 0; j < dayArr[k]; j++) {
+ sum += kdata[i - j][1];
+ }
+ seriesItem.data.push(+(sum / dayArr[k]).toFixed(3));
+ }
+ seriesTemp.push(seriesItem);
+ }
+ return seriesTemp;
+}
+
+function calValidDistance(distance, chartData, config, opts) {
+ var dataChartAreaWidth = opts.width - opts.area[1] - opts.area[3];
+ var dataChartWidth = chartData.eachSpacing * (opts.chartData.xAxisData.xAxisPoints.length-1);
+ var validDistance = distance;
+ if (distance >= 0) {
+ validDistance = 0;
+ } else if (Math.abs(distance) >= dataChartWidth - dataChartAreaWidth) {
+ validDistance = dataChartAreaWidth - dataChartWidth;
+ }
+ return validDistance;
+}
+
+function isInAngleRange(angle, startAngle, endAngle) {
+ function adjust(angle) {
+ while (angle < 0) {
+ angle += 2 * Math.PI;
+ }
+ while (angle > 2 * Math.PI) {
+ angle -= 2 * Math.PI;
+ }
+ return angle;
+ }
+ angle = adjust(angle);
+ startAngle = adjust(startAngle);
+ endAngle = adjust(endAngle);
+ if (startAngle > endAngle) {
+ endAngle += 2 * Math.PI;
+ if (angle < startAngle) {
+ angle += 2 * Math.PI;
+ }
+ }
+ return angle >= startAngle && angle <= endAngle;
+}
+
+function calRotateTranslate(x, y, h) {
+ var xv = x;
+ var yv = h - y;
+ var transX = xv + (h - yv - xv) / Math.sqrt(2);
+ transX *= -1;
+ var transY = (h - yv) * (Math.sqrt(2) - 1) - (h - yv - xv) / Math.sqrt(2);
+ return {
+ transX: transX,
+ transY: transY
+ };
+}
+
+function createCurveControlPoints(points, i) {
+
+ function isNotMiddlePoint(points, i) {
+ if (points[i - 1] && points[i + 1]) {
+ return points[i].y >= Math.max(points[i - 1].y, points[i + 1].y) || points[i].y <= Math.min(points[i - 1].y,
+ points[
+ i + 1].y);
+ } else {
+ return false;
+ }
+ }
+ var a = 0.2;
+ var b = 0.2;
+ var pAx = null;
+ var pAy = null;
+ var pBx = null;
+ var pBy = null;
+ if (i < 1) {
+ pAx = points[0].x + (points[1].x - points[0].x) * a;
+ pAy = points[0].y + (points[1].y - points[0].y) * a;
+ } else {
+ pAx = points[i].x + (points[i + 1].x - points[i - 1].x) * a;
+ pAy = points[i].y + (points[i + 1].y - points[i - 1].y) * a;
+ }
+
+ if (i > points.length - 3) {
+ var last = points.length - 1;
+ pBx = points[last].x - (points[last].x - points[last - 1].x) * b;
+ pBy = points[last].y - (points[last].y - points[last - 1].y) * b;
+ } else {
+ pBx = points[i + 1].x - (points[i + 2].x - points[i].x) * b;
+ pBy = points[i + 1].y - (points[i + 2].y - points[i].y) * b;
+ }
+ if (isNotMiddlePoint(points, i + 1)) {
+ pBy = points[i + 1].y;
+ }
+ if (isNotMiddlePoint(points, i)) {
+ pAy = points[i].y;
+ }
+ return {
+ ctrA: {
+ x: pAx,
+ y: pAy
+ },
+ ctrB: {
+ x: pBx,
+ y: pBy
+ }
+ };
+}
+
+function convertCoordinateOrigin(x, y, center) {
+ return {
+ x: center.x + x,
+ y: center.y - y
+ };
+}
+
+function avoidCollision(obj, target) {
+ if (target) {
+ // is collision test
+ while (util.isCollision(obj, target)) {
+ if (obj.start.x > 0) {
+ obj.start.y--;
+ } else if (obj.start.x < 0) {
+ obj.start.y++;
+ } else {
+ if (obj.start.y > 0) {
+ obj.start.y++;
+ } else {
+ obj.start.y--;
+ }
+ }
+ }
+ }
+ return obj;
+}
+
+function fillSeries(series, opts, config) {
+ var index = 0;
+ return series.map(function(item) {
+ if (!item.color) {
+ item.color = config.colors[index];
+ index = (index + 1) % config.colors.length;
+ }
+ if (!item.type) {
+ item.type = opts.type;
+ }
+ if (typeof item.show == "undefined") {
+ item.show = true;
+ }
+ if (!item.type) {
+ item.type = opts.type;
+ }
+ if (!item.pointShape) {
+ item.pointShape = "circle";
+ }
+ if (!item.legendShape) {
+ switch (item.type) {
+ case 'line':
+ item.legendShape = "line";
+ break;
+ case 'column':
+ item.legendShape = "rect";
+ break;
+ case 'area':
+ item.legendShape = "triangle";
+ break;
+ default:
+ item.legendShape = "circle";
+ }
+ }
+ return item;
+ });
+}
+
+function getDataRange(minData, maxData) {
+ var limit = 0;
+ var range = maxData - minData;
+ if (range >= 10000) {
+ limit = 1000;
+ } else if (range >= 1000) {
+ limit = 100;
+ } else if (range >= 100) {
+ limit = 10;
+ } else if (range >= 10) {
+ limit = 5;
+ } else if (range >= 1) {
+ limit = 1;
+ } else if (range >= 0.1) {
+ limit = 0.1;
+ } else if (range >= 0.01) {
+ limit = 0.01;
+ } else if (range >= 0.001) {
+ limit = 0.001;
+ } else if (range >= 0.0001) {
+ limit = 0.0001;
+ } else if (range >= 0.00001) {
+ limit = 0.00001;
+ } else {
+ limit = 0.000001;
+ }
+ return {
+ minRange: findRange(minData, 'lower', limit),
+ maxRange: findRange(maxData, 'upper', limit)
+ };
+}
+
+function measureText(text) {
+ var fontSize = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : config.fontSize;
+ text = String(text);
+ var text = text.split('');
+ var width = 0;
+ for (let i = 0; i < text.length; i++) {
+ let item = text[i];
+ if (/[a-zA-Z]/.test(item)) {
+ width += 7;
+ } else if (/[0-9]/.test(item)) {
+ width += 5.5;
+ } else if (/\./.test(item)) {
+ width += 2.7;
+ } else if (/-/.test(item)) {
+ width += 3.25;
+ } else if (/[\u4e00-\u9fa5]/.test(item)) {
+ width += 10;
+ } else if (/\(|\)/.test(item)) {
+ width += 3.73;
+ } else if (/\s/.test(item)) {
+ width += 2.5;
+ } else if (/%/.test(item)) {
+ width += 8;
+ } else {
+ width += 10;
+ }
+ }
+ return width * fontSize / 10;
+}
+
+function dataCombine(series) {
+ return series.reduce(function(a, b) {
+ return (a.data ? a.data : a).concat(b.data);
+ }, []);
+}
+
+function dataCombineStack(series, len) {
+ var sum = new Array(len);
+ for (var j = 0; j < sum.length; j++) {
+ sum[j] = 0;
+ }
+ for (var i = 0; i < series.length; i++) {
+ for (var j = 0; j < sum.length; j++) {
+ sum[j] += series[i].data[j];
+ }
+ }
+ return series.reduce(function(a, b) {
+ return (a.data ? a.data : a).concat(b.data).concat(sum);
+ }, []);
+}
+
+function getTouches(touches, opts, e) {
+ let x, y;
+ if (touches.clientX) {
+ if (opts.rotate) {
+ y = opts.height - touches.clientX * opts.pixelRatio;
+ x = (touches.pageY - e.currentTarget.offsetTop - (opts.height / opts.pixelRatio / 2) * (opts.pixelRatio - 1)) *
+ opts.pixelRatio;
+ } else {
+ x = touches.clientX * opts.pixelRatio;
+ y = (touches.pageY - e.currentTarget.offsetTop - (opts.height / opts.pixelRatio / 2) * (opts.pixelRatio - 1)) *
+ opts.pixelRatio;
+ }
+ } else {
+ if (opts.rotate) {
+ y = opts.height - touches.x * opts.pixelRatio;
+ x = touches.y * opts.pixelRatio;
+ } else {
+ x = touches.x * opts.pixelRatio;
+ y = touches.y * opts.pixelRatio;
+ }
+ }
+ return {
+ x: x,
+ y: y
+ }
+}
+
+function getSeriesDataItem(series, index) {
+ var data = [];
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ if (item.data[index] !== null && typeof item.data[index] !== 'undefined' && item.show) {
+ let seriesItem = {};
+ seriesItem.color = item.color;
+ seriesItem.type = item.type;
+ seriesItem.style = item.style;
+ seriesItem.pointShape = item.pointShape;
+ seriesItem.disableLegend = item.disableLegend;
+ seriesItem.name = item.name;
+ seriesItem.show = item.show;
+ seriesItem.data = item.format ? item.format(item.data[index]) : item.data[index];
+ data.push(seriesItem);
+ }
+ }
+ return data;
+}
+
+function getMaxTextListLength(list) {
+ var lengthList = list.map(function(item) {
+ return measureText(item);
+ });
+ return Math.max.apply(null, lengthList);
+}
+
+function getRadarCoordinateSeries(length) {
+ var eachAngle = 2 * Math.PI / length;
+ var CoordinateSeries = [];
+ for (var i = 0; i < length; i++) {
+ CoordinateSeries.push(eachAngle * i);
+ }
+
+ return CoordinateSeries.map(function(item) {
+ return -1 * item + Math.PI / 2;
+ });
+}
+
+function getToolTipData(seriesData, calPoints, index, categories) {
+ var option = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
+
+ var textList = seriesData.map(function(item) {
+ return {
+ text: option.format ? option.format(item, categories[index]) : item.name + ': ' + item.data,
+ color: item.color
+ };
+ });
+ var validCalPoints = [];
+ var offset = {
+ x: 0,
+ y: 0
+ };
+ for (let i = 0; i < calPoints.length; i++) {
+ let points = calPoints[i];
+ if (typeof points[index] !== 'undefined' && points[index] !== null) {
+ validCalPoints.push(points[index]);
+ }
+ }
+ for (let i = 0; i < validCalPoints.length; i++) {
+ let item = validCalPoints[i];
+ offset.x = Math.round(item.x);
+ offset.y += item.y;
+ }
+ offset.y /= validCalPoints.length;
+ return {
+ textList: textList,
+ offset: offset
+ };
+}
+
+function getMixToolTipData(seriesData, calPoints, index, categories) {
+ var option = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
+ var textList = seriesData.map(function(item) {
+ return {
+ text: option.format ? option.format(item, categories[index]) : item.name + ': ' + item.data,
+ color: item.color,
+ disableLegend: item.disableLegend ? true : false
+ };
+ });
+ textList = textList.filter(function(item) {
+ if (item.disableLegend !== true) {
+ return item;
+ }
+ });
+ var validCalPoints = [];
+ var offset = {
+ x: 0,
+ y: 0
+ };
+ for (let i = 0; i < calPoints.length; i++) {
+ let points = calPoints[i];
+ if (typeof points[index] !== 'undefined' && points[index] !== null) {
+ validCalPoints.push(points[index]);
+ }
+ }
+ for (let i = 0; i < validCalPoints.length; i++) {
+ let item = validCalPoints[i];
+ offset.x = Math.round(item.x);
+ offset.y += item.y;
+ }
+ offset.y /= validCalPoints.length;
+ return {
+ textList: textList,
+ offset: offset
+ };
+}
+
+function getCandleToolTipData(series, seriesData, calPoints, index, categories, extra) {
+ var option = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : {};
+ let upColor = extra.color.upFill;
+ let downColor = extra.color.downFill;
+ //颜色顺序为开盘,收盘,最低,最高
+ let color = [upColor, upColor, downColor, upColor];
+ var textList = [];
+ let text0 = {
+ text: categories[index],
+ color: null
+ };
+ textList.push(text0);
+ seriesData.map(function(item) {
+ if (index == 0 && item.data[1] - item.data[0] < 0) {
+ color[1] = downColor;
+ } else {
+ if (item.data[0] < series[index - 1][1]) {
+ color[0] = downColor;
+ }
+ if (item.data[1] < item.data[0]) {
+ color[1] = downColor;
+ }
+ if (item.data[2] > series[index - 1][1]) {
+ color[2] = upColor;
+ }
+ if (item.data[3] < series[index - 1][1]) {
+ color[3] = downColor;
+ }
+ }
+ let text1 = {
+ text: '开盘:' + item.data[0],
+ color: color[0]
+ };
+ let text2 = {
+ text: '收盘:' + item.data[1],
+ color: color[1]
+ };
+ let text3 = {
+ text: '最低:' + item.data[2],
+ color: color[2]
+ };
+ let text4 = {
+ text: '最高:' + item.data[3],
+ color: color[3]
+ };
+ textList.push(text1, text2, text3, text4);
+ });
+ var validCalPoints = [];
+ var offset = {
+ x: 0,
+ y: 0
+ };
+ for (let i = 0; i < calPoints.length; i++) {
+ let points = calPoints[i];
+ if (typeof points[index] !== 'undefined' && points[index] !== null) {
+ validCalPoints.push(points[index]);
+ }
+ }
+ offset.x = Math.round(validCalPoints[0][0].x);
+ return {
+ textList: textList,
+ offset: offset
+ };
+}
+
+function filterSeries(series) {
+ let tempSeries = [];
+ for (let i = 0; i < series.length; i++) {
+ if (series[i].show == true) {
+ tempSeries.push(series[i])
+ }
+ }
+ return tempSeries;
+}
+
+function findCurrentIndex(currentPoints, xAxisPoints, opts, config) {
+ var offset = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
+ var currentIndex = -1;
+ var spacing = 0;
+ if((opts.type=='line' || opts.type=='area') && opts.xAxis.boundaryGap=='justify'){
+ spacing = opts.chartData.eachSpacing/2;
+ }
+ if (isInExactChartArea(currentPoints, opts, config)) {
+ xAxisPoints.forEach(function(item, index) {
+ if (currentPoints.x + offset + spacing > item) {
+ currentIndex = index;
+ }
+ });
+ }
+ return currentIndex;
+}
+
+function findLegendIndex(currentPoints, legendData, opts) {
+ let currentIndex = -1;
+ if (isInExactLegendArea(currentPoints, legendData.area)) {
+ let points = legendData.points;
+ let index = -1;
+ for (let i = 0, len = points.length; i < len; i++) {
+ let item = points[i];
+ for (let j = 0; j < item.length; j++) {
+ index += 1;
+ let area = item[j]['area'];
+ if (currentPoints.x > area[0] && currentPoints.x < area[2] && currentPoints.y > area[1] && currentPoints.y < area[3]) {
+ currentIndex = index;
+ break;
+ }
+ }
+ }
+ return currentIndex;
+ }
+ return currentIndex;
+}
+
+function isInExactLegendArea(currentPoints, area) {
+ return currentPoints.x > area.start.x && currentPoints.x < area.end.x && currentPoints.y > area.start.y &&
+ currentPoints.y < area.end.y;
+}
+
+function isInExactChartArea(currentPoints, opts, config) {
+ return currentPoints.x < opts.width - opts.area[1] + 10 && currentPoints.x > opts.area[3] -10 && currentPoints.y > opts.area[0] && currentPoints.y < opts.height - opts.area[2];
+}
+
+function findRadarChartCurrentIndex(currentPoints, radarData, count) {
+ var eachAngleArea = 2 * Math.PI / count;
+ var currentIndex = -1;
+ if (isInExactPieChartArea(currentPoints, radarData.center, radarData.radius)) {
+ var fixAngle = function fixAngle(angle) {
+ if (angle < 0) {
+ angle += 2 * Math.PI;
+ }
+ if (angle > 2 * Math.PI) {
+ angle -= 2 * Math.PI;
+ }
+ return angle;
+ };
+
+ var angle = Math.atan2(radarData.center.y - currentPoints.y, currentPoints.x - radarData.center.x);
+ angle = -1 * angle;
+ if (angle < 0) {
+ angle += 2 * Math.PI;
+ }
+
+ var angleList = radarData.angleList.map(function(item) {
+ item = fixAngle(-1 * item);
+
+ return item;
+ });
+
+ angleList.forEach(function(item, index) {
+ var rangeStart = fixAngle(item - eachAngleArea / 2);
+ var rangeEnd = fixAngle(item + eachAngleArea / 2);
+ if (rangeEnd < rangeStart) {
+ rangeEnd += 2 * Math.PI;
+ }
+ if (angle >= rangeStart && angle <= rangeEnd || angle + 2 * Math.PI >= rangeStart && angle + 2 * Math.PI <=
+ rangeEnd) {
+ currentIndex = index;
+ }
+ });
+ }
+
+ return currentIndex;
+}
+
+function findFunnelChartCurrentIndex(currentPoints, funnelData) {
+ var currentIndex = -1;
+ for (var i = 0, len = funnelData.series.length; i < len; i++) {
+ var item = funnelData.series[i];
+ if (currentPoints.x > item.funnelArea[0] && currentPoints.x < item.funnelArea[2] && currentPoints.y > item.funnelArea[1] && currentPoints.y < item.funnelArea[3]) {
+ currentIndex = i;
+ break;
+ }
+ }
+ return currentIndex;
+}
+
+function findWordChartCurrentIndex(currentPoints, wordData) {
+ var currentIndex = -1;
+ for (var i = 0, len = wordData.length; i < len; i++) {
+ var item = wordData[i];
+ if (currentPoints.x > item.area[0] && currentPoints.x < item.area[2] && currentPoints.y > item.area[1] && currentPoints.y < item.area[3]) {
+ currentIndex = i;
+ break;
+ }
+ }
+ return currentIndex;
+}
+
+function findMapChartCurrentIndex(currentPoints, opts) {
+ var currentIndex = -1;
+ var cData=opts.chartData.mapData;
+ var data=opts.series;
+ var tmp=pointToCoordinate(currentPoints.y, currentPoints.x,cData.bounds,cData.scale,cData.xoffset,cData.yoffset);
+ var poi=[tmp.x, tmp.y];
+ for (var i = 0, len = data.length; i < len; i++) {
+ var item = data[i].geometry.coordinates;
+ if(isPoiWithinPoly(poi,item)){
+ currentIndex = i;
+ break;
+ }
+ }
+ return currentIndex;
+}
+
+function findPieChartCurrentIndex(currentPoints, pieData) {
+ var currentIndex = -1;
+ if (isInExactPieChartArea(currentPoints, pieData.center, pieData.radius)) {
+ var angle = Math.atan2(pieData.center.y - currentPoints.y, currentPoints.x - pieData.center.x);
+ angle = -angle;
+ for (var i = 0, len = pieData.series.length; i < len; i++) {
+ var item = pieData.series[i];
+ if (isInAngleRange(angle, item._start_, item._start_ + item._proportion_ * 2 * Math.PI)) {
+ currentIndex = i;
+ break;
+ }
+ }
+ }
+
+ return currentIndex;
+}
+
+function isInExactPieChartArea(currentPoints, center, radius) {
+ return Math.pow(currentPoints.x - center.x, 2) + Math.pow(currentPoints.y - center.y, 2) <= Math.pow(radius, 2);
+}
+
+function splitPoints(points) {
+ var newPoints = [];
+ var items = [];
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ items.push(item);
+ } else {
+ if (items.length) {
+ newPoints.push(items);
+ }
+ items = [];
+ }
+ });
+ if (items.length) {
+ newPoints.push(items);
+ }
+
+ return newPoints;
+}
+
+function calLegendData(series, opts, config, chartData) {
+ let legendData = {
+ area: {
+ start: {
+ x: 0,
+ y: 0
+ },
+ end: {
+ x: 0,
+ y: 0
+ },
+ width: 0,
+ height: 0,
+ wholeWidth: 0,
+ wholeHeight: 0
+ },
+ points: [],
+ widthArr: [],
+ heightArr: []
+ };
+ if (opts.legend.show === false) {
+ chartData.legendData = legendData;
+ return legendData;
+ }
+
+ let padding = opts.legend.padding;
+ let margin = opts.legend.margin;
+ let fontSize = opts.legend.fontSize;
+ let shapeWidth = 15 * opts.pixelRatio;
+ let shapeRight = 5 * opts.pixelRatio;
+ let lineHeight = Math.max(opts.legend.lineHeight * opts.pixelRatio, fontSize);
+ if (opts.legend.position == 'top' || opts.legend.position == 'bottom') {
+ let legendList = [];
+ let widthCount = 0;
+ let widthCountArr = [];
+ let currentRow = [];
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ let itemWidth = shapeWidth + shapeRight + measureText(item.name || 'undefined', fontSize) + opts.legend.itemGap;
+ if (widthCount + itemWidth > opts.width - opts.padding[1] - opts.padding[3]) {
+ legendList.push(currentRow);
+ widthCountArr.push(widthCount - opts.legend.itemGap);
+ widthCount = itemWidth;
+ currentRow = [item];
+ } else {
+ widthCount += itemWidth;
+ currentRow.push(item);
+ }
+ }
+ if (currentRow.length) {
+ legendList.push(currentRow);
+ widthCountArr.push(widthCount - opts.legend.itemGap);
+ legendData.widthArr = widthCountArr;
+ let legendWidth = Math.max.apply(null, widthCountArr);
+ switch (opts.legend.float) {
+ case 'left':
+ legendData.area.start.x = opts.padding[3];
+ legendData.area.end.x = opts.padding[3] + 2 * padding;
+ break;
+ case 'right':
+ legendData.area.start.x = opts.width - opts.padding[1] - legendWidth - 2 * padding;
+ legendData.area.end.x = opts.width - opts.padding[1];
+ break;
+ default:
+ legendData.area.start.x = (opts.width - legendWidth) / 2 - padding;
+ legendData.area.end.x = (opts.width + legendWidth) / 2 + padding;
+ }
+ legendData.area.width = legendWidth + 2 * padding;
+ legendData.area.wholeWidth = legendWidth + 2 * padding;
+ legendData.area.height = legendList.length * lineHeight + 2 * padding;
+ legendData.area.wholeHeight = legendList.length * lineHeight + 2 * padding + 2 * margin;
+ legendData.points = legendList;
+ }
+ } else {
+ let len = series.length;
+ let maxHeight = opts.height - opts.padding[0] - opts.padding[2] - 2 * margin - 2 * padding;
+ let maxLength = Math.min(Math.floor(maxHeight / lineHeight), len);
+ legendData.area.height = maxLength * lineHeight + padding * 2;
+ legendData.area.wholeHeight = maxLength * lineHeight + padding * 2;
+ switch (opts.legend.float) {
+ case 'top':
+ legendData.area.start.y = opts.padding[0] + margin;
+ legendData.area.end.y = opts.padding[0] + margin + legendData.area.height;
+ break;
+ case 'bottom':
+ legendData.area.start.y = opts.height - opts.padding[2] - margin - legendData.area.height;
+ legendData.area.end.y = opts.height - opts.padding[2] - margin;
+ break;
+ default:
+ legendData.area.start.y = (opts.height - legendData.area.height) / 2;
+ legendData.area.end.y = (opts.height + legendData.area.height) / 2;
+ }
+ let lineNum = len % maxLength === 0 ? len / maxLength : Math.floor((len / maxLength) + 1);
+ let currentRow = [];
+ for (let i = 0; i < lineNum; i++) {
+ let temp = series.slice(i * maxLength, i * maxLength + maxLength);
+ currentRow.push(temp);
+ }
+
+ legendData.points = currentRow;
+
+ if (currentRow.length) {
+ for (let i = 0; i < currentRow.length; i++) {
+ let item = currentRow[i];
+ let maxWidth = 0;
+ for (let j = 0; j < item.length; j++) {
+ let itemWidth = shapeWidth + shapeRight + measureText(item[j].name || 'undefined', fontSize) + opts.legend.itemGap;
+ if (itemWidth > maxWidth) {
+ maxWidth = itemWidth;
+ }
+ }
+ legendData.widthArr.push(maxWidth);
+ legendData.heightArr.push(item.length * lineHeight + padding * 2);
+ }
+ let legendWidth = 0
+ for (let i = 0; i < legendData.widthArr.length; i++) {
+ legendWidth += legendData.widthArr[i];
+ }
+ legendData.area.width = legendWidth - opts.legend.itemGap + 2 * padding;
+ legendData.area.wholeWidth = legendData.area.width + padding;
+ }
+ }
+
+ switch (opts.legend.position) {
+ case 'top':
+ legendData.area.start.y = opts.padding[0] + margin;
+ legendData.area.end.y = opts.padding[0] + margin + legendData.area.height;
+ break;
+ case 'bottom':
+ legendData.area.start.y = opts.height - opts.padding[2] - legendData.area.height - margin;
+ legendData.area.end.y = opts.height - opts.padding[2] - margin;
+ break;
+ case 'left':
+ legendData.area.start.x = opts.padding[3];
+ legendData.area.end.x = opts.padding[3] + legendData.area.width;
+ break;
+ case 'right':
+ legendData.area.start.x = opts.width - opts.padding[1] - legendData.area.width;
+ legendData.area.end.x = opts.width - opts.padding[1];
+ break;
+ }
+ chartData.legendData = legendData;
+ return legendData;
+}
+
+function calCategoriesData(categories, opts, config, eachSpacing) {
+ var result = {
+ angle: 0,
+ xAxisHeight: config.xAxisHeight
+ };
+ var categoriesTextLenth = categories.map(function(item) {
+ return measureText(item);
+ });
+ var maxTextLength = Math.max.apply(this, categoriesTextLenth);
+
+ if (opts.xAxis.rotateLabel == true && maxTextLength + 2 * config.xAxisTextPadding > eachSpacing) {
+ result.angle = 45 * Math.PI / 180;
+ result.xAxisHeight = 2 * config.xAxisTextPadding + maxTextLength * Math.sin(result.angle);
+ }
+ return result;
+}
+
+function getRadarDataPoints(angleList, center, radius, series, opts) {
+ var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 1;
+
+ var radarOption = opts.extra.radar || {};
+ radarOption.max = radarOption.max || 0;
+ var maxData = Math.max(radarOption.max, Math.max.apply(null, dataCombine(series)));
+
+ var data = [];
+ for (let i = 0; i < series.length; i++) {
+ let each = series[i];
+ let listItem = {};
+ listItem.color = each.color;
+ listItem.data = [];
+ each.data.forEach(function(item, index) {
+ let tmp = {};
+ tmp.angle = angleList[index];
+
+ tmp.proportion = item / maxData;
+ tmp.position = convertCoordinateOrigin(radius * tmp.proportion * process * Math.cos(tmp.angle), radius * tmp.proportion *
+ process * Math.sin(tmp.angle), center);
+ listItem.data.push(tmp);
+ });
+
+ data.push(listItem);
+ }
+
+ return data;
+}
+
+function getPieDataPoints(series, radius) {
+ var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
+
+ var count = 0;
+ var _start_ = 0;
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ item.data = item.data === null ? 0 : item.data;
+ count += item.data;
+ }
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ item.data = item.data === null ? 0 : item.data;
+ if (count === 0) {
+ item._proportion_ = 1 / series.length * process;
+ } else {
+ item._proportion_ = item.data / count * process;
+ }
+ item._radius_ = radius;
+ }
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ item._start_ = _start_;
+ _start_ += 2 * item._proportion_ * Math.PI;
+ }
+
+ return series;
+}
+
+function getFunnelDataPoints(series, radius) {
+ var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
+ series = series.sort(function(a,b){return parseInt(b.data)-parseInt(a.data);});
+ for (let i = 0; i < series.length; i++) {
+ series[i].radius = series[i].data/series[0].data*radius*process;
+ series[i]._proportion_ = series[i].data/series[0].data;
+ }
+ return series.reverse();
+}
+
+function getRoseDataPoints(series, type, minRadius, radius) {
+ var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ var count = 0;
+ var _start_ = 0;
+
+ var dataArr = [];
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ item.data = item.data === null ? 0 : item.data;
+ count += item.data;
+ dataArr.push(item.data);
+ }
+
+ var minData = Math.min.apply(null, dataArr);
+ var maxData = Math.max.apply(null, dataArr);
+ var radiusLength = radius - minRadius;
+
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ item.data = item.data === null ? 0 : item.data;
+ if (count === 0 || type == 'area') {
+ item._proportion_ = item.data / count * process;
+ item._rose_proportion_ = 1 / series.length * process;
+ } else {
+ item._proportion_ = item.data / count * process;
+ item._rose_proportion_ = item.data / count * process;
+ }
+ item._radius_ = minRadius + radiusLength * ((item.data - minData) / (maxData - minData));
+ }
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ item._start_ = _start_;
+ _start_ += 2 * item._rose_proportion_ * Math.PI;
+ }
+
+ return series;
+}
+
+function getArcbarDataPoints(series, arcbarOption) {
+ var process = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
+ if (process == 1) {
+ process = 0.999999;
+ }
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ item.data = item.data === null ? 0 : item.data;
+ let totalAngle;
+ if (arcbarOption.type == 'default') {
+ if (arcbarOption.endAngle < arcbarOption.startAngle) {
+ totalAngle = 2 + arcbarOption.endAngle - arcbarOption.startAngle;
+ } else{
+ totalAngle = arcbarOption.startAngle - arcbarOption.endAngle;
+ }
+ } else {
+ totalAngle = 2;
+ }
+ item._proportion_ = totalAngle * item.data * process + arcbarOption.startAngle;
+ if (item._proportion_ >= 2) {
+ item._proportion_ = item._proportion_ % 2;
+ }
+ }
+ return series;
+}
+
+function getGaugeAxisPoints(categories, startAngle, endAngle) {
+ let totalAngle = startAngle - endAngle + 1;
+ let tempStartAngle = startAngle;
+ for (let i = 0; i < categories.length; i++) {
+ categories[i].value = categories[i].value === null ? 0 : categories[i].value;
+ categories[i]._startAngle_ = tempStartAngle;
+ categories[i]._endAngle_ = totalAngle * categories[i].value + startAngle;
+ if (categories[i]._endAngle_ >= 2) {
+ categories[i]._endAngle_ = categories[i]._endAngle_ % 2;
+ }
+ tempStartAngle = categories[i]._endAngle_;
+ }
+ return categories;
+}
+
+function getGaugeDataPoints(series, categories, gaugeOption) {
+ let process = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ item.data = item.data === null ? 0 : item.data;
+ if (gaugeOption.pointer.color == 'auto') {
+ for (let i = 0; i < categories.length; i++) {
+ if (item.data <= categories[i].value) {
+ item.color = categories[i].color;
+ break;
+ }
+ }
+ } else {
+ item.color = gaugeOption.pointer.color;
+ }
+ let totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1;
+ item._endAngle_ = totalAngle * item.data + gaugeOption.startAngle;
+ item._oldAngle_ = gaugeOption.oldAngle;
+ if (gaugeOption.oldAngle < gaugeOption.endAngle) {
+ item._oldAngle_ += 2;
+ }
+ if (item.data >= gaugeOption.oldData) {
+ item._proportion_ = (item._endAngle_ - item._oldAngle_) * process + gaugeOption.oldAngle;
+ } else {
+ item._proportion_ = item._oldAngle_ - (item._oldAngle_ - item._endAngle_) * process;
+ }
+ if (item._proportion_ >= 2) {
+ item._proportion_ = item._proportion_ % 2;
+ }
+ }
+ return series;
+}
+
+function getPieTextMaxLength(series) {
+ series = getPieDataPoints(series);
+ let maxLength = 0;
+ for (let i = 0; i < series.length; i++) {
+ let item = series[i];
+ let text = item.format ? item.format(+item._proportion_.toFixed(2)) : util.toFixed(item._proportion_ * 100) + '%';
+ maxLength = Math.max(maxLength, measureText(text));
+ }
+
+ return maxLength;
+}
+
+function fixColumeData(points, eachSpacing, columnLen, index, config, opts) {
+ return points.map(function(item) {
+ if (item === null) {
+ return null;
+ }
+ item.width = Math.ceil((eachSpacing - 2 * config.columePadding) / columnLen);
+
+ if (opts.extra.column && opts.extra.column.width && +opts.extra.column.width > 0) {
+ item.width = Math.min(item.width, +opts.extra.column.width);
+ }
+ if (item.width <= 0) {
+ item.width = 1;
+ }
+ item.x += (index + 0.5 - columnLen / 2) * item.width;
+ return item;
+ });
+}
+
+function fixColumeMeterData(points, eachSpacing, columnLen, index, config, opts, border) {
+ return points.map(function(item) {
+ if (item === null) {
+ return null;
+ }
+ item.width = Math.ceil((eachSpacing - 2 * config.columePadding) / 2);
+
+ if (opts.extra.column && opts.extra.column.width && +opts.extra.column.width > 0) {
+ item.width = Math.min(item.width, +opts.extra.column.width);
+ }
+
+ if (index > 0) {
+ item.width -= 2 * border;
+ }
+ return item;
+ });
+}
+
+function fixColumeStackData(points, eachSpacing, columnLen, index, config, opts, series) {
+
+ return points.map(function(item, indexn) {
+
+ if (item === null) {
+ return null;
+ }
+ item.width = Math.ceil((eachSpacing - 2 * config.columePadding) / 2);
+
+ if (opts.extra.column && opts.extra.column.width && +opts.extra.column.width > 0) {
+ item.width = Math.min(item.width, +opts.extra.column.width);
+ }
+ return item;
+ });
+}
+
+function getXAxisPoints(categories, opts, config) {
+ var yAxisTotalWidth = config.yAxisWidth + config.yAxisTitleWidth;
+ var spacingValid = opts.width - opts.area[1] - opts.area[3];
+ var dataCount = opts.enableScroll ? Math.min(opts.xAxis.itemCount, categories.length) : categories.length;
+ if((opts.type=='line' || opts.type=='area') && dataCount>1 && opts.xAxis.boundaryGap=='justify'){
+ dataCount -=1;
+ }
+ var eachSpacing = spacingValid / dataCount;
+
+ var xAxisPoints = [];
+ var startX = opts.area[3];
+ var endX = opts.width - opts.area[1];
+ categories.forEach(function(item, index) {
+ xAxisPoints.push(startX + index * eachSpacing);
+ });
+ if(opts.xAxis.boundaryGap !=='justify'){
+ if (opts.enableScroll === true) {
+ xAxisPoints.push(startX + categories.length * eachSpacing);
+ } else {
+ xAxisPoints.push(endX);
+ }
+ }
+ return {
+ xAxisPoints: xAxisPoints,
+ startX: startX,
+ endX: endX,
+ eachSpacing: eachSpacing
+ };
+}
+
+function getCandleDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config) {
+ var process = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 1;
+ var points = [];
+ var validHeight = opts.height - opts.area[0] - opts.area[2];
+ data.forEach(function(item, index) {
+ if (item === null) {
+ points.push(null);
+ } else {
+ var cPoints = [];
+ item.forEach(function(items, indexs) {
+ var point = {};
+ point.x = xAxisPoints[index] + Math.round(eachSpacing / 2);
+ var value = items.value || items;
+ var height = validHeight * (value - minRange) / (maxRange - minRange);
+ height *= process;
+ point.y = opts.height - Math.round(height) - opts.area[2];
+ cPoints.push(point);
+ });
+ points.push(cPoints);
+ }
+ });
+
+ return points;
+}
+
+function getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config) {
+ var process = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 1;
+ var boundaryGap='center';
+ if (opts.type == 'line'||opts.type == 'area'){
+ boundaryGap=opts.xAxis.boundaryGap;
+ }
+ var points = [];
+ var validHeight = opts.height - opts.area[0] - opts.area[2];
+ data.forEach(function(item, index) {
+ if (item === null) {
+ points.push(null);
+ } else {
+ var point = {};
+ point.color = item.color;
+ point.x = xAxisPoints[index];
+ if(boundaryGap=='center'){
+ point.x += Math.round(eachSpacing / 2);
+ }
+ var value = item;
+ if (typeof item === 'object' && item !== null) {
+ value = item.value
+ }
+ var height = validHeight * (value - minRange) / (maxRange - minRange);
+ height *= process;
+ point.y = opts.height - Math.round(height) - opts.area[2];
+ points.push(point);
+ }
+ });
+
+ return points;
+}
+
+function getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, stackSeries) {
+ var process = arguments.length > 9 && arguments[9] !== undefined ? arguments[9] : 1;
+ var points = [];
+ var validHeight = opts.height - opts.area[0] - opts.area[2];
+
+ data.forEach(function(item, index) {
+ if (item === null) {
+ points.push(null);
+ } else {
+ var point = {};
+ point.color = item.color;
+ point.x = xAxisPoints[index] + Math.round(eachSpacing / 2);
+
+ if (seriesIndex > 0) {
+ var value = 0;
+ for (let i = 0; i <= seriesIndex; i++) {
+ value += stackSeries[i].data[index];
+ }
+ var value0 = value - item;
+ var height = validHeight * (value - minRange) / (maxRange - minRange);
+ var height0 = validHeight * (value0 - minRange) / (maxRange - minRange);
+ } else {
+ var value = item;
+ var height = validHeight * (value - minRange) / (maxRange - minRange);
+ var height0 = 0;
+ }
+ var heightc = height0;
+ height *= process;
+ heightc *= process;
+ point.y = opts.height - Math.round(height) - opts.area[2];
+ point.y0 = opts.height - Math.round(heightc) - opts.area[2];
+ points.push(point);
+ }
+ });
+
+ return points;
+}
+
+function getYAxisTextList(series, opts, config, stack) {
+ var data;
+ if (stack == 'stack') {
+ data = dataCombineStack(series, opts.categories.length);
+ } else {
+ data = dataCombine(series);
+ }
+ var sorted = [];
+ // remove null from data
+ data = data.filter(function(item) {
+ //return item !== null;
+ if (typeof item === 'object' && item !== null) {
+ if (Array.isArray(item)) {
+ return item !== null;
+ } else {
+ return item.value !== null;
+ }
+ } else {
+ return item !== null;
+ }
+ });
+ data.map(function(item) {
+ if (typeof item === 'object') {
+ if (Array.isArray(item)) {
+ item.map(function(subitem) {
+ sorted.push(subitem);
+ })
+ } else {
+ sorted.push(item.value);
+ }
+ } else {
+ sorted.push(item);
+ }
+ })
+ var minData = 0;
+ var maxData = 0;
+ if (sorted.length > 0) {
+ minData = Math.min.apply(this, sorted);
+ maxData = Math.max.apply(this, sorted);
+ }
+ if (typeof opts.yAxis.min === 'number') {
+ minData = Math.min(opts.yAxis.min, minData);
+ }
+ if (typeof opts.yAxis.max === 'number') {
+ maxData = Math.max(opts.yAxis.max, maxData);
+ }
+
+ if (minData === maxData) {
+ var rangeSpan = maxData || 10;
+ maxData += rangeSpan;
+ }
+
+ var dataRange = getDataRange(minData, maxData);
+ var minRange = dataRange.minRange;
+ var maxRange = dataRange.maxRange;
+
+ var range = [];
+ var eachRange = (maxRange - minRange) / config.yAxisSplit;
+
+ for (var i = 0; i <= config.yAxisSplit; i++) {
+ range.push(minRange + eachRange * i);
+ }
+ return range.reverse();
+}
+
+function calYAxisData(series, opts, config) {
+ //堆叠图重算Y轴
+ var columnstyle = assign({}, {
+ type: ""
+ }, opts.extra.column);
+ var ranges = getYAxisTextList(series, opts, config, columnstyle.type);
+ var yAxisWidth = config.yAxisWidth;
+ var yAxisFontSize = opts.yAxis.fontSize || config.fontSize;
+ var rangesFormat = ranges.map(function(item) {
+ item = util.toFixed(item, 6);
+ item = opts.yAxis.format ? opts.yAxis.format(Number(item)) : item;
+ yAxisWidth = Math.max(yAxisWidth, measureText(item, yAxisFontSize) + 5);
+ return item;
+ });
+ if (opts.yAxis.disabled === true) {
+ yAxisWidth = 0;
+ }
+
+ return {
+ rangesFormat: rangesFormat,
+ ranges: ranges,
+ yAxisWidth: yAxisWidth
+ };
+}
+
+function calTooltipYAxisData(point, series, opts, config, eachSpacing) {
+ var ranges = getYAxisTextList(series, opts, config);
+ var spacingValid = opts.height - opts.area[0] - opts.area[2];
+ let maxVal = ranges[0];
+ let minVal = ranges[ranges.length - 1];
+ let minAxis = opts.padding[3];
+ let maxAxis = opts.padding[1] + spacingValid;
+ let item = maxVal - (maxVal - minVal) * (point - minAxis) / (maxAxis - minAxis);
+ item = opts.yAxis.format ? opts.yAxis.format(Number(item)) : item;
+ return item;
+}
+
+function calMarkLineData(minRange, maxRange, points, opts) {
+ let spacingValid = opts.height - opts.area[0] - opts.area[2];
+ for (let i = 0; i < points.length; i++) {
+ let height = spacingValid * (points[i].value - minRange) / (maxRange - minRange);
+ points[i].y = opts.height - Math.round(height) - opts.area[2];
+ }
+ return points;
+}
+
+function contextRotate(context, opts) {
+ if (opts.rotateLock !== true) {
+ context.translate(opts.height, 0);
+ context.rotate(90 * Math.PI / 180);
+ } else if (opts._rotate_ !== true) {
+ context.translate(opts.height, 0);
+ context.rotate(90 * Math.PI / 180);
+ opts._rotate_ = true;
+ }
+}
+
+function drawPointShape(points, color, shape, context, opts) {
+ context.beginPath();
+ context.setStrokeStyle("#ffffff");
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.setFillStyle(color);
+ if (shape === 'diamond') {
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ context.moveTo(item.x, item.y - 4.5);
+ context.lineTo(item.x - 4.5, item.y);
+ context.lineTo(item.x, item.y + 4.5);
+ context.lineTo(item.x + 4.5, item.y);
+ context.lineTo(item.x, item.y - 4.5);
+ }
+ });
+ } else if (shape === 'circle') {
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ context.moveTo(item.x + 3.5 * opts.pixelRatio, item.y);
+ context.arc(item.x, item.y, 4 * opts.pixelRatio, 0, 2 * Math.PI, false);
+ }
+ });
+ } else if (shape === 'rect') {
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ context.moveTo(item.x - 3.5, item.y - 3.5);
+ context.rect(item.x - 3.5, item.y - 3.5, 7, 7);
+ }
+ });
+ } else if (shape === 'triangle') {
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ context.moveTo(item.x, item.y - 4.5);
+ context.lineTo(item.x - 4.5, item.y + 4.5);
+ context.lineTo(item.x + 4.5, item.y + 4.5);
+ context.lineTo(item.x, item.y - 4.5);
+ }
+ });
+ }
+ context.closePath();
+ context.fill();
+ context.stroke();
+}
+
+function drawRingTitle(opts, config, context, center) {
+ var titlefontSize = opts.title.fontSize || config.titleFontSize;
+ var subtitlefontSize = opts.subtitle.fontSize || config.subtitleFontSize;
+ var title = opts.title.name || '';
+ var subtitle = opts.subtitle.name || '';
+ var titleFontColor = opts.title.color || config.titleColor;
+ var subtitleFontColor = opts.subtitle.color || config.subtitleColor;
+ var titleHeight = title ? titlefontSize : 0;
+ var subtitleHeight = subtitle ? subtitlefontSize : 0;
+ var margin = 5;
+
+ if (subtitle) {
+ var textWidth = measureText(subtitle, subtitlefontSize);
+ var startX = center.x - textWidth / 2 + (opts.subtitle.offsetX || 0);
+ var startY = center.y + subtitlefontSize / 2 + (opts.subtitle.offsetY || 0);
+ if (title) {
+ startY += (titleHeight + margin) / 2;
+ }
+ context.beginPath();
+ context.setFontSize(subtitlefontSize);
+ context.setFillStyle(subtitleFontColor);
+ context.fillText(subtitle, startX, startY);
+ context.closePath();
+ context.stroke();
+ }
+ if (title) {
+ var _textWidth = measureText(title, titlefontSize);
+ var _startX = center.x - _textWidth / 2 + (opts.title.offsetX || 0);
+ var _startY = center.y + titlefontSize / 2 + (opts.title.offsetY || 0);
+ if (subtitle) {
+ _startY -= (subtitleHeight + margin) / 2;
+ }
+ context.beginPath();
+ context.setFontSize(titlefontSize);
+ context.setFillStyle(titleFontColor);
+ context.fillText(title, _startX, _startY);
+ context.closePath();
+ context.stroke();
+ }
+}
+
+function drawPointText(points, series, config, context) {
+ // 绘制数据文案
+ var data = series.data;
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ //var formatVal = series.format ? series.format(data[index]) : data[index];
+ context.beginPath();
+ context.setFontSize(series.textSize || config.fontSize);
+ context.setFillStyle(series.textColor || '#666666');
+ var value = data[index]
+ if (typeof data[index] === 'object' && data[index] !== null) {
+ value = data[index].value
+ }
+ var formatVal = series.format ? series.format(value) : value;
+ context.fillText(String(formatVal), item.x - measureText(formatVal, series.textSize || config.fontSize) / 2, item.y -
+ 2);
+ context.closePath();
+ context.stroke();
+ }
+ });
+
+}
+
+function drawGaugeLabel(gaugeOption, radius, centerPosition, opts, config, context) {
+ radius -= gaugeOption.width / 2 + config.gaugeLabelTextMargin;
+
+ let totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1;
+ let splitAngle = totalAngle / gaugeOption.splitLine.splitNumber;
+ let totalNumber = gaugeOption.endNumber - gaugeOption.startNumber;
+ let splitNumber = totalNumber / gaugeOption.splitLine.splitNumber;
+ let nowAngle = gaugeOption.startAngle;
+ let nowNumber = gaugeOption.startNumber;
+ for (let i = 0; i < gaugeOption.splitLine.splitNumber + 1; i++) {
+ var pos = {
+ x: radius * Math.cos(nowAngle * Math.PI),
+ y: radius * Math.sin(nowAngle * Math.PI)
+ };
+ var labelText = gaugeOption.labelFormat ? gaugeOption.labelFormat(nowNumber) : nowNumber;
+ pos.x += centerPosition.x - measureText(labelText) / 2;
+ pos.y += centerPosition.y;
+ var startX = pos.x;
+ var startY = pos.y;
+ context.beginPath();
+ context.setFontSize(config.fontSize);
+ context.setFillStyle(gaugeOption.labelColor || '#666666');
+ context.fillText(labelText, startX, startY + config.fontSize / 2);
+ context.closePath();
+ context.stroke();
+
+ nowAngle += splitAngle;
+ if (nowAngle >= 2) {
+ nowAngle = nowAngle % 2;
+ }
+ nowNumber += splitNumber;
+ }
+
+}
+
+function drawRadarLabel(angleList, radius, centerPosition, opts, config, context) {
+ var radarOption = opts.extra.radar || {};
+ radius += config.radarLabelTextMargin;
+
+ angleList.forEach(function(angle, index) {
+ var pos = {
+ x: radius * Math.cos(angle),
+ y: radius * Math.sin(angle)
+ };
+ var posRelativeCanvas = convertCoordinateOrigin(pos.x, pos.y, centerPosition);
+ var startX = posRelativeCanvas.x;
+ var startY = posRelativeCanvas.y;
+ if (util.approximatelyEqual(pos.x, 0)) {
+ startX -= measureText(opts.categories[index] || '') / 2;
+ } else if (pos.x < 0) {
+ startX -= measureText(opts.categories[index] || '');
+ }
+ context.beginPath();
+ context.setFontSize(config.fontSize);
+ context.setFillStyle(radarOption.labelColor || '#666666');
+ context.fillText(opts.categories[index] || '', startX, startY + config.fontSize / 2);
+ context.closePath();
+ context.stroke();
+ });
+
+}
+
+function drawPieText(series, opts, config, context, radius, center) {
+ var lineRadius = config.pieChartLinePadding;
+ var textObjectCollection = [];
+ var lastTextObject = null;
+
+ var seriesConvert = series.map(function(item) {
+ var text = item.format ? item.format(+item._proportion_.toFixed(2)) : util.toFixed(item._proportion_.toFixed(4) * 100) +'%';
+ if(item._rose_proportion_) item._proportion_=item._rose_proportion_;
+ var arc = 2 * Math.PI - (item._start_ + 2 * Math.PI * item._proportion_ / 2);
+ var color = item.color;
+ var radius = item._radius_;
+ return {
+ arc: arc,
+ text: text,
+ color: color,
+ radius: radius,
+ textColor: item.textColor,
+ textSize: item.textSize,
+ };
+ });
+ for (let i = 0; i < seriesConvert.length; i++) {
+ let item = seriesConvert[i];
+ // line end
+ let orginX1 = Math.cos(item.arc) * (item.radius + lineRadius);
+ let orginY1 = Math.sin(item.arc) * (item.radius + lineRadius);
+
+ // line start
+ let orginX2 = Math.cos(item.arc) * item.radius;
+ let orginY2 = Math.sin(item.arc) * item.radius;
+
+ // text start
+ let orginX3 = orginX1 >= 0 ? orginX1 + config.pieChartTextPadding : orginX1 - config.pieChartTextPadding;
+ let orginY3 = orginY1;
+ let textWidth = measureText(item.text);
+ let startY = orginY3;
+
+ if (lastTextObject && util.isSameXCoordinateArea(lastTextObject.start, {
+ x: orginX3
+ })) {
+ if (orginX3 > 0) {
+ startY = Math.min(orginY3, lastTextObject.start.y);
+ } else if (orginX1 < 0) {
+ startY = Math.max(orginY3, lastTextObject.start.y);
+ } else {
+ if (orginY3 > 0) {
+ startY = Math.max(orginY3, lastTextObject.start.y);
+ } else {
+ startY = Math.min(orginY3, lastTextObject.start.y);
+ }
+ }
+ }
+ if (orginX3 < 0) {
+ orginX3 -= textWidth;
+ }
+
+ let textObject = {
+ lineStart: {
+ x: orginX2,
+ y: orginY2
+ },
+ lineEnd: {
+ x: orginX1,
+ y: orginY1
+ },
+ start: {
+ x: orginX3,
+ y: startY
+ },
+ width: textWidth,
+ height: config.fontSize,
+ text: item.text,
+ color: item.color,
+ textColor: item.textColor,
+ textSize: item.textSize
+ };
+ lastTextObject = avoidCollision(textObject, lastTextObject);
+ textObjectCollection.push(lastTextObject);
+ }
+
+ for (let i = 0; i < textObjectCollection.length; i++) {
+ let item = textObjectCollection[i];
+ let lineStartPoistion = convertCoordinateOrigin(item.lineStart.x, item.lineStart.y, center);
+ let lineEndPoistion = convertCoordinateOrigin(item.lineEnd.x, item.lineEnd.y, center);
+ let textPosition = convertCoordinateOrigin(item.start.x, item.start.y, center);
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.setFontSize(config.fontSize);
+ context.beginPath();
+ context.setStrokeStyle(item.color);
+ context.setFillStyle(item.color);
+ context.moveTo(lineStartPoistion.x, lineStartPoistion.y);
+ let curveStartX = item.start.x < 0 ? textPosition.x + item.width : textPosition.x;
+ let textStartX = item.start.x < 0 ? textPosition.x - 5 : textPosition.x + 5;
+ context.quadraticCurveTo(lineEndPoistion.x, lineEndPoistion.y, curveStartX, textPosition.y);
+ context.moveTo(lineStartPoistion.x, lineStartPoistion.y);
+ context.stroke();
+ context.closePath();
+ context.beginPath();
+ context.moveTo(textPosition.x + item.width, textPosition.y);
+ context.arc(curveStartX, textPosition.y, 2, 0, 2 * Math.PI);
+ context.closePath();
+ context.fill();
+ context.beginPath();
+ context.setFontSize(item.textSize || config.fontSize);
+ context.setFillStyle(item.textColor || '#666666');
+ context.fillText(item.text, textStartX, textPosition.y + 3);
+ context.closePath();
+ context.stroke();
+ context.closePath();
+ }
+}
+
+function drawToolTipSplitLine(offsetX, opts, config, context) {
+ var toolTipOption = opts.extra.tooltip || {};
+ toolTipOption.gridType = toolTipOption.gridType == undefined ? 'solid' : toolTipOption.gridType;
+ toolTipOption.dashLength = toolTipOption.dashLength == undefined ? 4 : toolTipOption.dashLength;
+ var startY = opts.area[0];
+ var endY = opts.height - opts.area[2];
+
+ if (toolTipOption.gridType == 'dash') {
+ context.setLineDash([toolTipOption.dashLength, toolTipOption.dashLength]);
+ }
+ context.setStrokeStyle(toolTipOption.gridColor || '#cccccc');
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.beginPath();
+ context.moveTo(offsetX, startY);
+ context.lineTo(offsetX, endY);
+ context.stroke();
+ context.setLineDash([]);
+
+ if (toolTipOption.xAxisLabel) {
+ let labelText = opts.categories[opts.tooltip.index];
+ context.setFontSize(config.fontSize);
+ let textWidth = measureText(labelText, config.fontSize);
+
+ let textX = offsetX - 0.5 * textWidth;
+ let textY = endY;
+ context.beginPath();
+ context.setFillStyle(hexToRgb(toolTipOption.labelBgColor || config.toolTipBackground, toolTipOption.labelBgOpacity || config.toolTipOpacity));
+ context.setStrokeStyle(toolTipOption.labelBgColor || config.toolTipBackground);
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.rect(textX - config.toolTipPadding, textY, textWidth + 2 * config.toolTipPadding, config.fontSize + 2 * config.toolTipPadding);
+ context.closePath();
+ context.stroke();
+ context.fill();
+
+ context.beginPath();
+ context.setFontSize(config.fontSize);
+ context.setFillStyle(toolTipOption.labelFontColor || config.fontColor);
+ context.fillText(String(labelText), textX, textY + config.toolTipPadding + config.fontSize);
+ context.closePath();
+ context.stroke();
+ }
+}
+
+function drawMarkLine(minRange, maxRange, opts, config, context) {
+ let markLineOption = assign({}, {
+ type: 'solid',
+ dashLength: 4,
+ data: []
+ }, opts.extra.markLine);
+ let startX = opts.area[3];
+ let endX = opts.width - opts.padding[1];
+ let points = calMarkLineData(minRange, maxRange, markLineOption.data, opts);
+
+ for (let i = 0; i < points.length; i++) {
+ let item = assign({}, {
+ lineColor: '#DE4A42',
+ showLabel: false,
+ labelFontColor: '#666666',
+ labelBgColor: '#DFE8FF',
+ labelBgOpacity: 0.8,
+ yAxisIndex: 0
+ }, points[i]);
+
+ if (markLineOption.type == 'dash') {
+ context.setLineDash([markLineOption.dashLength, markLineOption.dashLength]);
+ }
+ context.setStrokeStyle(item.lineColor);
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.beginPath();
+ context.moveTo(startX, item.y);
+ context.lineTo(endX, item.y);
+ context.stroke();
+ context.setLineDash([]);
+ if (item.showLabel) {
+ let labelText = opts.yAxis.format ? opts.yAxis.format(Number(item.value)) : item.value;
+ context.setFontSize(config.fontSize);
+ let textWidth = measureText(labelText, config.fontSize);
+ let bgStartX = opts.padding[3] + config.yAxisTitleWidth - config.toolTipPadding;
+ let bgEndX = Math.max(opts.area[3], textWidth + config.toolTipPadding * 2);
+ let bgWidth = bgEndX - bgStartX;
+
+ let textX = bgStartX + (bgWidth - textWidth) / 2;
+ let textY = item.y;
+ context.setFillStyle(hexToRgb(item.labelBgColor, item.labelBgOpacity));
+ context.setStrokeStyle(item.labelBgColor);
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.beginPath();
+ context.rect(bgStartX, textY - 0.5 * config.fontSize - config.toolTipPadding, bgWidth, config.fontSize + 2 * config.toolTipPadding);
+ context.closePath();
+ context.stroke();
+ context.fill();
+
+ context.beginPath();
+ context.setFontSize(config.fontSize);
+ context.setFillStyle(item.labelFontColor);
+ context.fillText(String(labelText), textX, textY + 0.5 * config.fontSize);
+ context.stroke();
+ }
+ }
+}
+
+function drawToolTipHorizentalLine(opts, config, context, eachSpacing, xAxisPoints) {
+ var toolTipOption = assign({}, {
+ gridType: 'solid',
+ dashLength: 4
+ }, opts.extra.tooltip);
+
+ var startX = opts.area[3];
+ var endX = opts.width - opts.padding[1];
+
+ if (toolTipOption.gridType == 'dash') {
+ context.setLineDash([toolTipOption.dashLength, toolTipOption.dashLength]);
+ }
+ context.setStrokeStyle(toolTipOption.gridColor || '#cccccc');
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.beginPath();
+ context.moveTo(startX, opts.tooltip.offset.y);
+ context.lineTo(endX, opts.tooltip.offset.y);
+ context.stroke();
+ context.setLineDash([]);
+
+ if (toolTipOption.yAxisLabel) {
+ let labelText = calTooltipYAxisData(opts.tooltip.offset.y, opts.series, opts, config, eachSpacing);
+ context.setFontSize(config.fontSize);
+ let textWidth = measureText(labelText, config.fontSize);
+ let bgStartX = opts.padding[3] + config.yAxisTitleWidth - config.toolTipPadding;
+ let bgEndX = Math.max(opts.area[3], textWidth + config.toolTipPadding * 2);
+ let bgWidth = bgEndX - bgStartX;
+
+ let textX = bgStartX + (bgWidth - textWidth) / 2;
+ let textY = opts.tooltip.offset.y;
+ context.beginPath();
+ context.setFillStyle(hexToRgb(toolTipOption.labelBgColor || config.toolTipBackground, toolTipOption.labelBgOpacity || config.toolTipOpacity));
+ context.setStrokeStyle(toolTipOption.labelBgColor || config.toolTipBackground);
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.rect(bgStartX, textY - 0.5 * config.fontSize - config.toolTipPadding, bgWidth, config.fontSize + 2 * config.toolTipPadding);
+ context.closePath();
+ context.stroke();
+ context.fill();
+
+ context.beginPath();
+ context.setFontSize(config.fontSize);
+ context.setFillStyle(toolTipOption.labelFontColor || config.fontColor);
+ context.fillText(labelText, textX, textY + 0.5 * config.fontSize);
+ context.closePath();
+ context.stroke();
+ }
+}
+
+function drawToolTipSplitArea(offsetX, opts, config, context, eachSpacing) {
+ var toolTipOption = assign({}, {
+ activeBgColor: '#000000',
+ activeBgOpacity: 0.08
+ }, opts.extra.tooltip);
+ var startY = opts.area[0];
+ var endY = opts.height - opts.area[2];
+ context.beginPath();
+ context.setFillStyle(hexToRgb(toolTipOption.activeBgColor, toolTipOption.activeBgOpacity));
+ context.rect(offsetX - eachSpacing / 2, startY, eachSpacing, endY - startY);
+ context.closePath();
+ context.fill();
+}
+
+function drawToolTip(textList, offset, opts, config, context, eachSpacing, xAxisPoints) {
+ var toolTipOption = assign({}, {
+ bgColor: '#000000',
+ bgOpacity: 0.7,
+ fontColor: '#FFFFFF'
+ }, opts.extra.tooltip);
+ var legendWidth = 4 * opts.pixelRatio;
+ var legendMarginRight = 5 * opts.pixelRatio;
+ var arrowWidth = 8 * opts.pixelRatio;
+ var isOverRightBorder = false;
+ if (opts.type == 'line' || opts.type == 'area' || opts.type == 'candle' || opts.type == 'mix') {
+ drawToolTipSplitLine(opts.tooltip.offset.x, opts, config, context);
+ }
+
+ offset = assign({
+ x: 0,
+ y: 0
+ }, offset);
+ offset.y -= 8 * opts.pixelRatio;
+ var textWidth = textList.map(function(item) {
+ return measureText(item.text, config.fontSize);
+ });
+ var toolTipWidth = legendWidth + legendMarginRight + 4 * config.toolTipPadding + Math.max.apply(null, textWidth);
+ var toolTipHeight = 2 * config.toolTipPadding + textList.length * config.toolTipLineHeight;
+
+ // if beyond the right border
+ if (offset.x - Math.abs(opts._scrollDistance_) + arrowWidth + toolTipWidth > opts.width) {
+ isOverRightBorder = true;
+ }
+ if (toolTipHeight + offset.y > opts.height) {
+ offset.y = opts.height - toolTipHeight;
+ }
+ // draw background rect
+ context.beginPath();
+ context.setFillStyle(hexToRgb(toolTipOption.bgColor || config.toolTipBackground, toolTipOption.bgOpacity || config.toolTipOpacity));
+ if (isOverRightBorder) {
+ context.moveTo(offset.x, offset.y + 10 * opts.pixelRatio);
+ context.lineTo(offset.x - arrowWidth, offset.y + 10 * opts.pixelRatio - 5 * opts.pixelRatio);
+ context.lineTo(offset.x - arrowWidth, offset.y);
+ context.lineTo(offset.x - arrowWidth - Math.round(toolTipWidth), offset.y);
+ context.lineTo(offset.x - arrowWidth - Math.round(toolTipWidth), offset.y + toolTipHeight);
+ context.lineTo(offset.x - arrowWidth, offset.y + toolTipHeight);
+ context.lineTo(offset.x - arrowWidth, offset.y + 10 * opts.pixelRatio + 5 * opts.pixelRatio);
+ context.lineTo(offset.x, offset.y + 10 * opts.pixelRatio);
+ } else {
+ context.moveTo(offset.x, offset.y + 10 * opts.pixelRatio);
+ context.lineTo(offset.x + arrowWidth, offset.y + 10 * opts.pixelRatio - 5 * opts.pixelRatio);
+ context.lineTo(offset.x + arrowWidth, offset.y);
+ context.lineTo(offset.x + arrowWidth + Math.round(toolTipWidth), offset.y);
+ context.lineTo(offset.x + arrowWidth + Math.round(toolTipWidth), offset.y + toolTipHeight);
+ context.lineTo(offset.x + arrowWidth, offset.y + toolTipHeight);
+ context.lineTo(offset.x + arrowWidth, offset.y + 10 * opts.pixelRatio + 5 * opts.pixelRatio);
+ context.lineTo(offset.x, offset.y + 10 * opts.pixelRatio);
+ }
+
+ context.closePath();
+ context.fill();
+
+ // draw legend
+ textList.forEach(function(item, index) {
+ if (item.color !== null) {
+ context.beginPath();
+ context.setFillStyle(item.color);
+ var startX = offset.x + arrowWidth + 2 * config.toolTipPadding;
+ var startY = offset.y + (config.toolTipLineHeight - config.fontSize) / 2 + config.toolTipLineHeight * index +
+ config.toolTipPadding + 1;
+ if (isOverRightBorder) {
+ startX = offset.x - toolTipWidth - arrowWidth + 2 * config.toolTipPadding;
+ }
+ context.fillRect(startX, startY, legendWidth, config.fontSize);
+ context.closePath();
+ }
+ });
+
+ // draw text list
+
+ textList.forEach(function(item, index) {
+ var startX = offset.x + arrowWidth + 2 * config.toolTipPadding + legendWidth + legendMarginRight;
+ if (isOverRightBorder) {
+ startX = offset.x - toolTipWidth - arrowWidth + 2 * config.toolTipPadding + +legendWidth + legendMarginRight;
+ }
+ var startY = offset.y + (config.toolTipLineHeight - config.fontSize) / 2 + config.toolTipLineHeight * index +
+ config.toolTipPadding;
+ context.beginPath();
+ context.setFontSize(config.fontSize);
+ context.setFillStyle(toolTipOption.fontColor);
+ context.fillText(item.text, startX, startY + config.fontSize);
+ context.closePath();
+ context.stroke();
+ });
+}
+
+function drawYAxisTitle(title, opts, config, context) {
+ var startX = config.xAxisHeight + (opts.height - config.xAxisHeight - measureText(title)) / 2;
+ context.save();
+ context.beginPath();
+ context.setFontSize(config.fontSize);
+ context.setFillStyle(opts.yAxis.titleFontColor || '#333333');
+ context.translate(0, opts.height);
+ context.rotate(-90 * Math.PI / 180);
+ context.fillText(title, startX, opts.padding[3] + 0.5 * config.fontSize);
+ context.closePath();
+ context.stroke();
+ context.restore();
+}
+
+function drawColumnDataPoints(series, opts, config, context) {
+ let process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ let ranges = [].concat(opts.chartData.yAxisData.ranges);
+ let xAxisData = opts.chartData.xAxisData,
+ xAxisPoints = xAxisData.xAxisPoints,
+ eachSpacing = xAxisData.eachSpacing;
+ let columnOption = assign({}, {
+ type: 'group',
+ width: eachSpacing / 2,
+ meter: {
+ border: 4,
+ fillColor: '#FFFFFF'
+ }
+ }, opts.extra.column);
+ let minRange = ranges.pop();
+ let maxRange = ranges.shift();
+ let calPoints = [];
+
+ context.save();
+ if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) {
+ context.translate(opts._scrollDistance_, 0);
+ }
+ if (opts.tooltip && opts.tooltip.textList && opts.tooltip.textList.length && process === 1) {
+ drawToolTipSplitArea(opts.tooltip.offset.x, opts, config, context, eachSpacing);
+ }
+
+ series.forEach(function(eachSeries, seriesIndex) {
+ var data = eachSeries.data;
+ switch (columnOption.type) {
+ case 'group':
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ var tooltipPoints = getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, seriesIndex, series, process);
+ calPoints.push(tooltipPoints);
+ points = fixColumeData(points, eachSpacing, series.length, seriesIndex, config, opts);
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ context.beginPath();
+ context.setStrokeStyle(item.color || eachSeries.color);
+ context.setLineWidth(1)
+ context.setFillStyle(item.color || eachSeries.color);
+ var startX = item.x - item.width / 2;
+ var height = opts.height - item.y - opts.area[2];
+ context.moveTo(startX-1, item.y);
+ context.lineTo(startX+item.width-2,item.y);
+ context.lineTo(startX+item.width-2,opts.height - opts.area[2]);
+ context.lineTo(startX,opts.height - opts.area[2]);
+ context.lineTo(startX,item.y);
+ //context.rect(startX, item.y, item.width, height);
+ context.closePath();
+ context.stroke();
+ context.fill();
+ }
+ });
+ break;
+ case 'stack':
+ // 绘制堆叠数据图
+ var points = getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config,
+ seriesIndex,
+ series, process);
+ calPoints.push(points);
+ points = fixColumeStackData(points, eachSpacing, series.length, seriesIndex, config, opts, series);
+
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ context.beginPath();
+ context.setFillStyle(item.color || eachSeries.color);
+ var startX = item.x - item.width / 2 + 1;
+ var height = opts.height - item.y - opts.area[2];
+ var height0 = opts.height - item.y0 - opts.area[2];
+ if (seriesIndex > 0) {
+ height -= height0;
+ }
+ context.moveTo(startX, item.y);
+ context.fillRect(startX, item.y, item.width - 2, height);
+ context.closePath();
+ context.fill();
+ }
+ });
+ break;
+ case 'meter':
+ // 绘制温度计数据图
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ calPoints.push(points);
+ points = fixColumeMeterData(points, eachSpacing, series.length, seriesIndex, config, opts, columnOption.meter
+ .border);
+ if (seriesIndex == 0) {
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ //画背景颜色
+ context.beginPath();
+ context.setFillStyle(columnOption.meter.fillColor);
+ var startX = item.x - item.width / 2;
+ var height = opts.height - item.y - opts.area[2];
+ context.moveTo(startX, item.y);
+ context.fillRect(startX, item.y, item.width, height);
+ context.closePath();
+ context.fill();
+ //画边框线
+ if (columnOption.meter.border > 0) {
+ context.beginPath();
+ context.setStrokeStyle(eachSeries.color);
+ context.setLineWidth(columnOption.meter.border * opts.pixelRatio);
+ context.moveTo(startX + columnOption.meter.border * 0.5, item.y + height);
+ context.lineTo(startX + columnOption.meter.border * 0.5, item.y + columnOption.meter.border * 0.5);
+ context.lineTo(startX + item.width - columnOption.meter.border * 0.5, item.y + columnOption.meter.border * 0.5);
+ context.lineTo(startX + item.width - columnOption.meter.border * 0.5, item.y + height);
+ context.stroke();
+ }
+ }
+ });
+ } else {
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ context.beginPath();
+ context.setFillStyle(item.color || eachSeries.color);
+ var startX = item.x - item.width / 2;
+ var height = opts.height - item.y - opts.area[2];
+ context.moveTo(startX, item.y);
+ context.fillRect(startX, item.y, item.width, height);
+ context.closePath();
+ context.fill();
+ }
+ });
+ }
+ break;
+ }
+ });
+
+ if (opts.dataLabel !== false && process === 1) {
+ series.forEach(function(eachSeries, seriesIndex) {
+ var data = eachSeries.data;
+ switch (columnOption.type) {
+ case 'group':
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ points = fixColumeData(points, eachSpacing, series.length, seriesIndex, config, opts);
+
+ drawPointText(points, eachSeries, config, context);
+ break;
+ case 'stack':
+ var points = getStackDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config,
+ seriesIndex,
+ series, process);
+ drawPointText(points, eachSeries, config, context);
+ break;
+ case 'meter':
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ drawPointText(points, eachSeries, config, context);
+ break;
+ }
+ });
+ }
+
+ context.restore();
+
+ return {
+ xAxisPoints: xAxisPoints,
+ calPoints: calPoints,
+ eachSpacing: eachSpacing,
+ minRange: minRange,
+ maxRange: maxRange
+ };
+}
+
+function drawCandleDataPoints(series, seriesMA, opts, config, context) {
+ var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 1;
+ var candleOption = assign({}, {
+ color: {},
+ average: {}
+ }, opts.extra.candle);
+ candleOption.color = assign({}, {
+ upLine: '#f04864',
+ upFill: '#f04864',
+ downLine: '#2fc25b',
+ downFill: '#2fc25b'
+ }, candleOption.color);
+ candleOption.average = assign({}, {
+ show: false,
+ name: [],
+ day: [],
+ color: config.colors
+ }, candleOption.average);
+ opts.extra.candle = candleOption;
+
+ let ranges = [].concat(opts.chartData.yAxisData.ranges);
+ let xAxisData = opts.chartData.xAxisData,
+ xAxisPoints = xAxisData.xAxisPoints,
+ eachSpacing = xAxisData.eachSpacing;
+
+ let minRange = ranges.pop();
+ let maxRange = ranges.shift();
+ let calPoints = [];
+
+ context.save();
+ if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) {
+ context.translate(opts._scrollDistance_, 0);
+ }
+ //画均线
+ if (candleOption.average.show) {
+ seriesMA.forEach(function(eachSeries, seriesIndex) {
+ var data = eachSeries.data;
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ //calPoints.push(points);
+ var splitPointList = splitPoints(points);
+
+ splitPointList.forEach(function(points, index) {
+ context.beginPath();
+ context.setStrokeStyle(eachSeries.color);
+ context.setLineWidth(1);
+ if (points.length === 1) {
+ context.moveTo(points[0].x, points[0].y);
+ context.arc(points[0].x, points[0].y, 1, 0, 2 * Math.PI);
+ } else {
+ context.moveTo(points[0].x, points[0].y);
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ var ctrlPoint = createCurveControlPoints(points, index - 1);
+ context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y,
+ item.x, item
+ .y);
+ }
+ });
+ context.moveTo(points[0].x, points[0].y);
+ }
+ context.closePath();
+ context.stroke();
+ });
+ });
+ }
+ //画K线
+ series.forEach(function(eachSeries, seriesIndex) {
+ var data = eachSeries.data;
+ var points = getCandleDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ calPoints.push(points);
+ var splitPointList = splitPoints(points);
+ splitPointList = splitPointList[0];
+
+ splitPointList.forEach(function(points, index) {
+ context.beginPath();
+ //如果上涨
+ if (data[index][1] - data[index][0] > 0) {
+ context.setStrokeStyle(candleOption.color.upLine);
+ context.setFillStyle(candleOption.color.upFill);
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.moveTo(points[3].x, points[3].y); //顶点
+ context.lineTo(points[1].x, points[1].y); //收盘中间点
+ context.lineTo(points[1].x - eachSpacing / 4, points[1].y); //收盘左侧点
+ context.lineTo(points[0].x - eachSpacing / 4, points[0].y); //开盘左侧点
+ context.lineTo(points[0].x, points[0].y); //开盘中间点
+ context.lineTo(points[2].x, points[2].y); //底点
+ context.lineTo(points[0].x, points[0].y); //开盘中间点
+ context.lineTo(points[0].x + eachSpacing / 4, points[0].y); //开盘右侧点
+ context.lineTo(points[1].x + eachSpacing / 4, points[1].y); //收盘右侧点
+ context.lineTo(points[1].x, points[1].y); //收盘中间点
+ context.moveTo(points[3].x, points[3].y); //顶点
+ } else {
+ context.setStrokeStyle(candleOption.color.downLine);
+ context.setFillStyle(candleOption.color.downFill);
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.moveTo(points[3].x, points[3].y); //顶点
+ context.lineTo(points[0].x, points[0].y); //开盘中间点
+ context.lineTo(points[0].x - eachSpacing / 4, points[0].y); //开盘左侧点
+ context.lineTo(points[1].x - eachSpacing / 4, points[1].y); //收盘左侧点
+ context.lineTo(points[1].x, points[1].y); //收盘中间点
+ context.lineTo(points[2].x, points[2].y); //底点
+ context.lineTo(points[1].x, points[1].y); //收盘中间点
+ context.lineTo(points[1].x + eachSpacing / 4, points[1].y); //收盘右侧点
+ context.lineTo(points[0].x + eachSpacing / 4, points[0].y); //开盘右侧点
+ context.lineTo(points[0].x, points[0].y); //开盘中间点
+ context.moveTo(points[3].x, points[3].y); //顶点
+ }
+ context.closePath();
+ context.fill();
+ context.stroke();
+ });
+ });
+
+ context.restore();
+
+ return {
+ xAxisPoints: xAxisPoints,
+ calPoints: calPoints,
+ eachSpacing: eachSpacing,
+ minRange: minRange,
+ maxRange: maxRange
+ };
+}
+
+function drawAreaDataPoints(series, opts, config, context) {
+ var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ var areaOption = assign({},{
+ type: 'straight',
+ opacity: 0.2,
+ addLine: false,
+ width: 2
+ },opts.extra.area);
+
+ let ranges = [].concat(opts.chartData.yAxisData.ranges);
+ let xAxisData = opts.chartData.xAxisData,
+ xAxisPoints = xAxisData.xAxisPoints,
+ eachSpacing = xAxisData.eachSpacing;
+
+ let minRange = ranges.pop();
+ let maxRange = ranges.shift();
+ let endY = opts.height - opts.area[2];
+ let calPoints = [];
+
+ context.save();
+ if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) {
+ context.translate(opts._scrollDistance_, 0);
+ }
+
+ series.forEach(function(eachSeries, seriesIndex) {
+ let data = eachSeries.data;
+ let points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ calPoints.push(points);
+
+ let splitPointList = splitPoints(points);
+
+ for (let i = 0; i < splitPointList.length; i++) {
+ let points = splitPointList[i];
+ // 绘制区域数
+ context.beginPath();
+ context.setStrokeStyle(hexToRgb(eachSeries.color, areaOption.opacity));
+ context.setFillStyle(hexToRgb(eachSeries.color, areaOption.opacity));
+ context.setLineWidth(areaOption.width * opts.pixelRatio);
+ if (points.length > 1) {
+ let firstPoint = points[0];
+ let lastPoint = points[points.length - 1];
+
+ context.moveTo(firstPoint.x, firstPoint.y);
+ if (areaOption.type === 'curve') {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ let ctrlPoint = createCurveControlPoints(points, index - 1);
+ context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y,item.x, item.y);
+ }
+ });
+ } else {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ context.lineTo(item.x, item.y);
+ }
+ });
+ }
+
+ context.lineTo(lastPoint.x, endY);
+ context.lineTo(firstPoint.x, endY);
+ context.lineTo(firstPoint.x, firstPoint.y);
+ } else {
+ let item = points[0];
+ context.moveTo(item.x - eachSpacing / 2, item.y);
+ context.lineTo(item.x + eachSpacing / 2, item.y);
+ context.lineTo(item.x + eachSpacing / 2, endY);
+ context.lineTo(item.x - eachSpacing / 2, endY);
+ context.moveTo(item.x - eachSpacing / 2, item.y);
+ }
+ context.closePath();
+ context.fill();
+
+ //画连线
+ if (areaOption.addLine) {
+ context.beginPath();
+ context.setStrokeStyle(eachSeries.color);
+ context.setLineWidth(areaOption.width * opts.pixelRatio);
+ if (points.length === 1) {
+ context.moveTo(points[0].x, points[0].y);
+ context.arc(points[0].x, points[0].y, 1, 0, 2 * Math.PI);
+ } else {
+ context.moveTo(points[0].x, points[0].y);
+ if (areaOption.type === 'curve') {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ let ctrlPoint = createCurveControlPoints(points, index - 1);
+ context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y,item.x,item.y);
+ }
+ });
+ } else {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ context.lineTo(item.x, item.y);
+ }
+ });
+ }
+ context.moveTo(points[0].x, points[0].y);
+ }
+ context.closePath();
+ context.stroke();
+ }
+ }
+
+ //画点
+ if (opts.dataPointShape !== false) {
+ var shape = config.dataPointShape[seriesIndex % config.dataPointShape.length];
+ drawPointShape(points, eachSeries.color, shape, context, opts);
+ }
+
+ });
+
+ if (opts.dataLabel !== false && process === 1) {
+ series.forEach(function(eachSeries, seriesIndex) {
+ var data = eachSeries.data;
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ drawPointText(points, eachSeries, config, context);
+ });
+ }
+
+ context.restore();
+
+ return {
+ xAxisPoints: xAxisPoints,
+ calPoints: calPoints,
+ eachSpacing: eachSpacing,
+ minRange: minRange,
+ maxRange: maxRange
+ };
+}
+
+function drawLineDataPoints(series, opts, config, context) {
+ var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ var lineOption = opts.extra.line || {
+ type: 'straight',
+ width: 2
+ };
+ lineOption.type = lineOption.type ? lineOption.type : 'straight';
+ lineOption.width = lineOption.width ? lineOption.width : 2;
+
+ let ranges = [].concat(opts.chartData.yAxisData.ranges);
+ let xAxisData = opts.chartData.xAxisData,
+ xAxisPoints = xAxisData.xAxisPoints,
+ eachSpacing = xAxisData.eachSpacing;
+
+ var minRange = ranges.pop();
+ var maxRange = ranges.shift();
+ var calPoints = [];
+
+ context.save();
+ if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) {
+ context.translate(opts._scrollDistance_, 0);
+ }
+
+ series.forEach(function(eachSeries, seriesIndex) {
+ var data = eachSeries.data;
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ calPoints.push(points);
+ var splitPointList = splitPoints(points);
+
+ splitPointList.forEach(function(points, index) {
+ context.beginPath();
+ context.setStrokeStyle(eachSeries.color);
+ context.setLineWidth(lineOption.width * opts.pixelRatio);
+ if (points.length === 1) {
+ context.moveTo(points[0].x, points[0].y);
+ context.arc(points[0].x, points[0].y, 1, 0, 2 * Math.PI);
+ } else {
+ context.moveTo(points[0].x, points[0].y);
+ if (lineOption.type === 'curve') {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ var ctrlPoint = createCurveControlPoints(points, index - 1);
+ context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y,
+ item.x, item
+ .y);
+ }
+ });
+ } else {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ context.lineTo(item.x, item.y);
+ }
+ });
+ }
+ context.moveTo(points[0].x, points[0].y);
+ }
+ context.closePath();
+ context.stroke();
+ });
+
+ if (opts.dataPointShape !== false) {
+ var shape = config.dataPointShape[seriesIndex % config.dataPointShape.length];
+ drawPointShape(points, eachSeries.color, shape, context, opts);
+ }
+ });
+
+ if (opts.dataLabel !== false && process === 1) {
+ series.forEach(function(eachSeries, seriesIndex) {
+ var data = eachSeries.data;
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ drawPointText(points, eachSeries, config, context);
+ });
+ }
+
+ context.restore();
+
+ return {
+ xAxisPoints: xAxisPoints,
+ calPoints: calPoints,
+ eachSpacing: eachSpacing,
+ minRange: minRange,
+ maxRange: maxRange
+ };
+}
+
+function drawMixDataPoints(series, opts, config, context) {
+ let process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ let ranges = [].concat(opts.chartData.yAxisData.ranges);
+ let xAxisData = opts.chartData.xAxisData,
+ xAxisPoints = xAxisData.xAxisPoints,
+ eachSpacing = xAxisData.eachSpacing;
+
+ let minRange = ranges.pop();
+ let maxRange = ranges.shift();
+ let endY = opts.height - opts.area[2];
+ let calPoints = [];
+
+ var columnIndex = 0;
+ var columnLength = 0;
+ series.forEach(function(eachSeries, seriesIndex) {
+ if (eachSeries.type == 'column') {
+ columnLength += 1;
+ }
+ });
+ context.save();
+ if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) {
+ context.translate(opts._scrollDistance_, 0);
+ }
+
+ series.forEach(function(eachSeries, seriesIndex) {
+ var data = eachSeries.data;
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ calPoints.push(points);
+
+ // 绘制柱状数据图
+ if (eachSeries.type == 'column') {
+ points = fixColumeData(points, eachSpacing, columnLength, columnIndex, config, opts);
+ points.forEach(function(item, index) {
+ if (item !== null) {
+ context.beginPath();
+ context.setStrokeStyle(item.color || eachSeries.color);
+ context.setLineWidth(1)
+ context.setFillStyle(item.color || eachSeries.color);
+ var startX = item.x - item.width / 2;
+ var height = opts.height - item.y - opts.area[2];
+ context.moveTo(startX, item.y);
+ context.moveTo(startX-1, item.y);
+ context.lineTo(startX+item.width-2,item.y);
+ context.lineTo(startX+item.width-2,opts.height - opts.area[2]);
+ context.lineTo(startX,opts.height - opts.area[2]);
+ context.lineTo(startX,item.y);
+ //context.rect(startX, item.y, item.width, height);
+ context.closePath();
+ context.stroke();
+ context.fill();
+ context.closePath();
+ context.fill();
+ }
+ });
+ columnIndex += 1;
+ }
+
+ //绘制区域图数据
+
+ if (eachSeries.type == 'area') {
+ let splitPointList = splitPoints(points);
+ for (let i = 0; i < splitPointList.length; i++) {
+ let points = splitPointList[i];
+ // 绘制区域数据
+ context.beginPath();
+ context.setStrokeStyle(eachSeries.color);
+ context.setFillStyle(hexToRgb(eachSeries.color, 0.2));
+ context.setLineWidth(2 * opts.pixelRatio);
+ if (points.length > 1) {
+ var firstPoint = points[0];
+ let lastPoint = points[points.length - 1];
+ context.moveTo(firstPoint.x, firstPoint.y);
+ if (eachSeries.style === 'curve') {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ var ctrlPoint = createCurveControlPoints(points, index - 1);
+ context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y, item.x, item.y);
+ }
+ });
+ } else {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ context.lineTo(item.x, item.y);
+ }
+ });
+ }
+ context.lineTo(lastPoint.x, endY);
+ context.lineTo(firstPoint.x, endY);
+ context.lineTo(firstPoint.x, firstPoint.y);
+ } else {
+ let item = points[0];
+ context.moveTo(item.x - eachSpacing / 2, item.y);
+ context.lineTo(item.x + eachSpacing / 2, item.y);
+ context.lineTo(item.x + eachSpacing / 2, endY);
+ context.lineTo(item.x - eachSpacing / 2, endY);
+ context.moveTo(item.x - eachSpacing / 2, item.y);
+ }
+ context.closePath();
+ context.fill();
+ }
+ }
+
+ // 绘制折线数据图
+ if (eachSeries.type == 'line') {
+ var splitPointList = splitPoints(points);
+ splitPointList.forEach(function(points, index) {
+ context.beginPath();
+ context.setStrokeStyle(eachSeries.color);
+ context.setLineWidth(2 * opts.pixelRatio);
+ if (points.length === 1) {
+ context.moveTo(points[0].x, points[0].y);
+ context.arc(points[0].x, points[0].y, 1, 0, 2 * Math.PI);
+ } else {
+ context.moveTo(points[0].x, points[0].y);
+ if (eachSeries.style == 'curve') {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ var ctrlPoint = createCurveControlPoints(points, index - 1);
+ context.bezierCurveTo(ctrlPoint.ctrA.x, ctrlPoint.ctrA.y, ctrlPoint.ctrB.x, ctrlPoint.ctrB.y,
+ item.x,
+ item.y);
+ }
+ });
+ } else {
+ points.forEach(function(item, index) {
+ if (index > 0) {
+ context.lineTo(item.x, item.y);
+ }
+ });
+ }
+ context.moveTo(points[0].x, points[0].y);
+ }
+ context.closePath();
+ context.stroke();
+ });
+ }
+
+ // 绘制点数据图
+ if (eachSeries.type == 'point') {
+ points.forEach(function(pointsa, index) {
+ if (pointsa) {
+ context.beginPath();
+ context.setFillStyle(eachSeries.color);
+ context.setStrokeStyle('#FFFFFF');
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.moveTo(pointsa.x + 3.5 * opts.pixelRatio, pointsa.y);
+ context.arc(pointsa.x, pointsa.y, 4 * opts.pixelRatio, 0, 2 * Math.PI);
+ context.closePath();
+ context.fill();
+ context.stroke();
+ }
+ });
+ }
+
+ if (eachSeries.addPoint == true && eachSeries.type !== 'column') {
+ var shape = config.dataPointShape[seriesIndex % config.dataPointShape.length];
+ drawPointShape(points, eachSeries.color, shape, context, opts);
+ }
+ });
+ if (opts.dataLabel !== false && process === 1) {
+ var columnIndex = 0;
+ series.forEach(function(eachSeries, seriesIndex) {
+ var data = eachSeries.data;
+ var points = getDataPoints(data, minRange, maxRange, xAxisPoints, eachSpacing, opts, config, process);
+ if (eachSeries.type !== 'column') {
+ drawPointText(points, eachSeries, config, context);
+ } else {
+ points = fixColumeData(points, eachSpacing, columnLength, columnIndex, config, opts);
+ drawPointText(points, eachSeries, config, context);
+ columnIndex += 1;
+ }
+
+ });
+ }
+
+ context.restore();
+
+ return {
+ xAxisPoints: xAxisPoints,
+ calPoints: calPoints,
+ eachSpacing: eachSpacing,
+ minRange: minRange,
+ maxRange: maxRange
+ };
+}
+
+function drawToolTipBridge(opts, config, context, process, eachSpacing, xAxisPoints) {
+ var toolTipOption = opts.extra.tooltip || {};
+ if (toolTipOption.horizentalLine && opts.tooltip && process === 1 && (opts.type == 'line' || opts.type == 'area' || opts.type == 'column' || opts.type == 'candle' || opts.type == 'mix')) {
+ drawToolTipHorizentalLine(opts, config, context, eachSpacing, xAxisPoints)
+ }
+ context.save();
+ if (opts._scrollDistance_ && opts._scrollDistance_ !== 0 && opts.enableScroll === true) {
+ context.translate(opts._scrollDistance_, 0);
+ }
+ if (opts.tooltip && opts.tooltip.textList && opts.tooltip.textList.length && process === 1) {
+ drawToolTip(opts.tooltip.textList, opts.tooltip.offset, opts, config, context, eachSpacing, xAxisPoints);
+ }
+ context.restore();
+
+}
+
+function drawXAxis(categories, opts, config, context) {
+
+ let xAxisData = opts.chartData.xAxisData,
+ xAxisPoints = xAxisData.xAxisPoints,
+ startX = xAxisData.startX,
+ endX = xAxisData.endX,
+ eachSpacing = xAxisData.eachSpacing;
+ var boundaryGap='center';
+ if (opts.type == 'line'||opts.type == 'area'){
+ boundaryGap=opts.xAxis.boundaryGap;
+ }
+ var startY = opts.height - opts.area[2];
+ var endY = opts.area[0];
+
+ //绘制滚动条
+ if (opts.enableScroll && opts.xAxis.scrollShow) {
+ var scrollY = opts.height - opts.area[2] + config.xAxisHeight;
+ var scrollScreenWidth = endX - startX;
+ var scrollTotalWidth = eachSpacing * (xAxisPoints.length - 1);
+ var scrollWidth = scrollScreenWidth * scrollScreenWidth / scrollTotalWidth;
+ var scrollLeft = 0;
+ if (opts._scrollDistance_) {
+ scrollLeft = -opts._scrollDistance_ * (scrollScreenWidth) / scrollTotalWidth;
+ }
+ context.beginPath();
+ context.setLineCap('round');
+ context.setLineWidth(6 * opts.pixelRatio);
+ context.setStrokeStyle(opts.xAxis.scrollBackgroundColor || "#EFEBEF");
+ context.moveTo(startX, scrollY);
+ context.lineTo(endX, scrollY);
+ context.stroke();
+ context.closePath();
+ context.beginPath();
+ context.setLineCap('round');
+ context.setLineWidth(6 * opts.pixelRatio);
+ context.setStrokeStyle(opts.xAxis.scrollColor || "#A6A6A6");
+ context.moveTo(startX + scrollLeft, scrollY);
+ context.lineTo(startX + scrollLeft + scrollWidth, scrollY);
+ context.stroke();
+ context.closePath();
+ context.setLineCap('butt');
+ }
+
+ context.save();
+
+ if (opts._scrollDistance_ && opts._scrollDistance_ !== 0) {
+ context.translate(opts._scrollDistance_, 0);
+ }
+
+
+ if (opts.xAxis.disableGrid !== true) {
+ context.setStrokeStyle(opts.xAxis.gridColor || "#cccccc");
+ context.setLineCap('butt');
+ context.setLineWidth(1 * opts.pixelRatio);
+ if (opts.xAxis.gridType == 'dash') {
+ context.setLineDash([opts.xAxis.dashLength, opts.xAxis.dashLength]);
+ }
+ if (opts.xAxis.type === 'calibration') {
+ xAxisPoints.forEach(function(item, index) {
+ if (index > 0) {
+ context.beginPath();
+ context.moveTo(item - eachSpacing / 2, startY);
+ context.lineTo(item - eachSpacing / 2, startY + 4 * opts.pixelRatio);
+ context.closePath();
+ context.stroke();
+ }
+ });
+ } else {
+ opts.xAxis.gridEval = opts.xAxis.gridEval || 1;
+ xAxisPoints.forEach(function(item, index) {
+ if (index % opts.xAxis.gridEval == 0) {
+ context.beginPath();
+ context.moveTo(item, startY);
+ context.lineTo(item, endY);
+ context.stroke();
+ }
+ });
+ }
+ context.setLineDash([]);
+ }
+
+
+ //不绘制X轴
+ if (opts.xAxis.disabled !== true) {
+ // 对X轴列表做抽稀处理
+ let validWidth = opts.width - opts.padding[1] - opts.padding[3] - config.yAxisWidth - config.yAxisTitleWidth;
+ //默认全部显示X轴标签
+ let maxXAxisListLength = categories.length;
+ //如果设置了X轴单屏数量
+ if (opts.xAxis.labelCount) {
+ //如果设置X轴密度
+ if (opts.xAxis.itemCount) {
+ maxXAxisListLength = Math.ceil(categories.length / opts.xAxis.itemCount * opts.xAxis.labelCount);
+ } else {
+ maxXAxisListLength = opts.xAxis.labelCount;
+ }
+ maxXAxisListLength -= 1;
+ }
+
+ let ratio = Math.ceil(categories.length / maxXAxisListLength);
+
+ let newCategories = [];
+ let cgLength = categories.length;
+ for (let i = 0; i < cgLength; i++) {
+ if (i % ratio !== 0) {
+ newCategories.push("");
+ } else {
+ newCategories.push(categories[i]);
+ }
+ }
+ newCategories[cgLength - 1] = categories[cgLength - 1];
+
+ var xAxisFontSize = opts.xAxis.fontSize || config.fontSize;
+ if (config._xAxisTextAngle_ === 0) {
+ newCategories.forEach(function(item, index) {
+ var offset = - measureText(item, xAxisFontSize) / 2;
+ if(boundaryGap == 'center'){
+ offset+=eachSpacing / 2;
+ }
+ context.beginPath();
+ context.setFontSize(xAxisFontSize);
+ context.setFillStyle(opts.xAxis.fontColor || '#666666');
+ context.fillText(item, xAxisPoints[index] + offset, startY + xAxisFontSize + (config.xAxisHeight - xAxisFontSize) / 2);
+ context.closePath();
+ context.stroke();
+ });
+
+ } else {
+ newCategories.forEach(function(item, index) {
+ context.save();
+ context.beginPath();
+ context.setFontSize(xAxisFontSize);
+ context.setFillStyle(opts.xAxis.fontColor || '#666666');
+ var textWidth = measureText(item);
+ var offset = - textWidth;
+ if(boundaryGap == 'center'){
+ offset+=eachSpacing / 2;
+ }
+ var _calRotateTranslate = calRotateTranslate(xAxisPoints[index] + eachSpacing / 2, startY + xAxisFontSize / 2 + 5, opts.height),
+ transX = _calRotateTranslate.transX,
+ transY = _calRotateTranslate.transY;
+
+ context.rotate(-1 * config._xAxisTextAngle_);
+ context.translate(transX, transY);
+ context.fillText(item, xAxisPoints[index] + offset, startY + xAxisFontSize + 5);
+ context.closePath();
+ context.stroke();
+ context.restore();
+ });
+ }
+ }
+ context.restore();
+
+}
+
+function drawYAxisGrid(categories, opts, config, context) {
+ if (opts.yAxis.disableGrid === true) {
+ return;
+ }
+ let spacingValid = opts.height - opts.area[0] - opts.area[2];
+ let eachSpacing = spacingValid / config.yAxisSplit;
+ let startX = opts.area[3];
+ let xAxisPoints = opts.chartData.xAxisData.xAxisPoints,
+ xAxiseachSpacing = opts.chartData.xAxisData.eachSpacing;
+ let TotalWidth = xAxiseachSpacing * (xAxisPoints.length - 1);
+ let endX = startX + TotalWidth;
+
+ let points = [];
+ for (let i = 0; i < config.yAxisSplit + 1; i++) {
+ points.push(opts.height - opts.area[2] - eachSpacing * i);
+ }
+
+ context.save();
+ if (opts._scrollDistance_ && opts._scrollDistance_ !== 0) {
+ context.translate(opts._scrollDistance_, 0);
+ }
+
+ if (opts.yAxis.gridType == 'dash') {
+ context.setLineDash([opts.yAxis.dashLength, opts.yAxis.dashLength]);
+ }
+ context.setStrokeStyle(opts.yAxis.gridColor || "#cccccc");
+ context.setLineWidth(1 * opts.pixelRatio);
+ points.forEach(function(item, index) {
+ context.beginPath();
+ context.moveTo(startX, item);
+ context.lineTo(endX, item);
+ context.stroke();
+ });
+ context.setLineDash([]);
+
+ context.restore();
+}
+
+function drawYAxis(series, opts, config, context) {
+ if (opts.yAxis.disabled === true) {
+ return;
+ }
+ let rangesFormat = opts.chartData.yAxisData.rangesFormat;
+ var spacingValid = opts.height - opts.area[0] - opts.area[2];
+ var eachSpacing = Math.floor(spacingValid / config.yAxisSplit);
+ var startX = opts.area[3];
+ var endX = opts.width - opts.area[1];
+ var endY = opts.height - opts.area[2];
+ var fillEndY = endY + config.xAxisHeight;
+ if (opts.xAxis.scrollShow) {
+ fillEndY -= 3 * opts.pixelRatio;
+ }
+ // set YAxis background
+ context.beginPath();
+ context.setFillStyle(opts.background || '#ffffff');
+ if (opts._scrollDistance_ < 0) {
+ context.fillRect(0, 0, startX, fillEndY);
+ }
+ if(opts.enableScroll == true){
+ context.fillRect(endX, 0, opts.width, fillEndY);
+ }
+ context.closePath();
+ context.stroke();
+
+ var points = [];
+ for (var i = 0; i <= config.yAxisSplit; i++) {
+ points.push(opts.area[0] + eachSpacing * i);
+ }
+
+ var yAxisFontSize = opts.yAxis.fontSize || config.fontSize;
+ rangesFormat.forEach(function(item, index) {
+ var pos = points[index] ? points[index] : endY;
+ context.beginPath();
+ context.setFontSize(yAxisFontSize);
+ context.setFillStyle(opts.yAxis.fontColor || '#666666');
+ context.fillText(String(item), opts.area[3] - config.yAxisWidth, pos + yAxisFontSize / 2);
+ context.closePath();
+ context.stroke();
+ });
+
+ if (opts.yAxis.title) {
+ drawYAxisTitle(opts.yAxis.title, opts, config, context);
+ }
+}
+
+function drawLegend(series, opts, config, context, chartData) {
+ if (opts.legend.show === false) {
+ return;
+ }
+ let legendData = chartData.legendData;
+ let legendList = legendData.points;
+ let legendArea = legendData.area;
+ let padding = opts.legend.padding;
+ let fontSize = opts.legend.fontSize;
+ let shapeWidth = 15 * opts.pixelRatio;
+ let shapeRight = 5 * opts.pixelRatio;
+ let itemGap = opts.legend.itemGap;
+ let lineHeight = Math.max(opts.legend.lineHeight * opts.pixelRatio, fontSize);
+
+ //画背景及边框
+ context.beginPath();
+ context.setLineWidth(opts.legend.borderWidth);
+ context.setStrokeStyle(opts.legend.borderColor);
+ context.setFillStyle(opts.legend.backgroundColor);
+ context.moveTo(legendArea.start.x, legendArea.start.y);
+ context.rect(legendArea.start.x, legendArea.start.y, legendArea.width, legendArea.height);
+ context.closePath();
+ context.fill();
+ context.stroke();
+
+ legendList.forEach(function(itemList, listIndex) {
+ let width = 0;
+ let height = 0;
+ width = legendData.widthArr[listIndex];
+ height = legendData.heightArr[listIndex];
+ let startX = 0;
+ let startY = 0;
+ if (opts.legend.position == 'top' || opts.legend.position == 'bottom') {
+ startX = legendArea.start.x + (legendArea.width - width) / 2;
+ startY = legendArea.start.y + padding + listIndex * lineHeight;
+ } else {
+ if (listIndex == 0) {
+ width = 0;
+ } else {
+ width = legendData.widthArr[listIndex - 1];
+ }
+ startX = legendArea.start.x + padding + width;
+ startY = legendArea.start.y + padding + (legendArea.height - height) / 2;
+ }
+
+ context.setFontSize(config.fontSize);
+ for (let i = 0; i < itemList.length; i++) {
+ let item = itemList[i];
+ item.area = [0, 0, 0, 0];
+ item.area[0] = startX;
+ item.area[1] = startY;
+ item.area[3] = startY + lineHeight;
+ context.beginPath();
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.setStrokeStyle(item.show ? item.color : opts.legend.hiddenColor);
+ context.setFillStyle(item.show ? item.color : opts.legend.hiddenColor);
+ switch (item.legendShape) {
+ case 'line':
+ context.moveTo(startX, startY + 0.5 * lineHeight - 2 * opts.pixelRatio);
+ context.fillRect(startX, startY + 0.5 * lineHeight - 2 * opts.pixelRatio, 15 * opts.pixelRatio, 4 * opts.pixelRatio);
+ break;
+ case 'triangle':
+ context.moveTo(startX + 7.5 * opts.pixelRatio, startY + 0.5 * lineHeight - 5 * opts.pixelRatio);
+ context.lineTo(startX + 2.5 * opts.pixelRatio, startY + 0.5 * lineHeight + 5 * opts.pixelRatio);
+ context.lineTo(startX + 12.5 * opts.pixelRatio, startY + 0.5 * lineHeight + 5 * opts.pixelRatio);
+ context.lineTo(startX + 7.5 * opts.pixelRatio, startY + 0.5 * lineHeight - 5 * opts.pixelRatio);
+ break;
+ case 'diamond':
+ context.moveTo(startX + 7.5 * opts.pixelRatio, startY + 0.5 * lineHeight - 5 * opts.pixelRatio);
+ context.lineTo(startX + 2.5 * opts.pixelRatio, startY + 0.5 * lineHeight);
+ context.lineTo(startX + 7.5 * opts.pixelRatio, startY + 0.5 * lineHeight + 5 * opts.pixelRatio);
+ context.lineTo(startX + 12.5 * opts.pixelRatio, startY + 0.5 * lineHeight);
+ context.lineTo(startX + 7.5 * opts.pixelRatio, startY + 0.5 * lineHeight - 5 * opts.pixelRatio);
+ break;
+ case 'circle':
+ context.moveTo(startX + 7.5 * opts.pixelRatio, startY + 0.5 * lineHeight);
+ context.arc(startX + 7.5 * opts.pixelRatio, startY + 0.5 * lineHeight, 5 * opts.pixelRatio, 0, 2 * Math.PI);
+ break;
+ case 'rect':
+ context.moveTo(startX, startY + 0.5 * lineHeight - 5 * opts.pixelRatio);
+ context.fillRect(startX, startY + 0.5 * lineHeight - 5 * opts.pixelRatio, 15 * opts.pixelRatio, 10 * opts.pixelRatio);
+ break;
+ default:
+ context.moveTo(startX, startY + 0.5 * lineHeight - 5 * opts.pixelRatio);
+ context.fillRect(startX, startY + 0.5 * lineHeight - 5 * opts.pixelRatio, 15 * opts.pixelRatio, 10 * opts.pixelRatio);
+ }
+ context.closePath();
+ context.fill();
+ context.stroke();
+
+ startX += shapeWidth + shapeRight;
+ let fontTrans = 0.5 * lineHeight + 0.5 * fontSize - 2;
+ context.beginPath();
+ context.setFontSize(fontSize);
+ context.setFillStyle(item.show ? opts.legend.fontColor : opts.legend.hiddenColor);
+ context.fillText(item.name, startX, startY + fontTrans);
+ context.closePath();
+ context.stroke();
+ if (opts.legend.position == 'top' || opts.legend.position == 'bottom') {
+ startX += measureText(item.name, fontSize) + itemGap;
+ item.area[2] = startX;
+ } else {
+ item.area[2] = startX + measureText(item.name, fontSize) + itemGap;;
+ startX -= shapeWidth + shapeRight;
+ startY += lineHeight;
+ }
+ }
+ });
+}
+
+function drawPieDataPoints(series, opts, config, context) {
+ var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ var pieOption = assign({}, {
+ activeOpacity: 0.5,
+ activeRadius: 10 * opts.pixelRatio,
+ offsetAngle: 0,
+ labelWidth: 15 * opts.pixelRatio,
+ ringWidth: 0,
+ border:false,
+ borderWidth:2,
+ borderColor:'#FFFFFF'
+ }, opts.extra.pie);
+ var centerPosition = {
+ x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2,
+ y: opts.area[0] + (opts.height - opts.area[0] - opts.area[2]) / 2
+ };
+ if (config.pieChartLinePadding == 0) {
+ config.pieChartLinePadding = pieOption.activeRadius;
+ }
+
+ var radius = Math.min((opts.width - opts.area[1] - opts.area[3]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding - config._pieTextMaxLength_, (opts.height - opts.area[0] - opts.area[2]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding);
+
+ series = getPieDataPoints(series, radius, process);
+
+ var activeRadius = pieOption.activeRadius;
+
+ series = series.map(function(eachSeries) {
+ eachSeries._start_ += (pieOption.offsetAngle) * Math.PI / 180;
+ return eachSeries;
+ });
+ series.forEach(function(eachSeries, seriesIndex) {
+ if (opts.tooltip) {
+ if (opts.tooltip.index == seriesIndex) {
+ context.beginPath();
+ context.setFillStyle(hexToRgb(eachSeries.color, opts.extra.pie.activeOpacity || 0.5));
+ context.moveTo(centerPosition.x, centerPosition.y);
+ context.arc(centerPosition.x, centerPosition.y, eachSeries._radius_ + activeRadius, eachSeries._start_,
+ eachSeries._start_ + 2 *
+ eachSeries._proportion_ * Math.PI);
+ context.closePath();
+ context.fill();
+ }
+ }
+ context.beginPath();
+ context.setLineWidth(pieOption.borderWidth * opts.pixelRatio);
+ context.lineJoin = "round";
+ context.setStrokeStyle(pieOption.borderColor);
+ context.setFillStyle(eachSeries.color);
+ context.moveTo(centerPosition.x, centerPosition.y);
+ context.arc(centerPosition.x, centerPosition.y, eachSeries._radius_, eachSeries._start_, eachSeries._start_ + 2 * eachSeries._proportion_ * Math.PI);
+ context.closePath();
+ context.fill();
+ if (pieOption.border == true) {
+ context.stroke();
+ }
+ });
+
+ if (opts.type === 'ring') {
+ var innerPieWidth = radius * 0.6;
+ if (typeof opts.extra.pie.ringWidth === 'number' && opts.extra.pie.ringWidth > 0) {
+ innerPieWidth = Math.max(0, radius - opts.extra.pie.ringWidth);
+ }
+ context.beginPath();
+ context.setFillStyle(opts.background || '#ffffff');
+ context.moveTo(centerPosition.x, centerPosition.y);
+ context.arc(centerPosition.x, centerPosition.y, innerPieWidth, 0, 2 * Math.PI);
+ context.closePath();
+ context.fill();
+ }
+
+ if (opts.dataLabel !== false && process === 1) {
+ var valid = false;
+ for (var i = 0, len = series.length; i < len; i++) {
+ if (series[i].data > 0) {
+ valid = true;
+ break;
+ }
+ }
+
+ if (valid) {
+ drawPieText(series, opts, config, context, radius, centerPosition);
+ }
+ }
+
+ if (process === 1 && opts.type === 'ring') {
+ drawRingTitle(opts, config, context, centerPosition);
+ }
+
+ return {
+ center: centerPosition,
+ radius: radius,
+ series: series
+ };
+}
+
+function drawRoseDataPoints(series, opts, config, context) {
+ var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ var roseOption = assign({}, {
+ type: 'area',
+ activeOpacity: 0.5,
+ activeRadius: 10 * opts.pixelRatio,
+ offsetAngle: 0,
+ labelWidth: 15 * opts.pixelRatio,
+ border:false,
+ borderWidth:2,
+ borderColor:'#FFFFFF'
+ }, opts.extra.rose);
+ if (config.pieChartLinePadding == 0) {
+ config.pieChartLinePadding = roseOption.activeRadius;
+ }
+ var centerPosition = {
+ x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2,
+ y: opts.area[0] + (opts.height - opts.area[0] - opts.area[2]) / 2
+ };
+ var radius = Math.min((opts.width - opts.area[1] - opts.area[3]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding - config._pieTextMaxLength_, (opts.height - opts.area[0] - opts.area[2]) / 2 - config.pieChartLinePadding - config.pieChartTextPadding);
+ var minRadius = roseOption.minRadius || radius * 0.5;
+
+ series = getRoseDataPoints(series, roseOption.type, minRadius, radius, process);
+
+ var activeRadius = roseOption.activeRadius;
+
+ series = series.map(function(eachSeries) {
+ eachSeries._start_ += (roseOption.offsetAngle || 0) * Math.PI / 180;
+ return eachSeries;
+ });
+
+ series.forEach(function(eachSeries, seriesIndex) {
+ if (opts.tooltip) {
+ if (opts.tooltip.index == seriesIndex) {
+ context.beginPath();
+ context.setFillStyle(hexToRgb(eachSeries.color, roseOption.activeOpacity || 0.5));
+ context.moveTo(centerPosition.x, centerPosition.y);
+ context.arc(centerPosition.x, centerPosition.y, activeRadius + eachSeries._radius_, eachSeries._start_,
+ eachSeries._start_ + 2 * eachSeries._rose_proportion_ * Math.PI);
+ context.closePath();
+ context.fill();
+ }
+ }
+ context.beginPath();
+ context.setLineWidth(roseOption.borderWidth * opts.pixelRatio);
+ context.lineJoin = "round";
+ context.setStrokeStyle(roseOption.borderColor);
+ context.setFillStyle(eachSeries.color);
+ context.moveTo(centerPosition.x, centerPosition.y);
+ context.arc(centerPosition.x, centerPosition.y, eachSeries._radius_, eachSeries._start_, eachSeries._start_ + 2 *
+ eachSeries._rose_proportion_ * Math.PI);
+ context.closePath();
+ context.fill();
+ if (roseOption.border == true) {
+ context.stroke();
+ }
+ });
+
+ if (opts.dataLabel !== false && process === 1) {
+ var valid = false;
+ for (var i = 0, len = series.length; i < len; i++) {
+ if (series[i].data > 0) {
+ valid = true;
+ break;
+ }
+ }
+
+ if (valid) {
+ drawPieText(series, opts, config, context, radius, centerPosition);
+ }
+ }
+
+ return {
+ center: centerPosition,
+ radius: radius,
+ series: series
+ };
+}
+
+function drawArcbarDataPoints(series, opts, config, context) {
+ var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ var arcbarOption = assign({}, {
+ startAngle: 0.75,
+ endAngle: 0.25,
+ type: 'default',
+ width: 12 * opts.pixelRatio
+ }, opts.extra.arcbar);
+
+ series = getArcbarDataPoints(series, arcbarOption, process);
+ var centerPosition = {
+ x: opts.width / 2,
+ y: opts.height / 2
+ };
+ var radius = Math.min(centerPosition.x, centerPosition.y);
+ radius -= 5 * opts.pixelRatio;
+ radius -= arcbarOption.width / 2;
+
+ //背景颜色
+ context.setLineWidth(arcbarOption.width);
+ context.setStrokeStyle(arcbarOption.backgroundColor || '#E9E9E9');
+ context.setLineCap('round');
+ context.beginPath();
+ if (arcbarOption.type == 'default') {
+ context.arc(centerPosition.x, centerPosition.y, radius, arcbarOption.startAngle * Math.PI, arcbarOption.endAngle *
+ Math.PI, false);
+ } else {
+ context.arc(centerPosition.x, centerPosition.y, radius, 0, 2 * Math.PI, false);
+ }
+ context.stroke();
+
+ for (let i = 0; i < series.length; i++) {
+ let eachSeries = series[i];
+ context.setLineWidth(arcbarOption.width);
+ context.setStrokeStyle(eachSeries.color);
+ context.setLineCap('round');
+ context.beginPath();
+ context.arc(centerPosition.x, centerPosition.y, radius, arcbarOption.startAngle * Math.PI, eachSeries._proportion_ *
+ Math.PI, false);
+ context.stroke();
+ }
+
+ drawRingTitle(opts, config, context, centerPosition);
+
+ return {
+ center: centerPosition,
+ radius: radius,
+ series: series
+ };
+}
+
+function drawGaugeDataPoints(categories, series, opts, config, context) {
+ var process = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 1;
+ var gaugeOption = assign({}, {
+ startAngle: 0.75,
+ endAngle: 0.25,
+ width: 15,
+ splitLine: {
+ fixRadius: 0,
+ splitNumber: 10,
+ width: 15,
+ color: '#FFFFFF',
+ childNumber: 5,
+ childWidth: 5
+ },
+ pointer: {
+ width: 15,
+ color: 'auto'
+ }
+ }, opts.extra.gauge);
+
+ if (gaugeOption.oldAngle == undefined) {
+ gaugeOption.oldAngle = gaugeOption.startAngle;
+ }
+ if (gaugeOption.oldData == undefined) {
+ gaugeOption.oldData = 0;
+ }
+ categories = getGaugeAxisPoints(categories, gaugeOption.startAngle, gaugeOption.endAngle);
+
+ var centerPosition = {
+ x: opts.width / 2,
+ y: opts.height / 2
+ };
+ var radius = Math.min(centerPosition.x, centerPosition.y);
+ radius -= 5 * opts.pixelRatio;
+ radius -= gaugeOption.width / 2;
+ var innerRadius = radius - gaugeOption.width;
+
+ //画背景
+ context.setLineWidth(gaugeOption.width);
+ context.setLineCap('butt');
+ for (let i = 0; i < categories.length; i++) {
+ let eachCategories = categories[i];
+ context.beginPath();
+ context.setStrokeStyle(eachCategories.color);
+ context.arc(centerPosition.x, centerPosition.y, radius, eachCategories._startAngle_ * Math.PI, eachCategories._endAngle_ *
+ Math.PI, false);
+ context.stroke();
+ }
+ context.save();
+
+ //画刻度线
+ let totalAngle = gaugeOption.startAngle - gaugeOption.endAngle + 1;
+ let splitAngle = totalAngle / gaugeOption.splitLine.splitNumber;
+ let childAngle = totalAngle / gaugeOption.splitLine.splitNumber / gaugeOption.splitLine.childNumber;
+ let startX = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius;
+ let endX = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius + gaugeOption.splitLine.width;
+ let childendX = -radius - gaugeOption.width * 0.5 - gaugeOption.splitLine.fixRadius + gaugeOption.splitLine.childWidth;
+
+ context.translate(centerPosition.x, centerPosition.y);
+ context.rotate((gaugeOption.startAngle - 1) * Math.PI);
+
+ for (let i = 0; i < gaugeOption.splitLine.splitNumber + 1; i++) {
+ context.beginPath();
+ context.setStrokeStyle(gaugeOption.splitLine.color);
+ context.setLineWidth(2 * opts.pixelRatio);
+ context.moveTo(startX, 0);
+ context.lineTo(endX, 0);
+ context.stroke();
+ context.rotate(splitAngle * Math.PI);
+ }
+ context.restore();
+
+ context.save();
+ context.translate(centerPosition.x, centerPosition.y);
+ context.rotate((gaugeOption.startAngle - 1) * Math.PI);
+
+ for (let i = 0; i < gaugeOption.splitLine.splitNumber * gaugeOption.splitLine.childNumber + 1; i++) {
+ context.beginPath();
+ context.setStrokeStyle(gaugeOption.splitLine.color);
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.moveTo(startX, 0);
+ context.lineTo(childendX, 0);
+ context.stroke();
+ context.rotate(childAngle * Math.PI);
+ }
+ context.restore();
+
+ //画指针
+ series = getGaugeDataPoints(series, categories, gaugeOption, process);
+
+ for (let i = 0; i < series.length; i++) {
+ let eachSeries = series[i];
+ context.save();
+ context.translate(centerPosition.x, centerPosition.y);
+ context.rotate((eachSeries._proportion_ - 1) * Math.PI);
+ context.beginPath();
+ context.setFillStyle(eachSeries.color);
+ context.moveTo(gaugeOption.pointer.width, 0);
+ context.lineTo(0, -gaugeOption.pointer.width / 2);
+ context.lineTo(-innerRadius, 0);
+ context.lineTo(0, gaugeOption.pointer.width / 2);
+ context.lineTo(gaugeOption.pointer.width, 0);
+ context.closePath();
+ context.fill();
+ context.beginPath();
+ context.setFillStyle('#FFFFFF');
+ context.arc(0, 0, gaugeOption.pointer.width / 6, 0, 2 * Math.PI, false);
+ context.fill();
+ context.restore();
+ }
+
+ if (opts.dataLabel !== false) {
+ drawGaugeLabel(gaugeOption, radius, centerPosition, opts, config, context);
+ }
+
+ drawRingTitle(opts, config, context, centerPosition);
+
+ if (process === 1 && opts.type === 'gauge') {
+ opts.extra.gauge.oldAngle = series[0]._proportion_;
+ opts.extra.gauge.oldData = series[0].data;
+ }
+ return {
+ center: centerPosition,
+ radius: radius,
+ innerRadius: innerRadius,
+ categories: categories,
+ totalAngle: totalAngle
+ };
+}
+
+function drawRadarDataPoints(series, opts, config, context) {
+ var process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ var radarOption = assign({},{
+ gridColor: '#cccccc',
+ labelColor: '#666666',
+ opacity: 0.2
+ },opts.extra.radar);
+
+ var coordinateAngle = getRadarCoordinateSeries(opts.categories.length);
+
+ var centerPosition = {
+ x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2,
+ y: opts.area[0] + (opts.height - opts.area[0] - opts.area[2]) / 2
+ };
+
+ var radius = Math.min(centerPosition.x - (getMaxTextListLength(opts.categories) + config.radarLabelTextMargin),
+ centerPosition.y - config.radarLabelTextMargin);
+ //TODO逻辑不对
+ radius -= opts.padding[1];
+
+ // draw grid
+ context.beginPath();
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.setStrokeStyle(radarOption.gridColor);
+ coordinateAngle.forEach(function(angle) {
+ var pos = convertCoordinateOrigin(radius * Math.cos(angle), radius * Math.sin(angle), centerPosition);
+ context.moveTo(centerPosition.x, centerPosition.y);
+ context.lineTo(pos.x, pos.y);
+ });
+ context.stroke();
+ context.closePath();
+ // draw split line grid
+
+ var _loop = function _loop(i) {
+ var startPos = {};
+ context.beginPath();
+ context.setLineWidth(1 * opts.pixelRatio);
+ context.setStrokeStyle(radarOption.gridColor);
+ coordinateAngle.forEach(function(angle, index) {
+ var pos = convertCoordinateOrigin(radius / config.radarGridCount * i * Math.cos(angle), radius / config.radarGridCount *
+ i * Math.sin(angle), centerPosition);
+ if (index === 0) {
+ startPos = pos;
+ context.moveTo(pos.x, pos.y);
+ } else {
+ context.lineTo(pos.x, pos.y);
+ }
+ });
+ context.lineTo(startPos.x, startPos.y);
+ context.stroke();
+ context.closePath();
+ };
+
+ for (var i = 1; i <= config.radarGridCount; i++) {
+ _loop(i);
+ }
+
+ var radarDataPoints = getRadarDataPoints(coordinateAngle, centerPosition, radius, series, opts, process);
+
+ radarDataPoints.forEach(function(eachSeries, seriesIndex) {
+ // 绘制区域数据
+ context.beginPath();
+ context.setFillStyle(hexToRgb(eachSeries.color, radarOption.opacity));
+ eachSeries.data.forEach(function(item, index) {
+ if (index === 0) {
+ context.moveTo(item.position.x, item.position.y);
+ } else {
+ context.lineTo(item.position.x, item.position.y);
+ }
+ });
+ context.closePath();
+ context.fill();
+
+ if (opts.dataPointShape !== false) {
+ var shape = config.dataPointShape[seriesIndex % config.dataPointShape.length];
+ var points = eachSeries.data.map(function(item) {
+ return item.position;
+ });
+ drawPointShape(points, eachSeries.color, shape, context, opts);
+ }
+ });
+ // draw label text
+ drawRadarLabel(coordinateAngle, radius, centerPosition, opts, config, context);
+
+ return {
+ center: centerPosition,
+ radius: radius,
+ angleList: coordinateAngle
+ };
+}
+
+function normalInt(min, max, iter) {
+ iter = iter==0?1:iter;
+ var arr = [];
+ for (var i = 0; i < iter; i++) {
+ arr[i] = Math.random();
+ };
+ return Math.floor(arr.reduce(function(i,j){return i+j})/iter*(max-min))+min;
+};
+
+function collisionNew(area,points,width,height){
+ var isIn=false;
+ for(let i=0;ipoints[i].area[2]||area[1]>points[i].area[3]||area[2]width || area[3]>height){
+ isIn=true;
+ break;
+ }else{
+ isIn=false;
+ }
+ }else{
+ isIn=true;
+ break;
+ }
+ }
+ }
+ return isIn;
+};
+
+function getBoundingBox(data) {
+ var bounds = {}, coords;
+ bounds.xMin = 180;
+ bounds.xMax = 0;
+ bounds.yMin = 90;
+ bounds.yMax = 0
+ for (var i = 0; i < data.length; i++) {
+ var coorda = data[i].geometry.coordinates
+ for (var k = 0; k < coorda.length; k++) {
+ coords = coorda[k];
+ if (coords.length == 1) {
+ coords = coords[0]
+ }
+ for (var j = 0; j < coords.length; j++) {
+ var longitude = coords[j][0];
+ var latitude = coords[j][1];
+ var point = {
+ x: longitude,
+ y: latitude
+ }
+ bounds.xMin = bounds.xMin < point.x ? bounds.xMin : point.x;
+ bounds.xMax = bounds.xMax > point.x ? bounds.xMax : point.x;
+ bounds.yMin = bounds.yMin < point.y ? bounds.yMin : point.y;
+ bounds.yMax = bounds.yMax > point.y ? bounds.yMax : point.y;
+ }
+ }
+ }
+ return bounds;
+}
+
+function coordinateToPoint(latitude, longitude,bounds,scale,xoffset,yoffset) {
+ return {
+ x: (longitude - bounds.xMin) * scale+xoffset,
+ y: (bounds.yMax - latitude) * scale+yoffset
+ };
+}
+
+function pointToCoordinate(pointY, pointX,bounds,scale,xoffset,yoffset) {
+ return {
+ x: (pointX-xoffset)/scale+bounds.xMin,
+ y: bounds.yMax - (pointY-yoffset)/scale
+ };
+}
+
+function isRayIntersectsSegment(poi,s_poi,e_poi){
+ if (s_poi[1]==e_poi[1]){return false;}
+ if (s_poi[1]>poi[1] && e_poi[1]>poi[1]){return false;}
+ if (s_poi[1]poi[1]){return false;}
+ if (e_poi[1]==poi[1] && s_poi[1]>poi[1]){return false;}
+ if (s_poi[0]0.7) {
+ return true;
+ }else {return false};
+ };
+ for (let i = 0; i < points.length; i++) {
+ let text = points[i].name;
+ let tHeight = points[i].textSize;
+ let tWidth = measureText(text,tHeight);
+ let isSpin = Spin();
+ let x,y,area,areav;
+ let breaknum=0;
+ while(true) {
+ breaknum++;
+ let isCollision;
+ if (isSpin) {
+ x = normalInt(-opts.width/2, opts.width/2,5) - tWidth/2;
+ y = normalInt(-opts.height/2, opts.height/2,5)+tHeight/2;
+ area=[y-5-tWidth+opts.width/2,(-x-5+opts.height/2),y+5+opts.width/2,(-x+tHeight+5+opts.height/2)];
+ areav=[opts.width-(opts.width/2-opts.height/2)-(-x+tHeight+5+opts.height/2)-5,(opts.height/2-opts.width/2)+(y-5-tWidth+opts.width/2)-5,opts.width-(opts.width/2-opts.height/2)-(-x+tHeight+5+opts.height/2)+tHeight,(opts.height/2-opts.width/2)+(y-5-tWidth+opts.width/2)+tWidth+5];
+ isCollision = collisionNew(areav,points,opts.height,opts.width);
+ }else{
+ x = normalInt(-opts.width/2, opts.width/2,5) - tWidth/2;
+ y = normalInt(-opts.height/2, opts.height/2,5)+tHeight/2;
+ area=[x-5+opts.width/2,y-5-tHeight+opts.height/2,x+tWidth+5+opts.width/2,y+5+opts.height/2];
+ isCollision = collisionNew(area,points,opts.width,opts.height);
+ }
+ if (!isCollision) break;
+ if (breaknum==1000){
+ area=[-1000,-1000,-1000,-1000];
+ break;
+ }
+ };
+ if (isSpin) {
+ points[i].area=areav;
+ points[i].areav=area;
+ }else{
+ points[i].area=area;
+ }
+ points[i].rotate=isSpin;
+ };
+ break;
+ }
+ return points;
+}
+
+
+function drawWordCloudDataPoints(series, opts, config, context) {
+ let process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ let wordOption = assign({},{
+ type: 'normal',
+ autoColors: true
+ },opts.extra.word);
+
+ context.beginPath();
+ context.setFillStyle(opts.background||'#FFFFFF');
+ context.rect(0,0,opts.width,opts.height);
+ context.fill();
+ context.save();
+ let points = opts.chartData.wordCloudData;
+ context.translate(opts.width/2,opts.height/2);
+
+ for(let i=0;i0){
+ if (opts.tooltip) {
+ if (opts.tooltip.index == i) {
+ context.strokeText(text,(points[i].areav[0]+5-opts.width/2)*process-tWidth*(1-process)/2,(points[i].areav[1]+5+tHeight-opts.height/2)*process);
+ }else{
+ context.fillText(text,(points[i].areav[0]+5-opts.width/2)*process-tWidth*(1-process)/2,(points[i].areav[1]+5+tHeight-opts.height/2)*process);
+ }
+ }else{
+ context.fillText(text,(points[i].areav[0]+5-opts.width/2)*process-tWidth*(1-process)/2,(points[i].areav[1]+5+tHeight-opts.height/2)*process);
+ }
+ }
+ }else{
+ if(points[i].area[0]>0){
+ if (opts.tooltip) {
+ if (opts.tooltip.index == i) {
+ context.strokeText(text,(points[i].area[0]+5-opts.width/2)*process-tWidth*(1-process)/2,(points[i].area[1]+5+tHeight-opts.height/2)*process);
+ }else{
+ context.fillText(text,(points[i].area[0]+5-opts.width/2)*process-tWidth*(1-process)/2,(points[i].area[1]+5+tHeight-opts.height/2)*process);
+ }
+ }else{
+ context.fillText(text,(points[i].area[0]+5-opts.width/2)*process-tWidth*(1-process)/2,(points[i].area[1]+5+tHeight-opts.height/2)*process);
+ }
+
+ }
+ }
+
+ context.stroke();
+ context.restore();
+ }
+ context.restore();
+}
+
+function drawFunnelDataPoints(series, opts, config, context) {
+ let process = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 1;
+ let funnelOption = assign({},{
+ activeWidth:10,
+ activeOpacity:0.3,
+ border:false,
+ borderWidth:2,
+ borderColor:'#FFFFFF',
+ fillOpacity:1,
+ labelAlign:'right'
+ },opts.extra.funnel);
+ let eachSpacing = (opts.height - opts.area[0] - opts.area[2])/series.length;
+ let centerPosition = {
+ x: opts.area[3] + (opts.width - opts.area[1] - opts.area[3]) / 2,
+ y: opts.height-opts.area[2]
+ };
+ let activeWidth = funnelOption.activeWidth;
+ let radius = Math.min((opts.width - opts.area[1] - opts.area[3]) / 2 - activeWidth, (opts.height - opts.area[0] - opts.area[2]) / 2 - activeWidth);
+ series = getFunnelDataPoints(series, radius, process);
+ context.save();
+ context.translate(centerPosition.x,centerPosition.y);
+ for(let i=0;i 0 && arguments[0] !== undefined ? arguments[0] : {};
+ this.opts = assign({}, this.opts, data);
+ this.opts.updateData = true;
+ let scrollPosition = data.scrollPosition || 'current';
+ switch (scrollPosition) {
+ case 'current':
+ this.opts._scrollDistance_ = this.scrollOption.currentOffset;
+ break;
+ case 'left':
+ this.opts._scrollDistance_ = 0;
+ this.scrollOption = {
+ currentOffset: 0,
+ startTouchX: 0,
+ distance: 0,
+ lastMoveTime: 0
+ };
+ break;
+ case 'right':
+ let _calYAxisData = calYAxisData(this.opts.series, this.opts, this.config),
+ yAxisWidth = _calYAxisData.yAxisWidth;
+ this.config.yAxisWidth = yAxisWidth;
+ let offsetLeft = 0;
+ let _getXAxisPoints0 = getXAxisPoints(this.opts.categories, this.opts, this.config),
+ xAxisPoints = _getXAxisPoints0.xAxisPoints,
+ startX = _getXAxisPoints0.startX,
+ endX = _getXAxisPoints0.endX,
+ eachSpacing = _getXAxisPoints0.eachSpacing;
+ let totalWidth = eachSpacing * (xAxisPoints.length - 1);
+ let screenWidth = endX - startX;
+ offsetLeft = screenWidth - totalWidth;
+ this.scrollOption = {
+ currentOffset: offsetLeft,
+ startTouchX: offsetLeft,
+ distance: 0,
+ lastMoveTime: 0
+ };
+ this.opts._scrollDistance_ = offsetLeft;
+ break;
+ }
+ drawCharts.call(this, this.opts.type, this.opts, this.config, this.context);
+};
+
+Charts.prototype.zoom = function() {
+ var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.opts.xAxis.itemCount;
+ if (this.opts.enableScroll !== true) {
+ console.log('请启用滚动条后使用!')
+ return;
+ }
+ //当前屏幕中间点
+ let centerPoint = Math.round(Math.abs(this.scrollOption.currentOffset) / this.opts.chartData.eachSpacing) + Math.round(
+ this.opts.xAxis.itemCount / 2);
+ this.opts.animation = false;
+ this.opts.xAxis.itemCount = val.itemCount;
+ //重新计算x轴偏移距离
+ let _calYAxisData = calYAxisData(this.opts.series, this.opts, this.config),
+ yAxisWidth = _calYAxisData.yAxisWidth;
+ this.config.yAxisWidth = yAxisWidth;
+ let offsetLeft = 0;
+ let _getXAxisPoints0 = getXAxisPoints(this.opts.categories, this.opts, this.config),
+ xAxisPoints = _getXAxisPoints0.xAxisPoints,
+ startX = _getXAxisPoints0.startX,
+ endX = _getXAxisPoints0.endX,
+ eachSpacing = _getXAxisPoints0.eachSpacing;
+ let centerLeft = eachSpacing * centerPoint;
+ let screenWidth = endX - startX;
+ let MaxLeft = screenWidth - eachSpacing * (xAxisPoints.length - 1);
+ offsetLeft = screenWidth / 2 - centerLeft;
+ if (offsetLeft > 0) {
+ offsetLeft = 0;
+ }
+ if (offsetLeft < MaxLeft) {
+ offsetLeft = MaxLeft;
+ }
+ this.scrollOption = {
+ currentOffset: offsetLeft,
+ startTouchX: offsetLeft,
+ distance: 0,
+ lastMoveTime: 0
+ };
+ this.opts._scrollDistance_ = offsetLeft;
+ drawCharts.call(this, this.opts.type, this.opts, this.config, this.context);
+};
+
+Charts.prototype.stopAnimation = function() {
+ this.animationInstance && this.animationInstance.stop();
+};
+
+Charts.prototype.addEventListener = function(type, listener) {
+ this.event.addEventListener(type, listener);
+};
+
+Charts.prototype.getCurrentDataIndex = function(e) {
+ var touches = null;
+ if (e.changedTouches) {
+ touches = e.changedTouches[0];
+ } else {
+ touches = e.mp.changedTouches[0];
+ }
+ if (touches) {
+ let _touches$ = getTouches(touches, this.opts, e);
+ if (this.opts.type === 'pie' || this.opts.type === 'ring' || this.opts.type === 'rose') {
+ return findPieChartCurrentIndex({
+ x: _touches$.x,
+ y: _touches$.y
+ }, this.opts.chartData.pieData);
+ } else if (this.opts.type === 'radar') {
+ return findRadarChartCurrentIndex({
+ x: _touches$.x,
+ y: _touches$.y
+ }, this.opts.chartData.radarData, this.opts.categories.length);
+ } else if (this.opts.type === 'funnel') {
+ return findFunnelChartCurrentIndex({
+ x: _touches$.x,
+ y: _touches$.y
+ }, this.opts.chartData.funnelData);
+ } else if (this.opts.type === 'map') {
+ return findMapChartCurrentIndex({
+ x: _touches$.x,
+ y: _touches$.y
+ }, this.opts);
+ }else if (this.opts.type === 'word') {
+ return findWordChartCurrentIndex({
+ x: _touches$.x,
+ y: _touches$.y
+ }, this.opts.chartData.wordCloudData);
+ } else {
+ return findCurrentIndex({
+ x: _touches$.x,
+ y: _touches$.y
+ }, this.opts.chartData.xAxisPoints, this.opts, this.config, Math.abs(this.scrollOption.currentOffset));
+ }
+ }
+ return -1;
+};
+
+Charts.prototype.getLegendDataIndex = function(e) {
+ var touches = null;
+ if (e.changedTouches) {
+ touches = e.changedTouches[0];
+ } else {
+ touches = e.mp.changedTouches[0];
+ }
+ if (touches) {
+ let _touches$ = getTouches(touches, this.opts, e);
+ return findLegendIndex({
+ x: _touches$.x,
+ y: _touches$.y
+ }, this.opts.chartData.legendData);
+ }
+ return -1;
+};
+
+Charts.prototype.touchLegend = function(e) {
+ var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+ var touches = null;
+ if (e.changedTouches) {
+ touches = e.changedTouches[0];
+ } else {
+ touches = e.mp.changedTouches[0];
+ }
+ if (touches) {
+ var _touches$ = getTouches(touches, this.opts, e);
+ var index = this.getLegendDataIndex(e);
+ if (index >= 0) {
+ this.opts.series[index].show = !this.opts.series[index].show;
+ this.opts.animation = option.animation ? true : false;
+ drawCharts.call(this, this.opts.type, this.opts, this.config, this.context);
+ }
+ }
+
+};
+
+Charts.prototype.showToolTip = function(e) {
+ var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+ var touches = null;
+ if (e.changedTouches) {
+ touches = e.changedTouches[0];
+ } else {
+ touches = e.mp.changedTouches[0];
+ }
+ if (!touches) {
+ console.log("touchError");
+ }
+ var _touches$ = getTouches(touches, this.opts, e);
+ var currentOffset = this.scrollOption.currentOffset;
+ var opts = assign({}, this.opts, {
+ _scrollDistance_: currentOffset,
+ animation: false
+ });
+ if (this.opts.type === 'line' || this.opts.type === 'area' || this.opts.type === 'column') {
+ var index = this.getCurrentDataIndex(e);
+ if (index > -1) {
+ var seriesData = getSeriesDataItem(this.opts.series, index);
+ if (seriesData.length !== 0) {
+ var _getToolTipData = getToolTipData(seriesData, this.opts.chartData.calPoints, index, this.opts.categories,option),
+ textList = _getToolTipData.textList,
+ offset = _getToolTipData.offset;
+ offset.y = _touches$.y;
+ opts.tooltip = {
+ textList: textList,
+ offset: offset,
+ option: option,
+ index: index
+ };
+ }
+ }
+ drawCharts.call(this, opts.type, opts, this.config, this.context);
+ }
+ if (this.opts.type === 'mix') {
+ var index = this.getCurrentDataIndex(e);
+ if (index > -1) {
+ var currentOffset = this.scrollOption.currentOffset;
+ var opts = assign({}, this.opts, {
+ _scrollDistance_: currentOffset,
+ animation: false
+ });
+ var seriesData = getSeriesDataItem(this.opts.series, index);
+ if (seriesData.length !== 0) {
+ var _getMixToolTipData = getMixToolTipData(seriesData, this.opts.chartData.calPoints, index, this.opts.categories,option),
+ textList = _getMixToolTipData.textList,
+ offset = _getMixToolTipData.offset;
+ offset.y = _touches$.y;
+ opts.tooltip = {
+ textList: textList,
+ offset: offset,
+ option: option,
+ index: index
+ };
+ }
+ }
+ drawCharts.call(this, opts.type, opts, this.config, this.context);
+ }
+ if (this.opts.type === 'candle') {
+ var index = this.getCurrentDataIndex(e);
+ if (index > -1) {
+ var currentOffset = this.scrollOption.currentOffset;
+ var opts = assign({}, this.opts, {
+ _scrollDistance_: currentOffset,
+ animation: false
+ });
+ var seriesData = getSeriesDataItem(this.opts.series, index);
+ if (seriesData.length !== 0) {
+ var _getToolTipData = getCandleToolTipData(this.opts.series[0].data, seriesData, this.opts.chartData.calPoints,
+ index, this.opts.categories, this.opts.extra.candle, option),
+ textList = _getToolTipData.textList,
+ offset = _getToolTipData.offset;
+ offset.y = _touches$.y;
+ opts.tooltip = {
+ textList: textList,
+ offset: offset,
+ option: option,
+ index: index
+ };
+ }
+ }
+ drawCharts.call(this, opts.type, opts, this.config, this.context);
+ }
+ if (this.opts.type === 'pie' || this.opts.type === 'ring' || this.opts.type === 'rose'||this.opts.type === 'funnel' ) {
+ var index = this.getCurrentDataIndex(e);
+ if (index > -1) {
+ var currentOffset = this.scrollOption.currentOffset;
+ var opts = assign({}, this.opts, {
+ _scrollDistance_: currentOffset,
+ animation: false
+ });
+ var seriesData = this.opts._series_[index];
+ var textList = [{
+ text: option.format ? option.format(seriesData) : seriesData.name + ': ' + seriesData.data,
+ color: seriesData.color
+ }];
+ var offset = {
+ x: _touches$.x,
+ y: _touches$.y
+ };
+ opts.tooltip = {
+ textList: textList,
+ offset: offset,
+ option: option,
+ index: index
+ };
+ }
+ drawCharts.call(this, opts.type, opts, this.config, this.context);
+ }
+ if (this.opts.type === 'map'||this.opts.type === 'word') {
+ var index = this.getCurrentDataIndex(e);
+ if (index > -1) {
+ var currentOffset = this.scrollOption.currentOffset;
+ var opts = assign({}, this.opts, {
+ _scrollDistance_: currentOffset,
+ animation: false
+ });
+ var seriesData = this.opts._series_[index];
+ var textList = [{
+ text: option.format ? option.format(seriesData) : seriesData.properties.name ,
+ color: seriesData.color
+ }];
+ var offset = {
+ x: _touches$.x,
+ y: _touches$.y
+ };
+ opts.tooltip = {
+ textList: textList,
+ offset: offset,
+ option: option,
+ index: index
+ };
+ }
+ opts.updateData = false;
+ drawCharts.call(this, opts.type, opts, this.config, this.context);
+ }
+ if (this.opts.type === 'radar') {
+ var index = this.getCurrentDataIndex(e);
+ if (index > -1) {
+ var currentOffset = this.scrollOption.currentOffset;
+ var opts = assign({}, this.opts, {
+ _scrollDistance_: currentOffset,
+ animation: false
+ });
+ var seriesData = getSeriesDataItem(this.opts.series, index);
+ if (seriesData.length !== 0) {
+ var textList = seriesData.map(function(item) {
+ return {
+ text: option.format ? option.format(item) : item.name + ': ' + item.data,
+ color: item.color
+ };
+ });
+ var offset = {
+ x: _touches$.x,
+ y: _touches$.y
+ };
+ opts.tooltip = {
+ textList: textList,
+ offset: offset,
+ option: option,
+ index: index
+ };
+ }
+ }
+ drawCharts.call(this, opts.type, opts, this.config, this.context);
+ }
+};
+
+Charts.prototype.translate = function(distance) {
+ this.scrollOption = {
+ currentOffset: distance,
+ startTouchX: distance,
+ distance: 0,
+ lastMoveTime: 0
+ };
+ let opts = assign({}, this.opts, {
+ _scrollDistance_: distance,
+ animation: false
+ });
+ drawCharts.call(this, this.opts.type, opts, this.config, this.context);
+};
+
+Charts.prototype.scrollStart = function(e) {
+ var touches = null;
+ if (e.changedTouches) {
+ touches = e.changedTouches[0];
+ } else {
+ touches = e.mp.changedTouches[0];
+ }
+ var _touches$ = getTouches(touches, this.opts, e);
+ if (touches && this.opts.enableScroll === true) {
+ this.scrollOption.startTouchX = _touches$.x;
+ }
+};
+
+Charts.prototype.scroll = function(e) {
+ if (this.scrollOption.lastMoveTime === 0) {
+ this.scrollOption.lastMoveTime = Date.now();
+ }
+ let Limit = this.opts.extra.touchMoveLimit || 20;
+ let currMoveTime = Date.now();
+ let duration = currMoveTime - this.scrollOption.lastMoveTime;
+ if (duration < Math.floor(1000 / Limit)) return;
+ this.scrollOption.lastMoveTime = currMoveTime;
+ var touches = null;
+ if (e.changedTouches) {
+ touches = e.changedTouches[0];
+ } else {
+ touches = e.mp.changedTouches[0];
+ }
+ if (touches && this.opts.enableScroll === true) {
+ var _touches$ = getTouches(touches, this.opts, e);
+ var _distance;
+ _distance = _touches$.x - this.scrollOption.startTouchX;
+ var currentOffset = this.scrollOption.currentOffset;
+ var validDistance = calValidDistance(currentOffset + _distance, this.opts.chartData, this.config, this.opts);
+ this.scrollOption.distance = _distance = validDistance - currentOffset;
+ var opts = assign({}, this.opts, {
+ _scrollDistance_: currentOffset + _distance,
+ animation: false
+ });
+ drawCharts.call(this, opts.type, opts, this.config, this.context);
+ return currentOffset + _distance;
+ }
+};
+
+Charts.prototype.scrollEnd = function(e) {
+ if (this.opts.enableScroll === true) {
+ var _scrollOption = this.scrollOption,
+ currentOffset = _scrollOption.currentOffset,
+ distance = _scrollOption.distance;
+ this.scrollOption.currentOffset = currentOffset + distance;
+ this.scrollOption.distance = 0;
+ }
+};
+if (typeof module === "object" && typeof module.exports === "object") {
+ module.exports = Charts;
+ //export default Charts;//建议使用nodejs的module导出方式,如报错请使用export方式导出
+}
diff --git a/components/verifition/Verify.vue b/components/verifition/Verify.vue
new file mode 100644
index 0000000..3fe4d88
--- /dev/null
+++ b/components/verifition/Verify.vue
@@ -0,0 +1,469 @@
+
+
+
+
+ 请完成安全验证
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/verifition/utils/ase.js b/components/verifition/utils/ase.js
new file mode 100644
index 0000000..1fdceed
--- /dev/null
+++ b/components/verifition/utils/ase.js
@@ -0,0 +1,14 @@
+import CryptoJS from 'crypto-js'
+/**
+ * @word 要加密的内容
+ * @keyWord String 服务器随机返回的关键字
+ * */
+export function aesEncrypt(word, keyWord = "XwKsGlMcdPMEhR1B") {
+ var key = CryptoJS.enc.Utf8.parse(keyWord);
+ var srcs = CryptoJS.enc.Utf8.parse(word);
+ var encrypted = CryptoJS.AES.encrypt(srcs, key, {
+ mode: CryptoJS.mode.ECB,
+ padding: CryptoJS.pad.Pkcs7
+ });
+ return encrypted.toString();
+}
diff --git a/components/verifition/utils/request.js b/components/verifition/utils/request.js
new file mode 100644
index 0000000..e6a31b0
--- /dev/null
+++ b/components/verifition/utils/request.js
@@ -0,0 +1,17 @@
+import config from '@/config'
+const baseUrl = config.baseUrl
+export const myRequest = (option = {}) => {
+ return new Promise((reslove, reject) => {
+ uni.request({
+ url: baseUrl + option.url,
+ data: option.data,
+ method: option.method || "GET",
+ success: (result) => {
+ reslove(result)
+ },
+ fail: (error) => {
+ reject(error)
+ }
+ })
+ })
+}
diff --git a/components/verifition/verifyPoint/verifyPoint.vue b/components/verifition/verifyPoint/verifyPoint.vue
new file mode 100644
index 0000000..923cc62
--- /dev/null
+++ b/components/verifition/verifyPoint/verifyPoint.vue
@@ -0,0 +1,555 @@
+
+
+
+
+
+
+
+
+
+ {{index + 1}}
+
+
+
+
+
+ {{text}}
+
+
+
+
+
+
diff --git a/components/verifition/verifySlider/verifySlider.vue b/components/verifition/verifySlider/verifySlider.vue
new file mode 100644
index 0000000..7c75e0e
--- /dev/null
+++ b/components/verifition/verifySlider/verifySlider.vue
@@ -0,0 +1,661 @@
+
+
+
+
+
+
+
+
+
+
+ {{tipWords}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/env.d.ts b/env.d.ts
new file mode 100644
index 0000000..e269efc
--- /dev/null
+++ b/env.d.ts
@@ -0,0 +1,13 @@
+///
+
+declare module '*.vue' {
+ import { DefineComponent } from 'vue'
+
+ const component: DefineComponent<{}, {}, any>
+ export default component
+}
+
+interface ImportMetaEnv {
+ VITE_TITLE: string
+ VITE_BASE_URL: string
+}
diff --git a/main.ts b/main.ts
new file mode 100644
index 0000000..c19c964
--- /dev/null
+++ b/main.ts
@@ -0,0 +1,41 @@
+import { createSSRApp } from 'vue'
+import * as Pinia from 'pinia'
+// @ts-ignore
+import uView from 'vk-uview-ui'
+import App from './App.vue'
+
+
+
+import tab from './plugins/tab'
+import modal from './plugins/modal'
+import time from './plugins/time'
+
+
+// unocss
+import 'uno.css'
+
+import { accessTimeInAnHour, getNowFormatDate } from "./utils/dateTime";
+export function createApp() {
+ const app = createSSRApp(App)
+ app.use(Pinia.createPinia())
+ app.use(uView)
+ // 解决onLaunch和onLoad异步问题
+ app.config.globalProperties.$onLaunched = new Promise(resolve => {
+ app.config.globalProperties.$isResolve = resolve
+ })
+
+ // 页签操作
+ app.config.globalProperties.$tab = tab
+ // 模态框对象
+ app.config.globalProperties.$modal = modal
+ // 时间对象
+ app.config.globalProperties.$time = time
+
+
+
+ return {
+ app,
+ // uni-app 官方文档示例 https://zh.uniapp.dcloud.io/tutorial/vue3-pinia.html#%E7%8A%B6%E6%80%81%E7%AE%A1%E7%90%86-pinia
+ Pinia // 此处必须将 Pinia 返回
+ }
+}
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
new file mode 100644
index 0000000..4000fae
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1,82 @@
+{
+ "name" : "富维汽车镜",
+ "appid" : "__UNI__DA78BC9",
+ "description" : "",
+ "versionName" : "1.0.0",
+ "versionCode" : "100",
+ "transformPx" : false,
+ /* 5+App特有相关 */
+ "app-plus" : {
+ "usingComponents" : true,
+ "nvueStyleCompiler" : "uni-app",
+ "compilerVersion" : 3,
+ "splashscreen" : {
+ "alwaysShowBeforeRender" : true,
+ "waiting" : true,
+ "autoclose" : true,
+ "delay" : 0
+ },
+ /* 模块配置 */
+ "modules" : {},
+ /* 应用发布信息 */
+ "distribute" : {
+ /* android打包配置 */
+ "android" : {
+ "permissions" : [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ]
+ },
+ /* ios打包配置 */
+ "ios" : {
+ "dSYMs" : false
+ },
+ /* SDK配置 */
+ "sdkConfigs" : {
+ "ad" : {}
+ }
+ }
+ },
+ /* 快应用特有相关 */
+ "quickapp" : {},
+ /* 小程序特有相关 */
+ "mp-weixin" : {
+ "appid" : "wx6176535b0b0153f0",
+ "setting" : {
+ "urlCheck" : false
+ },
+ "usingComponents" : true
+ },
+ "mp-alipay" : {
+ "usingComponents" : true
+ },
+ "mp-baidu" : {
+ "usingComponents" : true
+ },
+ "mp-toutiao" : {
+ "usingComponents" : true
+ },
+ "uniStatistics" : {
+ "enable" : false
+ },
+ "vueVersion" : "3",
+ "h5" : {
+ "template" : "index.html",
+ "devServer" : {
+ "port" : 9020
+ }
+ }
+}
diff --git a/pages.json b/pages.json
new file mode 100644
index 0000000..69e834d
--- /dev/null
+++ b/pages.json
@@ -0,0 +1,1739 @@
+{
+
+ "pages": [{
+ "path": "pages/index/index",
+ "style": {
+ "navigationBarTitleText": "WMS仓库管理系统-移动端",
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [{}]
+ }
+ }
+ },
+ {
+ "path": "pages/message/index",
+ "style": {
+ "navigationBarTitleText": "消息",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+
+
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/message/details",
+ "style": {
+ "navigationBarTitleText": "消息详情",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ // "autoBackButton": "true",
+ // "buttons": [
+ // // 右边按钮
+ // {
+
+ // "float": "right",
+ // "fontSize": "58rpx", //按钮上文字的大小
+ // "text": "\ue696",
+ // "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ // }
+ // ]
+ }
+ }
+ },
+
+ {
+ "path": "pages/login/index",
+ "style": {
+ "navigationBarTitleText": "登录"
+ }
+ },
+
+
+ {
+ "path": "pages/query/item",
+ "style": {
+ "enablePullDownRefresh": false, // 是否配置下拉刷新的功能
+ "navigationBarTitleText": "按物料查询库存",
+ "titleNView": {
+ "autoBackButton": "true",
+ "buttons": [{}]
+ }
+ }
+ },
+ {
+ "path": "pages/query/location",
+ "style": {
+ "navigationBarTitleText": "按库位查询库存",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ "autoBackButton": "true",
+ "buttons": [{}]
+ }
+ }
+ }, {
+ "path": "pages/query/container",
+ "style": {
+ "navigationBarTitleText": "按器具查询库存",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ "autoBackButton": "true",
+ "buttons": [{}]
+ }
+ }
+ },
+
+
+ {
+ "path": "pages/setter/index",
+ "style": {
+ "navigationBarTitleText": "设置",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+
+
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/setter/passwordpage",
+ "style": {
+ "navigationBarTitleText": "修改密码",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/supplierDeliver/record/supplierDeliverRecord",
+ "style": {
+ "navigationBarTitleText": "供应商发货记录",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/supplierDeliver/record/supplierDeliverRecordDetail",
+ "style": {
+ "navigationBarTitleText": "供应商发货记录详情",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/inspect/request/inspectRequest",
+ "style": {
+ "navigationBarTitleText": "检验单申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/inspect/request/inspectRequestDetail",
+ "style": {
+ "navigationBarTitleText": "检验单申请详情",
+ "enablePullDownRefresh": true
+ }
+ },
+
+ {
+ "path": "pages/inspect/job/inspectResult",
+ "style": {
+ "navigationBarTitleText": "检验详情",
+ "enablePullDownRefresh": true
+ }
+ },
+
+
+ {
+ "path": "pages/purchaseReceipt/job/receiptJob",
+ "style": {
+ "navigationBarTitleText": "采购收货",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/purchaseReceipt/job/receiptDetail",
+ "style": {
+ "navigationBarTitleText": "采购收货任务详情",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/purchaseReturn/record/returnRecord",
+ "style": {
+ "navigationBarTitleText": "采购退货记录",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/purchaseReturn/request/returnRequest",
+ "style": {
+ "navigationBarTitleText": "采购退货申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/purchaseReturn/request/returnRequestDetail",
+ "style": {
+ "navigationBarTitleText": "采购退货申请详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/purchaseReturn/request/returnRequestCreate",
+ "style": {
+ "navigationBarTitleText": "采购退货申请创建",
+ "enablePullDownRefresh": true
+ }
+ },
+
+ {
+ "path": "pages/purchaseReturn/job/returnJob",
+ "style": {
+ "navigationBarTitleText": "采购退货",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/purchaseReturn/job/returnDetail",
+ "style": {
+ "navigationBarTitleText": "退货任务详情",
+ "enablePullDownRefresh": true
+ // "titleNView": {
+ // "autoBackButton": "true"
+ // }
+ }
+ },
+ {
+ "path": "pages/inspect/job/inspectJob",
+ "style": {
+ "navigationBarTitleText": "到货检验",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ },
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+
+ {
+ "path": "pages/inspect/job/inspectDetail",
+ "style": {
+ "navigationBarTitleText": "到货检验详情",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/inspect/job/inspectFullDetail",
+ "style": {
+ "navigationBarTitleText": "全检检验详情",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/putaway/job/putawayJob",
+ "style": {
+ "navigationBarTitleText": "采购上架",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+
+ {
+ "path": "pages/putaway/job/putawayDetail",
+ "style": {
+ "navigationBarTitleText": "采购上架详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/putaway/record/putawayRecord",
+ "style": {
+ "navigationBarTitleText": "采购上架记录",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/putaway/request/putawayRequest",
+ "style": {
+ "navigationBarTitleText": "采购上架申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/putaway/request/putawayRequestDetail",
+ "style": {
+ "navigationBarTitleText": "采购上架申请详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/putaway/request/putawayRequestCreate",
+ "style": {
+ "navigationBarTitleText": "采购上架申请创建",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/issue/request/issueRequest",
+ "style": {
+ "navigationBarTitleText": "发料申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/issue/request/issueRequestDetail",
+ "style": {
+ "navigationBarTitleText": "发料申请详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/issue/request/issueRequestCreate",
+ "style": {
+ "navigationBarTitleText": "创建发料申请",
+ "enablePullDownRefresh": false
+ }
+ },
+
+ {
+ "path": "pages/issue/job/issueJob",
+ "style": {
+ "navigationBarTitleText": "发料任务",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/issue/job/issueDetail",
+ "style": {
+ "navigationBarTitleText": "发料任务详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/issue/record/issueRecord",
+ "style": {
+ "navigationBarTitleText": "直接发料记录",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ "autoBackButton": "true"
+ }
+ }
+ },
+ {
+ "path": "pages/productionReceipt/job/productionReceiptJob",
+ "style": {
+ "navigationBarTitleText": "生产收料",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/productionReceipt/job/productionReceiptDetail",
+ "style": {
+ "navigationBarTitleText": "生产收料详细"
+
+ }
+ },
+ {
+ "path": "pages/repleinsh/job/repleinshJob",
+ "style": {
+ "navigationBarTitleText": "补料任务",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/repleinsh/job/repleinshDetail",
+ "style": {
+ "navigationBarTitleText": "补料详情",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ "autoBackButton": "true"
+ }
+ }
+ },
+ {
+ "path": "pages/repleinsh/record/repleinshRecord",
+ "style": {
+ "navigationBarTitleText": "补料记录",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ "autoBackButton": "true"
+ }
+ }
+ },
+ {
+ "path": "pages/productionReturn/request/returnRequestCreate",
+ "style": {
+ "navigationBarTitleText": "生产合格退料申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/productionReturn/request/returnToHoldRequest",
+ "style": {
+ "navigationBarTitleText": "生产退料隔离申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/productionReturn/request/requestDetail",
+ "style": {
+ "navigationBarTitleText": "生产退料详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/productionReturn/job/returnJob",
+ "style": {
+ "navigationBarTitleText": "生产退料",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/productionReturn/job/returnDetail",
+ "style": {
+ "navigationBarTitleText": "生产退料详细",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/productionReturn/request/returnToStoreRequest",
+ "style": {
+ "navigationBarTitleText": "生产合格退料申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/productionReturn/record/returnToStore",
+ "style": {
+ "navigationBarTitleText": "合格退料记录",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/productionReturn/record/returnToHold",
+ "style": {
+ "navigationBarTitleText": "隔离退料记录",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/deliver/job/deliverJob",
+ "style": {
+ "navigationBarTitleText": "制品发货任务",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/deliver/job/deliverDetail",
+ "style": {
+ "navigationBarTitleText": "制品发货详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/deliver/record/deliverRecord",
+ "style": {
+ "navigationBarTitleText": "制品发货记录",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/productReceipt/job/productReceiptJob",
+ "style": {
+ "navigationBarTitleText": "制品收货任务",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/productReceipt/record/productReceiptRecord",
+ "style": {
+ "navigationBarTitleText": "制品收货记录",
+ "enablePullDownRefresh": false
+
+ }
+ },
+ {
+ "path": "pages/productReceipt/job/productReceiptDetail",
+ "style": {
+ "navigationBarTitleText": "制品收货详情",
+ "enablePullDownRefresh": false
+
+ }
+ },
+ {
+ "path": "pages/productPutaway/job/productPutawayJob",
+ "style": {
+ "navigationBarTitleText": "制品上架任务",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/productPutaway/job/productPutawayDetail",
+ "style": {
+ "navigationBarTitleText": "制品上架详情",
+ "enablePullDownRefresh": false
+
+ }
+ },
+ {
+ "path": "pages/productPutaway/record/productPutawayRecord",
+ "style": {
+ "navigationBarTitleText": "制品上架记录",
+ "enablePullDownRefresh": false
+
+ }
+ },
+
+ {
+ "path": "pages/productPutaway/request/putawayRequest",
+ "style": {
+ "navigationBarTitleText": "制品上架申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/productPutaway/request/putawayRequestDetail",
+ "style": {
+ "navigationBarTitleText": "制品上架申请详情",
+ "enablePullDownRefresh": false
+
+ }
+ },
+ {
+ "path": "pages/productPutaway/request/putawayRequestCreate",
+ "style": {
+ "navigationBarTitleText": "制品上架申请创建",
+ "enablePullDownRefresh": false
+
+ }
+ },
+
+ {
+ "path": "pages/productDismantle/job/productDismantleJob",
+ "style": {
+ "navigationBarTitleText": "制品拆解",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+
+ {
+ "path": "pages/productDismantle/job/productDismantleDetail",
+ "style": {
+ "navigationBarTitleText": "制品拆解任务详情",
+ "enablePullDownRefresh": false
+
+ }
+ },
+ {
+ "path": "pages/productDismantle/record/productDismantleRecord",
+ "style": {
+ "navigationBarTitleText": "制品拆解记录",
+ "enablePullDownRefresh": false
+
+ }
+ },
+ {
+ "path": "pages/deliver/request/deliverRequest",
+ "style": {
+ "navigationBarTitleText": "成品发货申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/deliver/request/deliverRequestDetail",
+ "style": {
+ "navigationBarTitleText": "成品发货申请详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/deliver/request/deliverRequestCreate",
+ "style": {
+ "navigationBarTitleText": "成品发货申请创建",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/customerReturn/job/returnJob",
+ "style": {
+ "navigationBarTitleText": "客户退货任务",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/customerReturn/job/returnDetail",
+ "style": {
+ "navigationBarTitleText": "客户退货详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/customerReturn/record/returnRecord",
+ "style": {
+ "navigationBarTitleText": "客户退货记录",
+ "enablePullDownRefresh": false
+ }
+ },
+
+ {
+ "path": "pages/customerReturn/request/customerReturnRequest",
+ "style": {
+ "navigationBarTitleText": "客户退货申请",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/customerReturn/request/customerReturnRequestDetail",
+ "style": {
+ "navigationBarTitleText": "客户退货申请详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/customerReturn/request/customerReturnRequestCreate",
+ "style": {
+ "navigationBarTitleText": "客户退货申请创建",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/scrap/record/scrapRecord",
+ "style": {
+ "navigationBarTitleText": "报废出库",
+ "enablePullDownRefresh": false
+ }
+ },
+
+ {
+ "path": "pages/scrap/job/scrapJob",
+ "style": {
+ "navigationBarTitleText": "报废出库",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/scrap/job/scrapJobDetail",
+ "style": {
+ "navigationBarTitleText": "报废出库任务详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/scrap/request/scrapRrequest",
+ "style": {
+ "navigationBarTitleText": "报废出库申请",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/scrap/request/scrapRequestDetail",
+ "style": {
+ "navigationBarTitleText": "报废出库申请详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/scrap/request/scrapRequestCreate",
+ "style": {
+ "navigationBarTitleText": "报废出库申请创建",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/inventoryMove/job/moveJob",
+ "style": {
+ "navigationBarTitleText": "库存转移",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/inventoryMove/job/inventoryMoveDetail",
+ "style": {
+ "navigationBarTitleText": "库存转移详细",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/inventoryMove/record/moveFreeRecord",
+ "style": {
+ "navigationBarTitleText": "库存转移记录",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/inventoryMove/job/okToHoldMoveJob",
+ "style": {
+ "navigationBarTitleText": "合格转隔离",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/inventoryMove/job/holdToOkMoveJob",
+ "style": {
+ "navigationBarTitleText": "隔离转合格",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/inventoryMove/job/holdToScrapMoveJob",
+ "style": {
+ "navigationBarTitleText": "隔离转报废",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/inventoryMove/job/okToScrapMoveJob",
+ "style": {
+ "navigationBarTitleText": "合格转报废",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/inventoryMove/job/scrapToHoldMoveJob",
+ "style": {
+ "navigationBarTitleText": "报废转隔离",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/inventoryMove/record/okToHoldRecord",
+ "style": {
+ "navigationBarTitleText": "合格转隔离记录",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/inventoryMove/record/holdToOkRecord",
+ "style": {
+ "navigationBarTitleText": "隔离转合格记录",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/inventoryMove/record/holdToScrapRecord",
+ "style": {
+ "navigationBarTitleText": "隔离转报废记录",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/inventoryMove/record/scrapToHoldRecord",
+ "style": {
+ "navigationBarTitleText": "报废转隔离记录",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/inventoryMove/record/okToScrapRecord",
+ "style": {
+ "navigationBarTitleText": "合格转报废记录",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/transfer/job/receiptJob",
+ "style": {
+ "navigationBarTitleText": "调拨入库任务",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/transfer/job/receiptDetail",
+ "style": {
+ "navigationBarTitleText": "调拨入库详情",
+ "enablePullDownRefresh": false
+
+ }
+ },
+ {
+ "path": "pages/transfer/record/receiptRecord",
+ "style": {
+ "navigationBarTitleText": "调拨入库记录",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/transfer/job/issueJob",
+ "style": {
+ "navigationBarTitleText": "调拨出库任务",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ "buttons": [{
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+
+ {
+ "path": "pages/transfer/record/deliverRecord",
+ "style": {
+ "navigationBarTitleText": "调拨出库记录",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/transfer/job/issueDetail",
+ "style": {
+ "navigationBarTitleText": "调拨出库详细",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/count/job/countJob",
+ "style": {
+ "navigationBarTitleText": "盘点任务",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/count/job/countDetail",
+ "style": {
+ "navigationBarTitleText": "盘点详细",
+ "enablePullDownRefresh": false
+
+ }
+ },
+ {
+ "path": "pages/count/record/countRecord",
+ "style": {
+ "navigationBarTitleText": "按库位盘点",
+ "enablePullDownRefresh": false
+
+ }
+ },
+ {
+ "path": "pages/unPlanned/job/receiptJob",
+ "style": {
+ "navigationBarTitleText": "计划外入库任务",
+ "enablePullDownRefresh": true,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+
+ {
+ "path": "pages/unPlanned/job/receiptJobDetail",
+ "style": {
+ "navigationBarTitleText": "计划外入库详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/unPlanned/request/receiptRequest",
+ "style": {
+ "navigationBarTitleText": "计划外入库申请",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/unPlanned/request/receiptRequestDetail",
+ "style": {
+ "navigationBarTitleText": "计划外入库申请详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/unPlanned/request/receiptRequestCreate",
+ "style": {
+ "navigationBarTitleText": "计划外入库申请创建",
+ "enablePullDownRefresh": false
+ }
+ },
+
+ {
+ "path": "pages/unPlanned/job/issueJob",
+ "style": {
+ "navigationBarTitleText": "计划外出库任务",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/unPlanned/job/issueJobDetail",
+ "style": {
+ "navigationBarTitleText": "计划外出库详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/unPlanned/request/issueRequest",
+ "style": {
+ "navigationBarTitleText": "计划外出库申请",
+ "enablePullDownRefresh": false,
+ "titleNView": {
+ // "autoBackButton": "true",
+ "buttons": [
+ // 右边按钮
+ {
+ "float": "right",
+ "fontSize": "58rpx", //按钮上文字的大小
+ "text": "\ue696",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ },
+ {
+
+ "float": "right",
+ "fontSize": "52rpx", //按钮上文字的大小
+ "text": "\ue6e2",
+ "fontSrc": "/static/ali_icon/iconfont.ttf"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "path": "pages/unPlanned/request/issueRequestDetail",
+ "style": {
+ "navigationBarTitleText": "计划外出库申请详情",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/unPlanned/request/issueRequestCreate",
+ "style": {
+ "navigationBarTitleText": "计划外出库申请创建",
+ "enablePullDownRefresh": false
+ }
+ },
+
+ {
+ "path": "pages/unPlanned/record/receiptRecord",
+ "style": {
+ "navigationBarTitleText": "计划外入库记录",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/unPlanned/record/issueRecord",
+ "style": {
+ "navigationBarTitleText": "计划外出库记录",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/container/record/containerBindRecord",
+ "style": {
+ "navigationBarTitleText": "器具绑定",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/container/record/containerUnBindRecord",
+ "style": {
+ "navigationBarTitleText": "器具解绑",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/package/record/splitPackageRecord",
+ "style": {
+ "navigationBarTitleText": "拆包",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/package/record/mergePackageRecord",
+ "style": {
+ "navigationBarTitleText": "合包",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/package/record/overPackageRecord",
+ "style": {
+ "navigationBarTitleText": "翻包",
+ "enablePullDownRefresh": false
+ }
+ }
+
+
+ ],
+ "globalStyle": {
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "WMS仓库管理系统-移动端",
+ "navigationBarBackgroundColor": "#3C9CFF",
+ "h5": {
+ "maxWidth": 1190,
+ "navigationBarTextStyle": "white",
+ "navigationBarBackgroundColor": "#3C9CFF !important"
+ },
+ //增加返回首页
+ // "titleNView": {
+ // "autoBackButton": "true",
+ // "buttons": [{
+ // "float": "right",
+ // "text": "\ue696",
+ // "fontSrc": "/static/ali_icon/iconfont.ttf",
+ // "fontSize": "58rpx"
+ // }]
+ // },
+ "softinputMode": "adjustPan" //adjustResize
+ },
+ "tabBar": {
+ "color": "#000000",
+ "selectedColor": "#2678f2",
+ "borderStyle": "black",
+ "backgroundColor": "",
+ "list": [{
+
+ "pagePath": "pages/index/index",
+ "iconPath": "./static/bar/home.png",
+ "selectedIconPath": "./static/bar/home_p.png",
+ "text": "首页"
+ },
+ {
+ "pagePath": "pages/message/index",
+ "iconPath": "./static/bar/message.png",
+ "selectedIconPath": "./static/bar/message_p.png",
+ "text": "消息"
+ }, {
+ "pagePath": "pages/setter/index",
+ "iconPath": "./static/bar/setting.png",
+ "selectedIconPath": "./static/bar/setting_p.png",
+ "text": "设置"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/pages/common/textview/index.vue b/pages/common/textview/index.vue
new file mode 100644
index 0000000..e9b05fb
--- /dev/null
+++ b/pages/common/textview/index.vue
@@ -0,0 +1,43 @@
+
+
+
+ {{ content }}
+
+
+
+
+
+
+
diff --git a/pages/common/webview/index.vue b/pages/common/webview/index.vue
new file mode 100644
index 0000000..8388c76
--- /dev/null
+++ b/pages/common/webview/index.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
diff --git a/pages/config/config.vue b/pages/config/config.vue
new file mode 100644
index 0000000..4365512
--- /dev/null
+++ b/pages/config/config.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/container/coms/comContainerBindCard.vue b/pages/container/coms/comContainerBindCard.vue
new file mode 100644
index 0000000..234aa32
--- /dev/null
+++ b/pages/container/coms/comContainerBindCard.vue
@@ -0,0 +1,180 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/container/coms/comPalletRecord.vue b/pages/container/coms/comPalletRecord.vue
new file mode 100644
index 0000000..57e10b4
--- /dev/null
+++ b/pages/container/coms/comPalletRecord.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/container/record/containerBindRecord.vue b/pages/container/record/containerBindRecord.vue
new file mode 100644
index 0000000..eb52e26
--- /dev/null
+++ b/pages/container/record/containerBindRecord.vue
@@ -0,0 +1,422 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/container/record/containerUnBindRecord.vue b/pages/container/record/containerUnBindRecord.vue
new file mode 100644
index 0000000..435abfc
--- /dev/null
+++ b/pages/container/record/containerUnBindRecord.vue
@@ -0,0 +1,384 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/count/coms/comCountDetailCard.vue b/pages/count/coms/comCountDetailCard.vue
new file mode 100644
index 0000000..8722bde
--- /dev/null
+++ b/pages/count/coms/comCountDetailCard.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/count/coms/comCountJobCard.vue b/pages/count/coms/comCountJobCard.vue
new file mode 100644
index 0000000..c2908fe
--- /dev/null
+++ b/pages/count/coms/comCountJobCard.vue
@@ -0,0 +1,63 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+ 盘点阶段 : {{getCountStageName(dataContent.stage)}}
+
+
+
+
+
+ 盘点库位 : {{dataContent.locationCode}}
+
+
+
+
+ 盘点策略 : {{isOpenCount(dataContent.isOpenCount)}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/count/coms/detailInfoPopup.vue b/pages/count/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..b80e902
--- /dev/null
+++ b/pages/count/coms/detailInfoPopup.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+ 盘点明细号 :
+ {{dataContent.CountDetailNumber}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/count/coms/jobInfoPopup.vue b/pages/count/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..08244cd
--- /dev/null
+++ b/pages/count/coms/jobInfoPopup.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+ 计划单号 :
+ {{dataContent.planNumber}}
+
+
+ 阶段 :
+ {{getCountStageName(dataContent.stage)}}
+
+
+
+ 库位 :
+ {{dataContent.locationCode}}
+
+
+ 盘点策略 :
+ {{isOpenCount(dataContent.isOpenCount)}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/count/coms/jobListPopup.vue b/pages/count/coms/jobListPopup.vue
new file mode 100644
index 0000000..fe98c8c
--- /dev/null
+++ b/pages/count/coms/jobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/count/job/countDetail.vue b/pages/count/job/countDetail.vue
new file mode 100644
index 0000000..cff4f50
--- /dev/null
+++ b/pages/count/job/countDetail.vue
@@ -0,0 +1,843 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/count/job/countJob.vue b/pages/count/job/countJob.vue
new file mode 100644
index 0000000..7c3e2bd
--- /dev/null
+++ b/pages/count/job/countJob.vue
@@ -0,0 +1,290 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/count/record/countRecord.vue b/pages/count/record/countRecord.vue
new file mode 100644
index 0000000..dbc2570
--- /dev/null
+++ b/pages/count/record/countRecord.vue
@@ -0,0 +1,552 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/coms/comReturnJobCard.vue b/pages/customerReturn/coms/comReturnJobCard.vue
new file mode 100644
index 0000000..4691483
--- /dev/null
+++ b/pages/customerReturn/coms/comReturnJobCard.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+ 客户代码 : {{dataContent.customerCode}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/coms/comReturnRecord.vue b/pages/customerReturn/coms/comReturnRecord.vue
new file mode 100644
index 0000000..784d610
--- /dev/null
+++ b/pages/customerReturn/coms/comReturnRecord.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/coms/comReturnRequestCard.vue b/pages/customerReturn/coms/comReturnRequestCard.vue
new file mode 100644
index 0000000..eb39e12
--- /dev/null
+++ b/pages/customerReturn/coms/comReturnRequestCard.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+ 客户代码 : {{dataContent.customerCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/coms/detailInfoPopup.vue b/pages/customerReturn/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..487c199
--- /dev/null
+++ b/pages/customerReturn/coms/detailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+ 销售订单号 :
+ {{dataContent.SoNumber}}
+
+
+ 销售订单行 :
+ {{dataContent.SoLine}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/coms/jobInfoPopup.vue b/pages/customerReturn/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..cd90fca
--- /dev/null
+++ b/pages/customerReturn/coms/jobInfoPopup.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+ 发货记录单号 :
+ {{dataContent.deliverRecordNumber}}
+
+
+ 发货计划单号 :
+ {{dataContent.deliverPlanNumber}}
+
+
+ 客户代码 :
+ {{dataContent.customerCode}}
+
+
+ 客户月台代码 :
+ {{dataContent.customerDockCode}}
+
+
+ 承运商 :
+ {{dataContent.carrierCode}}
+
+
+ 运输方式 :
+ {{dataContent.transferMode}}
+
+
+ 车牌号 :
+ {{dataContent.vehiclePlateNumber}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/coms/jobListPopup.vue b/pages/customerReturn/coms/jobListPopup.vue
new file mode 100644
index 0000000..4c73872
--- /dev/null
+++ b/pages/customerReturn/coms/jobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/coms/requestDetailInfoPopup.vue b/pages/customerReturn/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..5449001
--- /dev/null
+++ b/pages/customerReturn/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+ 销售订单号 :
+ {{dataContent.soNumber}}
+
+
+ 销售订单行 :
+ {{dataContent.soLine}}
+
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 从库位代码 :
+ {{dataContent.fromLocationCode}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/coms/requestInfoPopup.vue b/pages/customerReturn/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..1799e48
--- /dev/null
+++ b/pages/customerReturn/coms/requestInfoPopup.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/job/returnDetail.vue b/pages/customerReturn/job/returnDetail.vue
new file mode 100644
index 0000000..43386f9
--- /dev/null
+++ b/pages/customerReturn/job/returnDetail.vue
@@ -0,0 +1,538 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/job/returnJob.vue b/pages/customerReturn/job/returnJob.vue
new file mode 100644
index 0000000..960f382
--- /dev/null
+++ b/pages/customerReturn/job/returnJob.vue
@@ -0,0 +1,284 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/record/returnRecord.vue b/pages/customerReturn/record/returnRecord.vue
new file mode 100644
index 0000000..45dd23f
--- /dev/null
+++ b/pages/customerReturn/record/returnRecord.vue
@@ -0,0 +1,466 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/request/customerReturnRequest.vue b/pages/customerReturn/request/customerReturnRequest.vue
new file mode 100644
index 0000000..0feb080
--- /dev/null
+++ b/pages/customerReturn/request/customerReturnRequest.vue
@@ -0,0 +1,394 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/request/customerReturnRequestCreate.vue b/pages/customerReturn/request/customerReturnRequestCreate.vue
new file mode 100644
index 0000000..d972703
--- /dev/null
+++ b/pages/customerReturn/request/customerReturnRequestCreate.vue
@@ -0,0 +1,486 @@
+
+
+
+
+
+
+
+ 客户 :
+
+
+ {{customerName}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/customerReturn/request/customerReturnRequestDetail.vue b/pages/customerReturn/request/customerReturnRequestDetail.vue
new file mode 100644
index 0000000..d6c8752
--- /dev/null
+++ b/pages/customerReturn/request/customerReturnRequestDetail.vue
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/comDeliverDetailCard.vue b/pages/deliver/coms/comDeliverDetailCard.vue
new file mode 100644
index 0000000..81c35f2
--- /dev/null
+++ b/pages/deliver/coms/comDeliverDetailCard.vue
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 实际
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/comDeliverJobCard.vue b/pages/deliver/coms/comDeliverJobCard.vue
new file mode 100644
index 0000000..6daab45
--- /dev/null
+++ b/pages/deliver/coms/comDeliverJobCard.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+ 发货计划单号 : {{dataContent.deliverPlanNumber}}
+
+
+
+
+
+ 客户代码 : {{dataContent.customerCode}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/comDeliverRequestCard.vue b/pages/deliver/coms/comDeliverRequestCard.vue
new file mode 100644
index 0000000..5c26c19
--- /dev/null
+++ b/pages/deliver/coms/comDeliverRequestCard.vue
@@ -0,0 +1,36 @@
+
+
+
+
+ 客户代码 : {{dataContent.customerCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/comDeliverRequestCreator.vue b/pages/deliver/coms/comDeliverRequestCreator.vue
new file mode 100644
index 0000000..5f75ab3
--- /dev/null
+++ b/pages/deliver/coms/comDeliverRequestCreator.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/comDeliverRequestPopup.vue b/pages/deliver/coms/comDeliverRequestPopup.vue
new file mode 100644
index 0000000..84f6101
--- /dev/null
+++ b/pages/deliver/coms/comDeliverRequestPopup.vue
@@ -0,0 +1,297 @@
+
+
+
+
+
+
+
+ {{title}}
+
+
+
+
+
+
+
+ 客户 :
+
+
+ {{customerName}}
+
+
+
+
+
+
+
+ 物料 :
+
+
+
+
+
+
+
+
+
+
+ 数量 :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/comScanDeliverPack.vue b/pages/deliver/coms/comScanDeliverPack.vue
new file mode 100644
index 0000000..4339bef
--- /dev/null
+++ b/pages/deliver/coms/comScanDeliverPack.vue
@@ -0,0 +1,531 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/detailInfoPopup.vue b/pages/deliver/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..487c199
--- /dev/null
+++ b/pages/deliver/coms/detailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+ 销售订单号 :
+ {{dataContent.SoNumber}}
+
+
+ 销售订单行 :
+ {{dataContent.SoLine}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/jobInfoPopup.vue b/pages/deliver/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..831b56e
--- /dev/null
+++ b/pages/deliver/coms/jobInfoPopup.vue
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+ 发货计划单号 :
+ {{dataContent.DeliverPlanNumber}}
+
+
+ 客户发货单号 :
+ {{dataContent.CustomerDeliverNumber}}
+
+
+ 客户代码 :
+ {{dataContent.CustomerCode}}
+
+
+ 客户月台代码 :
+ {{dataContent.CustomerDockCode}}
+
+
+ 承运商 :
+ {{dataContent.carrierCode}}
+
+
+ 运输方式 :
+ {{dataContent.transferMode}}
+
+
+ 车牌号 :
+ {{dataContent.vehiclePlateNumber}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/jobListPopup.vue b/pages/deliver/coms/jobListPopup.vue
new file mode 100644
index 0000000..f58edcf
--- /dev/null
+++ b/pages/deliver/coms/jobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/requestDetailInfoPopup.vue b/pages/deliver/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..ac7ff32
--- /dev/null
+++ b/pages/deliver/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+ 销售订单号 :
+ {{dataContent.soNumber}}
+
+
+ 销售订单行 :
+ {{dataContent.soLine}}
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 到库位代码 :
+ {{dataContent.toLocationCode}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/coms/requestInfoPopup.vue b/pages/deliver/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..6ecf270
--- /dev/null
+++ b/pages/deliver/coms/requestInfoPopup.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/job/deliverDetail.vue b/pages/deliver/job/deliverDetail.vue
new file mode 100644
index 0000000..26c8979
--- /dev/null
+++ b/pages/deliver/job/deliverDetail.vue
@@ -0,0 +1,462 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/job/deliverJob.vue b/pages/deliver/job/deliverJob.vue
new file mode 100644
index 0000000..8d51443
--- /dev/null
+++ b/pages/deliver/job/deliverJob.vue
@@ -0,0 +1,286 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/record/deliverRecord.vue b/pages/deliver/record/deliverRecord.vue
new file mode 100644
index 0000000..b8b1359
--- /dev/null
+++ b/pages/deliver/record/deliverRecord.vue
@@ -0,0 +1,502 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 客户 :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/request/deliverRequest.vue b/pages/deliver/request/deliverRequest.vue
new file mode 100644
index 0000000..d770dfc
--- /dev/null
+++ b/pages/deliver/request/deliverRequest.vue
@@ -0,0 +1,390 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/request/deliverRequestCreate.vue b/pages/deliver/request/deliverRequestCreate.vue
new file mode 100644
index 0000000..d697fbf
--- /dev/null
+++ b/pages/deliver/request/deliverRequestCreate.vue
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/deliver/request/deliverRequestDetail.vue b/pages/deliver/request/deliverRequestDetail.vue
new file mode 100644
index 0000000..9315192
--- /dev/null
+++ b/pages/deliver/request/deliverRequestDetail.vue
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/demo/demo.vue b/pages/demo/demo.vue
new file mode 100644
index 0000000..b9e7dbd
--- /dev/null
+++ b/pages/demo/demo.vue
@@ -0,0 +1,703 @@
+
+
+
+ 公共组件
+
+
+
+
+
+ 按钮组件
+
+
+
+
+ 页面按钮
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 弹出页按钮
+
+
+
+
+
+
+
+ 去扫描
+
+
+
+
+
+
+ 扫描按钮
+
+
+
+
+
+
+
+
+
+
+ 扫描组件
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 任务组件
+
+
+
+ 任务编号 - jobNumer
+
+
+
+
+
+
+ 任务状态 - jobStatus
+
+
+
+
+
+
+ 任务顶部 - jobTop
+
+
+
+
+
+
+ 任务底部 - jobBottom
+
+
+
+
+
+
+ 任务其它属性 - jobProperty
+
+
+
+
+
+
+ 任务卡片 - jobCard
+
+
+
+
+
+
+
+
+
+
+
+ 数量组件
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 数量组件通用属性
+ isShowStatus:显示状态
+ isShowStdPack:显示标包
+
+ 默认数量 qty
+
+
+
+
+
+
+ 推荐数量 recommendQty
+
+
+
+
+
+
+ 对比数量 compareQty
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 物料组件
+
+
+ 物料 item
+
+
+
+
+
+
+ 物料数量 itemQty
+
+
+
+
+ 物料数量 itemQty
+
+
+
+
+
+
+
+
+
+
+ 卡片组件
+
+
+ 箱码 pack
+
+
+
+
+ 托码 暂无
+
+
+
+ 批次 batch
+
+
+
+
+ 库位 location
+
+
+
+
+
+ 推荐卡片 recommend
+
+
+
+
+ 推荐卡片/实际/已扫描 recommend
+
+
+
+
+ 库存卡片 balance
+
+
+ 对比数量
+ 默认数量
+
+
+
+
+
+
+
+ 单箱管理
+
+
+
+
+ 批次管理
+
+
+
+
+ 批量管理
+
+
+
+
+
+
+
+
+
+
+ 消息框-comMessage
+
+
+
+
+ 信息提示弹窗-showMessage
+
+
+ 成功提示弹窗-showSuccessMessage
+
+
+ 错误提示弹窗-showErrorMessage
+
+
+ 警告提示弹窗-showWarningMessage
+
+
+ 问题选择弹窗-showQuestionMessage
+
+
+
+
+
+
+
+ 库存状态组件-balanceStatus
+
+
+
+
+
+
+
+
+
+ 物料状态组件-itemStatus
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 无数据
+
+
+
+
+
+
+
+ 库位相关组件
+
+
+
+
+
+ 选择库位
+
+
+
+
+ 下拉列表
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/demo/page.vue b/pages/demo/page.vue
new file mode 100644
index 0000000..491d6a2
--- /dev/null
+++ b/pages/demo/page.vue
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+
+
+
+ {{item.cont}}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/error/404.vue b/pages/error/404.vue
new file mode 100644
index 0000000..2f29e39
--- /dev/null
+++ b/pages/error/404.vue
@@ -0,0 +1,34 @@
+
+
+
+
+ 404 Page Not Found
+
+
+
+
+ {{errMsg}}
+
+
+
+
+
+
+
+
diff --git a/pages/index/index.vue b/pages/index/index.vue
new file mode 100644
index 0000000..d4de446
--- /dev/null
+++ b/pages/index/index.vue
@@ -0,0 +1,494 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/comInspectDetailCard.vue b/pages/inspect/coms/comInspectDetailCard.vue
new file mode 100644
index 0000000..850fbac
--- /dev/null
+++ b/pages/inspect/coms/comInspectDetailCard.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 不合格数量 : {{item.FailedQty}}
+
+
+ 不合格原因 : {{item.FailedReason}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/comInspectJobCard.vue b/pages/inspect/coms/comInspectJobCard.vue
new file mode 100644
index 0000000..ec68ce9
--- /dev/null
+++ b/pages/inspect/coms/comInspectJobCard.vue
@@ -0,0 +1,49 @@
+
+
+
+
+
+ 物料号 : {{dataContent.itemCode}}
+
+
+ 批次 : {{dataContent.batch}}
+
+
+ 检验类型 : {{getInspectType(dataContent.inspectType)}}
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/comInspectJobList.vue b/pages/inspect/coms/comInspectJobList.vue
new file mode 100644
index 0000000..87f0b01
--- /dev/null
+++ b/pages/inspect/coms/comInspectJobList.vue
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/comInspectRequestCard.vue b/pages/inspect/coms/comInspectRequestCard.vue
new file mode 100644
index 0000000..f6c7931
--- /dev/null
+++ b/pages/inspect/coms/comInspectRequestCard.vue
@@ -0,0 +1,45 @@
+
+
+
+
+ 采购收货记录单号 : {{dataContent.purchaseReceiptRecordNumber}}
+
+
+ 订单号 : {{dataContent.poNumber}}
+
+
+ 订单行 : {{dataContent.poLine}}
+
+
+ 供应商代码 : {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/inspectComDetailCard.vue b/pages/inspect/coms/inspectComDetailCard.vue
new file mode 100644
index 0000000..417d5bc
--- /dev/null
+++ b/pages/inspect/coms/inspectComDetailCard.vue
@@ -0,0 +1,235 @@
+
+
+
+
+
+
+
+ 收货数
+ {{jobContent.receiveQty}}{{getUnitInfo(jobContent.uom)}}
+
+
+ 检验数
+ {{jobContent.sampleQty}}{{getUnitInfo(jobContent.uom)}}
+
+
+ 不合格数
+ {{jobContent.failedQty}}{{getUnitInfo(jobContent.uom)}}
+
+
+
+ 报废数
+ {{jobContent.crackQty}}{{getUnitInfo(jobContent.uom)}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 不合格
+
+
+ {{item.failedQty}}
+
+
+
+
+ 报废
+
+
+ {{item.crackQty}}
+
+
+
+
+ 合格
+
+
+ {{item.goodQty}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/inspectEdit.vue b/pages/inspect/coms/inspectEdit.vue
new file mode 100644
index 0000000..a313af6
--- /dev/null
+++ b/pages/inspect/coms/inspectEdit.vue
@@ -0,0 +1,291 @@
+
+
+
+
+
+ 箱码
+ {{dataContent.packingNumber}}
+
+
+ 收货数量
+
+ {{dataContent.qty}}
+
+
+
+
+
+ 不合格数量
+
+
+
+
+
+
+
+ 报废数量
+
+
+
+
+
+
+
+
+ 不合格原因
+
+
+
+
+
+
+
+ 检验结果
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/inspectInfoPopup.vue b/pages/inspect/coms/inspectInfoPopup.vue
new file mode 100644
index 0000000..33d87d5
--- /dev/null
+++ b/pages/inspect/coms/inspectInfoPopup.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+ 申请单号 :
+ {{dataContent.requestNumber}}
+
+
+ 采购收货记录单号 :
+ {{dataContent.purchaseReceiptRecordNumber}}
+
+
+ 供应商代码 :
+ {{dataContent.supplierCode}}
+
+
+ 仓库代码 :
+ {{dataContent.warehouseCode}}
+
+
+ 货主代码 :
+ {{dataContent.ownerCode}}
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 物品代码 :
+ {{dataContent.itemCode}}
+
+
+ 检验类型 :
+ {{getInspectType(dataContent.inspectType)}}
+
+
+ 下一步检验动作 :
+ {{dataContent.nextAction}}
+
+
+ 抽检方式 :
+ {{getSampleMethod(dataContent.sampleMethod)}}
+
+
+ 计量单位 :
+ {{getUnitInfo(dataContent.uom)}}
+
+
+ 收货数量 :
+ {{dataContent.receiveQty}}
+
+
+ 样品数量 :
+ {{dataContent.sampleQty}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/requestDetailInfoPopup.vue b/pages/inspect/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..13ec899
--- /dev/null
+++ b/pages/inspect/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 从库位代码 :
+ {{dataContent.fromLocationCode }}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/requestInfoPopup.vue b/pages/inspect/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..0fcc258
--- /dev/null
+++ b/pages/inspect/coms/requestInfoPopup.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/coms/uploadCamera.vue b/pages/inspect/coms/uploadCamera.vue
new file mode 100644
index 0000000..13718fd
--- /dev/null
+++ b/pages/inspect/coms/uploadCamera.vue
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/job/inspectDetail.vue b/pages/inspect/job/inspectDetail.vue
new file mode 100644
index 0000000..54b85aa
--- /dev/null
+++ b/pages/inspect/job/inspectDetail.vue
@@ -0,0 +1,533 @@
+
+
+
+
+
+ 检验类型 : {{getInspectType(jobContent.inspectType)}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/inspect/job/inspectFullDetail.vue b/pages/inspect/job/inspectFullDetail.vue
new file mode 100644
index 0000000..94ecd79
--- /dev/null
+++ b/pages/inspect/job/inspectFullDetail.vue
@@ -0,0 +1,553 @@
+
+
+
+
+
+ 检验类型 : {{getInspectType(jobContent.inspectType)}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/inspect/job/inspectJob.vue b/pages/inspect/job/inspectJob.vue
new file mode 100644
index 0000000..2cb2ab9
--- /dev/null
+++ b/pages/inspect/job/inspectJob.vue
@@ -0,0 +1,295 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/job/inspectResult.vue b/pages/inspect/job/inspectResult.vue
new file mode 100644
index 0000000..c755674
--- /dev/null
+++ b/pages/inspect/job/inspectResult.vue
@@ -0,0 +1,585 @@
+
+
+
+
+
+
+ 类型
+
+
+ {{getInspectName(jobContent.inspectType) }}
+
+
+
+
+ 物料号
+
+
+
+
+
+
+
+
+
+ 批次
+
+
+
+
+
+
+
+ 收货数量
+
+
+ {{jobContent.receiveQty}} {{getUnitInfo(jobContent.uom)}}
+
+
+
+
+
+ 检验数量
+
+
+ {{jobContent.sampleQty}} {{getUnitInfo(jobContent.uom)}}
+
+
+
+
+
+ 下一步动作
+
+
+
+
+
+
+
+
+
+ 不合格数量
+
+
+
+
+
+
+
+
+
+
+ 报废数量
+
+
+
+
+
+
+
+
+
+
+
+ 最终不合格
+
+
+
+
+
+
+
+
+
+ 备注
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{index+1}}.
+
+
+
+ 箱码:{{item.packingNumber}}
+
+
+ 库位:{{item.fromLocationCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/inspect/request/inspectRequest.vue b/pages/inspect/request/inspectRequest.vue
new file mode 100644
index 0000000..bd7b966
--- /dev/null
+++ b/pages/inspect/request/inspectRequest.vue
@@ -0,0 +1,380 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inspect/request/inspectRequestDetail.vue b/pages/inspect/request/inspectRequestDetail.vue
new file mode 100644
index 0000000..4f89b76
--- /dev/null
+++ b/pages/inspect/request/inspectRequestDetail.vue
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+ 单据号 : {{requestContent.number}}
+
+
+ 供应商代码 : {{requestContent.supplierCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/comInventoryDetailCard.vue b/pages/inventoryMove/coms/comInventoryDetailCard.vue
new file mode 100644
index 0000000..1ccf22e
--- /dev/null
+++ b/pages/inventoryMove/coms/comInventoryDetailCard.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/comInventoryJobCard.vue b/pages/inventoryMove/coms/comInventoryJobCard.vue
new file mode 100644
index 0000000..98946e3
--- /dev/null
+++ b/pages/inventoryMove/coms/comInventoryJobCard.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/comMove.vue b/pages/inventoryMove/coms/comMove.vue
new file mode 100644
index 0000000..8ed05bf
--- /dev/null
+++ b/pages/inventoryMove/coms/comMove.vue
@@ -0,0 +1,409 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/comMoveJob.vue b/pages/inventoryMove/coms/comMoveJob.vue
new file mode 100644
index 0000000..1b19648
--- /dev/null
+++ b/pages/inventoryMove/coms/comMoveJob.vue
@@ -0,0 +1,321 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/comMoveRecord.vue b/pages/inventoryMove/coms/comMoveRecord.vue
new file mode 100644
index 0000000..652f54e
--- /dev/null
+++ b/pages/inventoryMove/coms/comMoveRecord.vue
@@ -0,0 +1,440 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/comMoveRecordCard.vue b/pages/inventoryMove/coms/comMoveRecordCard.vue
new file mode 100644
index 0000000..1387b86
--- /dev/null
+++ b/pages/inventoryMove/coms/comMoveRecordCard.vue
@@ -0,0 +1,193 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/comMovebalance.vue b/pages/inventoryMove/coms/comMovebalance.vue
new file mode 100644
index 0000000..3aebfeb
--- /dev/null
+++ b/pages/inventoryMove/coms/comMovebalance.vue
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/detailInfoPopup.vue b/pages/inventoryMove/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..8a7d67b
--- /dev/null
+++ b/pages/inventoryMove/coms/detailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.PoNumber}}
+
+
+ 订单行 :
+ {{dataContent.PoLine}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/jobInfoPopup.vue b/pages/inventoryMove/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..9f72ee9
--- /dev/null
+++ b/pages/inventoryMove/coms/jobInfoPopup.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+ 供应商代码 :
+ {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/coms/jobListPopup.vue b/pages/inventoryMove/coms/jobListPopup.vue
new file mode 100644
index 0000000..59ace1d
--- /dev/null
+++ b/pages/inventoryMove/coms/jobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/job/holdToOkMoveJob.vue b/pages/inventoryMove/job/holdToOkMoveJob.vue
new file mode 100644
index 0000000..149213d
--- /dev/null
+++ b/pages/inventoryMove/job/holdToOkMoveJob.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/job/holdToScrapMoveJob.vue b/pages/inventoryMove/job/holdToScrapMoveJob.vue
new file mode 100644
index 0000000..410b2ab
--- /dev/null
+++ b/pages/inventoryMove/job/holdToScrapMoveJob.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/job/inventoryMoveDetail.vue b/pages/inventoryMove/job/inventoryMoveDetail.vue
new file mode 100644
index 0000000..1d212af
--- /dev/null
+++ b/pages/inventoryMove/job/inventoryMoveDetail.vue
@@ -0,0 +1,567 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/job/inventoryMoveJob.vue b/pages/inventoryMove/job/inventoryMoveJob.vue
new file mode 100644
index 0000000..f3f0873
--- /dev/null
+++ b/pages/inventoryMove/job/inventoryMoveJob.vue
@@ -0,0 +1,275 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/job/moveJob.vue b/pages/inventoryMove/job/moveJob.vue
new file mode 100644
index 0000000..e7b7ec5
--- /dev/null
+++ b/pages/inventoryMove/job/moveJob.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/job/okToHoldMoveJob.vue b/pages/inventoryMove/job/okToHoldMoveJob.vue
new file mode 100644
index 0000000..5e2f8ec
--- /dev/null
+++ b/pages/inventoryMove/job/okToHoldMoveJob.vue
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/job/okToScrapMoveJob.vue b/pages/inventoryMove/job/okToScrapMoveJob.vue
new file mode 100644
index 0000000..c78799e
--- /dev/null
+++ b/pages/inventoryMove/job/okToScrapMoveJob.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/job/scrapToHoldMoveJob.vue b/pages/inventoryMove/job/scrapToHoldMoveJob.vue
new file mode 100644
index 0000000..985e5a5
--- /dev/null
+++ b/pages/inventoryMove/job/scrapToHoldMoveJob.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/record/holdToOkRecord.vue b/pages/inventoryMove/record/holdToOkRecord.vue
new file mode 100644
index 0000000..72d3dc7
--- /dev/null
+++ b/pages/inventoryMove/record/holdToOkRecord.vue
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/record/holdToScrapRecord.vue b/pages/inventoryMove/record/holdToScrapRecord.vue
new file mode 100644
index 0000000..70175e8
--- /dev/null
+++ b/pages/inventoryMove/record/holdToScrapRecord.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/record/moveFreeRecord.vue b/pages/inventoryMove/record/moveFreeRecord.vue
new file mode 100644
index 0000000..001898f
--- /dev/null
+++ b/pages/inventoryMove/record/moveFreeRecord.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/record/okToHoldRecord.vue b/pages/inventoryMove/record/okToHoldRecord.vue
new file mode 100644
index 0000000..2fb8080
--- /dev/null
+++ b/pages/inventoryMove/record/okToHoldRecord.vue
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/record/okToScrapRecord.vue b/pages/inventoryMove/record/okToScrapRecord.vue
new file mode 100644
index 0000000..dfa24f3
--- /dev/null
+++ b/pages/inventoryMove/record/okToScrapRecord.vue
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/inventoryMove/record/scrapToHoldRecord.vue b/pages/inventoryMove/record/scrapToHoldRecord.vue
new file mode 100644
index 0000000..f9b6e8a
--- /dev/null
+++ b/pages/inventoryMove/record/scrapToHoldRecord.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue-按批次推荐/coms/comIssueDetailCard.vue b/pages/issue-按批次推荐/coms/comIssueDetailCard.vue
new file mode 100644
index 0000000..80dcf05
--- /dev/null
+++ b/pages/issue-按批次推荐/coms/comIssueDetailCard.vue
@@ -0,0 +1,214 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue-按批次推荐/coms/comIssueJobCard.vue b/pages/issue-按批次推荐/coms/comIssueJobCard.vue
new file mode 100644
index 0000000..bd49c9d
--- /dev/null
+++ b/pages/issue-按批次推荐/coms/comIssueJobCard.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+ 需求物料 : {{dataContent.itemCode}}
+
+
+ 需求库位 : {{dataContent.toLocationCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue-按批次推荐/coms/comIssueRecommend.vue b/pages/issue-按批次推荐/coms/comIssueRecommend.vue
new file mode 100644
index 0000000..c9256fd
--- /dev/null
+++ b/pages/issue-按批次推荐/coms/comIssueRecommend.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue-按批次推荐/coms/comScanIssueList.vue b/pages/issue-按批次推荐/coms/comScanIssueList.vue
new file mode 100644
index 0000000..1b815ca
--- /dev/null
+++ b/pages/issue-按批次推荐/coms/comScanIssueList.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/issue-按批次推荐/coms/comScanIssuePack.vue b/pages/issue-按批次推荐/coms/comScanIssuePack.vue
new file mode 100644
index 0000000..206e4c5
--- /dev/null
+++ b/pages/issue-按批次推荐/coms/comScanIssuePack.vue
@@ -0,0 +1,336 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue-按批次推荐/job/issueDetail.vue b/pages/issue-按批次推荐/job/issueDetail.vue
new file mode 100644
index 0000000..ea19866
--- /dev/null
+++ b/pages/issue-按批次推荐/job/issueDetail.vue
@@ -0,0 +1,693 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue-按批次推荐/job/issueJob.vue b/pages/issue-按批次推荐/job/issueJob.vue
new file mode 100644
index 0000000..4993edb
--- /dev/null
+++ b/pages/issue-按批次推荐/job/issueJob.vue
@@ -0,0 +1,356 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/comIssueDetailCard.vue b/pages/issue/coms/comIssueDetailCard.vue
new file mode 100644
index 0000000..9b3fd70
--- /dev/null
+++ b/pages/issue/coms/comIssueDetailCard.vue
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 扫描
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/comIssueJobCard.vue b/pages/issue/coms/comIssueJobCard.vue
new file mode 100644
index 0000000..9226463
--- /dev/null
+++ b/pages/issue/coms/comIssueJobCard.vue
@@ -0,0 +1,39 @@
+
+
+
+
+ 申请单号 {{dataContent.requestNumber}}
+
+
+ 车间 {{dataContent.workShopCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/comIssueRecommend.vue b/pages/issue/coms/comIssueRecommend.vue
new file mode 100644
index 0000000..c9256fd
--- /dev/null
+++ b/pages/issue/coms/comIssueRecommend.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/comIssueRequestCard.vue b/pages/issue/coms/comIssueRequestCard.vue
new file mode 100644
index 0000000..4bd6825
--- /dev/null
+++ b/pages/issue/coms/comIssueRequestCard.vue
@@ -0,0 +1,36 @@
+
+
+
+
+ 车间代码 {{dataContent.workshopCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/comIssueRequestCreator.vue b/pages/issue/coms/comIssueRequestCreator.vue
new file mode 100644
index 0000000..07f13bd
--- /dev/null
+++ b/pages/issue/coms/comIssueRequestCreator.vue
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/comIssueRequestDetailCard.vue b/pages/issue/coms/comIssueRequestDetailCard.vue
new file mode 100644
index 0000000..60db0b1
--- /dev/null
+++ b/pages/issue/coms/comIssueRequestDetailCard.vue
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/comIssueRequestInfo.vue b/pages/issue/coms/comIssueRequestInfo.vue
new file mode 100644
index 0000000..b124595
--- /dev/null
+++ b/pages/issue/coms/comIssueRequestInfo.vue
@@ -0,0 +1,56 @@
+
+
+
+
+ 车间
+ {{workShopCode}}
+
+
+ 生产线
+ {{dataContent.productionLineCode}}
+
+
+ 工位
+ {{ dataContent.workStationCode }}
+
+
+ 原材料库
+ {{ dataContent.toLocationCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/comIssueRequestPopup.vue b/pages/issue/coms/comIssueRequestPopup.vue
new file mode 100644
index 0000000..bbd6dd9
--- /dev/null
+++ b/pages/issue/coms/comIssueRequestPopup.vue
@@ -0,0 +1,406 @@
+
+
+
+
+
+
+
+ {{title}}
+
+
+
+
+
+
+
+ 从仓库代码:
+
+
+ {{fromWarehouseCode}}
+
+
+
+
+
+
+
+ 位置:
+
+
+ {{positionInfo}}
+
+
+
+
+
+
+
+ 物料:
+
+ {{itemCode}}
+
+
+
+
+
+
+
+
+
+ 数量:
+
+
+
+
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/comScanIssueList.vue b/pages/issue/coms/comScanIssueList.vue
new file mode 100644
index 0000000..1b815ca
--- /dev/null
+++ b/pages/issue/coms/comScanIssueList.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/issue/coms/comScanIssuePack.vue b/pages/issue/coms/comScanIssuePack.vue
new file mode 100644
index 0000000..0572aa5
--- /dev/null
+++ b/pages/issue/coms/comScanIssuePack.vue
@@ -0,0 +1,531 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/detailInfoPopup.vue b/pages/issue/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..8a7d67b
--- /dev/null
+++ b/pages/issue/coms/detailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.PoNumber}}
+
+
+ 订单行 :
+ {{dataContent.PoLine}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/jobInfoPopup.vue b/pages/issue/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..8971076
--- /dev/null
+++ b/pages/issue/coms/jobInfoPopup.vue
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+ 车间代码 :
+ {{dataContent.WorkshopCode}}
+
+
+ 使用在途库 :
+ {{dataContent.UseOnTheWayLocation}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/jobListPopup.vue b/pages/issue/coms/jobListPopup.vue
new file mode 100644
index 0000000..315991f
--- /dev/null
+++ b/pages/issue/coms/jobListPopup.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/requestDetailInfoPopup.vue b/pages/issue/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..377a384
--- /dev/null
+++ b/pages/issue/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+ 生产线代码 :
+ {{dataContent.productionLineCode}}
+
+
+ 工位代码 :
+ {{dataContent.workStationCode}}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 到库位代码 :
+ {{dataContent.toLocationCode}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/coms/requestInfoPopup.vue b/pages/issue/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..433374a
--- /dev/null
+++ b/pages/issue/coms/requestInfoPopup.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/job/issueDetail.vue b/pages/issue/job/issueDetail.vue
new file mode 100644
index 0000000..12f9c78
--- /dev/null
+++ b/pages/issue/job/issueDetail.vue
@@ -0,0 +1,520 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/job/issueJob.vue b/pages/issue/job/issueJob.vue
new file mode 100644
index 0000000..d287387
--- /dev/null
+++ b/pages/issue/job/issueJob.vue
@@ -0,0 +1,313 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/job/issueReceiptJob.vue b/pages/issue/job/issueReceiptJob.vue
new file mode 100644
index 0000000..7fc91e6
--- /dev/null
+++ b/pages/issue/job/issueReceiptJob.vue
@@ -0,0 +1,303 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/js/issue.js b/pages/issue/js/issue.js
new file mode 100644
index 0000000..824eb60
--- /dev/null
+++ b/pages/issue/js/issue.js
@@ -0,0 +1,110 @@
+ import {
+ calc
+ } from '@/common/calc.js';
+export function getDataSource(list, subList) {
+ for (var i = 0; i < subList.length; i++) {
+ let detail = subList[i];
+ var location = list.find(r =>
+ r.toLocationCode == detail.toLocationCode)
+ if (location == undefined) {
+ location = {
+ toLocationCode: detail.toLocationCode,
+ productionLineCode: detail.productionLineCode,
+ workStationCode: detail.workStationCode,
+ Items: []
+ }
+ list.push(location);
+ }
+ createDetailInfo(location, detail);
+ }
+ return list;
+}
+
+//树形结构:需求库位 -> 物料Items -> 库位 Locations-> 批次Batchs -> 记录Records
+export function createDetailInfo(location, detail) {
+ var item = location.Items.find(r =>
+ r.itemCode == detail.itemCode)
+ if (item == undefined) {
+ item = createItemInfo(detail);
+ location.Items.push(item)
+ } else {
+ item.qty = calc.add(item.qty,detail.qty)
+ //在物料下查找库位
+ let location = item.Locations.find(r => r.fromLocationCode == detail.fromLocationCode);
+ if (location == undefined) {
+ location = createLocationInfo(detail);
+ item.Locations.push(location);
+ } else {
+ //在库位下查找批次
+ let batch = location.Batchs.find(r => r.batch == detail.batch);
+ if (batch == undefined) {
+ let batch = createBatchInfo(detail);
+ location.Batchs.push(batch);
+ } else {
+ if (detail.packingNumber != "" && detail.packingNumber != null) {
+ batch.Recommends.push(detail);
+ }
+ }
+ }
+ }
+}
+
+export function createItemInfo(detail) {
+ let item = {
+ itemCode: detail.itemCode,
+ itemName: detail.itemName,
+ productionLineCode: detail.productionLineCode,
+ workStationCode: detail.workStationCode,
+ stdPackQty: detail.stdPackQty,
+ stdPackUnit: detail.stdPackUnit,
+ qty: detail.qty,
+ uom: detail.uom,
+ handleQty: 0,
+ Locations: []
+ }
+ let location = createLocationInfo(detail);
+ item.Locations.push(location);
+ return item;
+}
+
+export function createLocationInfo(detail) {
+ let location = {
+ fromLocationCode: detail.fromLocationCode,
+ qty: detail.qty,
+ uom: detail.uom,
+ handleQty: 0,
+ Batchs: []
+ }
+ let batch = createBatchInfo(detail);
+ location.Batchs.push(batch);
+ return location;
+}
+
+export function createBatchInfo(detail) {
+ let batch = {
+ detail: detail,
+ batch: detail.batch,
+ packingNumber: detail.packingNumber,
+ qty: detail.qty,
+ uom: detail.uom,
+ handleQty: 0,
+ Recommends: [],
+ Records: [],
+ }
+
+ //推荐到了箱码和批次
+ if (detail.packingNumber != "" && detail.packingNumber != null) {
+ batch.Recommends.push(detail);
+ }
+ return batch;
+}
+
+export function createRecordInfo(detail) {
+ var record = {}
+ detail.scaned = true;
+ // let record = JSON.parse(JSON.stringify(detail));
+ //克隆对象,深度克隆,防止双向绑定同一个变量
+ Object.assign(record, detail)
+ record.toLocationCode = this.toLocationCode;
+ return record;
+}
diff --git a/pages/issue/record/issueRecord.vue b/pages/issue/record/issueRecord.vue
new file mode 100644
index 0000000..028f214
--- /dev/null
+++ b/pages/issue/record/issueRecord.vue
@@ -0,0 +1,434 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/request/issueRequest.vue b/pages/issue/request/issueRequest.vue
new file mode 100644
index 0000000..5f3d8e4
--- /dev/null
+++ b/pages/issue/request/issueRequest.vue
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/request/issueRequestCreate.vue b/pages/issue/request/issueRequestCreate.vue
new file mode 100644
index 0000000..328b78b
--- /dev/null
+++ b/pages/issue/request/issueRequestCreate.vue
@@ -0,0 +1,216 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/issue/request/issueRequestDetail.vue b/pages/issue/request/issueRequestDetail.vue
new file mode 100644
index 0000000..2713ae7
--- /dev/null
+++ b/pages/issue/request/issueRequestDetail.vue
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/login/index.vue b/pages/login/index.vue
new file mode 100644
index 0000000..535579d
--- /dev/null
+++ b/pages/login/index.vue
@@ -0,0 +1,401 @@
+
+
+
+
+
+
+ 您好,欢迎使用
+ WMS仓库管理系统
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/message/details.vue b/pages/message/details.vue
new file mode 100644
index 0000000..915b210
--- /dev/null
+++ b/pages/message/details.vue
@@ -0,0 +1,96 @@
+
+
+
+ {{detail.templateNickname}}
+ 消息类型 : {{detail.templateCode}}
+ 消息内容 : {{detail.templateContent}}
+ 读取状态 : {{detail.readStatus==true?"已读":"未读"}}
+ 创建时间 : {{formatDate(detail.createTime)}}
+
+
+
+
+
+
+
diff --git a/pages/message/index.vue b/pages/message/index.vue
new file mode 100644
index 0000000..fba36d3
--- /dev/null
+++ b/pages/message/index.vue
@@ -0,0 +1,323 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/package/coms/comOverRecord.vue b/pages/package/coms/comOverRecord.vue
new file mode 100644
index 0000000..8e780fd
--- /dev/null
+++ b/pages/package/coms/comOverRecord.vue
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{index+1}}.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/package/coms/comPackageRecord.vue b/pages/package/coms/comPackageRecord.vue
new file mode 100644
index 0000000..fe24a43
--- /dev/null
+++ b/pages/package/coms/comPackageRecord.vue
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{index+1}}.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/package/record/mergePackageRecord.vue b/pages/package/record/mergePackageRecord.vue
new file mode 100644
index 0000000..938983c
--- /dev/null
+++ b/pages/package/record/mergePackageRecord.vue
@@ -0,0 +1,393 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/package/record/overPackageRecord.vue b/pages/package/record/overPackageRecord.vue
new file mode 100644
index 0000000..475ed2e
--- /dev/null
+++ b/pages/package/record/overPackageRecord.vue
@@ -0,0 +1,366 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/package/record/splitPackageRecord.vue b/pages/package/record/splitPackageRecord.vue
new file mode 100644
index 0000000..166691a
--- /dev/null
+++ b/pages/package/record/splitPackageRecord.vue
@@ -0,0 +1,385 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/coms/comProductDetailCard.vue b/pages/productDismantle/coms/comProductDetailCard.vue
new file mode 100644
index 0000000..4c56737
--- /dev/null
+++ b/pages/productDismantle/coms/comProductDetailCard.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/coms/comProductJobCard.vue b/pages/productDismantle/coms/comProductJobCard.vue
new file mode 100644
index 0000000..ede69fb
--- /dev/null
+++ b/pages/productDismantle/coms/comProductJobCard.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+ 物料号 : {{dataContent.itemCode}}
+
+
+
+
+
+ 目标库位 : {{dataContent.toLocationCode}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/coms/comProductRecord.vue b/pages/productDismantle/coms/comProductRecord.vue
new file mode 100644
index 0000000..ed20ed5
--- /dev/null
+++ b/pages/productDismantle/coms/comProductRecord.vue
@@ -0,0 +1,196 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/coms/comScanProductList.vue b/pages/productDismantle/coms/comScanProductList.vue
new file mode 100644
index 0000000..1b815ca
--- /dev/null
+++ b/pages/productDismantle/coms/comScanProductList.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/productDismantle/coms/detailInfoPopup.vue b/pages/productDismantle/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..4b64c50
--- /dev/null
+++ b/pages/productDismantle/coms/detailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/coms/jobInfoPopup.vue b/pages/productDismantle/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..9188858
--- /dev/null
+++ b/pages/productDismantle/coms/jobInfoPopup.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+ 车间代码 :
+ {{dataContent.workshopCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/coms/jobListPopup.vue b/pages/productDismantle/coms/jobListPopup.vue
new file mode 100644
index 0000000..7d0c8b9
--- /dev/null
+++ b/pages/productDismantle/coms/jobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/coms/requestDetailInfoPopup.vue b/pages/productDismantle/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..13ec899
--- /dev/null
+++ b/pages/productDismantle/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 从库位代码 :
+ {{dataContent.fromLocationCode }}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/coms/requestInfoPopup.vue b/pages/productDismantle/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..3a39a00
--- /dev/null
+++ b/pages/productDismantle/coms/requestInfoPopup.vue
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+ 供应商代码 :
+ {{dataContent.supplierCode}}
+
+
+ 从仓库代码 :
+ {{dataContent.fromWarehouseCode}}
+
+
+ 到仓库代码 :
+ {{dataContent.toWarehouseCode}}
+
+
+ 从库位类型范围 :
+ {{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}}
+
+
+ 到库位类型范围 :
+ {{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}}
+
+
+
+ 从库区代码范围 :
+ {{dataContent.fromAreaCodes}}
+
+
+ 到库区代码范围 :
+ {{dataContent.toAreaCodes}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/job/productDismantleDetail.vue b/pages/productDismantle/job/productDismantleDetail.vue
new file mode 100644
index 0000000..760e1e3
--- /dev/null
+++ b/pages/productDismantle/job/productDismantleDetail.vue
@@ -0,0 +1,550 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/job/productDismantleJob.vue b/pages/productDismantle/job/productDismantleJob.vue
new file mode 100644
index 0000000..e566a89
--- /dev/null
+++ b/pages/productDismantle/job/productDismantleJob.vue
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productDismantle/record/productDismantleRecord.vue b/pages/productDismantle/record/productDismantleRecord.vue
new file mode 100644
index 0000000..b352c64
--- /dev/null
+++ b/pages/productDismantle/record/productDismantleRecord.vue
@@ -0,0 +1,375 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/coms/comProductDetailCard.vue b/pages/productPutaway/coms/comProductDetailCard.vue
new file mode 100644
index 0000000..4c56737
--- /dev/null
+++ b/pages/productPutaway/coms/comProductDetailCard.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/coms/comProductJobCard.vue b/pages/productPutaway/coms/comProductJobCard.vue
new file mode 100644
index 0000000..9e7eb95
--- /dev/null
+++ b/pages/productPutaway/coms/comProductJobCard.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+ 供应商代码 : {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/coms/comPutawayRequestCard.vue b/pages/productPutaway/coms/comPutawayRequestCard.vue
new file mode 100644
index 0000000..ca0ba13
--- /dev/null
+++ b/pages/productPutaway/coms/comPutawayRequestCard.vue
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/coms/comScanProductList.vue b/pages/productPutaway/coms/comScanProductList.vue
new file mode 100644
index 0000000..1b815ca
--- /dev/null
+++ b/pages/productPutaway/coms/comScanProductList.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/productPutaway/coms/detailInfoPopup.vue b/pages/productPutaway/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..4b64c50
--- /dev/null
+++ b/pages/productPutaway/coms/detailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/coms/jobInfoPopup.vue b/pages/productPutaway/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..9188858
--- /dev/null
+++ b/pages/productPutaway/coms/jobInfoPopup.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+ 车间代码 :
+ {{dataContent.workshopCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/coms/jobListPopup.vue b/pages/productPutaway/coms/jobListPopup.vue
new file mode 100644
index 0000000..7d0c8b9
--- /dev/null
+++ b/pages/productPutaway/coms/jobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/coms/requestDetailInfoPopup.vue b/pages/productPutaway/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..a5bf0df
--- /dev/null
+++ b/pages/productPutaway/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 从库位代码 :
+ {{dataContent.fromLocationCode }}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/coms/requestInfoPopup.vue b/pages/productPutaway/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..eea5cfd
--- /dev/null
+++ b/pages/productPutaway/coms/requestInfoPopup.vue
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/job/productPutawayDetail.vue b/pages/productPutaway/job/productPutawayDetail.vue
new file mode 100644
index 0000000..5482228
--- /dev/null
+++ b/pages/productPutaway/job/productPutawayDetail.vue
@@ -0,0 +1,501 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/job/productPutawayJob.vue b/pages/productPutaway/job/productPutawayJob.vue
new file mode 100644
index 0000000..628284f
--- /dev/null
+++ b/pages/productPutaway/job/productPutawayJob.vue
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/record/productPutawayRecord.vue b/pages/productPutaway/record/productPutawayRecord.vue
new file mode 100644
index 0000000..c994dbb
--- /dev/null
+++ b/pages/productPutaway/record/productPutawayRecord.vue
@@ -0,0 +1,450 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/request/putawayRequest.vue b/pages/productPutaway/request/putawayRequest.vue
new file mode 100644
index 0000000..a551af6
--- /dev/null
+++ b/pages/productPutaway/request/putawayRequest.vue
@@ -0,0 +1,399 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/request/putawayRequestCreate.vue b/pages/productPutaway/request/putawayRequestCreate.vue
new file mode 100644
index 0000000..5a835e6
--- /dev/null
+++ b/pages/productPutaway/request/putawayRequestCreate.vue
@@ -0,0 +1,428 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productPutaway/request/putawayRequestDetail.vue b/pages/productPutaway/request/putawayRequestDetail.vue
new file mode 100644
index 0000000..1d71a3d
--- /dev/null
+++ b/pages/productPutaway/request/putawayRequestDetail.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/coms/comProductDetailCard.vue b/pages/productReceipt/coms/comProductDetailCard.vue
new file mode 100644
index 0000000..1c94c2f
--- /dev/null
+++ b/pages/productReceipt/coms/comProductDetailCard.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/coms/comProductJobCard.vue b/pages/productReceipt/coms/comProductJobCard.vue
new file mode 100644
index 0000000..a8daf82
--- /dev/null
+++ b/pages/productReceipt/coms/comProductJobCard.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+ 车间代码 : {{dataContent.workShopCode}}
+
+
+
+
+
+ 班组 : {{dataContent.team}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/coms/comProductRecord.vue b/pages/productReceipt/coms/comProductRecord.vue
new file mode 100644
index 0000000..de707d5
--- /dev/null
+++ b/pages/productReceipt/coms/comProductRecord.vue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/coms/detailInfoPopup.vue b/pages/productReceipt/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..ae30344
--- /dev/null
+++ b/pages/productReceipt/coms/detailInfoPopup.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+ 生产线代码 :
+ {{dataContent.productionLineCode}}
+
+
+ 工位代码 :
+ {{dataContent.workStationCode}}
+
+
+ 工序代码 :
+ {{dataContent.processCode}}
+
+
+
+ 标包数量 :
+ {{dataContent.stdPackQty}}
+
+
+ 标包单位 :
+ {{dataContent.stdPackUnit}}
+
+
+
+ 生产日期 :
+ {{dataContent.produceDate}}
+
+
+ 过期日期 :
+ {{dataContent.expireDate}}
+
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/coms/jobInfoPopup.vue b/pages/productReceipt/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..e5513bc
--- /dev/null
+++ b/pages/productReceipt/coms/jobInfoPopup.vue
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+ 生产计划单号 :
+ {{dataContent.productionPlanNumber}}
+
+
+ 车间代码 :
+ {{dataContent.workshopCode}}
+
+
+ 班组 :
+ {{dataContent.team}}
+
+
+ 班次 :
+ {{dataContent.shift}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/coms/jobListPopup.vue b/pages/productReceipt/coms/jobListPopup.vue
new file mode 100644
index 0000000..cbcf199
--- /dev/null
+++ b/pages/productReceipt/coms/jobListPopup.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/coms/productDetailInfoPopup.vue b/pages/productReceipt/coms/productDetailInfoPopup.vue
new file mode 100644
index 0000000..daed7ee
--- /dev/null
+++ b/pages/productReceipt/coms/productDetailInfoPopup.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+ 标包数量 :
+ {{dataContent.stdPackQty}}
+
+
+ 标包单位 :
+ {{getStdPackUnitInfo(dataContent.stdPackUnit)}}
+
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+ 项目代码 :
+ {{dataContent.projectCode}}
+
+
+ 到货日期 :
+ {{dateFormat(dataContent.arriveDate)}}
+
+
+ 生产日期 :
+ {{dateFormat(dataContent.produceDate)}}
+
+
+ 过期日期 :
+ {{dateFormat(dataContent.expireDate)}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/job/productReceiptDetail.vue b/pages/productReceipt/job/productReceiptDetail.vue
new file mode 100644
index 0000000..8cee17d
--- /dev/null
+++ b/pages/productReceipt/job/productReceiptDetail.vue
@@ -0,0 +1,417 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/job/productReceiptJob.vue b/pages/productReceipt/job/productReceiptJob.vue
new file mode 100644
index 0000000..c5e524a
--- /dev/null
+++ b/pages/productReceipt/job/productReceiptJob.vue
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productReceipt/record/productReceiptRecord.vue b/pages/productReceipt/record/productReceiptRecord.vue
new file mode 100644
index 0000000..91c9dff
--- /dev/null
+++ b/pages/productReceipt/record/productReceiptRecord.vue
@@ -0,0 +1,494 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReceipt/coms/comProductionDetailCard.vue b/pages/productionReceipt/coms/comProductionDetailCard.vue
new file mode 100644
index 0000000..4c56737
--- /dev/null
+++ b/pages/productionReceipt/coms/comProductionDetailCard.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReceipt/coms/comProductionJobCard.vue b/pages/productionReceipt/coms/comProductionJobCard.vue
new file mode 100644
index 0000000..5a09851
--- /dev/null
+++ b/pages/productionReceipt/coms/comProductionJobCard.vue
@@ -0,0 +1,43 @@
+
+
+
+
+
+ 发料任务单号:{{dataContent.issueJobNumber}}
+
+
+
+
+ 车间:{{dataContent.workshopCode}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReceipt/coms/comProductionRecord.vue b/pages/productionReceipt/coms/comProductionRecord.vue
new file mode 100644
index 0000000..0965c8c
--- /dev/null
+++ b/pages/productionReceipt/coms/comProductionRecord.vue
@@ -0,0 +1,194 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReceipt/coms/detailInfoPopup.vue b/pages/productionReceipt/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..ca7f783
--- /dev/null
+++ b/pages/productionReceipt/coms/detailInfoPopup.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+ 生产线代码 :
+ {{dataContent.productionLineCode}}
+
+
+ 工位代码 :
+ {{dataContent.workStationCode}}
+
+
+ 在途库库位 :
+ {{dataContent.onTheWayLocationCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReceipt/coms/jobInfoPopup.vue b/pages/productionReceipt/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..005efdb
--- /dev/null
+++ b/pages/productionReceipt/coms/jobInfoPopup.vue
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+ 发料任务单号 :
+ {{dataContent.issueJobNumber}}
+
+
+ 车间代码 :
+ {{dataContent.workshopCode}}
+
+
+ 使用在途库 :
+ {{dataContent.使用在途库}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReceipt/coms/jobListPopup.vue b/pages/productionReceipt/coms/jobListPopup.vue
new file mode 100644
index 0000000..79eff27
--- /dev/null
+++ b/pages/productionReceipt/coms/jobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReceipt/job/productionReceiptDetail.vue b/pages/productionReceipt/job/productionReceiptDetail.vue
new file mode 100644
index 0000000..8570d82
--- /dev/null
+++ b/pages/productionReceipt/job/productionReceiptDetail.vue
@@ -0,0 +1,544 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReceipt/job/productionReceiptJob.vue b/pages/productionReceipt/job/productionReceiptJob.vue
new file mode 100644
index 0000000..f5ed5c5
--- /dev/null
+++ b/pages/productionReceipt/job/productionReceiptJob.vue
@@ -0,0 +1,288 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReceipt/record/productionReceiptRecord.vue b/pages/productionReceipt/record/productionReceiptRecord.vue
new file mode 100644
index 0000000..d373181
--- /dev/null
+++ b/pages/productionReceipt/record/productionReceiptRecord.vue
@@ -0,0 +1,370 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturn.vue b/pages/productionReturn/coms/comReturn.vue
new file mode 100644
index 0000000..b879d6e
--- /dev/null
+++ b/pages/productionReturn/coms/comReturn.vue
@@ -0,0 +1,512 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturnCommonRequest.vue b/pages/productionReturn/coms/comReturnCommonRequest.vue
new file mode 100644
index 0000000..7b545bb
--- /dev/null
+++ b/pages/productionReturn/coms/comReturnCommonRequest.vue
@@ -0,0 +1,426 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturnDetailCard.vue b/pages/productionReturn/coms/comReturnDetailCard.vue
new file mode 100644
index 0000000..eec41e6
--- /dev/null
+++ b/pages/productionReturn/coms/comReturnDetailCard.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturnJobCard.vue b/pages/productionReturn/coms/comReturnJobCard.vue
new file mode 100644
index 0000000..9f4c26e
--- /dev/null
+++ b/pages/productionReturn/coms/comReturnJobCard.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+ 业务类型 : {{getBusinessTypeName(dataContent.businessType)}}
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturnRecord.vue b/pages/productionReturn/coms/comReturnRecord.vue
new file mode 100644
index 0000000..0236cd3
--- /dev/null
+++ b/pages/productionReturn/coms/comReturnRecord.vue
@@ -0,0 +1,177 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturnRecordTitle.vue b/pages/productionReturn/coms/comReturnRecordTitle.vue
new file mode 100644
index 0000000..d87eb49
--- /dev/null
+++ b/pages/productionReturn/coms/comReturnRecordTitle.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturnRequestCard.vue b/pages/productionReturn/coms/comReturnRequestCard.vue
new file mode 100644
index 0000000..cda5359
--- /dev/null
+++ b/pages/productionReturn/coms/comReturnRequestCard.vue
@@ -0,0 +1,36 @@
+
+
+
+
+ 车间代码 : {{dataContent.workshopCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturnRequestCreator.vue b/pages/productionReturn/coms/comReturnRequestCreator.vue
new file mode 100644
index 0000000..b6f73f6
--- /dev/null
+++ b/pages/productionReturn/coms/comReturnRequestCreator.vue
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturnRequestInfo.vue b/pages/productionReturn/coms/comReturnRequestInfo.vue
new file mode 100644
index 0000000..4bed79f
--- /dev/null
+++ b/pages/productionReturn/coms/comReturnRequestInfo.vue
@@ -0,0 +1,57 @@
+
+
+
+
+ 车间
+ {{workShopCode}}
+
+
+ 生产线
+ {{dataContent.productionLineCode}}
+
+
+ 工位
+ {{ dataContent.workStationCode }}
+
+
+ 来源库位
+ {{ dataContent.fromLocationCode}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comReturnRequestPopup.vue b/pages/productionReturn/coms/comReturnRequestPopup.vue
new file mode 100644
index 0000000..1206fa2
--- /dev/null
+++ b/pages/productionReturn/coms/comReturnRequestPopup.vue
@@ -0,0 +1,377 @@
+
+
+
+
+
+
+
+ {{title}}
+
+
+
+
+
+
+
+ 位置 :
+
+
+ {{positionInfo}}
+
+
+
+
+
+
+
+
+
+ 物料:
+
+ {{itemCode}}
+
+
+
+
+
+
+
+
+
+
+
+ 数量 :
+
+
+
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/comScanReturnPack.vue b/pages/productionReturn/coms/comScanReturnPack.vue
new file mode 100644
index 0000000..b9175d3
--- /dev/null
+++ b/pages/productionReturn/coms/comScanReturnPack.vue
@@ -0,0 +1,513 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/detailInfoPopup.vue b/pages/productionReturn/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..3c0d964
--- /dev/null
+++ b/pages/productionReturn/coms/detailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+ 生产线代码 :
+ {{dataContent.productionLineCode}}
+
+
+ 工位代码 :
+ {{dataContent.workStationCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/jobInfoPopup.vue b/pages/productionReturn/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..9188858
--- /dev/null
+++ b/pages/productionReturn/coms/jobInfoPopup.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+ 车间代码 :
+ {{dataContent.workshopCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/jobListPopup.vue b/pages/productionReturn/coms/jobListPopup.vue
new file mode 100644
index 0000000..4c73872
--- /dev/null
+++ b/pages/productionReturn/coms/jobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/requestDetailInfoPopup.vue b/pages/productionReturn/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..e9258a9
--- /dev/null
+++ b/pages/productionReturn/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+ 生产线代码 :
+ {{dataContent.productionLineCode}}
+
+
+ 工位代码 :
+ {{dataContent.workStationCode}}
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 从库位代码 :
+ {{dataContent.fromLocationCode}}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/requestInfoPopup.vue b/pages/productionReturn/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..685f2c6
--- /dev/null
+++ b/pages/productionReturn/coms/requestInfoPopup.vue
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/coms/returnDetailInfoPopup.vue b/pages/productionReturn/coms/returnDetailInfoPopup.vue
new file mode 100644
index 0000000..4e1973e
--- /dev/null
+++ b/pages/productionReturn/coms/returnDetailInfoPopup.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+ 标包数量 :
+ {{dataContent.stdPackQty}}
+
+
+ 标包单位 :
+ {{getStdPackUnitInfo(dataContent.stdPackUnit)}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/job/returnDetail.vue b/pages/productionReturn/job/returnDetail.vue
new file mode 100644
index 0000000..5cb8f22
--- /dev/null
+++ b/pages/productionReturn/job/returnDetail.vue
@@ -0,0 +1,515 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/job/returnJob.vue b/pages/productionReturn/job/returnJob.vue
new file mode 100644
index 0000000..9e79f81
--- /dev/null
+++ b/pages/productionReturn/job/returnJob.vue
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/record/returnToHold.vue b/pages/productionReturn/record/returnToHold.vue
new file mode 100644
index 0000000..d2b78ee
--- /dev/null
+++ b/pages/productionReturn/record/returnToHold.vue
@@ -0,0 +1,559 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/record/returnToStore.vue b/pages/productionReturn/record/returnToStore.vue
new file mode 100644
index 0000000..4ed8792
--- /dev/null
+++ b/pages/productionReturn/record/returnToStore.vue
@@ -0,0 +1,600 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/request/requestDetail.vue b/pages/productionReturn/request/requestDetail.vue
new file mode 100644
index 0000000..1dba06a
--- /dev/null
+++ b/pages/productionReturn/request/requestDetail.vue
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/request/returnRequestCreate.vue b/pages/productionReturn/request/returnRequestCreate.vue
new file mode 100644
index 0000000..a204b7d
--- /dev/null
+++ b/pages/productionReturn/request/returnRequestCreate.vue
@@ -0,0 +1,228 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/request/returnToHoldRequest.vue b/pages/productionReturn/request/returnToHoldRequest.vue
new file mode 100644
index 0000000..47463da
--- /dev/null
+++ b/pages/productionReturn/request/returnToHoldRequest.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/productionReturn/request/returnToStoreRequest.vue b/pages/productionReturn/request/returnToStoreRequest.vue
new file mode 100644
index 0000000..2bcde74
--- /dev/null
+++ b/pages/productionReturn/request/returnToStoreRequest.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReceipt/coms/comReceiptDetailCard.vue b/pages/purchaseReceipt/coms/comReceiptDetailCard.vue
new file mode 100644
index 0000000..da34e49
--- /dev/null
+++ b/pages/purchaseReceipt/coms/comReceiptDetailCard.vue
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReceipt/coms/comReceiptJobCard.vue b/pages/purchaseReceipt/coms/comReceiptJobCard.vue
new file mode 100644
index 0000000..8c8ddfd
--- /dev/null
+++ b/pages/purchaseReceipt/coms/comReceiptJobCard.vue
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+ 发货单号 : {{dataContent.asnNumber}}
+
+
+
+
+ 供应商代码 : {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReceipt/coms/receiptDetailInfoPopup.vue b/pages/purchaseReceipt/coms/receiptDetailInfoPopup.vue
new file mode 100644
index 0000000..b44816c
--- /dev/null
+++ b/pages/purchaseReceipt/coms/receiptDetailInfoPopup.vue
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+ 标包数量 :
+ {{dataContent.stdPackQty}}
+
+
+ 标包单位 :
+ {{getStdPackUnitInfo(dataContent.stdPackUnit)}}
+
+
+ 供应商计量数量 :
+ {{dataContent.supplierQty}}
+
+
+ 供应商计量单位 :
+ {{getStdPackUnitInfo(dataContent.supplierUom)}}
+
+
+ 转换率 :
+ {{dataContent.convertRate}}
+
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+ 项目代码 :
+ {{dataContent.projectCode}}
+
+
+ 到货日期 :
+ {{dateFormat(dataContent.arriveDate)}}
+
+
+ 生产日期 :
+ {{dateFormat(dataContent.produceDate)}}
+
+
+ 过期日期 :
+ {{dateFormat(dataContent.expireDate)}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReceipt/coms/receiptInfoPopup.vue b/pages/purchaseReceipt/coms/receiptInfoPopup.vue
new file mode 100644
index 0000000..dc5bf8e
--- /dev/null
+++ b/pages/purchaseReceipt/coms/receiptInfoPopup.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+ 发货单号 :
+ {{dataContent.asnNumber}}
+
+
+ 要货计划单号 :
+ {{dataContent.ppNumber}}
+
+
+ 供应商代码 :
+ {{dataContent.carrierCode}}
+
+
+ 承运商 :
+ {{dataContent.carrierCode}}
+
+
+ 运输方式 :
+ {{getTransferModeName(dataContent.transferMode)}}
+
+
+ 车牌号 :
+ {{dataContent.vehiclePlateNumber}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReceipt/coms/receiptJobListPopup.vue b/pages/purchaseReceipt/coms/receiptJobListPopup.vue
new file mode 100644
index 0000000..c1e6bcf
--- /dev/null
+++ b/pages/purchaseReceipt/coms/receiptJobListPopup.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReceipt/job/receiptDetail.vue b/pages/purchaseReceipt/job/receiptDetail.vue
new file mode 100644
index 0000000..19fe596
--- /dev/null
+++ b/pages/purchaseReceipt/job/receiptDetail.vue
@@ -0,0 +1,518 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReceipt/job/receiptJob.vue b/pages/purchaseReceipt/job/receiptJob.vue
new file mode 100644
index 0000000..0c720e2
--- /dev/null
+++ b/pages/purchaseReceipt/job/receiptJob.vue
@@ -0,0 +1,302 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/coms/comReturnJobCard.vue b/pages/purchaseReturn/coms/comReturnJobCard.vue
new file mode 100644
index 0000000..154820a
--- /dev/null
+++ b/pages/purchaseReturn/coms/comReturnJobCard.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+
+ 供应商 : {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/coms/comReturnRequestCard.vue b/pages/purchaseReturn/coms/comReturnRequestCard.vue
new file mode 100644
index 0000000..ee1589b
--- /dev/null
+++ b/pages/purchaseReturn/coms/comReturnRequestCard.vue
@@ -0,0 +1,39 @@
+
+
+
+
+ 收货单号 : {{dataContent.purchaseReceiptRecordNumber}}
+
+
+ 供应商代码 : {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/coms/requestDetailInfoPopup.vue b/pages/purchaseReturn/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..b7edbb2
--- /dev/null
+++ b/pages/purchaseReturn/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/coms/requestInfoPopup.vue b/pages/purchaseReturn/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..80d32c4
--- /dev/null
+++ b/pages/purchaseReturn/coms/requestInfoPopup.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/coms/returnDetailInfoPopup.vue b/pages/purchaseReturn/coms/returnDetailInfoPopup.vue
new file mode 100644
index 0000000..642fa7e
--- /dev/null
+++ b/pages/purchaseReturn/coms/returnDetailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/coms/returnInfoPopup.vue b/pages/purchaseReturn/coms/returnInfoPopup.vue
new file mode 100644
index 0000000..abef135
--- /dev/null
+++ b/pages/purchaseReturn/coms/returnInfoPopup.vue
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+ 发货单号 :
+ {{dataContent.asnNumber}}
+
+
+ 要货计划单号 :
+ {{dataContent.ppNumber}}
+
+
+ 供应商代码 :
+ {{dataContent.supplierCode}}
+
+
+ 承运商 :
+ {{dataContent.carrierCode}}
+
+
+ 运输方式 :
+ {{getTransferModeName(dataContent.transferMode)}}
+
+
+ 车牌号 :
+ {{dataContent.vehiclePlateNumber}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/coms/returnJobListPopup.vue b/pages/purchaseReturn/coms/returnJobListPopup.vue
new file mode 100644
index 0000000..56759af
--- /dev/null
+++ b/pages/purchaseReturn/coms/returnJobListPopup.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/job/returnDetail.vue b/pages/purchaseReturn/job/returnDetail.vue
new file mode 100644
index 0000000..b7a7205
--- /dev/null
+++ b/pages/purchaseReturn/job/returnDetail.vue
@@ -0,0 +1,471 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/job/returnJob.vue b/pages/purchaseReturn/job/returnJob.vue
new file mode 100644
index 0000000..3e0fec9
--- /dev/null
+++ b/pages/purchaseReturn/job/returnJob.vue
@@ -0,0 +1,305 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/record/returnRecord.vue b/pages/purchaseReturn/record/returnRecord.vue
new file mode 100644
index 0000000..2ba1de4
--- /dev/null
+++ b/pages/purchaseReturn/record/returnRecord.vue
@@ -0,0 +1,398 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/request/returnRequest.vue b/pages/purchaseReturn/request/returnRequest.vue
new file mode 100644
index 0000000..710dc47
--- /dev/null
+++ b/pages/purchaseReturn/request/returnRequest.vue
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/request/returnRequestCreate.vue b/pages/purchaseReturn/request/returnRequestCreate.vue
new file mode 100644
index 0000000..d308530
--- /dev/null
+++ b/pages/purchaseReturn/request/returnRequestCreate.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/purchaseReturn/request/returnRequestDetail.vue b/pages/purchaseReturn/request/returnRequestDetail.vue
new file mode 100644
index 0000000..96deb92
--- /dev/null
+++ b/pages/purchaseReturn/request/returnRequestDetail.vue
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/coms/comPutawayJobCard.vue b/pages/putaway/coms/comPutawayJobCard.vue
new file mode 100644
index 0000000..4f19c5d
--- /dev/null
+++ b/pages/putaway/coms/comPutawayJobCard.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+
+
+ 客户代码 : {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/coms/comPutawayRequestCard.vue b/pages/putaway/coms/comPutawayRequestCard.vue
new file mode 100644
index 0000000..e142866
--- /dev/null
+++ b/pages/putaway/coms/comPutawayRequestCard.vue
@@ -0,0 +1,36 @@
+
+
+
+
+ 供应商代码 : {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/coms/putawayDetailInfoPopup.vue b/pages/putaway/coms/putawayDetailInfoPopup.vue
new file mode 100644
index 0000000..eef803f
--- /dev/null
+++ b/pages/putaway/coms/putawayDetailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/coms/putawayInfoPopup.vue b/pages/putaway/coms/putawayInfoPopup.vue
new file mode 100644
index 0000000..e3e2e79
--- /dev/null
+++ b/pages/putaway/coms/putawayInfoPopup.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+ 供应商代码 :
+ {{dataContent.carrierCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/coms/putawayJobListPopup.vue b/pages/putaway/coms/putawayJobListPopup.vue
new file mode 100644
index 0000000..9a17ec1
--- /dev/null
+++ b/pages/putaway/coms/putawayJobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/coms/requestDetailInfoPopup.vue b/pages/putaway/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..21a597b
--- /dev/null
+++ b/pages/putaway/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+
+ 从库位代码 :
+ {{dataContent.fromLocationCode}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/coms/requestInfoPopup.vue b/pages/putaway/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..d4aed62
--- /dev/null
+++ b/pages/putaway/coms/requestInfoPopup.vue
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/job/putawayDetail.vue b/pages/putaway/job/putawayDetail.vue
new file mode 100644
index 0000000..8e6cea6
--- /dev/null
+++ b/pages/putaway/job/putawayDetail.vue
@@ -0,0 +1,515 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/job/putawayJob.vue b/pages/putaway/job/putawayJob.vue
new file mode 100644
index 0000000..6a3069f
--- /dev/null
+++ b/pages/putaway/job/putawayJob.vue
@@ -0,0 +1,289 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/record/putawayRecord.vue b/pages/putaway/record/putawayRecord.vue
new file mode 100644
index 0000000..be7af0b
--- /dev/null
+++ b/pages/putaway/record/putawayRecord.vue
@@ -0,0 +1,507 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/request/putawayRequest.vue b/pages/putaway/request/putawayRequest.vue
new file mode 100644
index 0000000..c46f125
--- /dev/null
+++ b/pages/putaway/request/putawayRequest.vue
@@ -0,0 +1,397 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/request/putawayRequestCreate.vue b/pages/putaway/request/putawayRequestCreate.vue
new file mode 100644
index 0000000..3dcbcfc
--- /dev/null
+++ b/pages/putaway/request/putawayRequestCreate.vue
@@ -0,0 +1,431 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/putaway/request/putawayRequestDetail.vue b/pages/putaway/request/putawayRequestDetail.vue
new file mode 100644
index 0000000..cb5340e
--- /dev/null
+++ b/pages/putaway/request/putawayRequestDetail.vue
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/query/coms/comItemBalance.vue b/pages/query/coms/comItemBalance.vue
new file mode 100644
index 0000000..3205e09
--- /dev/null
+++ b/pages/query/coms/comItemBalance.vue
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/query/coms/comItemDetailCard.vue b/pages/query/coms/comItemDetailCard.vue
new file mode 100644
index 0000000..806094a
--- /dev/null
+++ b/pages/query/coms/comItemDetailCard.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/query/coms/comLocationDetailCard.vue b/pages/query/coms/comLocationDetailCard.vue
new file mode 100644
index 0000000..d43e7d7
--- /dev/null
+++ b/pages/query/coms/comLocationDetailCard.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/query/container.vue b/pages/query/container.vue
new file mode 100644
index 0000000..5976b97
--- /dev/null
+++ b/pages/query/container.vue
@@ -0,0 +1,280 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 、
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/query/item.vue b/pages/query/item.vue
new file mode 100644
index 0000000..d2036a1
--- /dev/null
+++ b/pages/query/item.vue
@@ -0,0 +1,302 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/query/item_copy.vue b/pages/query/item_copy.vue
new file mode 100644
index 0000000..310f738
--- /dev/null
+++ b/pages/query/item_copy.vue
@@ -0,0 +1,313 @@
+
+
+
+
+
+
+
+
+
+
+ {{ tab.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/query/location.vue b/pages/query/location.vue
new file mode 100644
index 0000000..cb61e4e
--- /dev/null
+++ b/pages/query/location.vue
@@ -0,0 +1,257 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/query/location_copy.vue b/pages/query/location_copy.vue
new file mode 100644
index 0000000..a31f1f1
--- /dev/null
+++ b/pages/query/location_copy.vue
@@ -0,0 +1,279 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ tab.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/comRepleinshJobCard.vue b/pages/repleinsh/coms/comRepleinshJobCard.vue
new file mode 100644
index 0000000..42adb98
--- /dev/null
+++ b/pages/repleinsh/coms/comRepleinshJobCard.vue
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/comRepleinshRequestCard.vue b/pages/repleinsh/coms/comRepleinshRequestCard.vue
new file mode 100644
index 0000000..e142866
--- /dev/null
+++ b/pages/repleinsh/coms/comRepleinshRequestCard.vue
@@ -0,0 +1,36 @@
+
+
+
+
+ 供应商代码 : {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/comRepleinshRequestPopup.vue b/pages/repleinsh/coms/comRepleinshRequestPopup.vue
new file mode 100644
index 0000000..b3a21ed
--- /dev/null
+++ b/pages/repleinsh/coms/comRepleinshRequestPopup.vue
@@ -0,0 +1,320 @@
+
+
+
+
+
+
+
+ {{title}}
+
+
+
+
+
+
+
+ 目标库位:
+
+ {{toLocationCode}}
+
+
+
+
+
+
+
+
+
+ 物料:
+
+ {{itemCode}}
+
+
+
+
+
+
+
+
+
+ 数量:
+
+
+
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/comRepleishDetailCard.vue b/pages/repleinsh/coms/comRepleishDetailCard.vue
new file mode 100644
index 0000000..8aa9bec
--- /dev/null
+++ b/pages/repleinsh/coms/comRepleishDetailCard.vue
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 实际
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/comScanReplishPack.vue b/pages/repleinsh/coms/comScanReplishPack.vue
new file mode 100644
index 0000000..2568434
--- /dev/null
+++ b/pages/repleinsh/coms/comScanReplishPack.vue
@@ -0,0 +1,531 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/repleinshDetailInfoPopup.vue b/pages/repleinsh/coms/repleinshDetailInfoPopup.vue
new file mode 100644
index 0000000..eef803f
--- /dev/null
+++ b/pages/repleinsh/coms/repleinshDetailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/repleinshInfoPopup.vue b/pages/repleinsh/coms/repleinshInfoPopup.vue
new file mode 100644
index 0000000..88b2e0f
--- /dev/null
+++ b/pages/repleinsh/coms/repleinshInfoPopup.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+ 从库位类型范围 :
+ {{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}}
+
+
+ 到库位类型范围 :
+ {{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}}
+
+
+ 从库区代码范围 :
+ {{dataContent.fromAreaCodes}}
+
+
+ 到库区代码范围 :
+ {{dataContent.toAreaCodes}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/repleinshJobListPopup.vue b/pages/repleinsh/coms/repleinshJobListPopup.vue
new file mode 100644
index 0000000..9a17ec1
--- /dev/null
+++ b/pages/repleinsh/coms/repleinshJobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/requestDetailInfoPopup.vue b/pages/repleinsh/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..21a597b
--- /dev/null
+++ b/pages/repleinsh/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+
+ 从库位代码 :
+ {{dataContent.fromLocationCode}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/coms/requestInfoPopup.vue b/pages/repleinsh/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..14f9d09
--- /dev/null
+++ b/pages/repleinsh/coms/requestInfoPopup.vue
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+ 从仓库代码 :
+ {{dataContent.fromWarehouseCode}}
+
+
+ 到仓库代码 :
+ {{dataContent.toWarehouseCode}}
+
+
+ 从库位类型范围 :
+ {{getLocationTypeNameList(getDirectoryItemArray(dataContent.fromLocationTypes))}}
+
+
+ 到库位类型范围 :
+ {{getLocationTypeNameList(getDirectoryItemArray(dataContent.toLocationTypes))}}
+
+
+
+ 从库区代码范围 :
+ {{dataContent.fromAreaCodes}}
+
+
+ 到库区代码范围 :
+ {{dataContent.toAreaCodes}}
+
+
+
+ 供应商代码 :
+ {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/job/repleinshDetail.vue b/pages/repleinsh/job/repleinshDetail.vue
new file mode 100644
index 0000000..9f0cd00
--- /dev/null
+++ b/pages/repleinsh/job/repleinshDetail.vue
@@ -0,0 +1,499 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/job/repleinshJob.vue b/pages/repleinsh/job/repleinshJob.vue
new file mode 100644
index 0000000..b5084a2
--- /dev/null
+++ b/pages/repleinsh/job/repleinshJob.vue
@@ -0,0 +1,286 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/record/repleinshRecord.vue b/pages/repleinsh/record/repleinshRecord.vue
new file mode 100644
index 0000000..9c2b8c9
--- /dev/null
+++ b/pages/repleinsh/record/repleinshRecord.vue
@@ -0,0 +1,566 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/request/repleinshRequest.vue b/pages/repleinsh/request/repleinshRequest.vue
new file mode 100644
index 0000000..3af80d3
--- /dev/null
+++ b/pages/repleinsh/request/repleinshRequest.vue
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/repleinsh/request/repleinshRequestDetail.vue b/pages/repleinsh/request/repleinshRequestDetail.vue
new file mode 100644
index 0000000..2555013
--- /dev/null
+++ b/pages/repleinsh/request/repleinshRequestDetail.vue
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/coms/comScrapDetailCard.vue b/pages/scrap/coms/comScrapDetailCard.vue
new file mode 100644
index 0000000..38f3944
--- /dev/null
+++ b/pages/scrap/coms/comScrapDetailCard.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/coms/comScrapJobCard.vue b/pages/scrap/coms/comScrapJobCard.vue
new file mode 100644
index 0000000..037ee32
--- /dev/null
+++ b/pages/scrap/coms/comScrapJobCard.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/coms/comScrapRequestCard.vue b/pages/scrap/coms/comScrapRequestCard.vue
new file mode 100644
index 0000000..23d744a
--- /dev/null
+++ b/pages/scrap/coms/comScrapRequestCard.vue
@@ -0,0 +1,36 @@
+
+
+
+
+ 从仓库代码 : {{dataContent.fromWarehouseCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/coms/requestDetailInfoPopup.vue b/pages/scrap/coms/requestDetailInfoPopup.vue
new file mode 100644
index 0000000..4c965d1
--- /dev/null
+++ b/pages/scrap/coms/requestDetailInfoPopup.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 从库位代码 :
+ {{dataContent.fromLocationCode}}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 原因 :
+ {{dataContent.reason}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/coms/requestInfoPopup.vue b/pages/scrap/coms/requestInfoPopup.vue
new file mode 100644
index 0000000..871a73f
--- /dev/null
+++ b/pages/scrap/coms/requestInfoPopup.vue
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/coms/scrapDetailInfoPopup.vue b/pages/scrap/coms/scrapDetailInfoPopup.vue
new file mode 100644
index 0000000..7a5ba51
--- /dev/null
+++ b/pages/scrap/coms/scrapDetailInfoPopup.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+ 标包数量 :
+ {{dataContent.stdPackQty}}
+
+
+ 标包单位 :
+ {{dataContent.stdPackUnit}}
+
+
+ 供应商计量数量 :
+ {{dataContent.supplierQty}}
+
+
+ 供应商计量单位 :
+ {{dataContent.supplierUom}}
+
+
+ 转换率 :
+ {{dataContent.convertRate}}
+
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+ 项目代码 :
+ {{dataContent.projectCode}}
+
+
+ 到货日期 :
+ {{dataContent.arriveDate}}
+
+
+ 生产日期 :
+ {{dataContent.produceDate}}
+
+
+ 过期日期 :
+ {{dataContent.expireDate}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/coms/scrapInfoPopup.vue b/pages/scrap/coms/scrapInfoPopup.vue
new file mode 100644
index 0000000..8bb7ec3
--- /dev/null
+++ b/pages/scrap/coms/scrapInfoPopup.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+ 发货单号 :
+ {{dataContent.asnNumber}}
+
+
+ 要货计划单号 :
+ {{dataContent.ppNumber}}
+
+
+ 供应商代码 :
+ {{dataContent.carrierCode}}
+
+
+ 承运商 :
+ {{dataContent.carrierCode}}
+
+
+ 运输方式 :
+ {{dataContent.transferMode}}
+
+
+ 车牌号 :
+ {{dataContent.vehiclePlateNumber}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/coms/scrapJobListPopup.vue b/pages/scrap/coms/scrapJobListPopup.vue
new file mode 100644
index 0000000..66af3f1
--- /dev/null
+++ b/pages/scrap/coms/scrapJobListPopup.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/job/scrapJob.vue b/pages/scrap/job/scrapJob.vue
new file mode 100644
index 0000000..7648546
--- /dev/null
+++ b/pages/scrap/job/scrapJob.vue
@@ -0,0 +1,283 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/job/scrapJobDetail.vue b/pages/scrap/job/scrapJobDetail.vue
new file mode 100644
index 0000000..6574746
--- /dev/null
+++ b/pages/scrap/job/scrapJobDetail.vue
@@ -0,0 +1,449 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/record/scrapRecord.vue b/pages/scrap/record/scrapRecord.vue
new file mode 100644
index 0000000..a5de67d
--- /dev/null
+++ b/pages/scrap/record/scrapRecord.vue
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+
+ 报废原因 :
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/request/scrapRequestCreate.vue b/pages/scrap/request/scrapRequestCreate.vue
new file mode 100644
index 0000000..1fb3df4
--- /dev/null
+++ b/pages/scrap/request/scrapRequestCreate.vue
@@ -0,0 +1,390 @@
+
+
+
+
+
+
+
+ 报废原因:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/request/scrapRequestDetail.vue b/pages/scrap/request/scrapRequestDetail.vue
new file mode 100644
index 0000000..4ba2c28
--- /dev/null
+++ b/pages/scrap/request/scrapRequestDetail.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/scrap/request/scrapRrequest.vue b/pages/scrap/request/scrapRrequest.vue
new file mode 100644
index 0000000..25a10de
--- /dev/null
+++ b/pages/scrap/request/scrapRrequest.vue
@@ -0,0 +1,390 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/setter/index.vue b/pages/setter/index.vue
new file mode 100644
index 0000000..9b616cf
--- /dev/null
+++ b/pages/setter/index.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+ {{userName}}
+ {{userInfo.dept.name}}
+ {{(userInfo.posts || []).map(post => post.name).join(',')}}
+ {{(userInfo.roles || []).map(role => role.name).join(',')}}
+
+
+ {{version}}
+
+ {{version}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/setter/passwordpage.vue b/pages/setter/passwordpage.vue
new file mode 100644
index 0000000..72434c6
--- /dev/null
+++ b/pages/setter/passwordpage.vue
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/setter/setterDetail.vue b/pages/setter/setterDetail.vue
new file mode 100644
index 0000000..708e6d0
--- /dev/null
+++ b/pages/setter/setterDetail.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supplierDeliver/coms/comRecordCard.vue b/pages/supplierDeliver/coms/comRecordCard.vue
new file mode 100644
index 0000000..1c6e0c4
--- /dev/null
+++ b/pages/supplierDeliver/coms/comRecordCard.vue
@@ -0,0 +1,43 @@
+
+
+
+
+
+ 发货单号 : {{dataContent.asnNumber}}
+
+
+
+
+ 供应商代码 : {{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/supplierDeliver/coms/comRecordDetailCard.vue b/pages/supplierDeliver/coms/comRecordDetailCard.vue
new file mode 100644
index 0000000..0802152
--- /dev/null
+++ b/pages/supplierDeliver/coms/comRecordDetailCard.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supplierDeliver/coms/recordDetailInfoPopup.vue b/pages/supplierDeliver/coms/recordDetailInfoPopup.vue
new file mode 100644
index 0000000..7ef4023
--- /dev/null
+++ b/pages/supplierDeliver/coms/recordDetailInfoPopup.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supplierDeliver/coms/recordInfoPopup.vue b/pages/supplierDeliver/coms/recordInfoPopup.vue
new file mode 100644
index 0000000..8eadb47
--- /dev/null
+++ b/pages/supplierDeliver/coms/recordInfoPopup.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supplierDeliver/coms/recordListDetailPop.vue b/pages/supplierDeliver/coms/recordListDetailPop.vue
new file mode 100644
index 0000000..a8dae9b
--- /dev/null
+++ b/pages/supplierDeliver/coms/recordListDetailPop.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+ 出库事务类型 :
+ {{dataContent.outTransaction}}
+
+
+ 入库事务类型 :
+ {{dataContent.inTransaction}}
+
+
+ 执行时间 :
+ {{formatDate(dataContent.executeTime)}}
+
+
+ 生效日期 :
+ {{formatDate(dataContent.activeDate)}}
+
+
+ 申请时间 :
+ {{formatDate(dataContent.requestTime)}}
+
+
+ 截止时间 :
+ {{formatDate(dataContent.dueTime)}}
+
+
+ 部门 :
+ {{dataContent.departmentCode}}
+
+
+ 岗位 : 数据库中没有该字段,设计中有
+ {{dataContent.userPositionCode}}
+
+
+ 是否可用 :
+ {{avaliable(dataContent.available)}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supplierDeliver/coms/recordListPopup.vue b/pages/supplierDeliver/coms/recordListPopup.vue
new file mode 100644
index 0000000..88edbd1
--- /dev/null
+++ b/pages/supplierDeliver/coms/recordListPopup.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supplierDeliver/coms/recordtDetailInfoPopup.vue b/pages/supplierDeliver/coms/recordtDetailInfoPopup.vue
new file mode 100644
index 0000000..7a5ba51
--- /dev/null
+++ b/pages/supplierDeliver/coms/recordtDetailInfoPopup.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+ 标包数量 :
+ {{dataContent.stdPackQty}}
+
+
+ 标包单位 :
+ {{dataContent.stdPackUnit}}
+
+
+ 供应商计量数量 :
+ {{dataContent.supplierQty}}
+
+
+ 供应商计量单位 :
+ {{dataContent.supplierUom}}
+
+
+ 转换率 :
+ {{dataContent.convertRate}}
+
+
+
+
+
+
+
+
+ 订单号 :
+ {{dataContent.poNumber}}
+
+
+ 订单行 :
+ {{dataContent.poLine}}
+
+
+ 项目代码 :
+ {{dataContent.projectCode}}
+
+
+ 到货日期 :
+ {{dataContent.arriveDate}}
+
+
+ 生产日期 :
+ {{dataContent.produceDate}}
+
+
+ 过期日期 :
+ {{dataContent.expireDate}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supplierDeliver/record/supplierDeliverRecord.vue b/pages/supplierDeliver/record/supplierDeliverRecord.vue
new file mode 100644
index 0000000..16313ac
--- /dev/null
+++ b/pages/supplierDeliver/record/supplierDeliverRecord.vue
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/supplierDeliver/record/supplierDeliverRecordDetail.vue b/pages/supplierDeliver/record/supplierDeliverRecordDetail.vue
new file mode 100644
index 0000000..6e5a72e
--- /dev/null
+++ b/pages/supplierDeliver/record/supplierDeliverRecordDetail.vue
@@ -0,0 +1,247 @@
+
+
+
+
+
+
+ 发货单号 :{{dataContent.asnNumber}}
+
+
+ 供应商代码 :{{dataContent.supplierCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/coms/comReceiptDetailCard.vue b/pages/transfer/coms/comReceiptDetailCard.vue
new file mode 100644
index 0000000..3ffa47a
--- /dev/null
+++ b/pages/transfer/coms/comReceiptDetailCard.vue
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/coms/comTransferJobCard.vue b/pages/transfer/coms/comTransferJobCard.vue
new file mode 100644
index 0000000..98946e3
--- /dev/null
+++ b/pages/transfer/coms/comTransferJobCard.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/coms/comTransferRecord.vue b/pages/transfer/coms/comTransferRecord.vue
new file mode 100644
index 0000000..cf58ebc
--- /dev/null
+++ b/pages/transfer/coms/comTransferRecord.vue
@@ -0,0 +1,487 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/coms/detailInfoPopup.vue b/pages/transfer/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..4b64c50
--- /dev/null
+++ b/pages/transfer/coms/detailInfoPopup.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/coms/jobInfoPopup.vue b/pages/transfer/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..ae2a0e9
--- /dev/null
+++ b/pages/transfer/coms/jobInfoPopup.vue
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+ 承运商 :
+ {{dataContent.carrierCode}}
+
+
+ 运输方式 :
+ {{dataContent.transferMode}}
+
+
+ 车牌号 :
+ {{dataContent.vehiclePlateNumber}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/coms/jobListPopup.vue b/pages/transfer/coms/jobListPopup.vue
new file mode 100644
index 0000000..4301be0
--- /dev/null
+++ b/pages/transfer/coms/jobListPopup.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/job/issueDetail.vue b/pages/transfer/job/issueDetail.vue
new file mode 100644
index 0000000..3f9598d
--- /dev/null
+++ b/pages/transfer/job/issueDetail.vue
@@ -0,0 +1,525 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/job/issueJob.vue b/pages/transfer/job/issueJob.vue
new file mode 100644
index 0000000..674c191
--- /dev/null
+++ b/pages/transfer/job/issueJob.vue
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/job/receiptDetail.vue b/pages/transfer/job/receiptDetail.vue
new file mode 100644
index 0000000..72635b7
--- /dev/null
+++ b/pages/transfer/job/receiptDetail.vue
@@ -0,0 +1,563 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/job/receiptJob.vue b/pages/transfer/job/receiptJob.vue
new file mode 100644
index 0000000..87c65a8
--- /dev/null
+++ b/pages/transfer/job/receiptJob.vue
@@ -0,0 +1,286 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/job/transferDetail.vue b/pages/transfer/job/transferDetail.vue
new file mode 100644
index 0000000..982bef9
--- /dev/null
+++ b/pages/transfer/job/transferDetail.vue
@@ -0,0 +1,584 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/job/transferJob.vue b/pages/transfer/job/transferJob.vue
new file mode 100644
index 0000000..05d185a
--- /dev/null
+++ b/pages/transfer/job/transferJob.vue
@@ -0,0 +1,315 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/record/deliverRecord.vue b/pages/transfer/record/deliverRecord.vue
new file mode 100644
index 0000000..a99a719
--- /dev/null
+++ b/pages/transfer/record/deliverRecord.vue
@@ -0,0 +1,460 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/transfer/record/receiptRecord.vue b/pages/transfer/record/receiptRecord.vue
new file mode 100644
index 0000000..51c6e5a
--- /dev/null
+++ b/pages/transfer/record/receiptRecord.vue
@@ -0,0 +1,438 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/comBalance.vue b/pages/unPlanned/coms/comBalance.vue
new file mode 100644
index 0000000..45e326f
--- /dev/null
+++ b/pages/unPlanned/coms/comBalance.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/comIssueDetailCard.vue b/pages/unPlanned/coms/comIssueDetailCard.vue
new file mode 100644
index 0000000..3564b84
--- /dev/null
+++ b/pages/unPlanned/coms/comIssueDetailCard.vue
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/comIssueJobCard.vue b/pages/unPlanned/coms/comIssueJobCard.vue
new file mode 100644
index 0000000..98946e3
--- /dev/null
+++ b/pages/unPlanned/coms/comIssueJobCard.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/comIssueRequestCard.vue b/pages/unPlanned/coms/comIssueRequestCard.vue
new file mode 100644
index 0000000..3ca67a9
--- /dev/null
+++ b/pages/unPlanned/coms/comIssueRequestCard.vue
@@ -0,0 +1,34 @@
+
+
+
+ 从仓库代码 : {{dataContent.fromWarehouseCode}}
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/comReceiptDetailCard.vue b/pages/unPlanned/coms/comReceiptDetailCard.vue
new file mode 100644
index 0000000..6c50a26
--- /dev/null
+++ b/pages/unPlanned/coms/comReceiptDetailCard.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/comReceiptJobCard.vue b/pages/unPlanned/coms/comReceiptJobCard.vue
new file mode 100644
index 0000000..98946e3
--- /dev/null
+++ b/pages/unPlanned/coms/comReceiptJobCard.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+ 申请单号 : {{dataContent.requestNumber}}
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/comReceiptRecord.vue b/pages/unPlanned/coms/comReceiptRecord.vue
new file mode 100644
index 0000000..ca3b418
--- /dev/null
+++ b/pages/unPlanned/coms/comReceiptRecord.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/comReceiptRequestCard.vue b/pages/unPlanned/coms/comReceiptRequestCard.vue
new file mode 100644
index 0000000..f9784b4
--- /dev/null
+++ b/pages/unPlanned/coms/comReceiptRequestCard.vue
@@ -0,0 +1,36 @@
+
+
+
+
+ 到仓库代码 : {{dataContent.toWarehouseCode}}
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/comReceiptRequestPopup.vue b/pages/unPlanned/coms/comReceiptRequestPopup.vue
new file mode 100644
index 0000000..583541f
--- /dev/null
+++ b/pages/unPlanned/coms/comReceiptRequestPopup.vue
@@ -0,0 +1,260 @@
+
+
+
+
+
+
+
+ {{title}}
+
+
+
+
+
+
+
+
+ 库位:
+
+ {{toLocationCode}}
+
+
+
+
+
+
+
+
+
+
+ 物料:
+
+ {{itemCode}}
+
+
+
+
+
+
+
+
+
+
+
+ 数量 :
+
+
+
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/detailInfoPopup.vue b/pages/unPlanned/coms/detailInfoPopup.vue
new file mode 100644
index 0000000..be4a571
--- /dev/null
+++ b/pages/unPlanned/coms/detailInfoPopup.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+ 原因 :
+ {{dataContent.Reason}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/jobInfoPopup.vue b/pages/unPlanned/coms/jobInfoPopup.vue
new file mode 100644
index 0000000..f361f30
--- /dev/null
+++ b/pages/unPlanned/coms/jobInfoPopup.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/jobListPopup.vue b/pages/unPlanned/coms/jobListPopup.vue
new file mode 100644
index 0000000..d57df20
--- /dev/null
+++ b/pages/unPlanned/coms/jobListPopup.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/requestIssDetailInfoPopup.vue b/pages/unPlanned/coms/requestIssDetailInfoPopup.vue
new file mode 100644
index 0000000..0e72cf6
--- /dev/null
+++ b/pages/unPlanned/coms/requestIssDetailInfoPopup.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 从库位代码 :
+ {{dataContent.fromLocationCode}}
+
+
+ 从货主代码 :
+ {{dataContent.fromOwnerCode}}
+
+
+ 原因 :
+ {{dataContent.reason}}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/requestIssInfoPopup.vue b/pages/unPlanned/coms/requestIssInfoPopup.vue
new file mode 100644
index 0000000..dc6bf5e
--- /dev/null
+++ b/pages/unPlanned/coms/requestIssInfoPopup.vue
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/requestRecDetailInfoPopup.vue b/pages/unPlanned/coms/requestRecDetailInfoPopup.vue
new file mode 100644
index 0000000..8f8d799
--- /dev/null
+++ b/pages/unPlanned/coms/requestRecDetailInfoPopup.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+ 包装号 :
+ {{dataContent.packingNumber}}
+
+
+ 器具号 :
+ {{dataContent.containerNumber}}
+
+
+ 批次 :
+ {{dataContent.batch}}
+
+
+ 替代批次 :
+ {{dataContent.altBatch}}
+
+
+ 到库位代码 :
+ {{dataContent.toLocationCode}}
+
+
+ 库存状态 :
+ {{dataContent.inventoryStatus}}
+
+
+ 到货日期 :
+ {{dataContent.arriveDate}}
+
+
+ 生产日期 :
+ {{dataContent.produceDate}}
+
+
+ 过期日期 :
+ {{dataContent.expireDate}}
+
+
+ 到货主代码 :
+ {{dataContent.toOwnerCode}}
+
+
+ 原因 :
+ {{dataContent.reason}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/coms/requestRecInfoPopup.vue b/pages/unPlanned/coms/requestRecInfoPopup.vue
new file mode 100644
index 0000000..3d6fe23
--- /dev/null
+++ b/pages/unPlanned/coms/requestRecInfoPopup.vue
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/job/issueJob.vue b/pages/unPlanned/job/issueJob.vue
new file mode 100644
index 0000000..c5ef37f
--- /dev/null
+++ b/pages/unPlanned/job/issueJob.vue
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/job/issueJobDetail.vue b/pages/unPlanned/job/issueJobDetail.vue
new file mode 100644
index 0000000..44832a2
--- /dev/null
+++ b/pages/unPlanned/job/issueJobDetail.vue
@@ -0,0 +1,425 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/job/receiptJob.vue b/pages/unPlanned/job/receiptJob.vue
new file mode 100644
index 0000000..9a9b713
--- /dev/null
+++ b/pages/unPlanned/job/receiptJob.vue
@@ -0,0 +1,277 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/job/receiptJobDetail.vue b/pages/unPlanned/job/receiptJobDetail.vue
new file mode 100644
index 0000000..d73df3c
--- /dev/null
+++ b/pages/unPlanned/job/receiptJobDetail.vue
@@ -0,0 +1,412 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/record/issueRecord.vue b/pages/unPlanned/record/issueRecord.vue
new file mode 100644
index 0000000..d02d229
--- /dev/null
+++ b/pages/unPlanned/record/issueRecord.vue
@@ -0,0 +1,296 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/record/receiptRecord.vue b/pages/unPlanned/record/receiptRecord.vue
new file mode 100644
index 0000000..cec98b3
--- /dev/null
+++ b/pages/unPlanned/record/receiptRecord.vue
@@ -0,0 +1,395 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/request/issueRequest.vue b/pages/unPlanned/request/issueRequest.vue
new file mode 100644
index 0000000..7cec841
--- /dev/null
+++ b/pages/unPlanned/request/issueRequest.vue
@@ -0,0 +1,399 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/request/issueRequestCreate.vue b/pages/unPlanned/request/issueRequestCreate.vue
new file mode 100644
index 0000000..6f28beb
--- /dev/null
+++ b/pages/unPlanned/request/issueRequestCreate.vue
@@ -0,0 +1,294 @@
+
+
+
+
+
+
+
+ 出库原因:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/request/issueRequestDetail.vue b/pages/unPlanned/request/issueRequestDetail.vue
new file mode 100644
index 0000000..56586ff
--- /dev/null
+++ b/pages/unPlanned/request/issueRequestDetail.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/request/receiptRequest.vue b/pages/unPlanned/request/receiptRequest.vue
new file mode 100644
index 0000000..2871cb2
--- /dev/null
+++ b/pages/unPlanned/request/receiptRequest.vue
@@ -0,0 +1,395 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/request/receiptRequestCreate.vue b/pages/unPlanned/request/receiptRequestCreate.vue
new file mode 100644
index 0000000..5fbcc64
--- /dev/null
+++ b/pages/unPlanned/request/receiptRequestCreate.vue
@@ -0,0 +1,240 @@
+
+
+
+
+
+
+
+
+
+ 目标库位:{{detailSource.toLocationCode}}
+
+
+ 入库原因:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/unPlanned/request/receiptRequestDetail.vue b/pages/unPlanned/request/receiptRequestDetail.vue
new file mode 100644
index 0000000..1c7a299
--- /dev/null
+++ b/pages/unPlanned/request/receiptRequestDetail.vue
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/plugins/auth.js b/plugins/auth.js
new file mode 100644
index 0000000..3b91c14
--- /dev/null
+++ b/plugins/auth.js
@@ -0,0 +1,60 @@
+import store from '@/store'
+
+function authPermission(permission) {
+ const all_permission = "*:*:*"
+ const permissions = store.getters && store.getters.permissions
+ if (permission && permission.length > 0) {
+ return permissions.some(v => {
+ return all_permission === v || v === permission
+ })
+ } else {
+ return false
+ }
+}
+
+function authRole(role) {
+ const super_admin = "admin"
+ const roles = store.getters && store.getters.roles
+ if (role && role.length > 0) {
+ return roles.some(v => {
+ return super_admin === v || v === role
+ })
+ } else {
+ return false
+ }
+}
+
+export default {
+ // 验证用户是否具备某权限
+ hasPermi(permission) {
+ return authPermission(permission)
+ },
+ // 验证用户是否含有指定权限,只需包含其中一个
+ hasPermiOr(permissions) {
+ return permissions.some(item => {
+ return authPermission(item)
+ })
+ },
+ // 验证用户是否含有指定权限,必须全部拥有
+ hasPermiAnd(permissions) {
+ return permissions.every(item => {
+ return authPermission(item)
+ })
+ },
+ // 验证用户是否具备某角色
+ hasRole(role) {
+ return authRole(role)
+ },
+ // 验证用户是否含有指定角色,只需包含其中一个
+ hasRoleOr(roles) {
+ return roles.some(item => {
+ return authRole(item)
+ })
+ },
+ // 验证用户是否含有指定角色,必须全部拥有
+ hasRoleAnd(roles) {
+ return roles.every(item => {
+ return authRole(item)
+ })
+ }
+}
diff --git a/plugins/index.js b/plugins/index.js
new file mode 100644
index 0000000..d76c141
--- /dev/null
+++ b/plugins/index.js
@@ -0,0 +1,17 @@
+import tab from './tab'
+// import auth from './auth'
+import modal from './modal'
+import time from './time'
+
+export default {
+ install(app) {
+ // 页签操作
+ app.config.globalProperties.$tab = tab
+ // 认证对象
+ // Vue.prototype.$auth = auth
+ // 模态框对象
+ app.config.globalProperties.$modal = modal
+ // 时间对象
+ app.config.globalProperties.$time = time
+ }
+}
diff --git a/plugins/modal.js b/plugins/modal.js
new file mode 100644
index 0000000..5425628
--- /dev/null
+++ b/plugins/modal.js
@@ -0,0 +1,73 @@
+export default {
+ // 消息提示
+ msg(content) {
+ uni.showToast({
+ title: content,
+ icon: 'none'
+ })
+ },
+ // 错误消息
+ msgError(content) {
+ uni.showToast({
+ title: content,
+ icon: 'error'
+ })
+ },
+ // 成功消息
+ msgSuccess(content) {
+ uni.showToast({
+ title: content,
+ icon: 'success'
+ })
+ },
+ // 隐藏消息
+ hideMsg(content) {
+ uni.hideToast()
+ },
+ // 弹出提示
+ alert(content) {
+ uni.showModal({
+ title: '提示',
+ content: content,
+ showCancel: false
+ })
+ },
+ // 确认窗体
+ confirm(content,confirmText,cancelText) {
+ return new Promise((resolve, reject) => {
+ uni.showModal({
+ title: '系统提示',
+ content: content,
+ cancelText: cancelText||'取消',
+ confirmText: confirmText || '确定',
+ success: function(res) {
+ if (res.confirm) {
+ resolve(res.confirm)
+ }
+ }
+ })
+ })
+ },
+ // 提示信息
+ showToast(option) {
+ if (typeof option === "object") {
+ uni.showToast(option)
+ } else {
+ uni.showToast({
+ title: option,
+ icon: "none",
+ duration: 2500
+ })
+ }
+ },
+ // 打开遮罩层
+ loading(content) {
+ uni.showLoading({
+ title: content,
+ })
+ },
+ // 关闭遮罩层
+ closeLoading() {
+ uni.hideLoading()
+ }
+}
diff --git a/plugins/tab.js b/plugins/tab.js
new file mode 100644
index 0000000..294253d
--- /dev/null
+++ b/plugins/tab.js
@@ -0,0 +1,32 @@
+export default {
+ // 关闭所有页面,打开到应用内的某个页面
+ reLaunch(url) {
+ return uni.reLaunch({
+ url: url
+ })
+ },
+ // 跳转到tabBar页面,并关闭其他所有非tabBar页面
+ switchTab(url) {
+ return uni.switchTab({
+ url: url
+ })
+ },
+ // 关闭当前页面,跳转到应用内的某个页面
+ redirectTo(url) {
+ return uni.redirectTo({
+ url: url
+ })
+ },
+ // 保留当前页面,跳转到应用内的某个页面
+ navigateTo(url) {
+ return uni.navigateTo({
+ url: url
+ })
+ },
+ // 关闭当前页面,返回上一页面或多级页面
+ navigateBack(level) {
+ return uni.navigateBack({
+ delta:level
+ })
+ }
+}
diff --git a/plugins/time.js b/plugins/time.js
new file mode 100644
index 0000000..9f8a11c
--- /dev/null
+++ b/plugins/time.js
@@ -0,0 +1,19 @@
+export default {
+ formatDate(timestamp){
+ // 获取当前时间戳(单位:毫秒)
+ // var timestamp = Date.now(); // 或者传入特定的时间戳值
+ timestamp = timestamp ? timestamp :Date.now()
+ // 创建Date对象并设置时间戳
+ var dateObj = new Date(timestamp);
+
+ // 提取年份、月份、日期等信息
+ var year = dateObj.getFullYear();
+ var month = (dateObj.getMonth() + 1).toString().padStart(2, '0'); // 注意月份从0开始计数,所以需要加1
+ var day = dateObj.getDate().toString().padStart(2, '0');
+ var hour = dateObj.getHours().toString().padStart(2, '0');
+ var minutes = dateObj.getMinutes().toString().padStart(2, '0');
+ var seconds = dateObj.getSeconds().toString().padStart(2, '0');
+
+ return `${year}-${month}-${day} ${hour}:${minutes}:${seconds}`
+ }
+}
diff --git a/static/avatar.png b/static/avatar.png
new file mode 100644
index 0000000..cbc3c6f
Binary files /dev/null and b/static/avatar.png differ
diff --git a/static/customicons.ttf b/static/customicons.ttf
new file mode 100644
index 0000000..a3c8ab9
Binary files /dev/null and b/static/customicons.ttf differ
diff --git a/static/icon/black_count.svg b/static/icon/black_count.svg
new file mode 100644
index 0000000..7122e62
--- /dev/null
+++ b/static/icon/black_count.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/checkmark-circle.svg b/static/icon/checkmark-circle.svg
new file mode 100644
index 0000000..d16c84e
--- /dev/null
+++ b/static/icon/checkmark-circle.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/close-circle.svg b/static/icon/close-circle.svg
new file mode 100644
index 0000000..55c1ffe
--- /dev/null
+++ b/static/icon/close-circle.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/close-circle2.svg b/static/icon/close-circle2.svg
new file mode 100644
index 0000000..48be751
--- /dev/null
+++ b/static/icon/close-circle2.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/close.svg b/static/icon/close.svg
new file mode 100644
index 0000000..e6a2272
--- /dev/null
+++ b/static/icon/close.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/data-checkbox.png b/static/icon/data-checkbox.png
new file mode 100644
index 0000000..748bdcb
Binary files /dev/null and b/static/icon/data-checkbox.png differ
diff --git a/static/icon/error-circle.svg b/static/icon/error-circle.svg
new file mode 100644
index 0000000..effaa05
--- /dev/null
+++ b/static/icon/error-circle.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/icon_customer.svg b/static/icon/icon_customer.svg
new file mode 100644
index 0000000..1ec2604
--- /dev/null
+++ b/static/icon/icon_customer.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/icon_date.svg b/static/icon/icon_date.svg
new file mode 100644
index 0000000..fd7b17c
--- /dev/null
+++ b/static/icon/icon_date.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/icon_eye-fill.svg b/static/icon/icon_eye-fill.svg
new file mode 100644
index 0000000..6cabb84
--- /dev/null
+++ b/static/icon/icon_eye-fill.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/icon_eye-off-outline.svg b/static/icon/icon_eye-off-outline.svg
new file mode 100644
index 0000000..a99c7e5
--- /dev/null
+++ b/static/icon/icon_eye-off-outline.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/icon_filter.svg b/static/icon/icon_filter.svg
new file mode 100644
index 0000000..a916a83
--- /dev/null
+++ b/static/icon/icon_filter.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/iconfont.ttf b/static/icon/iconfont.ttf
new file mode 100644
index 0000000..d9c6e1a
Binary files /dev/null and b/static/icon/iconfont.ttf differ
diff --git a/static/icon/icons_camera.svg b/static/icon/icons_camera.svg
new file mode 100644
index 0000000..4c05bd8
--- /dev/null
+++ b/static/icon/icons_camera.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/icons_close-circle.svg b/static/icon/icons_close-circle.svg
new file mode 100644
index 0000000..01bb878
--- /dev/null
+++ b/static/icon/icons_close-circle.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/icons_close.svg b/static/icon/icons_close.svg
new file mode 100644
index 0000000..5574d0b
--- /dev/null
+++ b/static/icon/icons_close.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/icons_edit.svg b/static/icon/icons_edit.svg
new file mode 100644
index 0000000..e81fde4
--- /dev/null
+++ b/static/icon/icons_edit.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/icons_scan_close.svg b/static/icon/icons_scan_close.svg
new file mode 100644
index 0000000..15a32b8
--- /dev/null
+++ b/static/icon/icons_scan_close.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/light_count.svg b/static/icon/light_count.svg
new file mode 100644
index 0000000..0e4b9ab
--- /dev/null
+++ b/static/icon/light_count.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/plus.svg b/static/icon/plus.svg
new file mode 100644
index 0000000..d8c2ef6
--- /dev/null
+++ b/static/icon/plus.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/question-circle.svg b/static/icon/question-circle.svg
new file mode 100644
index 0000000..1829a60
--- /dev/null
+++ b/static/icon/question-circle.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/screen.png b/static/icon/screen.png
new file mode 100644
index 0000000..6bdb41d
Binary files /dev/null and b/static/icon/screen.png differ
diff --git a/static/icon/search.svg b/static/icon/search.svg
new file mode 100644
index 0000000..0de882b
--- /dev/null
+++ b/static/icon/search.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/warning.svg b/static/icon/warning.svg
new file mode 100644
index 0000000..a517020
--- /dev/null
+++ b/static/icon/warning.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon_personal_name.png b/static/icon_personal_name.png
new file mode 100644
index 0000000..88746da
Binary files /dev/null and b/static/icon_personal_name.png differ
diff --git a/static/icon_personal_password.png b/static/icon_personal_password.png
new file mode 100644
index 0000000..5611287
Binary files /dev/null and b/static/icon_personal_password.png differ
diff --git a/static/icon_personal_setting.png b/static/icon_personal_setting.png
new file mode 100644
index 0000000..7508cf6
Binary files /dev/null and b/static/icon_personal_setting.png differ
diff --git a/static/icons_ui/default_blank.png b/static/icons_ui/default_blank.png
new file mode 100644
index 0000000..a9f0fda
Binary files /dev/null and b/static/icons_ui/default_blank.png differ
diff --git a/static/icons_ui/default_data.png b/static/icons_ui/default_data.png
new file mode 100644
index 0000000..939913a
Binary files /dev/null and b/static/icons_ui/default_data.png differ
diff --git a/static/icons_ui/default_notpassed.png b/static/icons_ui/default_notpassed.png
new file mode 100644
index 0000000..b78385b
Binary files /dev/null and b/static/icons_ui/default_notpassed.png differ
diff --git a/static/icons_ui/icon_add.svg b/static/icons_ui/icon_add.svg
new file mode 100644
index 0000000..5edc037
--- /dev/null
+++ b/static/icons_ui/icon_add.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_apply_num.svg b/static/icons_ui/icon_apply_num.svg
new file mode 100644
index 0000000..9c098c4
--- /dev/null
+++ b/static/icons_ui/icon_apply_num.svg
@@ -0,0 +1,13 @@
+
diff --git a/static/icons_ui/icon_asn.svg b/static/icons_ui/icon_asn.svg
new file mode 100644
index 0000000..e1ab37d
--- /dev/null
+++ b/static/icons_ui/icon_asn.svg
@@ -0,0 +1,12 @@
+
diff --git a/static/icons_ui/icon_avn.svg b/static/icons_ui/icon_avn.svg
new file mode 100644
index 0000000..d2694bc
--- /dev/null
+++ b/static/icons_ui/icon_avn.svg
@@ -0,0 +1,12 @@
+
diff --git a/static/icons_ui/icon_buy_num.svg b/static/icons_ui/icon_buy_num.svg
new file mode 100644
index 0000000..9a6f363
--- /dev/null
+++ b/static/icons_ui/icon_buy_num.svg
@@ -0,0 +1,13 @@
+
diff --git a/static/icons_ui/icon_camera_black.svg b/static/icons_ui/icon_camera_black.svg
new file mode 100644
index 0000000..94c440c
--- /dev/null
+++ b/static/icons_ui/icon_camera_black.svg
@@ -0,0 +1,8 @@
+
diff --git a/static/icons_ui/icon_camera_white.svg b/static/icons_ui/icon_camera_white.svg
new file mode 100644
index 0000000..8bdb5dc
--- /dev/null
+++ b/static/icons_ui/icon_camera_white.svg
@@ -0,0 +1,8 @@
+
diff --git a/static/icons_ui/icon_close.svg b/static/icons_ui/icon_close.svg
new file mode 100644
index 0000000..7c0e9dd
--- /dev/null
+++ b/static/icons_ui/icon_close.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icons_ui/icon_customer.svg b/static/icons_ui/icon_customer.svg
new file mode 100644
index 0000000..ced7ba7
--- /dev/null
+++ b/static/icons_ui/icon_customer.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_date.svg b/static/icons_ui/icon_date.svg
new file mode 100644
index 0000000..de352cd
--- /dev/null
+++ b/static/icons_ui/icon_date.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_down.svg b/static/icons_ui/icon_down.svg
new file mode 100644
index 0000000..95a4c41
--- /dev/null
+++ b/static/icons_ui/icon_down.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icons_ui/icon_erp.svg b/static/icons_ui/icon_erp.svg
new file mode 100644
index 0000000..385359d
--- /dev/null
+++ b/static/icons_ui/icon_erp.svg
@@ -0,0 +1,11 @@
+
diff --git a/static/icons_ui/icon_form.svg b/static/icons_ui/icon_form.svg
new file mode 100644
index 0000000..d6fc9f2
--- /dev/null
+++ b/static/icons_ui/icon_form.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_kw.svg b/static/icons_ui/icon_kw.svg
new file mode 100644
index 0000000..54f3ffc
--- /dev/null
+++ b/static/icons_ui/icon_kw.svg
@@ -0,0 +1,10 @@
+
diff --git a/static/icons_ui/icon_kw_blue.svg b/static/icons_ui/icon_kw_blue.svg
new file mode 100644
index 0000000..23f200d
--- /dev/null
+++ b/static/icons_ui/icon_kw_blue.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_kw_use.svg b/static/icons_ui/icon_kw_use.svg
new file mode 100644
index 0000000..f0f037a
--- /dev/null
+++ b/static/icons_ui/icon_kw_use.svg
@@ -0,0 +1,10 @@
+
diff --git a/static/icons_ui/icon_login_password.svg b/static/icons_ui/icon_login_password.svg
new file mode 100644
index 0000000..4ece043
--- /dev/null
+++ b/static/icons_ui/icon_login_password.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_login_user.svg b/static/icons_ui/icon_login_user.svg
new file mode 100644
index 0000000..a628595
--- /dev/null
+++ b/static/icons_ui/icon_login_user.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_notpass.svg b/static/icons_ui/icon_notpass.svg
new file mode 100644
index 0000000..9c4ea07
--- /dev/null
+++ b/static/icons_ui/icon_notpass.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_num.svg b/static/icons_ui/icon_num.svg
new file mode 100644
index 0000000..75ba510
--- /dev/null
+++ b/static/icons_ui/icon_num.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_passed.svg b/static/icons_ui/icon_passed.svg
new file mode 100644
index 0000000..5a06471
--- /dev/null
+++ b/static/icons_ui/icon_passed.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_pc.svg b/static/icons_ui/icon_pc.svg
new file mode 100644
index 0000000..95698a0
--- /dev/null
+++ b/static/icons_ui/icon_pc.svg
@@ -0,0 +1,10 @@
+
diff --git a/static/icons_ui/icon_ponumber.svg b/static/icons_ui/icon_ponumber.svg
new file mode 100644
index 0000000..3f1e82d
--- /dev/null
+++ b/static/icons_ui/icon_ponumber.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_prod_line.svg b/static/icons_ui/icon_prod_line.svg
new file mode 100644
index 0000000..eabccd5
--- /dev/null
+++ b/static/icons_ui/icon_prod_line.svg
@@ -0,0 +1,12 @@
+
diff --git a/static/icons_ui/icon_qiju_end.svg b/static/icons_ui/icon_qiju_end.svg
new file mode 100644
index 0000000..b1780e4
--- /dev/null
+++ b/static/icons_ui/icon_qiju_end.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_qiju_num.svg b/static/icons_ui/icon_qiju_num.svg
new file mode 100644
index 0000000..3879b8e
--- /dev/null
+++ b/static/icons_ui/icon_qiju_num.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_qiju_start.svg b/static/icons_ui/icon_qiju_start.svg
new file mode 100644
index 0000000..d2b3dc4
--- /dev/null
+++ b/static/icons_ui/icon_qiju_start.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_return_num.svg b/static/icons_ui/icon_return_num.svg
new file mode 100644
index 0000000..5677a55
--- /dev/null
+++ b/static/icons_ui/icon_return_num.svg
@@ -0,0 +1,12 @@
+
diff --git a/static/icons_ui/icon_scan_white.svg b/static/icons_ui/icon_scan_white.svg
new file mode 100644
index 0000000..a661468
--- /dev/null
+++ b/static/icons_ui/icon_scan_white.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_send_request.svg b/static/icons_ui/icon_send_request.svg
new file mode 100644
index 0000000..f352b54
--- /dev/null
+++ b/static/icons_ui/icon_send_request.svg
@@ -0,0 +1,12 @@
+
diff --git a/static/icons_ui/icon_senditem.svg b/static/icons_ui/icon_senditem.svg
new file mode 100644
index 0000000..2f8404b
--- /dev/null
+++ b/static/icons_ui/icon_senditem.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_supplier.svg b/static/icons_ui/icon_supplier.svg
new file mode 100644
index 0000000..f0991f8
--- /dev/null
+++ b/static/icons_ui/icon_supplier.svg
@@ -0,0 +1,11 @@
+
diff --git a/static/icons_ui/icon_take_photo.svg b/static/icons_ui/icon_take_photo.svg
new file mode 100644
index 0000000..e6421d3
--- /dev/null
+++ b/static/icons_ui/icon_take_photo.svg
@@ -0,0 +1,8 @@
+
diff --git a/static/icons_ui/icon_tasknum.svg b/static/icons_ui/icon_tasknum.svg
new file mode 100644
index 0000000..247dbf2
--- /dev/null
+++ b/static/icons_ui/icon_tasknum.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_tenant.svg b/static/icons_ui/icon_tenant.svg
new file mode 100644
index 0000000..7707804
--- /dev/null
+++ b/static/icons_ui/icon_tenant.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icons_ui/icon_time.svg b/static/icons_ui/icon_time.svg
new file mode 100644
index 0000000..a706317
--- /dev/null
+++ b/static/icons_ui/icon_time.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_tm.svg b/static/icons_ui/icon_tm.svg
new file mode 100644
index 0000000..669bfcb
--- /dev/null
+++ b/static/icons_ui/icon_tm.svg
@@ -0,0 +1,5 @@
+
diff --git a/static/icons_ui/icon_xm.svg b/static/icons_ui/icon_xm.svg
new file mode 100644
index 0000000..80425fc
--- /dev/null
+++ b/static/icons_ui/icon_xm.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icon_xm_blue.svg b/static/icons_ui/icon_xm_blue.svg
new file mode 100644
index 0000000..468012f
--- /dev/null
+++ b/static/icons_ui/icon_xm_blue.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/icons_common_recceipt.svg b/static/icons_ui/icons_common_recceipt.svg
new file mode 100644
index 0000000..78ee356
--- /dev/null
+++ b/static/icons_ui/icons_common_recceipt.svg
@@ -0,0 +1,8 @@
+
diff --git a/static/icons_ui/icons_common_sjadd.svg b/static/icons_ui/icons_common_sjadd.svg
new file mode 100644
index 0000000..2f67b51
--- /dev/null
+++ b/static/icons_ui/icons_common_sjadd.svg
@@ -0,0 +1,9 @@
+
diff --git a/static/icons_ui/label_scx.svg b/static/icons_ui/label_scx.svg
new file mode 100644
index 0000000..31d0882
--- /dev/null
+++ b/static/icons_ui/label_scx.svg
@@ -0,0 +1,4 @@
+
diff --git a/static/icons_ui/login_bg.png b/static/icons_ui/login_bg.png
new file mode 100644
index 0000000..a062de1
Binary files /dev/null and b/static/icons_ui/login_bg.png differ
diff --git a/static/icons_ui/popup_bot_bg.png b/static/icons_ui/popup_bot_bg.png
new file mode 100644
index 0000000..e024500
Binary files /dev/null and b/static/icons_ui/popup_bot_bg.png differ
diff --git a/static/images/banner/banner01.jpg b/static/images/banner/banner01.jpg
new file mode 100644
index 0000000..fdb1e16
Binary files /dev/null and b/static/images/banner/banner01.jpg differ
diff --git a/static/images/banner/banner02.jpg b/static/images/banner/banner02.jpg
new file mode 100644
index 0000000..1086afd
Binary files /dev/null and b/static/images/banner/banner02.jpg differ
diff --git a/static/images/banner/banner03.jpg b/static/images/banner/banner03.jpg
new file mode 100644
index 0000000..092a5fc
Binary files /dev/null and b/static/images/banner/banner03.jpg differ
diff --git a/static/images/banner/icon1.png b/static/images/banner/icon1.png
new file mode 100644
index 0000000..3678f06
Binary files /dev/null and b/static/images/banner/icon1.png differ
diff --git a/static/images/banner/icon2.png b/static/images/banner/icon2.png
new file mode 100644
index 0000000..34b0393
Binary files /dev/null and b/static/images/banner/icon2.png differ
diff --git a/static/images/banner/icon3.png b/static/images/banner/icon3.png
new file mode 100644
index 0000000..ddbe0f7
Binary files /dev/null and b/static/images/banner/icon3.png differ
diff --git a/static/images/banner/icon4.png b/static/images/banner/icon4.png
new file mode 100644
index 0000000..ef7a396
Binary files /dev/null and b/static/images/banner/icon4.png differ
diff --git a/static/images/banner/icon5.png b/static/images/banner/icon5.png
new file mode 100644
index 0000000..2a5546c
Binary files /dev/null and b/static/images/banner/icon5.png differ
diff --git a/static/images/banner/icon6.png b/static/images/banner/icon6.png
new file mode 100644
index 0000000..b4c0075
Binary files /dev/null and b/static/images/banner/icon6.png differ
diff --git a/static/images/banner/icon7.png b/static/images/banner/icon7.png
new file mode 100644
index 0000000..a9be572
Binary files /dev/null and b/static/images/banner/icon7.png differ
diff --git a/static/images/banner/login_banner.svg b/static/images/banner/login_banner.svg
new file mode 100644
index 0000000..caef463
--- /dev/null
+++ b/static/images/banner/login_banner.svg
@@ -0,0 +1,12 @@
+
+
\ No newline at end of file
diff --git a/static/images/banner/logo-banner.png b/static/images/banner/logo-banner.png
new file mode 100644
index 0000000..518b616
Binary files /dev/null and b/static/images/banner/logo-banner.png differ
diff --git a/static/images/banner/u2335.svg b/static/images/banner/u2335.svg
new file mode 100644
index 0000000..d2045d9
--- /dev/null
+++ b/static/images/banner/u2335.svg
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file
diff --git a/static/images/banner/u2450.svg b/static/images/banner/u2450.svg
new file mode 100644
index 0000000..76bdcd4
--- /dev/null
+++ b/static/images/banner/u2450.svg
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file
diff --git a/static/images/banner/u253_selected.svg b/static/images/banner/u253_selected.svg
new file mode 100644
index 0000000..1de51e0
--- /dev/null
+++ b/static/images/banner/u253_selected.svg
@@ -0,0 +1,6 @@
+
+
\ No newline at end of file
diff --git a/static/images/bg.jpg b/static/images/bg.jpg
new file mode 100644
index 0000000..df2ff67
Binary files /dev/null and b/static/images/bg.jpg differ
diff --git a/static/images/default.jpg b/static/images/default.jpg
new file mode 100644
index 0000000..aa0237b
Binary files /dev/null and b/static/images/default.jpg differ
diff --git a/static/images/icon1.png b/static/images/icon1.png
new file mode 100644
index 0000000..a2ffd47
Binary files /dev/null and b/static/images/icon1.png differ
diff --git a/static/images/icon1.svg b/static/images/icon1.svg
new file mode 100644
index 0000000..971098e
--- /dev/null
+++ b/static/images/icon1.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/images/icon2.png b/static/images/icon2.png
new file mode 100644
index 0000000..eedf475
Binary files /dev/null and b/static/images/icon2.png differ
diff --git a/static/images/icon2.svg b/static/images/icon2.svg
new file mode 100644
index 0000000..fa92acf
--- /dev/null
+++ b/static/images/icon2.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/images/icon3.png b/static/images/icon3.png
new file mode 100644
index 0000000..e640911
Binary files /dev/null and b/static/images/icon3.png differ
diff --git a/static/images/icon3.svg b/static/images/icon3.svg
new file mode 100644
index 0000000..38e3fbf
--- /dev/null
+++ b/static/images/icon3.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/images/icon4.svg b/static/images/icon4.svg
new file mode 100644
index 0000000..811c086
--- /dev/null
+++ b/static/images/icon4.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/images/icon5.svg b/static/images/icon5.svg
new file mode 100644
index 0000000..61cc90a
--- /dev/null
+++ b/static/images/icon5.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/images/icon6.png b/static/images/icon6.png
new file mode 100644
index 0000000..761a86b
Binary files /dev/null and b/static/images/icon6.png differ
diff --git a/static/images/icon7.png b/static/images/icon7.png
new file mode 100644
index 0000000..40c58cb
Binary files /dev/null and b/static/images/icon7.png differ
diff --git a/static/images/icon8.png b/static/images/icon8.png
new file mode 100644
index 0000000..8c0dba3
Binary files /dev/null and b/static/images/icon8.png differ
diff --git a/static/images/mobile_bg.png b/static/images/mobile_bg.png
new file mode 100644
index 0000000..e0cccfe
Binary files /dev/null and b/static/images/mobile_bg.png differ
diff --git a/static/images/photo.png b/static/images/photo.png
new file mode 100644
index 0000000..52523a1
Binary files /dev/null and b/static/images/photo.png differ
diff --git a/static/images/profile.jpg b/static/images/profile.jpg
new file mode 100644
index 0000000..b3a940b
Binary files /dev/null and b/static/images/profile.jpg differ
diff --git a/static/images/tabbar/tab_act_icon1.png b/static/images/tabbar/tab_act_icon1.png
new file mode 100644
index 0000000..9d0de1d
Binary files /dev/null and b/static/images/tabbar/tab_act_icon1.png differ
diff --git a/static/images/tabbar/tab_act_icon2.png b/static/images/tabbar/tab_act_icon2.png
new file mode 100644
index 0000000..8c927dd
Binary files /dev/null and b/static/images/tabbar/tab_act_icon2.png differ
diff --git a/static/images/tabbar/tab_act_icon3.png b/static/images/tabbar/tab_act_icon3.png
new file mode 100644
index 0000000..e89d96a
Binary files /dev/null and b/static/images/tabbar/tab_act_icon3.png differ
diff --git a/static/images/tabbar/tab_act_icon4.png b/static/images/tabbar/tab_act_icon4.png
new file mode 100644
index 0000000..3ef0854
Binary files /dev/null and b/static/images/tabbar/tab_act_icon4.png differ
diff --git a/static/images/tabbar/tab_act_icon5.png b/static/images/tabbar/tab_act_icon5.png
new file mode 100644
index 0000000..f9aef6c
Binary files /dev/null and b/static/images/tabbar/tab_act_icon5.png differ
diff --git a/static/images/tabbar/tab_icon1.png b/static/images/tabbar/tab_icon1.png
new file mode 100644
index 0000000..d36711d
Binary files /dev/null and b/static/images/tabbar/tab_icon1.png differ
diff --git a/static/images/tabbar/tab_icon2.png b/static/images/tabbar/tab_icon2.png
new file mode 100644
index 0000000..6b16a35
Binary files /dev/null and b/static/images/tabbar/tab_icon2.png differ
diff --git a/static/images/tabbar/tab_icon3.png b/static/images/tabbar/tab_icon3.png
new file mode 100644
index 0000000..880aed5
Binary files /dev/null and b/static/images/tabbar/tab_icon3.png differ
diff --git a/static/images/tabbar/tab_icon4.png b/static/images/tabbar/tab_icon4.png
new file mode 100644
index 0000000..b9249bf
Binary files /dev/null and b/static/images/tabbar/tab_icon4.png differ
diff --git a/static/images/tabbar/tab_icon5.png b/static/images/tabbar/tab_icon5.png
new file mode 100644
index 0000000..a8ecfd9
Binary files /dev/null and b/static/images/tabbar/tab_icon5.png differ
diff --git a/static/login.png b/static/login.png
new file mode 100644
index 0000000..3cc9c2f
Binary files /dev/null and b/static/login.png differ
diff --git a/static/logo.png b/static/logo.png
new file mode 100644
index 0000000..b5771e2
Binary files /dev/null and b/static/logo.png differ
diff --git a/static/menus/bind_pallet.svg b/static/menus/bind_pallet.svg
new file mode 100644
index 0000000..b2f3cd5
--- /dev/null
+++ b/static/menus/bind_pallet.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/count.svg b/static/menus/count.svg
new file mode 100644
index 0000000..12ee9bb
--- /dev/null
+++ b/static/menus/count.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/customer_return.svg b/static/menus/customer_return.svg
new file mode 100644
index 0000000..4c7f32c
--- /dev/null
+++ b/static/menus/customer_return.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/deliver.svg b/static/menus/deliver.svg
new file mode 100644
index 0000000..5148af0
--- /dev/null
+++ b/static/menus/deliver.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/hold_to_ok.svg b/static/menus/hold_to_ok.svg
new file mode 100644
index 0000000..bb22391
--- /dev/null
+++ b/static/menus/hold_to_ok.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/hold_to_scrap.svg b/static/menus/hold_to_scrap.svg
new file mode 100644
index 0000000..6e46345
--- /dev/null
+++ b/static/menus/hold_to_scrap.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/inspect.svg b/static/menus/inspect.svg
new file mode 100644
index 0000000..a18cd65
--- /dev/null
+++ b/static/menus/inspect.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/inventory_move.svg b/static/menus/inventory_move.svg
new file mode 100644
index 0000000..e310f68
--- /dev/null
+++ b/static/menus/inventory_move.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/issue.svg b/static/menus/issue.svg
new file mode 100644
index 0000000..3222d1a
--- /dev/null
+++ b/static/menus/issue.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/menu_search_lj.svg b/static/menus/menu_search_lj.svg
new file mode 100644
index 0000000..fb40fa7
--- /dev/null
+++ b/static/menus/menu_search_lj.svg
@@ -0,0 +1,6 @@
+
diff --git a/static/menus/merge_package.svg b/static/menus/merge_package.svg
new file mode 100644
index 0000000..b2d27ad
--- /dev/null
+++ b/static/menus/merge_package.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/ok_to_hold.svg b/static/menus/ok_to_hold.svg
new file mode 100644
index 0000000..4f5d182
--- /dev/null
+++ b/static/menus/ok_to_hold.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/ok_to_scrap.svg b/static/menus/ok_to_scrap.svg
new file mode 100644
index 0000000..1dee036
--- /dev/null
+++ b/static/menus/ok_to_scrap.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/over_package.svg b/static/menus/over_package.svg
new file mode 100644
index 0000000..7a3c203
--- /dev/null
+++ b/static/menus/over_package.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/product_dismantle.svg b/static/menus/product_dismantle.svg
new file mode 100644
index 0000000..26efa1f
--- /dev/null
+++ b/static/menus/product_dismantle.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/product_putaway.svg b/static/menus/product_putaway.svg
new file mode 100644
index 0000000..e14ec51
--- /dev/null
+++ b/static/menus/product_putaway.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/product_receipt.svg b/static/menus/product_receipt.svg
new file mode 100644
index 0000000..bb318a2
--- /dev/null
+++ b/static/menus/product_receipt.svg
@@ -0,0 +1,5 @@
+
+
+
\ No newline at end of file
diff --git a/static/menus/production_receipt.svg b/static/menus/production_receipt.svg
new file mode 100644
index 0000000..bb318a2
--- /dev/null
+++ b/static/menus/production_receipt.svg
@@ -0,0 +1,5 @@
+
+
+
\ No newline at end of file
diff --git a/static/menus/production_return.svg b/static/menus/production_return.svg
new file mode 100644
index 0000000..86ab315
--- /dev/null
+++ b/static/menus/production_return.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/purchase_receipt.svg b/static/menus/purchase_receipt.svg
new file mode 100644
index 0000000..b2d972f
--- /dev/null
+++ b/static/menus/purchase_receipt.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/purchase_return.svg b/static/menus/purchase_return.svg
new file mode 100644
index 0000000..1dcb2cf
--- /dev/null
+++ b/static/menus/purchase_return.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/putaway.svg b/static/menus/putaway.svg
new file mode 100644
index 0000000..aeafb4f
--- /dev/null
+++ b/static/menus/putaway.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/query_container.svg b/static/menus/query_container.svg
new file mode 100644
index 0000000..23278b2
--- /dev/null
+++ b/static/menus/query_container.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/query_inspect.svg b/static/menus/query_inspect.svg
new file mode 100644
index 0000000..cecb013
--- /dev/null
+++ b/static/menus/query_inspect.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/query_issue_request.svg b/static/menus/query_issue_request.svg
new file mode 100644
index 0000000..112a70d
--- /dev/null
+++ b/static/menus/query_issue_request.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/query_item.svg b/static/menus/query_item.svg
new file mode 100644
index 0000000..bdbb713
--- /dev/null
+++ b/static/menus/query_item.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/query_location.svg b/static/menus/query_location.svg
new file mode 100644
index 0000000..3b1587a
--- /dev/null
+++ b/static/menus/query_location.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/query_supplier_deliver.svg b/static/menus/query_supplier_deliver.svg
new file mode 100644
index 0000000..b100017
--- /dev/null
+++ b/static/menus/query_supplier_deliver.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/repleinsh.svg b/static/menus/repleinsh.svg
new file mode 100644
index 0000000..afaf5f9
--- /dev/null
+++ b/static/menus/repleinsh.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/return_to_hold.svg b/static/menus/return_to_hold.svg
new file mode 100644
index 0000000..9faa33d
--- /dev/null
+++ b/static/menus/return_to_hold.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/return_to_store.svg b/static/menus/return_to_store.svg
new file mode 100644
index 0000000..71349db
--- /dev/null
+++ b/static/menus/return_to_store.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/scrap.svg b/static/menus/scrap.svg
new file mode 100644
index 0000000..d17ef49
--- /dev/null
+++ b/static/menus/scrap.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/scrap_to_hold.svg b/static/menus/scrap_to_hold.svg
new file mode 100644
index 0000000..92777a5
--- /dev/null
+++ b/static/menus/scrap_to_hold.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/split_package.svg b/static/menus/split_package.svg
new file mode 100644
index 0000000..5a4b0a3
--- /dev/null
+++ b/static/menus/split_package.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/transfer_deliver.svg b/static/menus/transfer_deliver.svg
new file mode 100644
index 0000000..acd90f7
--- /dev/null
+++ b/static/menus/transfer_deliver.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/transfer_receipt.svg b/static/menus/transfer_receipt.svg
new file mode 100644
index 0000000..007cc6d
--- /dev/null
+++ b/static/menus/transfer_receipt.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/unbind_pallet.svg b/static/menus/unbind_pallet.svg
new file mode 100644
index 0000000..2849d84
--- /dev/null
+++ b/static/menus/unbind_pallet.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/unplanned_issue.svg b/static/menus/unplanned_issue.svg
new file mode 100644
index 0000000..1eb8765
--- /dev/null
+++ b/static/menus/unplanned_issue.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/menus/unplanned_receipt.svg b/static/menus/unplanned_receipt.svg
new file mode 100644
index 0000000..29dc3a1
--- /dev/null
+++ b/static/menus/unplanned_receipt.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/no_more.png b/static/no_more.png
new file mode 100644
index 0000000..8bca5fe
Binary files /dev/null and b/static/no_more.png differ
diff --git a/static/refresher_loading.gif b/static/refresher_loading.gif
new file mode 100644
index 0000000..1ee754f
Binary files /dev/null and b/static/refresher_loading.gif differ
diff --git a/static/search.svg b/static/search.svg
new file mode 100644
index 0000000..8238711
--- /dev/null
+++ b/static/search.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/uni.ttf b/static/uni.ttf
new file mode 100644
index 0000000..60a1968
Binary files /dev/null and b/static/uni.ttf differ
diff --git a/store/index.ts b/store/index.ts
new file mode 100644
index 0000000..bd65527
--- /dev/null
+++ b/store/index.ts
@@ -0,0 +1 @@
+export { default as useCountStore } from './modules/countStore'
diff --git a/store/modules/countStore.ts b/store/modules/countStore.ts
new file mode 100644
index 0000000..d152f09
--- /dev/null
+++ b/store/modules/countStore.ts
@@ -0,0 +1,121 @@
+import { defineStore } from 'pinia'
+import {
+ login,
+ logout,
+ getInfo,
+ getPermissionInfo
+} from '@/api/login'
+import {
+ setToken,
+ removeToken
+} from '@/utils/auth'
+const baseUrl = import.meta.env.VITE_BASE_URL
+const useStore = defineStore('storeId', {
+ state: () => ({
+ id: '', // 用户编号
+ name: '',
+ avatar: '',
+ roles: [],
+ permissions: '',
+ role: '',
+ post: '',
+ dept: '',
+ menus1: [],
+ menus2: [],
+ }),
+ getters: {
+ // isEven: (state) => state.count % 2 === 0
+ },
+ actions: {
+ // 登录
+ Login(userInfo) {
+ const username = userInfo.username.trim()
+ const password = userInfo.password
+ const captchaVerification = userInfo.captchaVerification
+ const tenantName = userInfo.tenantName
+ const rememberMe = userInfo.rememberMe
+ const code = userInfo.code
+ const uuid = userInfo.uuid
+ return new Promise((resolve, reject) => {
+ login(username, password, captchaVerification, tenantName, rememberMe, code, uuid).then(
+ res => {
+ res = res.data;
+ // 设置 token
+ setToken(res)
+ resolve(res)
+ }).catch(error => {
+ reject(error)
+ })
+ })
+ },
+ // 获取权限
+ GetPermissionInfo() {
+ return new Promise((resolve, reject) => {
+ getPermissionInfo().then(res => {
+ res = res.data; // 读取 data 数据
+ if (res.roles && res.roles.length > 0) {
+ this.roles = res.roles
+ this.role = res.roles.filter(item => item == 'all_approve' || item == 'normal_approve')[0]
+ this.permissions = res.permissions
+ let menus = []
+ res.menus.forEach(item => {
+ if (item.path == '/pda') {
+ menus = item.children
+ }
+ })
+ this.menus1 = menus.filter(item => item.path !== 'itemOut')
+ this.menus2 = menus.filter(item => item.path === 'itemOut')
+ } else {
+ this.roles = []
+ this.role = ''
+ }
+ resolve(res)
+ }).catch(error => {
+ reject(error)
+ })
+ })
+ },
+ // 获取权限
+ GetInfo() {
+ return new Promise((resolve, reject) => {
+ getInfo().then(res => {
+ res = res.data; // 读取 data 数据
+ this.avatar = res.avatar
+ this.name = res.nickname
+ this.id = res.id
+ this.avatar = res.avatar
+ this.dept = res.dept
+ if (res.posts && res.posts.length > 0) {
+ this.post = res.posts.filter(item => item.code == 'worker' || item.code == 'engineer')[0]
+ } else {
+ this.post = ''
+ }
+ resolve(res)
+ }).catch(error => {
+ reject(error)
+ })
+ })
+ },
+ // 获取权限
+ LogOut() {
+ return new Promise((resolve, reject) => {
+ logout().then(res => {
+ this.id = ''// 用户编号
+ this.name = ''
+ this.avatar = ''
+ this.roles = ''
+ this.permissions = ''
+ this.role = ''
+ this.post = ''
+ this.dept = ''
+ removeToken()
+ resolve(res)
+ }).catch(error => {
+ reject(error)
+ })
+ })
+ },
+ }
+})
+
+export default useStore
\ No newline at end of file
diff --git a/styles/vars/_base.less b/styles/vars/_base.less
new file mode 100644
index 0000000..6bb66aa
--- /dev/null
+++ b/styles/vars/_base.less
@@ -0,0 +1,2 @@
+@title-size: 40rpx;
+@title-color: #47caff;
diff --git a/styles/vars/_base.scss b/styles/vars/_base.scss
new file mode 100644
index 0000000..19eb9f1
--- /dev/null
+++ b/styles/vars/_base.scss
@@ -0,0 +1,2 @@
+$title-size: 40rpx;
+$title-color: #bd34fe;
diff --git a/uni.scss b/uni.scss
new file mode 100644
index 0000000..38cc172
--- /dev/null
+++ b/uni.scss
@@ -0,0 +1,77 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+
+@import 'vk-uview-ui/theme.scss';
+/* 颜色变量 */
+
+/* 行为相关颜色 */
+$uni-color-primary: #007aff;
+$uni-color-success: #4cd964;
+$uni-color-warning: #f0ad4e;
+$uni-color-error: #dd524d;
+
+/* 文字基本颜色 */
+$uni-text-color: #333; //基本色
+$uni-text-color-inverse: #fff; //反色
+$uni-text-color-grey: #999; //辅助灰色,如加载更多的提示信息
+$uni-text-color-placeholder: #808080;
+$uni-text-color-disable: #c0c0c0;
+
+/* 背景颜色 */
+$uni-bg-color: #ffffff;
+$uni-bg-color-grey: #f8f8f8;
+$uni-bg-color-hover: #f1f1f1; //点击状态颜色
+$uni-bg-color-mask: rgba(0, 0, 0, 0.4); //遮罩颜色
+
+/* 边框颜色 */
+$uni-border-color: #c8c7cc;
+
+/* 尺寸变量 */
+
+/* 文字尺寸 */
+$uni-font-size-sm: 24rpx;
+$uni-font-size-base: 28rpx;
+$uni-font-size-lg: 32rpx;
+
+/* 图片尺寸 */
+$uni-img-size-sm: 40rpx;
+$uni-img-size-base: 52rpx;
+$uni-img-size-lg: 80rpx;
+
+/* Border Radius */
+$uni-border-radius-sm: 4rpx;
+$uni-border-radius-base: 6rpx;
+$uni-border-radius-lg: 12rpx;
+$uni-border-radius-circle: 50%;
+
+/* 水平间距 */
+$uni-spacing-row-sm: 10px;
+$uni-spacing-row-base: 20rpx;
+$uni-spacing-row-lg: 30rpx;
+
+/* 垂直间距 */
+$uni-spacing-col-sm: 8rpx;
+$uni-spacing-col-base: 16rpx;
+$uni-spacing-col-lg: 24rpx;
+
+/* 透明度 */
+$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
+
+/* 文章场景相关 */
+$uni-color-title: #2c405a; // 文章标题颜色
+$uni-font-size-title: 40rpx;
+$uni-color-subtitle: #555555; // 二级标题颜色
+$uni-font-size-subtitle: 36rpx;
+$uni-color-paragraph: #3f536e; // 文章段落颜色
+$uni-font-size-paragraph: 30rpx;
diff --git a/uni_modules/uni-badge/changelog.md b/uni_modules/uni-badge/changelog.md
new file mode 100644
index 0000000..544ecc1
--- /dev/null
+++ b/uni_modules/uni-badge/changelog.md
@@ -0,0 +1,29 @@
+## 1.2.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-badge](https://uniapp.dcloud.io/component/uniui/uni-badge)
+## 1.1.7(2021-11-08)
+- 优化 升级ui
+- 修改 size 属性默认值调整为 small
+- 修改 type 属性,默认值调整为 error,info 替换 default
+## 1.1.6(2021-09-22)
+- 修复 在字节小程序上样式不生效的 bug
+## 1.1.5(2021-07-30)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.1.4(2021-07-29)
+- 修复 去掉 nvue 不支持css 的 align-self 属性,nvue 下不暂支持 absolute 属性
+## 1.1.3(2021-06-24)
+- 优化 示例项目
+## 1.1.1(2021-05-12)
+- 新增 组件示例地址
+## 1.1.0(2021-05-12)
+- 新增 uni-badge 的 absolute 属性,支持定位
+- 新增 uni-badge 的 offset 属性,支持定位偏移
+- 新增 uni-badge 的 is-dot 属性,支持仅显示有一个小点
+- 新增 uni-badge 的 max-num 属性,支持自定义封顶的数字值,超过 99 显示99+
+- 优化 uni-badge 属性 custom-style, 支持以对象形式自定义样式
+## 1.0.7(2021-05-07)
+- 修复 uni-badge 在 App 端,数字小于10时不是圆形的bug
+- 修复 uni-badge 在父元素不是 flex 布局时,宽度缩小的bug
+- 新增 uni-badge 属性 custom-style, 支持自定义样式
+## 1.0.6(2021-02-04)
+- 调整为uni_modules目录规范
diff --git a/uni_modules/uni-badge/components/uni-badge/uni-badge.vue b/uni_modules/uni-badge/components/uni-badge/uni-badge.vue
new file mode 100644
index 0000000..1981b4e
--- /dev/null
+++ b/uni_modules/uni-badge/components/uni-badge/uni-badge.vue
@@ -0,0 +1,268 @@
+
+
+
+ {{displayValue}}
+
+
+
+
+
+
diff --git a/uni_modules/uni-badge/package.json b/uni_modules/uni-badge/package.json
new file mode 100644
index 0000000..7ba6d2f
--- /dev/null
+++ b/uni_modules/uni-badge/package.json
@@ -0,0 +1,88 @@
+{
+ "id": "uni-badge",
+ "displayName": "uni-badge 数字角标",
+ "version": "1.2.0",
+ "description": "数字角标(徽章)组件,在元素周围展示消息提醒,一般用于列表、九宫格、按钮等地方。",
+ "keywords": [
+ "",
+ "badge",
+ "uni-ui",
+ "uniui",
+ "数字角标",
+ "徽章"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "y",
+ "联盟": "y"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-badge/readme.md b/uni_modules/uni-badge/readme.md
new file mode 100644
index 0000000..bdf175d
--- /dev/null
+++ b/uni_modules/uni-badge/readme.md
@@ -0,0 +1,10 @@
+## Badge 数字角标
+> **组件名:uni-badge**
+> 代码块: `uBadge`
+
+数字角标一般和其它控件(列表、9宫格等)配合使用,用于进行数量提示,默认为实心灰色背景,
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-badge)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
+
+
diff --git a/uni_modules/uni-breadcrumb/changelog.md b/uni_modules/uni-breadcrumb/changelog.md
new file mode 100644
index 0000000..016e6ce
--- /dev/null
+++ b/uni_modules/uni-breadcrumb/changelog.md
@@ -0,0 +1,6 @@
+## 0.1.2(2022-06-08)
+- 修复 微信小程序 separator 不显示问题
+## 0.1.1(2022-06-02)
+- 新增 支持 uni.scss 修改颜色
+## 0.1.0(2022-04-21)
+- 初始化
diff --git a/uni_modules/uni-breadcrumb/components/uni-breadcrumb-item/uni-breadcrumb-item.vue b/uni_modules/uni-breadcrumb/components/uni-breadcrumb-item/uni-breadcrumb-item.vue
new file mode 100644
index 0000000..b9edbd6
--- /dev/null
+++ b/uni_modules/uni-breadcrumb/components/uni-breadcrumb-item/uni-breadcrumb-item.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+ {{ separator }}
+
+
+
+
diff --git a/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue b/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue
new file mode 100644
index 0000000..94493a2
--- /dev/null
+++ b/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-breadcrumb/package.json b/uni_modules/uni-breadcrumb/package.json
new file mode 100644
index 0000000..e5f33e8
--- /dev/null
+++ b/uni_modules/uni-breadcrumb/package.json
@@ -0,0 +1,85 @@
+{
+ "id": "uni-breadcrumb",
+ "displayName": "uni-breadcrumb 面包屑",
+ "version": "0.1.2",
+ "description": "Breadcrumb 面包屑",
+ "keywords": [
+ "uni-breadcrumb",
+ "breadcrumb",
+ "uni-ui",
+ "面包屑导航",
+ "面包屑"
+],
+ "repository": "",
+ "engines": {
+ "HBuilderX": "^3.1.0"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": ""
+ },
+ "uni_modules": {
+ "dependencies": [],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ },
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "n"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "u",
+ "百度": "u",
+ "字节跳动": "u",
+ "QQ": "u",
+ "京东": "u"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-breadcrumb/readme.md b/uni_modules/uni-breadcrumb/readme.md
new file mode 100644
index 0000000..6976b8d
--- /dev/null
+++ b/uni_modules/uni-breadcrumb/readme.md
@@ -0,0 +1,66 @@
+
+## breadcrumb 面包屑导航
+> **组件名:uni-breadcrumb**
+> 代码块: `ubreadcrumb`
+
+显示当前页面的路径,快速返回之前的任意页面。
+
+### 安装方式
+
+本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。
+
+如需通过`npm`方式使用`uni-ui`组件,另见文档:[https://ext.dcloud.net.cn/plugin?id=55](https://ext.dcloud.net.cn/plugin?id=55)
+
+### 基本用法
+
+在 ``template`` 中使用组件
+
+```html
+
+ {{route.name}}
+
+```
+
+```js
+export default {
+ name: "uni-stat-breadcrumb",
+ data() {
+ return {
+ routes: [{
+ to: '/A',
+ name: 'A页面'
+ }, {
+ to: '/B',
+ name: 'B页面'
+ }, {
+ to: '/C',
+ name: 'C页面'
+ }]
+ };
+ }
+ }
+```
+
+
+## API
+
+### Breadcrumb Props
+
+|属性名 |类型 |默认值 |说明 |
+|:-: |:-: |:-: |:-: |
+|separator |String |斜杠'/' |分隔符 |
+|separatorClass |String | |图标分隔符 class |
+
+### Breadcrumb Item Props
+
+|属性名 |类型 |默认值 |说明 |
+|:-: |:-: |:-: |:-: |
+|to |String | |路由跳转页面路径 |
+|replace|Boolean | |在使用 to 进行路由跳转时,启用 replace 将不会向 history 添加新记录(仅 h5 支持) |
+
+
+
+
+## 组件示例
+
+点击查看:[https://hellouniapp.dcloud.net.cn/pages/extUI/breadcrumb/breadcrumb](https://hellouniapp.dcloud.net.cn/pages/extUI/breadcrumb/breadcrumb)
\ No newline at end of file
diff --git a/uni_modules/uni-calendar/changelog.md b/uni_modules/uni-calendar/changelog.md
new file mode 100644
index 0000000..6df4493
--- /dev/null
+++ b/uni_modules/uni-calendar/changelog.md
@@ -0,0 +1,16 @@
+## 1.4.5(2022-02-25)
+- 修复 条件编译 nvue 不支持的 css 样式
+## 1.4.4(2022-02-25)
+- 修复 条件编译 nvue 不支持的 css 样式
+## 1.4.3(2021-09-22)
+- 修复 startDate、 endDate 属性失效的 bug
+## 1.4.2(2021-08-24)
+- 新增 支持国际化
+## 1.4.1(2021-08-05)
+- 修复 弹出层被 tabbar 遮盖 bug
+## 1.4.0(2021-07-30)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.3.16(2021-05-12)
+- 新增 组件示例地址
+## 1.3.15(2021-02-04)
+- 调整为uni_modules目录规范
diff --git a/uni_modules/uni-calendar/components/uni-calendar/calendar.js b/uni_modules/uni-calendar/components/uni-calendar/calendar.js
new file mode 100644
index 0000000..b8d7d6f
--- /dev/null
+++ b/uni_modules/uni-calendar/components/uni-calendar/calendar.js
@@ -0,0 +1,546 @@
+/**
+* @1900-2100区间内的公历、农历互转
+* @charset UTF-8
+* @github https://github.com/jjonline/calendar.js
+* @Author Jea杨(JJonline@JJonline.Cn)
+* @Time 2014-7-21
+* @Time 2016-8-13 Fixed 2033hex、Attribution Annals
+* @Time 2016-9-25 Fixed lunar LeapMonth Param Bug
+* @Time 2017-7-24 Fixed use getTerm Func Param Error.use solar year,NOT lunar year
+* @Version 1.0.3
+* @公历转农历:calendar.solar2lunar(1987,11,01); //[you can ignore params of prefix 0]
+* @农历转公历:calendar.lunar2solar(1987,09,10); //[you can ignore params of prefix 0]
+*/
+/* eslint-disable */
+var calendar = {
+
+ /**
+ * 农历1900-2100的润大小信息表
+ * @Array Of Property
+ * @return Hex
+ */
+ lunarInfo: [0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, // 1900-1909
+ 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977, // 1910-1919
+ 0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970, // 1920-1929
+ 0x06566, 0x0d4a0, 0x0ea50, 0x06e95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950, // 1930-1939
+ 0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557, // 1940-1949
+ 0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0, // 1950-1959
+ 0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0, // 1960-1969
+ 0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6, // 1970-1979
+ 0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570, // 1980-1989
+ 0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0, // 1990-1999
+ 0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5, // 2000-2009
+ 0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930, // 2010-2019
+ 0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530, // 2020-2029
+ 0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45, // 2030-2039
+ 0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0, // 2040-2049
+ /** Add By JJonline@JJonline.Cn**/
+ 0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0, // 2050-2059
+ 0x0a2e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4, // 2060-2069
+ 0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0, // 2070-2079
+ 0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160, // 2080-2089
+ 0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252, // 2090-2099
+ 0x0d520], // 2100
+
+ /**
+ * 公历每个月份的天数普通表
+ * @Array Of Property
+ * @return Number
+ */
+ solarMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
+
+ /**
+ * 天干地支之天干速查表
+ * @Array Of Property trans["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"]
+ * @return Cn string
+ */
+ Gan: ['\u7532', '\u4e59', '\u4e19', '\u4e01', '\u620a', '\u5df1', '\u5e9a', '\u8f9b', '\u58ec', '\u7678'],
+
+ /**
+ * 天干地支之地支速查表
+ * @Array Of Property
+ * @trans["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"]
+ * @return Cn string
+ */
+ Zhi: ['\u5b50', '\u4e11', '\u5bc5', '\u536f', '\u8fb0', '\u5df3', '\u5348', '\u672a', '\u7533', '\u9149', '\u620c', '\u4ea5'],
+
+ /**
+ * 天干地支之地支速查表<=>生肖
+ * @Array Of Property
+ * @trans["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"]
+ * @return Cn string
+ */
+ Animals: ['\u9f20', '\u725b', '\u864e', '\u5154', '\u9f99', '\u86c7', '\u9a6c', '\u7f8a', '\u7334', '\u9e21', '\u72d7', '\u732a'],
+
+ /**
+ * 24节气速查表
+ * @Array Of Property
+ * @trans["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"]
+ * @return Cn string
+ */
+ solarTerm: ['\u5c0f\u5bd2', '\u5927\u5bd2', '\u7acb\u6625', '\u96e8\u6c34', '\u60ca\u86f0', '\u6625\u5206', '\u6e05\u660e', '\u8c37\u96e8', '\u7acb\u590f', '\u5c0f\u6ee1', '\u8292\u79cd', '\u590f\u81f3', '\u5c0f\u6691', '\u5927\u6691', '\u7acb\u79cb', '\u5904\u6691', '\u767d\u9732', '\u79cb\u5206', '\u5bd2\u9732', '\u971c\u964d', '\u7acb\u51ac', '\u5c0f\u96ea', '\u5927\u96ea', '\u51ac\u81f3'],
+
+ /**
+ * 1900-2100各年的24节气日期速查表
+ * @Array Of Property
+ * @return 0x string For splice
+ */
+ sTermInfo: ['9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f',
+ '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f',
+ 'b027097bd097c36b0b6fc9274c91aa', '9778397bd19801ec9210c965cc920e', '97b6b97bd19801ec95f8c965cc920f',
+ '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd197c36c9210c9274c91aa',
+ '97b6b97bd19801ec95f8c965cc920e', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2',
+ '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bcf97c3598082c95f8e1cfcc920f',
+ '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722',
+ '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f',
+ '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd07f595b0b6fc920fb0722',
+ '9778397bd097c36b0b6fc9210c8dc2', '9778397bd19801ec9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f',
+ '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e',
+ '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2',
+ '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bd07f1487f595b0b0bc920fb0722',
+ '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722',
+ '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722',
+ '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722',
+ '9778397bd097c36b0b6fc9210c91aa', '97b6b97bd197c36c9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722',
+ '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e',
+ '97b6b7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2',
+ '9778397bd097c36b0b70c9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722',
+ '7f0e397bd097c35b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721',
+ '7f0e27f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722',
+ '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722',
+ '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721',
+ '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b7f0e47f531b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722',
+ '9778397bd097c36b0b6fc9210c91aa', '97b6b7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722',
+ '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '977837f0e37f149b0723b0787b0721',
+ '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c35b0b6fc9210c8dc2',
+ '977837f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722',
+ '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721',
+ '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd',
+ '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722',
+ '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722',
+ '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721',
+ '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd',
+ '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722',
+ '977837f0e37f14998082b0723b06bd', '7f07e7f0e37f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722',
+ '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721',
+ '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5',
+ '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f531b0b0bb0b6fb0722',
+ '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721',
+ '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd',
+ '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35',
+ '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722',
+ '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721',
+ '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd',
+ '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35',
+ '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e37f14998083b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722',
+ '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14898082b0723b02d5', '7f07e7f0e37f14998082b0787b0721',
+ '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66aa89801e9808297c35', '665f67f0e37f14898082b0723b02d5',
+ '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66a449801e9808297c35',
+ '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721',
+ '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd',
+ '7f07e7f0e47f531b0723b0b6fb0721', '7f0e26665b66a449801e9808297c35', '665f67f0e37f1489801eb072297c35',
+ '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722'],
+
+ /**
+ * 数字转中文速查表
+ * @Array Of Property
+ * @trans ['日','一','二','三','四','五','六','七','八','九','十']
+ * @return Cn string
+ */
+ nStr1: ['\u65e5', '\u4e00', '\u4e8c', '\u4e09', '\u56db', '\u4e94', '\u516d', '\u4e03', '\u516b', '\u4e5d', '\u5341'],
+
+ /**
+ * 日期转农历称呼速查表
+ * @Array Of Property
+ * @trans ['初','十','廿','卅']
+ * @return Cn string
+ */
+ nStr2: ['\u521d', '\u5341', '\u5eff', '\u5345'],
+
+ /**
+ * 月份转农历称呼速查表
+ * @Array Of Property
+ * @trans ['正','一','二','三','四','五','六','七','八','九','十','冬','腊']
+ * @return Cn string
+ */
+ nStr3: ['\u6b63', '\u4e8c', '\u4e09', '\u56db', '\u4e94', '\u516d', '\u4e03', '\u516b', '\u4e5d', '\u5341', '\u51ac', '\u814a'],
+
+ /**
+ * 返回农历y年一整年的总天数
+ * @param lunar Year
+ * @return Number
+ * @eg:var count = calendar.lYearDays(1987) ;//count=387
+ */
+ lYearDays: function (y) {
+ var i; var sum = 348
+ for (i = 0x8000; i > 0x8; i >>= 1) { sum += (this.lunarInfo[y - 1900] & i) ? 1 : 0 }
+ return (sum + this.leapDays(y))
+ },
+
+ /**
+ * 返回农历y年闰月是哪个月;若y年没有闰月 则返回0
+ * @param lunar Year
+ * @return Number (0-12)
+ * @eg:var leapMonth = calendar.leapMonth(1987) ;//leapMonth=6
+ */
+ leapMonth: function (y) { // 闰字编码 \u95f0
+ return (this.lunarInfo[y - 1900] & 0xf)
+ },
+
+ /**
+ * 返回农历y年闰月的天数 若该年没有闰月则返回0
+ * @param lunar Year
+ * @return Number (0、29、30)
+ * @eg:var leapMonthDay = calendar.leapDays(1987) ;//leapMonthDay=29
+ */
+ leapDays: function (y) {
+ if (this.leapMonth(y)) {
+ return ((this.lunarInfo[y - 1900] & 0x10000) ? 30 : 29)
+ }
+ return (0)
+ },
+
+ /**
+ * 返回农历y年m月(非闰月)的总天数,计算m为闰月时的天数请使用leapDays方法
+ * @param lunar Year
+ * @return Number (-1、29、30)
+ * @eg:var MonthDay = calendar.monthDays(1987,9) ;//MonthDay=29
+ */
+ monthDays: function (y, m) {
+ if (m > 12 || m < 1) { return -1 }// 月份参数从1至12,参数错误返回-1
+ return ((this.lunarInfo[y - 1900] & (0x10000 >> m)) ? 30 : 29)
+ },
+
+ /**
+ * 返回公历(!)y年m月的天数
+ * @param solar Year
+ * @return Number (-1、28、29、30、31)
+ * @eg:var solarMonthDay = calendar.leapDays(1987) ;//solarMonthDay=30
+ */
+ solarDays: function (y, m) {
+ if (m > 12 || m < 1) { return -1 } // 若参数错误 返回-1
+ var ms = m - 1
+ if (ms == 1) { // 2月份的闰平规律测算后确认返回28或29
+ return (((y % 4 == 0) && (y % 100 != 0) || (y % 400 == 0)) ? 29 : 28)
+ } else {
+ return (this.solarMonth[ms])
+ }
+ },
+
+ /**
+ * 农历年份转换为干支纪年
+ * @param lYear 农历年的年份数
+ * @return Cn string
+ */
+ toGanZhiYear: function (lYear) {
+ var ganKey = (lYear - 3) % 10
+ var zhiKey = (lYear - 3) % 12
+ if (ganKey == 0) ganKey = 10// 如果余数为0则为最后一个天干
+ if (zhiKey == 0) zhiKey = 12// 如果余数为0则为最后一个地支
+ return this.Gan[ganKey - 1] + this.Zhi[zhiKey - 1]
+ },
+
+ /**
+ * 公历月、日判断所属星座
+ * @param cMonth [description]
+ * @param cDay [description]
+ * @return Cn string
+ */
+ toAstro: function (cMonth, cDay) {
+ var s = '\u9b54\u7faf\u6c34\u74f6\u53cc\u9c7c\u767d\u7f8a\u91d1\u725b\u53cc\u5b50\u5de8\u87f9\u72ee\u5b50\u5904\u5973\u5929\u79e4\u5929\u874e\u5c04\u624b\u9b54\u7faf'
+ var arr = [20, 19, 21, 21, 21, 22, 23, 23, 23, 23, 22, 22]
+ return s.substr(cMonth * 2 - (cDay < arr[cMonth - 1] ? 2 : 0), 2) + '\u5ea7'// 座
+ },
+
+ /**
+ * 传入offset偏移量返回干支
+ * @param offset 相对甲子的偏移量
+ * @return Cn string
+ */
+ toGanZhi: function (offset) {
+ return this.Gan[offset % 10] + this.Zhi[offset % 12]
+ },
+
+ /**
+ * 传入公历(!)y年获得该年第n个节气的公历日期
+ * @param y公历年(1900-2100);n二十四节气中的第几个节气(1~24);从n=1(小寒)算起
+ * @return day Number
+ * @eg:var _24 = calendar.getTerm(1987,3) ;//_24=4;意即1987年2月4日立春
+ */
+ getTerm: function (y, n) {
+ if (y < 1900 || y > 2100) { return -1 }
+ if (n < 1 || n > 24) { return -1 }
+ var _table = this.sTermInfo[y - 1900]
+ var _info = [
+ parseInt('0x' + _table.substr(0, 5)).toString(),
+ parseInt('0x' + _table.substr(5, 5)).toString(),
+ parseInt('0x' + _table.substr(10, 5)).toString(),
+ parseInt('0x' + _table.substr(15, 5)).toString(),
+ parseInt('0x' + _table.substr(20, 5)).toString(),
+ parseInt('0x' + _table.substr(25, 5)).toString()
+ ]
+ var _calday = [
+ _info[0].substr(0, 1),
+ _info[0].substr(1, 2),
+ _info[0].substr(3, 1),
+ _info[0].substr(4, 2),
+
+ _info[1].substr(0, 1),
+ _info[1].substr(1, 2),
+ _info[1].substr(3, 1),
+ _info[1].substr(4, 2),
+
+ _info[2].substr(0, 1),
+ _info[2].substr(1, 2),
+ _info[2].substr(3, 1),
+ _info[2].substr(4, 2),
+
+ _info[3].substr(0, 1),
+ _info[3].substr(1, 2),
+ _info[3].substr(3, 1),
+ _info[3].substr(4, 2),
+
+ _info[4].substr(0, 1),
+ _info[4].substr(1, 2),
+ _info[4].substr(3, 1),
+ _info[4].substr(4, 2),
+
+ _info[5].substr(0, 1),
+ _info[5].substr(1, 2),
+ _info[5].substr(3, 1),
+ _info[5].substr(4, 2)
+ ]
+ return parseInt(_calday[n - 1])
+ },
+
+ /**
+ * 传入农历数字月份返回汉语通俗表示法
+ * @param lunar month
+ * @return Cn string
+ * @eg:var cnMonth = calendar.toChinaMonth(12) ;//cnMonth='腊月'
+ */
+ toChinaMonth: function (m) { // 月 => \u6708
+ if (m > 12 || m < 1) { return -1 } // 若参数错误 返回-1
+ var s = this.nStr3[m - 1]
+ s += '\u6708'// 加上月字
+ return s
+ },
+
+ /**
+ * 传入农历日期数字返回汉字表示法
+ * @param lunar day
+ * @return Cn string
+ * @eg:var cnDay = calendar.toChinaDay(21) ;//cnMonth='廿一'
+ */
+ toChinaDay: function (d) { // 日 => \u65e5
+ var s
+ switch (d) {
+ case 10:
+ s = '\u521d\u5341'; break
+ case 20:
+ s = '\u4e8c\u5341'; break
+ break
+ case 30:
+ s = '\u4e09\u5341'; break
+ break
+ default :
+ s = this.nStr2[Math.floor(d / 10)]
+ s += this.nStr1[d % 10]
+ }
+ return (s)
+ },
+
+ /**
+ * 年份转生肖[!仅能大致转换] => 精确划分生肖分界线是“立春”
+ * @param y year
+ * @return Cn string
+ * @eg:var animal = calendar.getAnimal(1987) ;//animal='兔'
+ */
+ getAnimal: function (y) {
+ return this.Animals[(y - 4) % 12]
+ },
+
+ /**
+ * 传入阳历年月日获得详细的公历、农历object信息 <=>JSON
+ * @param y solar year
+ * @param m solar month
+ * @param d solar day
+ * @return JSON object
+ * @eg:console.log(calendar.solar2lunar(1987,11,01));
+ */
+ solar2lunar: function (y, m, d) { // 参数区间1900.1.31~2100.12.31
+ // 年份限定、上限
+ if (y < 1900 || y > 2100) {
+ return -1// undefined转换为数字变为NaN
+ }
+ // 公历传参最下限
+ if (y == 1900 && m == 1 && d < 31) {
+ return -1
+ }
+ // 未传参 获得当天
+ if (!y) {
+ var objDate = new Date()
+ } else {
+ var objDate = new Date(y, parseInt(m) - 1, d)
+ }
+ var i; var leap = 0; var temp = 0
+ // 修正ymd参数
+ var y = objDate.getFullYear()
+ var m = objDate.getMonth() + 1
+ var d = objDate.getDate()
+ var offset = (Date.UTC(objDate.getFullYear(), objDate.getMonth(), objDate.getDate()) - Date.UTC(1900, 0, 31)) / 86400000
+ for (i = 1900; i < 2101 && offset > 0; i++) {
+ temp = this.lYearDays(i)
+ offset -= temp
+ }
+ if (offset < 0) {
+ offset += temp; i--
+ }
+
+ // 是否今天
+ var isTodayObj = new Date()
+ var isToday = false
+ if (isTodayObj.getFullYear() == y && isTodayObj.getMonth() + 1 == m && isTodayObj.getDate() == d) {
+ isToday = true
+ }
+ // 星期几
+ var nWeek = objDate.getDay()
+ var cWeek = this.nStr1[nWeek]
+ // 数字表示周几顺应天朝周一开始的惯例
+ if (nWeek == 0) {
+ nWeek = 7
+ }
+ // 农历年
+ var year = i
+ var leap = this.leapMonth(i) // 闰哪个月
+ var isLeap = false
+
+ // 效验闰月
+ for (i = 1; i < 13 && offset > 0; i++) {
+ // 闰月
+ if (leap > 0 && i == (leap + 1) && isLeap == false) {
+ --i
+ isLeap = true; temp = this.leapDays(year) // 计算农历闰月天数
+ } else {
+ temp = this.monthDays(year, i)// 计算农历普通月天数
+ }
+ // 解除闰月
+ if (isLeap == true && i == (leap + 1)) { isLeap = false }
+ offset -= temp
+ }
+ // 闰月导致数组下标重叠取反
+ if (offset == 0 && leap > 0 && i == leap + 1) {
+ if (isLeap) {
+ isLeap = false
+ } else {
+ isLeap = true; --i
+ }
+ }
+ if (offset < 0) {
+ offset += temp; --i
+ }
+ // 农历月
+ var month = i
+ // 农历日
+ var day = offset + 1
+ // 天干地支处理
+ var sm = m - 1
+ var gzY = this.toGanZhiYear(year)
+
+ // 当月的两个节气
+ // bugfix-2017-7-24 11:03:38 use lunar Year Param `y` Not `year`
+ var firstNode = this.getTerm(y, (m * 2 - 1))// 返回当月「节」为几日开始
+ var secondNode = this.getTerm(y, (m * 2))// 返回当月「节」为几日开始
+
+ // 依据12节气修正干支月
+ var gzM = this.toGanZhi((y - 1900) * 12 + m + 11)
+ if (d >= firstNode) {
+ gzM = this.toGanZhi((y - 1900) * 12 + m + 12)
+ }
+
+ // 传入的日期的节气与否
+ var isTerm = false
+ var Term = null
+ if (firstNode == d) {
+ isTerm = true
+ Term = this.solarTerm[m * 2 - 2]
+ }
+ if (secondNode == d) {
+ isTerm = true
+ Term = this.solarTerm[m * 2 - 1]
+ }
+ // 日柱 当月一日与 1900/1/1 相差天数
+ var dayCyclical = Date.UTC(y, sm, 1, 0, 0, 0, 0) / 86400000 + 25567 + 10
+ var gzD = this.toGanZhi(dayCyclical + d - 1)
+ // 该日期所属的星座
+ var astro = this.toAstro(m, d)
+
+ return { 'lYear': year, 'lMonth': month, 'lDay': day, 'Animal': this.getAnimal(year), 'IMonthCn': (isLeap ? '\u95f0' : '') + this.toChinaMonth(month), 'IDayCn': this.toChinaDay(day), 'cYear': y, 'cMonth': m, 'cDay': d, 'gzYear': gzY, 'gzMonth': gzM, 'gzDay': gzD, 'isToday': isToday, 'isLeap': isLeap, 'nWeek': nWeek, 'ncWeek': '\u661f\u671f' + cWeek, 'isTerm': isTerm, 'Term': Term, 'astro': astro }
+ },
+
+ /**
+ * 传入农历年月日以及传入的月份是否闰月获得详细的公历、农历object信息 <=>JSON
+ * @param y lunar year
+ * @param m lunar month
+ * @param d lunar day
+ * @param isLeapMonth lunar month is leap or not.[如果是农历闰月第四个参数赋值true即可]
+ * @return JSON object
+ * @eg:console.log(calendar.lunar2solar(1987,9,10));
+ */
+ lunar2solar: function (y, m, d, isLeapMonth) { // 参数区间1900.1.31~2100.12.1
+ var isLeapMonth = !!isLeapMonth
+ var leapOffset = 0
+ var leapMonth = this.leapMonth(y)
+ var leapDay = this.leapDays(y)
+ if (isLeapMonth && (leapMonth != m)) { return -1 }// 传参要求计算该闰月公历 但该年得出的闰月与传参的月份并不同
+ if (y == 2100 && m == 12 && d > 1 || y == 1900 && m == 1 && d < 31) { return -1 }// 超出了最大极限值
+ var day = this.monthDays(y, m)
+ var _day = day
+ // bugFix 2016-9-25
+ // if month is leap, _day use leapDays method
+ if (isLeapMonth) {
+ _day = this.leapDays(y, m)
+ }
+ if (y < 1900 || y > 2100 || d > _day) { return -1 }// 参数合法性效验
+
+ // 计算农历的时间差
+ var offset = 0
+ for (var i = 1900; i < y; i++) {
+ offset += this.lYearDays(i)
+ }
+ var leap = 0; var isAdd = false
+ for (var i = 1; i < m; i++) {
+ leap = this.leapMonth(y)
+ if (!isAdd) { // 处理闰月
+ if (leap <= i && leap > 0) {
+ offset += this.leapDays(y); isAdd = true
+ }
+ }
+ offset += this.monthDays(y, i)
+ }
+ // 转换闰月农历 需补充该年闰月的前一个月的时差
+ if (isLeapMonth) { offset += day }
+ // 1900年农历正月一日的公历时间为1900年1月30日0时0分0秒(该时间也是本农历的最开始起始点)
+ var stmap = Date.UTC(1900, 1, 30, 0, 0, 0)
+ var calObj = new Date((offset + d - 31) * 86400000 + stmap)
+ var cY = calObj.getUTCFullYear()
+ var cM = calObj.getUTCMonth() + 1
+ var cD = calObj.getUTCDate()
+
+ return this.solar2lunar(cY, cM, cD)
+ }
+}
+
+export default calendar
diff --git a/uni_modules/uni-calendar/components/uni-calendar/i18n/en.json b/uni_modules/uni-calendar/components/uni-calendar/i18n/en.json
new file mode 100644
index 0000000..fcbd13c
--- /dev/null
+++ b/uni_modules/uni-calendar/components/uni-calendar/i18n/en.json
@@ -0,0 +1,12 @@
+{
+ "uni-calender.ok": "ok",
+ "uni-calender.cancel": "cancel",
+ "uni-calender.today": "today",
+ "uni-calender.MON": "MON",
+ "uni-calender.TUE": "TUE",
+ "uni-calender.WED": "WED",
+ "uni-calender.THU": "THU",
+ "uni-calender.FRI": "FRI",
+ "uni-calender.SAT": "SAT",
+ "uni-calender.SUN": "SUN"
+}
diff --git a/uni_modules/uni-calendar/components/uni-calendar/i18n/index.js b/uni_modules/uni-calendar/components/uni-calendar/i18n/index.js
new file mode 100644
index 0000000..de7509c
--- /dev/null
+++ b/uni_modules/uni-calendar/components/uni-calendar/i18n/index.js
@@ -0,0 +1,8 @@
+import en from './en.json'
+import zhHans from './zh-Hans.json'
+import zhHant from './zh-Hant.json'
+export default {
+ en,
+ 'zh-Hans': zhHans,
+ 'zh-Hant': zhHant
+}
diff --git a/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hans.json b/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hans.json
new file mode 100644
index 0000000..1ca43de
--- /dev/null
+++ b/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hans.json
@@ -0,0 +1,12 @@
+{
+ "uni-calender.ok": "确定",
+ "uni-calender.cancel": "取消",
+ "uni-calender.today": "今日",
+ "uni-calender.SUN": "日",
+ "uni-calender.MON": "一",
+ "uni-calender.TUE": "二",
+ "uni-calender.WED": "三",
+ "uni-calender.THU": "四",
+ "uni-calender.FRI": "五",
+ "uni-calender.SAT": "六"
+}
diff --git a/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hant.json b/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hant.json
new file mode 100644
index 0000000..e0fe33b
--- /dev/null
+++ b/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hant.json
@@ -0,0 +1,12 @@
+{
+ "uni-calender.ok": "確定",
+ "uni-calender.cancel": "取消",
+ "uni-calender.today": "今日",
+ "uni-calender.SUN": "日",
+ "uni-calender.MON": "一",
+ "uni-calender.TUE": "二",
+ "uni-calender.WED": "三",
+ "uni-calender.THU": "四",
+ "uni-calender.FRI": "五",
+ "uni-calender.SAT": "六"
+}
diff --git a/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue
new file mode 100644
index 0000000..0353011
--- /dev/null
+++ b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue
@@ -0,0 +1,181 @@
+
+
+
+
+ {{weeks.date}}
+ {{todayText}}
+ {{weeks.isDay ? todayText : (weeks.lunar.IDayCn === '初一'?weeks.lunar.IMonthCn:weeks.lunar.IDayCn)}}
+ {{weeks.extraInfo.info}}
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
new file mode 100644
index 0000000..a2c33d0
--- /dev/null
+++ b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
@@ -0,0 +1,554 @@
+
+
+
+
+
+
+
+
+ {{nowDate.month}}
+
+
+
+ {{SUNText}}
+
+
+ {{monText}}
+
+
+ {{TUEText}}
+
+
+ {{WEDText}}
+
+
+ {{THUText}}
+
+
+ {{FRIText}}
+
+
+ {{SATText}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-calendar/components/uni-calendar/util.js b/uni_modules/uni-calendar/components/uni-calendar/util.js
new file mode 100644
index 0000000..bae9273
--- /dev/null
+++ b/uni_modules/uni-calendar/components/uni-calendar/util.js
@@ -0,0 +1,354 @@
+import CALENDAR from './calendar.js'
+
+class Calendar {
+ constructor({
+ date,
+ selected,
+ startDate,
+ endDate,
+ range
+ } = {}) {
+ // 当前日期
+ this.date = this.getDate(new Date()) // 当前初入日期
+ // 打点信息
+ this.selected = selected || [];
+ // 范围开始
+ this.startDate = startDate
+ // 范围结束
+ this.endDate = endDate
+ this.range = range
+ // 多选状态
+ this.cleanMultipleStatus()
+ // 每周日期
+ this.weeks = {}
+ // this._getWeek(this.date.fullDate)
+ }
+ /**
+ * 设置日期
+ * @param {Object} date
+ */
+ setDate(date) {
+ this.selectDate = this.getDate(date)
+ this._getWeek(this.selectDate.fullDate)
+ }
+
+ /**
+ * 清理多选状态
+ */
+ cleanMultipleStatus() {
+ this.multipleStatus = {
+ before: '',
+ after: '',
+ data: []
+ }
+ }
+
+ /**
+ * 重置开始日期
+ */
+ resetSatrtDate(startDate) {
+ // 范围开始
+ this.startDate = startDate
+
+ }
+
+ /**
+ * 重置结束日期
+ */
+ resetEndDate(endDate) {
+ // 范围结束
+ this.endDate = endDate
+ }
+
+ /**
+ * 获取任意时间
+ */
+ getDate(date, AddDayCount = 0, str = 'day') {
+ if (!date) {
+ date = new Date()
+ }
+ if (typeof date !== 'object') {
+ date = date.replace(/-/g, '/')
+ }
+ const dd = new Date(date)
+ switch (str) {
+ case 'day':
+ dd.setDate(dd.getDate() + AddDayCount) // 获取AddDayCount天后的日期
+ break
+ case 'month':
+ if (dd.getDate() === 31) {
+ dd.setDate(dd.getDate() + AddDayCount)
+ } else {
+ dd.setMonth(dd.getMonth() + AddDayCount) // 获取AddDayCount天后的日期
+ }
+ break
+ case 'year':
+ dd.setFullYear(dd.getFullYear() + AddDayCount) // 获取AddDayCount天后的日期
+ break
+ }
+ const y = dd.getFullYear()
+ const m = dd.getMonth() + 1 < 10 ? '0' + (dd.getMonth() + 1) : dd.getMonth() + 1 // 获取当前月份的日期,不足10补0
+ const d = dd.getDate() < 10 ? '0' + dd.getDate() : dd.getDate() // 获取当前几号,不足10补0
+ return {
+ fullDate: y + '-' + m + '-' + d,
+ year: y,
+ month: m,
+ date: d,
+ day: dd.getDay()
+ }
+ }
+
+
+ /**
+ * 获取上月剩余天数
+ */
+ _getLastMonthDays(firstDay, full) {
+ let dateArr = []
+ for (let i = firstDay; i > 0; i--) {
+ const beforeDate = new Date(full.year, full.month - 1, -i + 1).getDate()
+ dateArr.push({
+ date: beforeDate,
+ month: full.month - 1,
+ lunar: this.getlunar(full.year, full.month - 1, beforeDate),
+ disable: true
+ })
+ }
+ return dateArr
+ }
+ /**
+ * 获取本月天数
+ */
+ _currentMonthDys(dateData, full) {
+ let dateArr = []
+ let fullDate = this.date.fullDate
+ for (let i = 1; i <= dateData; i++) {
+ let isinfo = false
+ let nowDate = full.year + '-' + (full.month < 10 ?
+ full.month : full.month) + '-' + (i < 10 ?
+ '0' + i : i)
+ // 是否今天
+ let isDay = fullDate === nowDate
+ // 获取打点信息
+ let info = this.selected && this.selected.find((item) => {
+ if (this.dateEqual(nowDate, item.date)) {
+ return item
+ }
+ })
+
+ // 日期禁用
+ let disableBefore = true
+ let disableAfter = true
+ if (this.startDate) {
+ // let dateCompBefore = this.dateCompare(this.startDate, fullDate)
+ // disableBefore = this.dateCompare(dateCompBefore ? this.startDate : fullDate, nowDate)
+ disableBefore = this.dateCompare(this.startDate, nowDate)
+ }
+
+ if (this.endDate) {
+ // let dateCompAfter = this.dateCompare(fullDate, this.endDate)
+ // disableAfter = this.dateCompare(nowDate, dateCompAfter ? this.endDate : fullDate)
+ disableAfter = this.dateCompare(nowDate, this.endDate)
+ }
+ let multiples = this.multipleStatus.data
+ let checked = false
+ let multiplesStatus = -1
+ if (this.range) {
+ if (multiples) {
+ multiplesStatus = multiples.findIndex((item) => {
+ return this.dateEqual(item, nowDate)
+ })
+ }
+ if (multiplesStatus !== -1) {
+ checked = true
+ }
+ }
+ let data = {
+ fullDate: nowDate,
+ year: full.year,
+ date: i,
+ multiple: this.range ? checked : false,
+ beforeMultiple: this.dateEqual(this.multipleStatus.before, nowDate),
+ afterMultiple: this.dateEqual(this.multipleStatus.after, nowDate),
+ month: full.month,
+ lunar: this.getlunar(full.year, full.month, i),
+ disable: !(disableBefore && disableAfter),
+ isDay
+ }
+ if (info) {
+ data.extraInfo = info
+ }
+
+ dateArr.push(data)
+ }
+ return dateArr
+ }
+ /**
+ * 获取下月天数
+ */
+ _getNextMonthDays(surplus, full) {
+ let dateArr = []
+ for (let i = 1; i < surplus + 1; i++) {
+ dateArr.push({
+ date: i,
+ month: Number(full.month) + 1,
+ lunar: this.getlunar(full.year, Number(full.month) + 1, i),
+ disable: true
+ })
+ }
+ return dateArr
+ }
+
+ /**
+ * 获取当前日期详情
+ * @param {Object} date
+ */
+ getInfo(date) {
+ if (!date) {
+ date = new Date()
+ }
+ const dateInfo = this.canlender.find(item => item.fullDate === this.getDate(date).fullDate)
+ return dateInfo
+ }
+
+ /**
+ * 比较时间大小
+ */
+ dateCompare(startDate, endDate) {
+ // 计算截止时间
+ startDate = new Date(startDate.replace('-', '/').replace('-', '/'))
+ // 计算详细项的截止时间
+ endDate = new Date(endDate.replace('-', '/').replace('-', '/'))
+ if (startDate <= endDate) {
+ return true
+ } else {
+ return false
+ }
+ }
+
+ /**
+ * 比较时间是否相等
+ */
+ dateEqual(before, after) {
+ // 计算截止时间
+ before = new Date(before.replace('-', '/').replace('-', '/'))
+ // 计算详细项的截止时间
+ after = new Date(after.replace('-', '/').replace('-', '/'))
+ if (before.getTime() - after.getTime() === 0) {
+ return true
+ } else {
+ return false
+ }
+ }
+
+
+ /**
+ * 获取日期范围内所有日期
+ * @param {Object} begin
+ * @param {Object} end
+ */
+ geDateAll(begin, end) {
+ var arr = []
+ var ab = begin.split('-')
+ var ae = end.split('-')
+ var db = new Date()
+ db.setFullYear(ab[0], ab[1] - 1, ab[2])
+ var de = new Date()
+ de.setFullYear(ae[0], ae[1] - 1, ae[2])
+ var unixDb = db.getTime() - 24 * 60 * 60 * 1000
+ var unixDe = de.getTime() - 24 * 60 * 60 * 1000
+ for (var k = unixDb; k <= unixDe;) {
+ k = k + 24 * 60 * 60 * 1000
+ arr.push(this.getDate(new Date(parseInt(k))).fullDate)
+ }
+ return arr
+ }
+ /**
+ * 计算阴历日期显示
+ */
+ getlunar(year, month, date) {
+ return CALENDAR.solar2lunar(year, month, date)
+ }
+ /**
+ * 设置打点
+ */
+ setSelectInfo(data, value) {
+ this.selected = value
+ this._getWeek(data)
+ }
+
+ /**
+ * 获取多选状态
+ */
+ setMultiple(fullDate) {
+ let {
+ before,
+ after
+ } = this.multipleStatus
+
+ if (!this.range) return
+ if (before && after) {
+ this.multipleStatus.before = ''
+ this.multipleStatus.after = ''
+ this.multipleStatus.data = []
+ } else {
+ if (!before) {
+ this.multipleStatus.before = fullDate
+ } else {
+ this.multipleStatus.after = fullDate
+ if (this.dateCompare(this.multipleStatus.before, this.multipleStatus.after)) {
+ this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after);
+ } else {
+ this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before);
+ }
+ }
+ }
+ this._getWeek(fullDate)
+ }
+
+ /**
+ * 获取每周数据
+ * @param {Object} dateData
+ */
+ _getWeek(dateData) {
+ const {
+ fullDate,
+ year,
+ month,
+ date,
+ day
+ } = this.getDate(dateData)
+ let firstDay = new Date(year, month - 1, 1).getDay()
+ let currentDay = new Date(year, month, 0).getDate()
+ let dates = {
+ lastMonthDays: this._getLastMonthDays(firstDay, this.getDate(dateData)), // 上个月末尾几天
+ currentMonthDys: this._currentMonthDys(currentDay, this.getDate(dateData)), // 本月天数
+ nextMonthDays: [], // 下个月开始几天
+ weeks: []
+ }
+ let canlender = []
+ const surplus = 42 - (dates.lastMonthDays.length + dates.currentMonthDys.length)
+ dates.nextMonthDays = this._getNextMonthDays(surplus, this.getDate(dateData))
+ canlender = canlender.concat(dates.lastMonthDays, dates.currentMonthDys, dates.nextMonthDays)
+ let weeks = {}
+ // 拼接数组 上个月开始几天 + 本月天数+ 下个月开始几天
+ for (let i = 0; i < canlender.length; i++) {
+ if (i % 7 === 0) {
+ weeks[parseInt(i / 7)] = new Array(7)
+ }
+ weeks[parseInt(i / 7)][i % 7] = canlender[i]
+ }
+ this.canlender = canlender
+ this.weeks = weeks
+ }
+
+ //静态方法
+ // static init(date) {
+ // if (!this.instance) {
+ // this.instance = new Calendar(date);
+ // }
+ // return this.instance;
+ // }
+}
+
+
+export default Calendar
diff --git a/uni_modules/uni-calendar/package.json b/uni_modules/uni-calendar/package.json
new file mode 100644
index 0000000..40455c8
--- /dev/null
+++ b/uni_modules/uni-calendar/package.json
@@ -0,0 +1,88 @@
+{
+ "id": "uni-calendar",
+ "displayName": "uni-calendar 日历",
+ "version": "1.4.5",
+ "description": "日历组件",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "日历",
+ "",
+ "打卡",
+ "日历选择"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-calendar/readme.md b/uni_modules/uni-calendar/readme.md
new file mode 100644
index 0000000..4f3ca0e
--- /dev/null
+++ b/uni_modules/uni-calendar/readme.md
@@ -0,0 +1,103 @@
+
+
+## Calendar 日历
+> **组件名:uni-calendar**
+> 代码块: `uCalendar`
+
+
+日历组件
+
+> **注意事项**
+> 为了避免错误使用,给大家带来不好的开发体验,请在使用组件前仔细阅读下面的注意事项,可以帮你避免一些错误。
+> - 本组件农历转换使用的js是 [@1900-2100区间内的公历、农历互转](https://github.com/jjonline/calendar.js)
+> - 仅支持自定义组件模式
+> - `date`属性传入的应该是一个 String ,如: 2019-06-27 ,而不是 new Date()
+> - 通过 `insert` 属性来确定当前的事件是 @change 还是 @confirm 。理应合并为一个事件,但是为了区分模式,现使用两个事件,这里需要注意
+> - 弹窗模式下无法阻止后面的元素滚动,如有需要阻止,请在弹窗弹出后,手动设置滚动元素为不可滚动
+
+
+### 安装方式
+
+本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。
+
+如需通过`npm`方式使用`uni-ui`组件,另见文档:[https://ext.dcloud.net.cn/plugin?id=55](https://ext.dcloud.net.cn/plugin?id=55)
+
+### 基本用法
+
+在 ``template`` 中使用组件
+
+```html
+
+
+
+```
+
+### 通过方法打开日历
+
+需要设置 `insert` 为 `false`
+
+```html
+
+
+
+
+```
+
+```javascript
+
+export default {
+ data() {
+ return {};
+ },
+ methods: {
+ open(){
+ this.$refs.calendar.open();
+ },
+ confirm(e) {
+ console.log(e);
+ }
+ }
+};
+
+```
+
+
+## API
+
+### Calendar Props
+
+| 属性名 | 类型 | 默认值| 说明 |
+| | |
+| date | String |- | 自定义当前时间,默认为今天 |
+| lunar | Boolean | false | 显示农历 |
+| startDate | String |- | 日期选择范围-开始日期 |
+| endDate | String |- | 日期选择范围-结束日期 |
+| range | Boolean | false | 范围选择 |
+| insert | Boolean | false | 插入模式,可选值,ture:插入模式;false:弹窗模式;默认为插入模式 |
+|clearDate |Boolean |true |弹窗模式是否清空上次选择内容 |
+| selected | Array |- | 打点,期待格式[{date: '2019-06-27', info: '签到', data: { custom: '自定义信息', name: '自定义消息头',xxx:xxx... }}] |
+|showMonth | Boolean | true | 是否显示月份为背景 |
+
+### Calendar Events
+
+| 事件名 | 说明 |返回值|
+| | | |
+| open | 弹出日历组件,`insert :false` 时生效|- |
+
+
+
+
+
+## 组件示例
+
+点击查看:[https://hellouniapp.dcloud.net.cn/pages/extUI/calendar/calendar](https://hellouniapp.dcloud.net.cn/pages/extUI/calendar/calendar)
\ No newline at end of file
diff --git a/uni_modules/uni-card/changelog.md b/uni_modules/uni-card/changelog.md
new file mode 100644
index 0000000..c3cd8c4
--- /dev/null
+++ b/uni_modules/uni-card/changelog.md
@@ -0,0 +1,26 @@
+## 1.3.1(2021-12-20)
+- 修复 在vue页面下略缩图显示不正常的bug
+## 1.3.0(2021-11-19)
+- 重构插槽的用法 ,header 替换为 title
+- 新增 actions 插槽
+- 新增 cover 封面图属性和插槽
+- 新增 padding 内容默认内边距离
+- 新增 margin 卡片默认外边距离
+- 新增 spacing 卡片默认内边距
+- 新增 shadow 卡片阴影属性
+- 取消 mode 属性,可使用组合插槽代替
+- 取消 note 属性 ,使用actions插槽代替
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-card](https://uniapp.dcloud.io/component/uniui/uni-card)
+## 1.2.1(2021-07-30)
+- 优化 vue3下事件警告的问题
+## 1.2.0(2021-07-13)
+- 组件兼容 vue3,如何创建vue3项目详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.1.8(2021-07-01)
+- 优化 图文卡片无图片加载时,提供占位图标
+- 新增 header 插槽,自定义卡片头部( 图文卡片 mode="style" 时,不支持)
+- 修复 thumbnail 不存在仍然占位的 bug
+## 1.1.7(2021-05-12)
+- 新增 组件示例地址
+## 1.1.6(2021-02-04)
+- 调整为uni_modules目录规范
diff --git a/uni_modules/uni-card/components/uni-card/uni-card.vue b/uni_modules/uni-card/components/uni-card/uni-card.vue
new file mode 100644
index 0000000..38cf594
--- /dev/null
+++ b/uni_modules/uni-card/components/uni-card/uni-card.vue
@@ -0,0 +1,270 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-card/package.json b/uni_modules/uni-card/package.json
new file mode 100644
index 0000000..f16224d
--- /dev/null
+++ b/uni_modules/uni-card/package.json
@@ -0,0 +1,90 @@
+{
+ "id": "uni-card",
+ "displayName": "uni-card 卡片",
+ "version": "1.3.1",
+ "description": "Card 组件,提供常见的卡片样式。",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "card",
+ "",
+ "卡片"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-icons",
+ "uni-scss"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-card/readme.md b/uni_modules/uni-card/readme.md
new file mode 100644
index 0000000..7434e71
--- /dev/null
+++ b/uni_modules/uni-card/readme.md
@@ -0,0 +1,12 @@
+
+
+## Card 卡片
+> **组件名:uni-card**
+> 代码块: `uCard`
+
+卡片视图组件。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-card)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
+
+
diff --git a/uni_modules/uni-collapse/changelog.md b/uni_modules/uni-collapse/changelog.md
new file mode 100644
index 0000000..292e4c7
--- /dev/null
+++ b/uni_modules/uni-collapse/changelog.md
@@ -0,0 +1,36 @@
+## 1.4.3(2022-01-25)
+- 修复 初始化的时候 ,open 属性失效的bug
+## 1.4.2(2022-01-21)
+- 修复 微信小程序resize后组件收起的bug
+## 1.4.1(2021-11-22)
+- 修复 vue3中个别scss变量无法找到的问题
+## 1.4.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-collapse](https://uniapp.dcloud.io/component/uniui/uni-collapse)
+## 1.3.3(2021-08-17)
+- 优化 show-arrow 属性默认为true
+## 1.3.2(2021-08-17)
+- 新增 show-arrow 属性,控制是否显示右侧箭头
+## 1.3.1(2021-07-30)
+- 优化 vue3下小程序事件警告的问题
+## 1.3.0(2021-07-30)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.2.2(2021-07-21)
+- 修复 由1.2.0版本引起的 change 事件返回 undefined 的Bug
+## 1.2.1(2021-07-21)
+- 优化 组件示例
+## 1.2.0(2021-07-21)
+- 新增 组件折叠动画
+- 新增 value\v-model 属性 ,动态修改面板折叠状态
+- 新增 title 插槽 ,可定义面板标题
+- 新增 border 属性 ,显示隐藏面板内容分隔线
+- 新增 title-border 属性 ,显示隐藏面板标题分隔线
+- 修复 resize 方法失效的Bug
+- 修复 change 事件返回参数不正确的Bug
+- 优化 H5、App 平台自动更具内容更新高度,无需调用 reszie() 方法
+## 1.1.7(2021-05-12)
+- 新增 组件示例地址
+## 1.1.6(2021-02-05)
+- 优化 组件引用关系,通过uni_modules引用组件
+## 1.1.5(2021-02-05)
+- 调整为uni_modules目录规范
\ No newline at end of file
diff --git a/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.vue b/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.vue
new file mode 100644
index 0000000..50a72a5
--- /dev/null
+++ b/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.vue
@@ -0,0 +1,404 @@
+
+
+
+
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.vue b/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.vue
new file mode 100644
index 0000000..384c39a
--- /dev/null
+++ b/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-collapse/package.json b/uni_modules/uni-collapse/package.json
new file mode 100644
index 0000000..65349cf
--- /dev/null
+++ b/uni_modules/uni-collapse/package.json
@@ -0,0 +1,89 @@
+{
+ "id": "uni-collapse",
+ "displayName": "uni-collapse 折叠面板",
+ "version": "1.4.3",
+ "description": "Collapse 组件,可以折叠 / 展开的内容区域。",
+ "keywords": [
+ "uni-ui",
+ "折叠",
+ "折叠面板",
+ "手风琴"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss",
+ "uni-icons"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-collapse/readme.md b/uni_modules/uni-collapse/readme.md
new file mode 100644
index 0000000..bc758eb
--- /dev/null
+++ b/uni_modules/uni-collapse/readme.md
@@ -0,0 +1,12 @@
+
+
+## Collapse 折叠面板
+> **组件名:uni-collapse**
+> 代码块: `uCollapse`
+> 关联组件:`uni-collapse-item`、`uni-icons`。
+
+
+折叠面板用来折叠/显示过长的内容或者是列表。通常是在多内容分类项使用,折叠不重要的内容,显示重要内容。点击可以展开折叠部分。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-collapse)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-combox/changelog.md b/uni_modules/uni-combox/changelog.md
new file mode 100644
index 0000000..23c2748
--- /dev/null
+++ b/uni_modules/uni-combox/changelog.md
@@ -0,0 +1,15 @@
+## 1.0.1(2021-11-23)
+- 优化 label、label-width 属性
+## 1.0.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-combox](https://uniapp.dcloud.io/component/uniui/uni-combox)
+## 0.1.0(2021-07-30)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 0.0.6(2021-05-12)
+- 新增 组件示例地址
+## 0.0.5(2021-04-21)
+- 优化 添加依赖 uni-icons, 导入后自动下载依赖
+## 0.0.4(2021-02-05)
+- 优化 组件引用关系,通过uni_modules引用组件
+## 0.0.3(2021-02-04)
+- 调整为uni_modules目录规范
diff --git a/uni_modules/uni-combox/components/uni-combox/uni-combox.vue b/uni_modules/uni-combox/components/uni-combox/uni-combox.vue
new file mode 100644
index 0000000..fe3b2d6
--- /dev/null
+++ b/uni_modules/uni-combox/components/uni-combox/uni-combox.vue
@@ -0,0 +1,297 @@
+
+
+
+ {{label}}
+
+
+
+
+
+
+
+
+
+
+ {{emptyTips}}
+
+
+ {{item}}
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-combox/package.json b/uni_modules/uni-combox/package.json
new file mode 100644
index 0000000..4a05c3f
--- /dev/null
+++ b/uni_modules/uni-combox/package.json
@@ -0,0 +1,90 @@
+{
+ "id": "uni-combox",
+ "displayName": "uni-combox 组合框",
+ "version": "1.0.1",
+ "description": "可以选择也可以输入的表单项 ",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "combox",
+ "组合框",
+ "select"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss",
+ "uni-icons"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "n"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-combox/readme.md b/uni_modules/uni-combox/readme.md
new file mode 100644
index 0000000..ffa2cc8
--- /dev/null
+++ b/uni_modules/uni-combox/readme.md
@@ -0,0 +1,11 @@
+
+
+## Combox 组合框
+> **组件名:uni-combox**
+> 代码块: `uCombox`
+
+
+组合框组件。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-combox)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-countdown/changelog.md b/uni_modules/uni-countdown/changelog.md
new file mode 100644
index 0000000..f25beef
--- /dev/null
+++ b/uni_modules/uni-countdown/changelog.md
@@ -0,0 +1,24 @@
+## 1.2.2(2022-01-19)
+- 修复 在微信小程序中样式不生效的bug
+## 1.2.1(2022-01-18)
+- 新增 update 方法 ,在动态更新时间后,刷新组件
+## 1.2.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-countdown](https://uniapp.dcloud.io/component/uniui/uni-countdown)
+## 1.1.3(2021-10-18)
+- 重构
+- 新增 font-size 支持自定义字体大小
+## 1.1.2(2021-08-24)
+- 新增 支持国际化
+## 1.1.1(2021-07-30)
+- 优化 vue3下小程序事件警告的问题
+## 1.1.0(2021-07-30)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.0.5(2021-06-18)
+- 修复 uni-countdown 重复赋值跳两秒的 bug
+## 1.0.4(2021-05-12)
+- 新增 组件示例地址
+## 1.0.3(2021-05-08)
+- 修复 uni-countdown 不能控制倒计时的 bug
+## 1.0.2(2021-02-04)
+- 调整为uni_modules目录规范
diff --git a/uni_modules/uni-countdown/components/uni-countdown/i18n/en.json b/uni_modules/uni-countdown/components/uni-countdown/i18n/en.json
new file mode 100644
index 0000000..06309cb
--- /dev/null
+++ b/uni_modules/uni-countdown/components/uni-countdown/i18n/en.json
@@ -0,0 +1,6 @@
+{
+ "uni-countdown.day": "day",
+ "uni-countdown.h": "h",
+ "uni-countdown.m": "m",
+ "uni-countdown.s": "s"
+}
diff --git a/uni_modules/uni-countdown/components/uni-countdown/i18n/index.js b/uni_modules/uni-countdown/components/uni-countdown/i18n/index.js
new file mode 100644
index 0000000..de7509c
--- /dev/null
+++ b/uni_modules/uni-countdown/components/uni-countdown/i18n/index.js
@@ -0,0 +1,8 @@
+import en from './en.json'
+import zhHans from './zh-Hans.json'
+import zhHant from './zh-Hant.json'
+export default {
+ en,
+ 'zh-Hans': zhHans,
+ 'zh-Hant': zhHant
+}
diff --git a/uni_modules/uni-countdown/components/uni-countdown/i18n/zh-Hans.json b/uni_modules/uni-countdown/components/uni-countdown/i18n/zh-Hans.json
new file mode 100644
index 0000000..358cdd1
--- /dev/null
+++ b/uni_modules/uni-countdown/components/uni-countdown/i18n/zh-Hans.json
@@ -0,0 +1,6 @@
+{
+ "uni-countdown.day": "天",
+ "uni-countdown.h": "时",
+ "uni-countdown.m": "分",
+ "uni-countdown.s": "秒"
+}
diff --git a/uni_modules/uni-countdown/components/uni-countdown/i18n/zh-Hant.json b/uni_modules/uni-countdown/components/uni-countdown/i18n/zh-Hant.json
new file mode 100644
index 0000000..e5a63de
--- /dev/null
+++ b/uni_modules/uni-countdown/components/uni-countdown/i18n/zh-Hant.json
@@ -0,0 +1,6 @@
+{
+ "uni-countdown.day": "天",
+ "uni-countdown.h": "時",
+ "uni-countdown.m": "分",
+ "uni-countdown.s": "秒"
+}
diff --git a/uni_modules/uni-countdown/components/uni-countdown/uni-countdown.vue b/uni_modules/uni-countdown/components/uni-countdown/uni-countdown.vue
new file mode 100644
index 0000000..1f8ef4e
--- /dev/null
+++ b/uni_modules/uni-countdown/components/uni-countdown/uni-countdown.vue
@@ -0,0 +1,271 @@
+
+
+ {{ d }}
+ {{dayText}}
+ {{ h }}
+ {{ showColon ? ':' : hourText }}
+ {{ i }}
+ {{ showColon ? ':' : minuteText }}
+ {{ s }}
+ {{secondText}}
+
+
+
+
diff --git a/uni_modules/uni-countdown/package.json b/uni_modules/uni-countdown/package.json
new file mode 100644
index 0000000..70e99ee
--- /dev/null
+++ b/uni_modules/uni-countdown/package.json
@@ -0,0 +1,86 @@
+{
+ "id": "uni-countdown",
+ "displayName": "uni-countdown 倒计时",
+ "version": "1.2.2",
+ "description": "CountDown 倒计时组件",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "countdown",
+ "倒计时"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": ["uni-scss"],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-countdown/readme.md b/uni_modules/uni-countdown/readme.md
new file mode 100644
index 0000000..4bcb1aa
--- /dev/null
+++ b/uni_modules/uni-countdown/readme.md
@@ -0,0 +1,10 @@
+
+
+## CountDown 倒计时
+> **组件名:uni-countdown**
+> 代码块: `uCountDown`
+
+倒计时组件。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-countdown)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-data-checkbox/changelog.md b/uni_modules/uni-data-checkbox/changelog.md
new file mode 100644
index 0000000..dbc517a
--- /dev/null
+++ b/uni_modules/uni-data-checkbox/changelog.md
@@ -0,0 +1,43 @@
+## 1.0.2(2022-06-30)
+- 优化 在 uni-forms 中的依赖注入方式
+## 1.0.1(2022-02-07)
+- 修复 multiple 为 true 时,v-model 的值为 null 报错的 bug
+## 1.0.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-data-checkbox](https://uniapp.dcloud.io/component/uniui/uni-data-checkbox)
+## 0.2.5(2021-08-23)
+- 修复 在uni-forms中 modelValue 中不存在当前字段,当前字段必填写也不参与校验的问题
+## 0.2.4(2021-08-17)
+- 修复 单选 list 模式下 ,icon 为 left 时,选中图标不显示的问题
+## 0.2.3(2021-08-11)
+- 修复 在 uni-forms 中重置表单,错误信息无法清除的问题
+## 0.2.2(2021-07-30)
+- 优化 在uni-forms组件,与label不对齐的问题
+## 0.2.1(2021-07-27)
+- 修复 单选默认值为0不能选中的Bug
+## 0.2.0(2021-07-13)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 0.1.11(2021-07-06)
+- 优化 删除无用日志
+## 0.1.10(2021-07-05)
+- 修复 由 0.1.9 引起的非 nvue 端图标不显示的问题
+## 0.1.9(2021-07-05)
+- 修复 nvue 黑框样式问题
+## 0.1.8(2021-06-28)
+- 修复 selectedTextColor 属性不生效的Bug
+## 0.1.7(2021-06-02)
+- 新增 map 属性,可以方便映射text/value属性
+## 0.1.6(2021-05-26)
+- 修复 不关联服务空间的情况下组件报错的Bug
+## 0.1.5(2021-05-12)
+- 新增 组件示例地址
+## 0.1.4(2021-04-09)
+- 修复 nvue 下无法选中的问题
+## 0.1.3(2021-03-22)
+- 新增 disabled属性
+## 0.1.2(2021-02-24)
+- 优化 默认颜色显示
+## 0.1.1(2021-02-24)
+- 新增 支持nvue
+## 0.1.0(2021-02-18)
+- “暂无数据”显示居中
diff --git a/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.vue b/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.vue
new file mode 100644
index 0000000..2e51712
--- /dev/null
+++ b/uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.vue
@@ -0,0 +1,817 @@
+
+
+
+
+
+ {{mixinDatacomErrorMessage}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-data-checkbox/package.json b/uni_modules/uni-data-checkbox/package.json
new file mode 100644
index 0000000..51470a9
--- /dev/null
+++ b/uni_modules/uni-data-checkbox/package.json
@@ -0,0 +1,87 @@
+{
+ "id": "uni-data-checkbox",
+ "displayName": "uni-data-checkbox 数据选择器",
+ "version": "1.0.2",
+ "description": "通过数据驱动的单选框和复选框",
+ "keywords": [
+ "uni-ui",
+ "checkbox",
+ "单选",
+ "多选",
+ "单选多选"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": "^3.1.1"
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": ["uni-load-more","uni-scss"],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-data-checkbox/readme.md b/uni_modules/uni-data-checkbox/readme.md
new file mode 100644
index 0000000..6eb253d
--- /dev/null
+++ b/uni_modules/uni-data-checkbox/readme.md
@@ -0,0 +1,18 @@
+
+
+## DataCheckbox 数据驱动的单选复选框
+> **组件名:uni-data-checkbox**
+> 代码块: `uDataCheckbox`
+
+
+本组件是基于uni-app基础组件checkbox的封装。本组件要解决问题包括:
+
+1. 数据绑定型组件:给本组件绑定一个data,会自动渲染一组候选内容。再以往,开发者需要编写不少代码实现类似功能
+2. 自动的表单校验:组件绑定了data,且符合[uni-forms](https://ext.dcloud.net.cn/plugin?id=2773)组件的表单校验规范,搭配使用会自动实现表单校验
+3. 本组件合并了单选多选
+4. 本组件有若干风格选择,如普通的单选多选框、并列button风格、tag风格。开发者可以快速选择需要的风格。但作为一个封装组件,样式代码虽然不用自己写了,却会牺牲一定的样式自定义性
+
+在uniCloud开发中,`DB Schema`中配置了enum枚举等类型后,在web控制台的[自动生成表单](https://uniapp.dcloud.io/uniCloud/schema?id=autocode)功能中,会自动生成``uni-data-checkbox``组件并绑定好data
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-data-checkbox)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-data-picker/changelog.md b/uni_modules/uni-data-picker/changelog.md
new file mode 100644
index 0000000..083e521
--- /dev/null
+++ b/uni_modules/uni-data-picker/changelog.md
@@ -0,0 +1,64 @@
+## 1.0.7(2022-07-06)
+- 优化 pc端图标位置不正确的问题
+## 1.0.6(2022-07-05)
+- 优化 显示样式
+## 1.0.5(2022-07-04)
+- 修复 uni-data-picker 在 uni-forms-item 中宽度不正确的bug
+## 1.0.4(2022-04-19)
+- 修复 字节小程序 本地数据无法选择下一级的Bug
+## 1.0.3(2022-02-25)
+- 修复 nvue 不支持的 v-show 的 bug
+## 1.0.2(2022-02-25)
+- 修复 条件编译 nvue 不支持的 css 样式
+## 1.0.1(2021-11-23)
+- 修复 由上个版本引发的map、v-model等属性不生效的bug
+## 1.0.0(2021-11-19)
+- 优化 组件 UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-data-picker](https://uniapp.dcloud.io/component/uniui/uni-data-picker)
+## 0.4.9(2021-10-28)
+- 修复 VUE2 v-model 概率无效的 bug
+## 0.4.8(2021-10-27)
+- 修复 v-model 概率无效的 bug
+## 0.4.7(2021-10-25)
+- 新增 属性 spaceInfo 服务空间配置 HBuilderX 3.2.11+
+- 修复 树型 uniCloud 数据类型为 int 时报错的 bug
+## 0.4.6(2021-10-19)
+- 修复 非 VUE3 v-model 为 0 时无法选中的 bug
+## 0.4.5(2021-09-26)
+- 新增 清除已选项的功能(通过 clearIcon 属性配置是否显示按钮),同时提供 clear 方法以供调用,二者等效
+- 修复 readonly 为 true 时报错的 bug
+## 0.4.4(2021-09-26)
+- 修复 上一版本造成的 map 属性失效的 bug
+- 新增 ellipsis 属性,支持配置 tab 选项长度过长时是否自动省略
+## 0.4.3(2021-09-24)
+- 修复 某些情况下级联未触发的 bug
+## 0.4.2(2021-09-23)
+- 新增 提供 show 和 hide 方法,开发者可以通过 ref 调用
+- 新增 选项内容过长自动添加省略号
+## 0.4.1(2021-09-15)
+- 新增 map 属性 字段映射,将 text/value 映射到数据中的其他字段
+## 0.4.0(2021-07-13)
+- 组件兼容 vue3,如何创建 vue3 项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 0.3.5(2021-06-04)
+- 修复 无法加载云端数据的问题
+## 0.3.4(2021-05-28)
+- 修复 v-model 无效问题
+- 修复 loaddata 为空数据组时加载时间过长问题
+- 修复 上个版本引出的本地数据无法选择带有 children 的 2 级节点
+## 0.3.3(2021-05-12)
+- 新增 组件示例地址
+## 0.3.2(2021-04-22)
+- 修复 非树形数据有 where 属性查询报错的问题
+## 0.3.1(2021-04-15)
+- 修复 本地数据概率无法回显时问题
+## 0.3.0(2021-04-07)
+- 新增 支持云端非树形表结构数据
+- 修复 根节点 parent_field 字段等于 null 时选择界面错乱问题
+## 0.2.0(2021-03-15)
+- 修复 nodeclick、popupopened、popupclosed 事件无法触发的问题
+## 0.1.9(2021-03-09)
+- 修复 微信小程序某些情况下无法选择的问题
+## 0.1.8(2021-02-05)
+- 优化 部分样式在 nvue 上的兼容表现
+## 0.1.7(2021-02-05)
+- 调整为 uni_modules 目录规范
diff --git a/uni_modules/uni-data-picker/components/uni-data-picker/keypress.js b/uni_modules/uni-data-picker/components/uni-data-picker/keypress.js
new file mode 100644
index 0000000..6ef26a2
--- /dev/null
+++ b/uni_modules/uni-data-picker/components/uni-data-picker/keypress.js
@@ -0,0 +1,45 @@
+// #ifdef H5
+export default {
+ name: 'Keypress',
+ props: {
+ disable: {
+ type: Boolean,
+ default: false
+ }
+ },
+ mounted () {
+ const keyNames = {
+ esc: ['Esc', 'Escape'],
+ tab: 'Tab',
+ enter: 'Enter',
+ space: [' ', 'Spacebar'],
+ up: ['Up', 'ArrowUp'],
+ left: ['Left', 'ArrowLeft'],
+ right: ['Right', 'ArrowRight'],
+ down: ['Down', 'ArrowDown'],
+ delete: ['Backspace', 'Delete', 'Del']
+ }
+ const listener = ($event) => {
+ if (this.disable) {
+ return
+ }
+ const keyName = Object.keys(keyNames).find(key => {
+ const keyName = $event.key
+ const value = keyNames[key]
+ return value === keyName || (Array.isArray(value) && value.includes(keyName))
+ })
+ if (keyName) {
+ // 避免和其他按键事件冲突
+ setTimeout(() => {
+ this.$emit(keyName, {})
+ }, 0)
+ }
+ }
+ document.addEventListener('keyup', listener)
+ this.$once('hook:beforeDestroy', () => {
+ document.removeEventListener('keyup', listener)
+ })
+ },
+ render: () => {}
+}
+// #endif
diff --git a/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue b/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue
new file mode 100644
index 0000000..410888d
--- /dev/null
+++ b/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue
@@ -0,0 +1,554 @@
+
+
+
+
+
+ {{errorMessage}}
+
+
+
+
+
+
+ {{item.text}}{{split}}
+
+
+
+ {{placeholder}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{popupTitle}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-picker.js b/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-picker.js
new file mode 100644
index 0000000..c12fd54
--- /dev/null
+++ b/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-picker.js
@@ -0,0 +1,563 @@
+export default {
+ props: {
+ localdata: {
+ type: [Array, Object],
+ default () {
+ return []
+ }
+ },
+ spaceInfo: {
+ type: Object,
+ default () {
+ return {}
+ }
+ },
+ collection: {
+ type: String,
+ default: ''
+ },
+ action: {
+ type: String,
+ default: ''
+ },
+ field: {
+ type: String,
+ default: ''
+ },
+ orderby: {
+ type: String,
+ default: ''
+ },
+ where: {
+ type: [String, Object],
+ default: ''
+ },
+ pageData: {
+ type: String,
+ default: 'add'
+ },
+ pageCurrent: {
+ type: Number,
+ default: 1
+ },
+ pageSize: {
+ type: Number,
+ default: 20
+ },
+ getcount: {
+ type: [Boolean, String],
+ default: false
+ },
+ getone: {
+ type: [Boolean, String],
+ default: false
+ },
+ gettree: {
+ type: [Boolean, String],
+ default: false
+ },
+ manual: {
+ type: Boolean,
+ default: false
+ },
+ value: {
+ type: [Array, String, Number],
+ default () {
+ return []
+ }
+ },
+ modelValue: {
+ type: [Array, String, Number],
+ default () {
+ return []
+ }
+ },
+ preload: {
+ type: Boolean,
+ default: false
+ },
+ stepSearh: {
+ type: Boolean,
+ default: true
+ },
+ selfField: {
+ type: String,
+ default: ''
+ },
+ parentField: {
+ type: String,
+ default: ''
+ },
+ multiple: {
+ type: Boolean,
+ default: false
+ },
+ map: {
+ type: Object,
+ default() {
+ return {
+ text: "text",
+ value: "value"
+ }
+ }
+ }
+ },
+ data() {
+ return {
+ loading: false,
+ errorMessage: '',
+ loadMore: {
+ contentdown: '',
+ contentrefresh: '',
+ contentnomore: ''
+ },
+ dataList: [],
+ selected: [],
+ selectedIndex: 0,
+ page: {
+ current: this.pageCurrent,
+ size: this.pageSize,
+ count: 0
+ }
+ }
+ },
+ computed: {
+ isLocaldata() {
+ return !this.collection.length
+ },
+ postField() {
+ let fields = [this.field];
+ if (this.parentField) {
+ fields.push(`${this.parentField} as parent_value`);
+ }
+ return fields.join(',');
+ },
+ dataValue() {
+ let isModelValue = Array.isArray(this.modelValue) ? (this.modelValue.length > 0) : (this.modelValue !== null || this.modelValue !== undefined)
+ return isModelValue ? this.modelValue : this.value
+ },
+ hasValue() {
+ if (typeof this.dataValue === 'number') {
+ return true
+ }
+ return (this.dataValue != null) && (this.dataValue.length > 0)
+ }
+ },
+ created() {
+ this.$watch(() => {
+ var al = [];
+ ['pageCurrent',
+ 'pageSize',
+ 'spaceInfo',
+ 'value',
+ 'modelValue',
+ 'localdata',
+ 'collection',
+ 'action',
+ 'field',
+ 'orderby',
+ 'where',
+ 'getont',
+ 'getcount',
+ 'gettree'
+ ].forEach(key => {
+ al.push(this[key])
+ });
+ return al
+ }, (newValue, oldValue) => {
+ let needReset = false
+ for (let i = 2; i < newValue.length; i++) {
+ if (newValue[i] != oldValue[i]) {
+ needReset = true
+ break
+ }
+ }
+ if (newValue[0] != oldValue[0]) {
+ this.page.current = this.pageCurrent
+ }
+ this.page.size = this.pageSize
+
+ this.onPropsChange()
+ })
+ this._treeData = []
+ },
+ methods: {
+ onPropsChange() {
+ this._treeData = []
+ },
+ getCommand(options = {}) {
+ /* eslint-disable no-undef */
+ let db = uniCloud.database(this.spaceInfo)
+
+ const action = options.action || this.action
+ if (action) {
+ db = db.action(action)
+ }
+
+ const collection = options.collection || this.collection
+ db = db.collection(collection)
+
+ const where = options.where || this.where
+ if (!(!where || !Object.keys(where).length)) {
+ db = db.where(where)
+ }
+
+ const field = options.field || this.field
+ if (field) {
+ db = db.field(field)
+ }
+
+ const orderby = options.orderby || this.orderby
+ if (orderby) {
+ db = db.orderBy(orderby)
+ }
+
+ const current = options.pageCurrent !== undefined ? options.pageCurrent : this.page.current
+ const size = options.pageSize !== undefined ? options.pageSize : this.page.size
+ const getCount = options.getcount !== undefined ? options.getcount : this.getcount
+ const getTree = options.gettree !== undefined ? options.gettree : this.gettree
+
+ const getOptions = {
+ getCount,
+ getTree
+ }
+ if (options.getTreePath) {
+ getOptions.getTreePath = options.getTreePath
+ }
+
+ db = db.skip(size * (current - 1)).limit(size).get(getOptions)
+
+ return db
+ },
+ getNodeData(callback) {
+ if (this.loading) {
+ return
+ }
+ this.loading = true
+ this.getCommand({
+ field: this.postField,
+ where: this._pathWhere()
+ }).then((res) => {
+ this.loading = false
+ this.selected = res.result.data
+ callback && callback()
+ }).catch((err) => {
+ this.loading = false
+ this.errorMessage = err
+ })
+ },
+ getTreePath(callback) {
+ if (this.loading) {
+ return
+ }
+ this.loading = true
+
+ this.getCommand({
+ field: this.postField,
+ getTreePath: {
+ startWith: `${this.selfField}=='${this.dataValue}'`
+ }
+ }).then((res) => {
+ this.loading = false
+ let treePath = []
+ this._extractTreePath(res.result.data, treePath)
+ this.selected = treePath
+ callback && callback()
+ }).catch((err) => {
+ this.loading = false
+ this.errorMessage = err
+ })
+ },
+ loadData() {
+ if (this.isLocaldata) {
+ this._processLocalData()
+ return
+ }
+
+ if (this.dataValue != null) {
+ this._loadNodeData((data) => {
+ this._treeData = data
+ this._updateBindData()
+ this._updateSelected()
+ })
+ return
+ }
+
+ if (this.stepSearh) {
+ this._loadNodeData((data) => {
+ this._treeData = data
+ this._updateBindData()
+ })
+ } else {
+ this._loadAllData((data) => {
+ this._treeData = []
+ this._extractTree(data, this._treeData, null)
+ this._updateBindData()
+ })
+ }
+ },
+ _loadAllData(callback) {
+ if (this.loading) {
+ return
+ }
+ this.loading = true
+
+ this.getCommand({
+ field: this.postField,
+ gettree: true,
+ startwith: `${this.selfField}=='${this.dataValue}'`
+ }).then((res) => {
+ this.loading = false
+ callback(res.result.data)
+ this.onDataChange()
+ }).catch((err) => {
+ this.loading = false
+ this.errorMessage = err
+ })
+ },
+ _loadNodeData(callback, pw) {
+ if (this.loading) {
+ return
+ }
+ this.loading = true
+
+ this.getCommand({
+ field: this.postField,
+ where: pw || this._postWhere(),
+ pageSize: 500
+ }).then((res) => {
+ this.loading = false
+ callback(res.result.data)
+ this.onDataChange()
+ }).catch((err) => {
+ this.loading = false
+ this.errorMessage = err
+ })
+ },
+ _pathWhere() {
+ let result = []
+ let where_field = this._getParentNameByField();
+ if (where_field) {
+ result.push(`${where_field} == '${this.dataValue}'`)
+ }
+
+ if (this.where) {
+ return `(${this.where}) && (${result.join(' || ')})`
+ }
+
+ return result.join(' || ')
+ },
+ _postWhere() {
+ let result = []
+ let selected = this.selected
+ let parentField = this.parentField
+ if (parentField) {
+ result.push(`${parentField} == null || ${parentField} == ""`)
+ }
+ if (selected.length) {
+ for (var i = 0; i < selected.length - 1; i++) {
+ result.push(`${parentField} == '${selected[i].value}'`)
+ }
+ }
+
+ let where = []
+ if (this.where) {
+ where.push(`(${this.where})`)
+ }
+ if (result.length) {
+ where.push(`(${result.join(' || ')})`)
+ }
+
+ return where.join(' && ')
+ },
+ _nodeWhere() {
+ let result = []
+ let selected = this.selected
+ if (selected.length) {
+ result.push(`${this.parentField} == '${selected[selected.length - 1].value}'`)
+ }
+
+ if (this.where) {
+ return `(${this.where}) && (${result.join(' || ')})`
+ }
+
+ return result.join(' || ')
+ },
+ _getParentNameByField() {
+ const fields = this.field.split(',');
+ let where_field = null;
+ for (let i = 0; i < fields.length; i++) {
+ const items = fields[i].split('as');
+ if (items.length < 2) {
+ continue;
+ }
+ if (items[1].trim() === 'value') {
+ where_field = items[0].trim();
+ break;
+ }
+ }
+ return where_field
+ },
+ _isTreeView() {
+ return (this.parentField && this.selfField)
+ },
+ _updateSelected() {
+ var dl = this.dataList
+ var sl = this.selected
+ let textField = this.map.text
+ let valueField = this.map.value
+ for (var i = 0; i < sl.length; i++) {
+ var value = sl[i].value
+ var dl2 = dl[i]
+ for (var j = 0; j < dl2.length; j++) {
+ var item2 = dl2[j]
+ if (item2[valueField] === value) {
+ sl[i].text = item2[textField]
+ break
+ }
+ }
+ }
+ },
+ _updateBindData(node) {
+ const {
+ dataList,
+ hasNodes
+ } = this._filterData(this._treeData, this.selected)
+
+ let isleaf = this._stepSearh === false && !hasNodes
+
+ if (node) {
+ node.isleaf = isleaf
+ }
+
+ this.dataList = dataList
+ this.selectedIndex = dataList.length - 1
+
+ if (!isleaf && this.selected.length < dataList.length) {
+ this.selected.push({
+ value: null,
+ text: "请选择"
+ })
+ }
+
+ return {
+ isleaf,
+ hasNodes
+ }
+ },
+ _filterData(data, paths) {
+ let dataList = []
+ let hasNodes = true
+
+ dataList.push(data.filter((item) => {
+ return (item.parent_value === null || item.parent_value === undefined || item.parent_value === '')
+ }))
+ for (let i = 0; i < paths.length; i++) {
+ var value = paths[i].value
+ var nodes = data.filter((item) => {
+ return item.parent_value === value
+ })
+
+ if (nodes.length) {
+ dataList.push(nodes)
+ } else {
+ hasNodes = false
+ }
+ }
+
+ return {
+ dataList,
+ hasNodes
+ }
+ },
+ _extractTree(nodes, result, parent_value) {
+ let list = result || []
+ let valueField = this.map.value
+ for (let i = 0; i < nodes.length; i++) {
+ let node = nodes[i]
+
+ let child = {}
+ for (let key in node) {
+ if (key !== 'children') {
+ child[key] = node[key]
+ }
+ }
+ if (parent_value !== null && parent_value !== undefined && parent_value !== '') {
+ child.parent_value = parent_value
+ }
+ result.push(child)
+
+ let children = node.children
+ if (children) {
+ this._extractTree(children, result, node[valueField])
+ }
+ }
+ },
+ _extractTreePath(nodes, result) {
+ let list = result || []
+ for (let i = 0; i < nodes.length; i++) {
+ let node = nodes[i]
+
+ let child = {}
+ for (let key in node) {
+ if (key !== 'children') {
+ child[key] = node[key]
+ }
+ }
+ result.push(child)
+
+ let children = node.children
+ if (children) {
+ this._extractTreePath(children, result)
+ }
+ }
+ },
+ _findNodePath(key, nodes, path = []) {
+ let textField = this.map.text
+ let valueField = this.map.value
+ for (let i = 0; i < nodes.length; i++) {
+ let node = nodes[i]
+ let children = node.children
+ let text = node[textField]
+ let value = node[valueField]
+
+ path.push({
+ value,
+ text
+ })
+
+ if (value === key) {
+ return path
+ }
+
+ if (children) {
+ const p = this._findNodePath(key, children, path)
+ if (p.length) {
+ return p
+ }
+ }
+
+ path.pop()
+ }
+ return []
+ },
+ _processLocalData() {
+ this._treeData = []
+ this._extractTree(this.localdata, this._treeData)
+
+ var inputValue = this.dataValue
+ if (inputValue === undefined) {
+ return
+ }
+
+ if (Array.isArray(inputValue)) {
+ inputValue = inputValue[inputValue.length - 1]
+ if (typeof inputValue === 'object' && inputValue[this.map.value]) {
+ inputValue = inputValue[this.map.value]
+ }
+ }
+
+ this.selected = this._findNodePath(inputValue, this.localdata)
+ }
+ }
+}
diff --git a/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.vue b/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.vue
new file mode 100644
index 0000000..065aac2
--- /dev/null
+++ b/uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.vue
@@ -0,0 +1,333 @@
+
+
+
+
+
+
+ {{item.text}}
+
+
+
+
+
+
+
+
+ {{item[map.text]}}
+
+
+
+
+
+
+
+
+
+ {{errorMessage}}
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-data-picker/package.json b/uni_modules/uni-data-picker/package.json
new file mode 100644
index 0000000..9900380
--- /dev/null
+++ b/uni_modules/uni-data-picker/package.json
@@ -0,0 +1,93 @@
+{
+ "id": "uni-data-picker",
+ "displayName": "uni-data-picker 数据驱动的picker选择器",
+ "version": "1.0.7",
+ "description": "单列、多列级联选择器,常用于省市区城市选择、公司部门选择、多级分类等场景",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "picker",
+ "级联",
+ "省市区",
+ ""
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-load-more",
+ "uni-icons",
+ "uni-scss"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y",
+ "京东": "u"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-data-picker/readme.md b/uni_modules/uni-data-picker/readme.md
new file mode 100644
index 0000000..6cda224
--- /dev/null
+++ b/uni_modules/uni-data-picker/readme.md
@@ -0,0 +1,22 @@
+## DataPicker 级联选择
+> **组件名:uni-data-picker**
+> 代码块: `uDataPicker`
+> 关联组件:`uni-data-pickerview`、`uni-load-more`。
+
+
+`` 是一个选择类[datacom组件](https://uniapp.dcloud.net.cn/component/datacom)。
+
+支持单列、和多列级联选择。列数没有限制,如果屏幕显示不全,顶部tab区域会左右滚动。
+
+候选数据支持一次性加载完毕,也支持懒加载,比如示例图中,选择了“北京”后,动态加载北京的区县数据。
+
+`` 组件尤其适用于地址选择、分类选择等选择类。
+
+`` 支持本地数据、云端静态数据(json),uniCloud云数据库数据。
+
+`` 可以通过JQL直连uniCloud云数据库,配套[DB Schema](https://uniapp.dcloud.net.cn/uniCloud/schema),可在schema2code中自动生成前端页面,还支持服务器端校验。
+
+在uniCloud数据表中新建表“uni-id-address”和“opendb-city-china”,这2个表的schema自带foreignKey关联。在“uni-id-address”表的表结构页面使用schema2code生成前端页面,会自动生成地址管理的维护页面,自动从“opendb-city-china”表包含的中国所有省市区信息里选择地址。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-data-picker)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-data-select/changelog.md b/uni_modules/uni-data-select/changelog.md
new file mode 100644
index 0000000..d5beaa3
--- /dev/null
+++ b/uni_modules/uni-data-select/changelog.md
@@ -0,0 +1,16 @@
+## 0.1.6(2022-07-06)
+- 修复 pc端宽度异常的bug
+## 0.1.5
+- 修复 pc端宽度异常的bug
+## 0.1.4(2022-07-05)
+- 优化 显示样式
+## 0.1.3(2022-06-02)
+- 修复 localdata 赋值不生效的 bug
+- 新增 支持 uni.scss 修改颜色
+- 新增 支持选项禁用(数据选项设置 disabled: true 即禁用)
+## 0.1.2(2022-05-08)
+- 修复 当 value 为 0 时选择不生效的 bug
+## 0.1.1(2022-05-07)
+- 新增 记住上次的选项(仅 collection 存在时有效)
+## 0.1.0(2022-04-22)
+- 初始化
diff --git a/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
new file mode 100644
index 0000000..16995bd
--- /dev/null
+++ b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
@@ -0,0 +1,426 @@
+
+
+ {{label + ':'}}
+
+
+
+ {{current}}
+ {{typePlaceholder}}
+
+
+
+
+
+
+
+
+ {{emptyTips}}
+
+
+ {{formatItemName(item)}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-data-select/package.json b/uni_modules/uni-data-select/package.json
new file mode 100644
index 0000000..1ebd8dd
--- /dev/null
+++ b/uni_modules/uni-data-select/package.json
@@ -0,0 +1,88 @@
+{
+ "id": "uni-data-select",
+ "displayName": "uni-data-select 下拉框选择器",
+ "version": "0.1.6",
+ "description": "通过数据驱动的下拉框选择器",
+ "keywords": [
+ "uni-ui",
+ "select",
+ "uni-data-select",
+ "下拉框",
+ "下拉选"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": "^3.1.1"
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": ["uni-load-more"],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "u",
+ "app-nvue": "n"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "u",
+ "百度": "u",
+ "字节跳动": "u",
+ "QQ": "u",
+ "京东": "u"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-data-select/readme.md b/uni_modules/uni-data-select/readme.md
new file mode 100644
index 0000000..eb58de3
--- /dev/null
+++ b/uni_modules/uni-data-select/readme.md
@@ -0,0 +1,8 @@
+## DataSelect 下拉框选择器
+> **组件名:uni-data-select**
+> 代码块: `uDataSelect`
+
+当选项过多时,使用下拉菜单展示并选择内容
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-data-select)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
diff --git a/uni_modules/uni-dateformat/changelog.md b/uni_modules/uni-dateformat/changelog.md
new file mode 100644
index 0000000..d551d7b
--- /dev/null
+++ b/uni_modules/uni-dateformat/changelog.md
@@ -0,0 +1,10 @@
+## 1.0.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-dateformat](https://uniapp.dcloud.io/component/uniui/uni-dateformat)
+## 0.0.5(2021-07-08)
+- 调整 默认时间不再是当前时间,而是显示'-'字符
+## 0.0.4(2021-05-12)
+- 新增 组件示例地址
+## 0.0.3(2021-02-04)
+- 调整为uni_modules目录规范
+- 修复 iOS 平台日期格式化出错的问题
diff --git a/uni_modules/uni-dateformat/components/uni-dateformat/date-format.js b/uni_modules/uni-dateformat/components/uni-dateformat/date-format.js
new file mode 100644
index 0000000..e00d559
--- /dev/null
+++ b/uni_modules/uni-dateformat/components/uni-dateformat/date-format.js
@@ -0,0 +1,200 @@
+// yyyy-MM-dd hh:mm:ss.SSS 所有支持的类型
+function pad(str, length = 2) {
+ str += ''
+ while (str.length < length) {
+ str = '0' + str
+ }
+ return str.slice(-length)
+}
+
+const parser = {
+ yyyy: (dateObj) => {
+ return pad(dateObj.year, 4)
+ },
+ yy: (dateObj) => {
+ return pad(dateObj.year)
+ },
+ MM: (dateObj) => {
+ return pad(dateObj.month)
+ },
+ M: (dateObj) => {
+ return dateObj.month
+ },
+ dd: (dateObj) => {
+ return pad(dateObj.day)
+ },
+ d: (dateObj) => {
+ return dateObj.day
+ },
+ hh: (dateObj) => {
+ return pad(dateObj.hour)
+ },
+ h: (dateObj) => {
+ return dateObj.hour
+ },
+ mm: (dateObj) => {
+ return pad(dateObj.minute)
+ },
+ m: (dateObj) => {
+ return dateObj.minute
+ },
+ ss: (dateObj) => {
+ return pad(dateObj.second)
+ },
+ s: (dateObj) => {
+ return dateObj.second
+ },
+ SSS: (dateObj) => {
+ return pad(dateObj.millisecond, 3)
+ },
+ S: (dateObj) => {
+ return dateObj.millisecond
+ },
+}
+
+// 这都n年了iOS依然不认识2020-12-12,需要转换为2020/12/12
+function getDate(time) {
+ if (time instanceof Date) {
+ return time
+ }
+ switch (typeof time) {
+ case 'string':
+ {
+ // 2020-12-12T12:12:12.000Z、2020-12-12T12:12:12.000
+ if (time.indexOf('T') > -1) {
+ return new Date(time)
+ }
+ return new Date(time.replace(/-/g, '/'))
+ }
+ default:
+ return new Date(time)
+ }
+}
+
+export function formatDate(date, format = 'yyyy/MM/dd hh:mm:ss') {
+ if (!date && date !== 0) {
+ return ''
+ }
+ date = getDate(date)
+ const dateObj = {
+ year: date.getFullYear(),
+ month: date.getMonth() + 1,
+ day: date.getDate(),
+ hour: date.getHours(),
+ minute: date.getMinutes(),
+ second: date.getSeconds(),
+ millisecond: date.getMilliseconds()
+ }
+ const tokenRegExp = /yyyy|yy|MM|M|dd|d|hh|h|mm|m|ss|s|SSS|SS|S/
+ let flag = true
+ let result = format
+ while (flag) {
+ flag = false
+ result = result.replace(tokenRegExp, function(matched) {
+ flag = true
+ return parser[matched](dateObj)
+ })
+ }
+ return result
+}
+
+export function friendlyDate(time, {
+ locale = 'zh',
+ threshold = [60000, 3600000],
+ format = 'yyyy/MM/dd hh:mm:ss'
+}) {
+ if (time === '-') {
+ return time
+ }
+ if (!time && time !== 0) {
+ return ''
+ }
+ const localeText = {
+ zh: {
+ year: '年',
+ month: '月',
+ day: '天',
+ hour: '小时',
+ minute: '分钟',
+ second: '秒',
+ ago: '前',
+ later: '后',
+ justNow: '刚刚',
+ soon: '马上',
+ template: '{num}{unit}{suffix}'
+ },
+ en: {
+ year: 'year',
+ month: 'month',
+ day: 'day',
+ hour: 'hour',
+ minute: 'minute',
+ second: 'second',
+ ago: 'ago',
+ later: 'later',
+ justNow: 'just now',
+ soon: 'soon',
+ template: '{num} {unit} {suffix}'
+ }
+ }
+ const text = localeText[locale] || localeText.zh
+ let date = getDate(time)
+ let ms = date.getTime() - Date.now()
+ let absMs = Math.abs(ms)
+ if (absMs < threshold[0]) {
+ return ms < 0 ? text.justNow : text.soon
+ }
+ if (absMs >= threshold[1]) {
+ return formatDate(date, format)
+ }
+ let num
+ let unit
+ let suffix = text.later
+ if (ms < 0) {
+ suffix = text.ago
+ ms = -ms
+ }
+ const seconds = Math.floor((ms) / 1000)
+ const minutes = Math.floor(seconds / 60)
+ const hours = Math.floor(minutes / 60)
+ const days = Math.floor(hours / 24)
+ const months = Math.floor(days / 30)
+ const years = Math.floor(months / 12)
+ switch (true) {
+ case years > 0:
+ num = years
+ unit = text.year
+ break
+ case months > 0:
+ num = months
+ unit = text.month
+ break
+ case days > 0:
+ num = days
+ unit = text.day
+ break
+ case hours > 0:
+ num = hours
+ unit = text.hour
+ break
+ case minutes > 0:
+ num = minutes
+ unit = text.minute
+ break
+ default:
+ num = seconds
+ unit = text.second
+ break
+ }
+
+ if (locale === 'en') {
+ if (num === 1) {
+ num = 'a'
+ } else {
+ unit += 's'
+ }
+ }
+
+ return text.template.replace(/{\s*num\s*}/g, num + '').replace(/{\s*unit\s*}/g, unit).replace(/{\s*suffix\s*}/g,
+ suffix)
+}
diff --git a/uni_modules/uni-dateformat/components/uni-dateformat/uni-dateformat.vue b/uni_modules/uni-dateformat/components/uni-dateformat/uni-dateformat.vue
new file mode 100644
index 0000000..c5ed030
--- /dev/null
+++ b/uni_modules/uni-dateformat/components/uni-dateformat/uni-dateformat.vue
@@ -0,0 +1,88 @@
+
+ {{dateShow}}
+
+
+
+
+
diff --git a/uni_modules/uni-dateformat/package.json b/uni_modules/uni-dateformat/package.json
new file mode 100644
index 0000000..786a670
--- /dev/null
+++ b/uni_modules/uni-dateformat/package.json
@@ -0,0 +1,88 @@
+{
+ "id": "uni-dateformat",
+ "displayName": "uni-dateformat 日期格式化",
+ "version": "1.0.0",
+ "description": "日期格式化组件,可以将日期格式化为1分钟前、刚刚等形式",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "日期格式化",
+ "时间格式化",
+ "格式化时间",
+ ""
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": ["uni-scss"],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "y",
+ "联盟": "y"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-dateformat/readme.md b/uni_modules/uni-dateformat/readme.md
new file mode 100644
index 0000000..37ddb6e
--- /dev/null
+++ b/uni_modules/uni-dateformat/readme.md
@@ -0,0 +1,11 @@
+
+
+### DateFormat 日期格式化
+> **组件名:uni-dateformat**
+> 代码块: `uDateformat`
+
+
+日期格式化组件。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-dateformat)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-datetime-picker/changelog.md b/uni_modules/uni-datetime-picker/changelog.md
new file mode 100644
index 0000000..5c9735a
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/changelog.md
@@ -0,0 +1,93 @@
+## 2.2.6(2022-06-30)
+- 优化 组件样式,调整了组件图标大小、高度、颜色等,与uni-ui风格保持一致
+## 2.2.5(2022-06-24)
+- 修复 日历顶部年月及底部确认未国际化 bug
+## 2.2.4(2022-03-31)
+- 修复 Vue3 下动态赋值,单选类型未响应的 bug
+## 2.2.3(2022-03-28)
+- 修复 Vue3 下动态赋值未响应的 bug
+## 2.2.2(2021-12-10)
+- 修复 clear-icon 属性在小程序平台不生效的 bug
+## 2.2.1(2021-12-10)
+- 修复 日期范围选在小程序平台,必须多点击一次才能取消选中状态的 bug
+## 2.2.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-datetime-picker](https://uniapp.dcloud.io/component/uniui/uni-datetime-picker)
+## 2.1.5(2021-11-09)
+- 新增 提供组件设计资源,组件样式调整
+## 2.1.4(2021-09-10)
+- 修复 hide-second 在移动端的 bug
+- 修复 单选赋默认值时,赋值日期未高亮的 bug
+- 修复 赋默认值时,移动端未正确显示时间的 bug
+## 2.1.3(2021-09-09)
+- 新增 hide-second 属性,支持只使用时分,隐藏秒
+## 2.1.2(2021-09-03)
+- 优化 取消选中时(范围选)直接开始下一次选择, 避免多点一次
+- 优化 移动端支持清除按钮,同时支持通过 ref 调用组件的 clear 方法
+- 优化 调整字号大小,美化日历界面
+- 修复 因国际化导致的 placeholder 失效的 bug
+## 2.1.1(2021-08-24)
+- 新增 支持国际化
+- 优化 范围选择器在 pc 端过宽的问题
+## 2.1.0(2021-08-09)
+- 新增 适配 vue3
+## 2.0.19(2021-08-09)
+- 新增 支持作为 uni-forms 子组件相关功能
+- 修复 在 uni-forms 中使用时,选择时间报 NAN 错误的 bug
+## 2.0.18(2021-08-05)
+- 修复 type 属性动态赋值无效的 bug
+- 修复 ‘确认’按钮被 tabbar 遮盖 bug
+- 修复 组件未赋值时范围选左、右日历相同的 bug
+## 2.0.17(2021-08-04)
+- 修复 范围选未正确显示当前值的 bug
+- 修复 h5 平台(移动端)报错 'cale' of undefined 的 bug
+## 2.0.16(2021-07-21)
+- 新增 return-type 属性支持返回 date 日期对象
+## 2.0.15(2021-07-14)
+- 修复 单选日期类型,初始赋值后不在当前日历的 bug
+- 新增 clearIcon 属性,显示框的清空按钮可配置显示隐藏(仅 pc 有效)
+- 优化 移动端移除显示框的清空按钮,无实际用途
+## 2.0.14(2021-07-14)
+- 修复 组件赋值为空,界面未更新的 bug
+- 修复 start 和 end 不能动态赋值的 bug
+- 修复 范围选类型,用户选择后再次选择右侧日历(结束日期)显示不正确的 bug
+## 2.0.13(2021-07-08)
+- 修复 范围选择不能动态赋值的 bug
+## 2.0.12(2021-07-08)
+- 修复 范围选择的初始时间在一个月内时,造成无法选择的bug
+## 2.0.11(2021-07-08)
+- 优化 弹出层在超出视窗边缘定位不准确的问题
+## 2.0.10(2021-07-08)
+- 修复 范围起始点样式的背景色与今日样式的字体前景色融合,导致日期字体看不清的 bug
+- 优化 弹出层在超出视窗边缘被遮盖的问题
+## 2.0.9(2021-07-07)
+- 新增 maskClick 事件
+- 修复 特殊情况日历 rpx 布局错误的 bug,rpx -> px
+- 修复 范围选择时清空返回值不合理的bug,['', ''] -> []
+## 2.0.8(2021-07-07)
+- 新增 日期时间显示框支持插槽
+## 2.0.7(2021-07-01)
+- 优化 添加 uni-icons 依赖
+## 2.0.6(2021-05-22)
+- 修复 图标在小程序上不显示的 bug
+- 优化 重命名引用组件,避免潜在组件命名冲突
+## 2.0.5(2021-05-20)
+- 优化 代码目录扁平化
+## 2.0.4(2021-05-12)
+- 新增 组件示例地址
+## 2.0.3(2021-05-10)
+- 修复 ios 下不识别 '-' 日期格式的 bug
+- 优化 pc 下弹出层添加边框和阴影
+## 2.0.2(2021-05-08)
+- 修复 在 admin 中获取弹出层定位错误的bug
+## 2.0.1(2021-05-08)
+- 修复 type 属性向下兼容,默认值从 date 变更为 datetime
+## 2.0.0(2021-04-30)
+- 支持日历形式的日期+时间的范围选择
+ > 注意:此版本不向后兼容,不再支持单独时间选择(type=time)及相关的 hide-second 属性(时间选可使用内置组件 picker)
+## 1.0.6(2021-03-18)
+- 新增 hide-second 属性,时间支持仅选择时、分
+- 修复 选择跟显示的日期不一样的 bug
+- 修复 chang事件触发2次的 bug
+- 修复 分、秒 end 范围错误的 bug
+- 优化 更好的 nvue 适配
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue
new file mode 100644
index 0000000..3d2dbea
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue
@@ -0,0 +1,185 @@
+
+
+
+
+ {{weeks.date}}
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.js b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.js
new file mode 100644
index 0000000..b8d7d6f
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.js
@@ -0,0 +1,546 @@
+/**
+* @1900-2100区间内的公历、农历互转
+* @charset UTF-8
+* @github https://github.com/jjonline/calendar.js
+* @Author Jea杨(JJonline@JJonline.Cn)
+* @Time 2014-7-21
+* @Time 2016-8-13 Fixed 2033hex、Attribution Annals
+* @Time 2016-9-25 Fixed lunar LeapMonth Param Bug
+* @Time 2017-7-24 Fixed use getTerm Func Param Error.use solar year,NOT lunar year
+* @Version 1.0.3
+* @公历转农历:calendar.solar2lunar(1987,11,01); //[you can ignore params of prefix 0]
+* @农历转公历:calendar.lunar2solar(1987,09,10); //[you can ignore params of prefix 0]
+*/
+/* eslint-disable */
+var calendar = {
+
+ /**
+ * 农历1900-2100的润大小信息表
+ * @Array Of Property
+ * @return Hex
+ */
+ lunarInfo: [0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, // 1900-1909
+ 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977, // 1910-1919
+ 0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970, // 1920-1929
+ 0x06566, 0x0d4a0, 0x0ea50, 0x06e95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950, // 1930-1939
+ 0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557, // 1940-1949
+ 0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0, // 1950-1959
+ 0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0, // 1960-1969
+ 0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6, // 1970-1979
+ 0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570, // 1980-1989
+ 0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0, // 1990-1999
+ 0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5, // 2000-2009
+ 0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930, // 2010-2019
+ 0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530, // 2020-2029
+ 0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45, // 2030-2039
+ 0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0, // 2040-2049
+ /** Add By JJonline@JJonline.Cn**/
+ 0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0, // 2050-2059
+ 0x0a2e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4, // 2060-2069
+ 0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0, // 2070-2079
+ 0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160, // 2080-2089
+ 0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252, // 2090-2099
+ 0x0d520], // 2100
+
+ /**
+ * 公历每个月份的天数普通表
+ * @Array Of Property
+ * @return Number
+ */
+ solarMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
+
+ /**
+ * 天干地支之天干速查表
+ * @Array Of Property trans["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"]
+ * @return Cn string
+ */
+ Gan: ['\u7532', '\u4e59', '\u4e19', '\u4e01', '\u620a', '\u5df1', '\u5e9a', '\u8f9b', '\u58ec', '\u7678'],
+
+ /**
+ * 天干地支之地支速查表
+ * @Array Of Property
+ * @trans["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"]
+ * @return Cn string
+ */
+ Zhi: ['\u5b50', '\u4e11', '\u5bc5', '\u536f', '\u8fb0', '\u5df3', '\u5348', '\u672a', '\u7533', '\u9149', '\u620c', '\u4ea5'],
+
+ /**
+ * 天干地支之地支速查表<=>生肖
+ * @Array Of Property
+ * @trans["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"]
+ * @return Cn string
+ */
+ Animals: ['\u9f20', '\u725b', '\u864e', '\u5154', '\u9f99', '\u86c7', '\u9a6c', '\u7f8a', '\u7334', '\u9e21', '\u72d7', '\u732a'],
+
+ /**
+ * 24节气速查表
+ * @Array Of Property
+ * @trans["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"]
+ * @return Cn string
+ */
+ solarTerm: ['\u5c0f\u5bd2', '\u5927\u5bd2', '\u7acb\u6625', '\u96e8\u6c34', '\u60ca\u86f0', '\u6625\u5206', '\u6e05\u660e', '\u8c37\u96e8', '\u7acb\u590f', '\u5c0f\u6ee1', '\u8292\u79cd', '\u590f\u81f3', '\u5c0f\u6691', '\u5927\u6691', '\u7acb\u79cb', '\u5904\u6691', '\u767d\u9732', '\u79cb\u5206', '\u5bd2\u9732', '\u971c\u964d', '\u7acb\u51ac', '\u5c0f\u96ea', '\u5927\u96ea', '\u51ac\u81f3'],
+
+ /**
+ * 1900-2100各年的24节气日期速查表
+ * @Array Of Property
+ * @return 0x string For splice
+ */
+ sTermInfo: ['9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f',
+ '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f',
+ 'b027097bd097c36b0b6fc9274c91aa', '9778397bd19801ec9210c965cc920e', '97b6b97bd19801ec95f8c965cc920f',
+ '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd197c36c9210c9274c91aa',
+ '97b6b97bd19801ec95f8c965cc920e', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2',
+ '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bcf97c3598082c95f8e1cfcc920f',
+ '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722',
+ '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f',
+ '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd07f595b0b6fc920fb0722',
+ '9778397bd097c36b0b6fc9210c8dc2', '9778397bd19801ec9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f',
+ '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e',
+ '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2',
+ '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bd07f1487f595b0b0bc920fb0722',
+ '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722',
+ '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722',
+ '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e',
+ '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b97bd19801ec9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722',
+ '9778397bd097c36b0b6fc9210c91aa', '97b6b97bd197c36c9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722',
+ '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e',
+ '97b6b7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2',
+ '9778397bd097c36b0b70c9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722',
+ '7f0e397bd097c35b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721',
+ '7f0e27f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722',
+ '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722',
+ '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721',
+ '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9274c91aa',
+ '97b6b7f0e47f531b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722',
+ '9778397bd097c36b0b6fc9210c91aa', '97b6b7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722',
+ '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '977837f0e37f149b0723b0787b0721',
+ '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c35b0b6fc9210c8dc2',
+ '977837f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722',
+ '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721',
+ '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd',
+ '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722',
+ '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722',
+ '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721',
+ '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd',
+ '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722',
+ '977837f0e37f14998082b0723b06bd', '7f07e7f0e37f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722',
+ '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721',
+ '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5',
+ '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f531b0b0bb0b6fb0722',
+ '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721',
+ '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd',
+ '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35',
+ '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722',
+ '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721',
+ '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd',
+ '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35',
+ '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e37f14998083b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722',
+ '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14898082b0723b02d5', '7f07e7f0e37f14998082b0787b0721',
+ '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66aa89801e9808297c35', '665f67f0e37f14898082b0723b02d5',
+ '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66a449801e9808297c35',
+ '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721',
+ '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd',
+ '7f07e7f0e47f531b0723b0b6fb0721', '7f0e26665b66a449801e9808297c35', '665f67f0e37f1489801eb072297c35',
+ '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722'],
+
+ /**
+ * 数字转中文速查表
+ * @Array Of Property
+ * @trans ['日','一','二','三','四','五','六','七','八','九','十']
+ * @return Cn string
+ */
+ nStr1: ['\u65e5', '\u4e00', '\u4e8c', '\u4e09', '\u56db', '\u4e94', '\u516d', '\u4e03', '\u516b', '\u4e5d', '\u5341'],
+
+ /**
+ * 日期转农历称呼速查表
+ * @Array Of Property
+ * @trans ['初','十','廿','卅']
+ * @return Cn string
+ */
+ nStr2: ['\u521d', '\u5341', '\u5eff', '\u5345'],
+
+ /**
+ * 月份转农历称呼速查表
+ * @Array Of Property
+ * @trans ['正','一','二','三','四','五','六','七','八','九','十','冬','腊']
+ * @return Cn string
+ */
+ nStr3: ['\u6b63', '\u4e8c', '\u4e09', '\u56db', '\u4e94', '\u516d', '\u4e03', '\u516b', '\u4e5d', '\u5341', '\u51ac', '\u814a'],
+
+ /**
+ * 返回农历y年一整年的总天数
+ * @param lunar Year
+ * @return Number
+ * @eg:var count = calendar.lYearDays(1987) ;//count=387
+ */
+ lYearDays: function (y) {
+ var i; var sum = 348
+ for (i = 0x8000; i > 0x8; i >>= 1) { sum += (this.lunarInfo[y - 1900] & i) ? 1 : 0 }
+ return (sum + this.leapDays(y))
+ },
+
+ /**
+ * 返回农历y年闰月是哪个月;若y年没有闰月 则返回0
+ * @param lunar Year
+ * @return Number (0-12)
+ * @eg:var leapMonth = calendar.leapMonth(1987) ;//leapMonth=6
+ */
+ leapMonth: function (y) { // 闰字编码 \u95f0
+ return (this.lunarInfo[y - 1900] & 0xf)
+ },
+
+ /**
+ * 返回农历y年闰月的天数 若该年没有闰月则返回0
+ * @param lunar Year
+ * @return Number (0、29、30)
+ * @eg:var leapMonthDay = calendar.leapDays(1987) ;//leapMonthDay=29
+ */
+ leapDays: function (y) {
+ if (this.leapMonth(y)) {
+ return ((this.lunarInfo[y - 1900] & 0x10000) ? 30 : 29)
+ }
+ return (0)
+ },
+
+ /**
+ * 返回农历y年m月(非闰月)的总天数,计算m为闰月时的天数请使用leapDays方法
+ * @param lunar Year
+ * @return Number (-1、29、30)
+ * @eg:var MonthDay = calendar.monthDays(1987,9) ;//MonthDay=29
+ */
+ monthDays: function (y, m) {
+ if (m > 12 || m < 1) { return -1 }// 月份参数从1至12,参数错误返回-1
+ return ((this.lunarInfo[y - 1900] & (0x10000 >> m)) ? 30 : 29)
+ },
+
+ /**
+ * 返回公历(!)y年m月的天数
+ * @param solar Year
+ * @return Number (-1、28、29、30、31)
+ * @eg:var solarMonthDay = calendar.leapDays(1987) ;//solarMonthDay=30
+ */
+ solarDays: function (y, m) {
+ if (m > 12 || m < 1) { return -1 } // 若参数错误 返回-1
+ var ms = m - 1
+ if (ms == 1) { // 2月份的闰平规律测算后确认返回28或29
+ return (((y % 4 == 0) && (y % 100 != 0) || (y % 400 == 0)) ? 29 : 28)
+ } else {
+ return (this.solarMonth[ms])
+ }
+ },
+
+ /**
+ * 农历年份转换为干支纪年
+ * @param lYear 农历年的年份数
+ * @return Cn string
+ */
+ toGanZhiYear: function (lYear) {
+ var ganKey = (lYear - 3) % 10
+ var zhiKey = (lYear - 3) % 12
+ if (ganKey == 0) ganKey = 10// 如果余数为0则为最后一个天干
+ if (zhiKey == 0) zhiKey = 12// 如果余数为0则为最后一个地支
+ return this.Gan[ganKey - 1] + this.Zhi[zhiKey - 1]
+ },
+
+ /**
+ * 公历月、日判断所属星座
+ * @param cMonth [description]
+ * @param cDay [description]
+ * @return Cn string
+ */
+ toAstro: function (cMonth, cDay) {
+ var s = '\u9b54\u7faf\u6c34\u74f6\u53cc\u9c7c\u767d\u7f8a\u91d1\u725b\u53cc\u5b50\u5de8\u87f9\u72ee\u5b50\u5904\u5973\u5929\u79e4\u5929\u874e\u5c04\u624b\u9b54\u7faf'
+ var arr = [20, 19, 21, 21, 21, 22, 23, 23, 23, 23, 22, 22]
+ return s.substr(cMonth * 2 - (cDay < arr[cMonth - 1] ? 2 : 0), 2) + '\u5ea7'// 座
+ },
+
+ /**
+ * 传入offset偏移量返回干支
+ * @param offset 相对甲子的偏移量
+ * @return Cn string
+ */
+ toGanZhi: function (offset) {
+ return this.Gan[offset % 10] + this.Zhi[offset % 12]
+ },
+
+ /**
+ * 传入公历(!)y年获得该年第n个节气的公历日期
+ * @param y公历年(1900-2100);n二十四节气中的第几个节气(1~24);从n=1(小寒)算起
+ * @return day Number
+ * @eg:var _24 = calendar.getTerm(1987,3) ;//_24=4;意即1987年2月4日立春
+ */
+ getTerm: function (y, n) {
+ if (y < 1900 || y > 2100) { return -1 }
+ if (n < 1 || n > 24) { return -1 }
+ var _table = this.sTermInfo[y - 1900]
+ var _info = [
+ parseInt('0x' + _table.substr(0, 5)).toString(),
+ parseInt('0x' + _table.substr(5, 5)).toString(),
+ parseInt('0x' + _table.substr(10, 5)).toString(),
+ parseInt('0x' + _table.substr(15, 5)).toString(),
+ parseInt('0x' + _table.substr(20, 5)).toString(),
+ parseInt('0x' + _table.substr(25, 5)).toString()
+ ]
+ var _calday = [
+ _info[0].substr(0, 1),
+ _info[0].substr(1, 2),
+ _info[0].substr(3, 1),
+ _info[0].substr(4, 2),
+
+ _info[1].substr(0, 1),
+ _info[1].substr(1, 2),
+ _info[1].substr(3, 1),
+ _info[1].substr(4, 2),
+
+ _info[2].substr(0, 1),
+ _info[2].substr(1, 2),
+ _info[2].substr(3, 1),
+ _info[2].substr(4, 2),
+
+ _info[3].substr(0, 1),
+ _info[3].substr(1, 2),
+ _info[3].substr(3, 1),
+ _info[3].substr(4, 2),
+
+ _info[4].substr(0, 1),
+ _info[4].substr(1, 2),
+ _info[4].substr(3, 1),
+ _info[4].substr(4, 2),
+
+ _info[5].substr(0, 1),
+ _info[5].substr(1, 2),
+ _info[5].substr(3, 1),
+ _info[5].substr(4, 2)
+ ]
+ return parseInt(_calday[n - 1])
+ },
+
+ /**
+ * 传入农历数字月份返回汉语通俗表示法
+ * @param lunar month
+ * @return Cn string
+ * @eg:var cnMonth = calendar.toChinaMonth(12) ;//cnMonth='腊月'
+ */
+ toChinaMonth: function (m) { // 月 => \u6708
+ if (m > 12 || m < 1) { return -1 } // 若参数错误 返回-1
+ var s = this.nStr3[m - 1]
+ s += '\u6708'// 加上月字
+ return s
+ },
+
+ /**
+ * 传入农历日期数字返回汉字表示法
+ * @param lunar day
+ * @return Cn string
+ * @eg:var cnDay = calendar.toChinaDay(21) ;//cnMonth='廿一'
+ */
+ toChinaDay: function (d) { // 日 => \u65e5
+ var s
+ switch (d) {
+ case 10:
+ s = '\u521d\u5341'; break
+ case 20:
+ s = '\u4e8c\u5341'; break
+ break
+ case 30:
+ s = '\u4e09\u5341'; break
+ break
+ default :
+ s = this.nStr2[Math.floor(d / 10)]
+ s += this.nStr1[d % 10]
+ }
+ return (s)
+ },
+
+ /**
+ * 年份转生肖[!仅能大致转换] => 精确划分生肖分界线是“立春”
+ * @param y year
+ * @return Cn string
+ * @eg:var animal = calendar.getAnimal(1987) ;//animal='兔'
+ */
+ getAnimal: function (y) {
+ return this.Animals[(y - 4) % 12]
+ },
+
+ /**
+ * 传入阳历年月日获得详细的公历、农历object信息 <=>JSON
+ * @param y solar year
+ * @param m solar month
+ * @param d solar day
+ * @return JSON object
+ * @eg:console.log(calendar.solar2lunar(1987,11,01));
+ */
+ solar2lunar: function (y, m, d) { // 参数区间1900.1.31~2100.12.31
+ // 年份限定、上限
+ if (y < 1900 || y > 2100) {
+ return -1// undefined转换为数字变为NaN
+ }
+ // 公历传参最下限
+ if (y == 1900 && m == 1 && d < 31) {
+ return -1
+ }
+ // 未传参 获得当天
+ if (!y) {
+ var objDate = new Date()
+ } else {
+ var objDate = new Date(y, parseInt(m) - 1, d)
+ }
+ var i; var leap = 0; var temp = 0
+ // 修正ymd参数
+ var y = objDate.getFullYear()
+ var m = objDate.getMonth() + 1
+ var d = objDate.getDate()
+ var offset = (Date.UTC(objDate.getFullYear(), objDate.getMonth(), objDate.getDate()) - Date.UTC(1900, 0, 31)) / 86400000
+ for (i = 1900; i < 2101 && offset > 0; i++) {
+ temp = this.lYearDays(i)
+ offset -= temp
+ }
+ if (offset < 0) {
+ offset += temp; i--
+ }
+
+ // 是否今天
+ var isTodayObj = new Date()
+ var isToday = false
+ if (isTodayObj.getFullYear() == y && isTodayObj.getMonth() + 1 == m && isTodayObj.getDate() == d) {
+ isToday = true
+ }
+ // 星期几
+ var nWeek = objDate.getDay()
+ var cWeek = this.nStr1[nWeek]
+ // 数字表示周几顺应天朝周一开始的惯例
+ if (nWeek == 0) {
+ nWeek = 7
+ }
+ // 农历年
+ var year = i
+ var leap = this.leapMonth(i) // 闰哪个月
+ var isLeap = false
+
+ // 效验闰月
+ for (i = 1; i < 13 && offset > 0; i++) {
+ // 闰月
+ if (leap > 0 && i == (leap + 1) && isLeap == false) {
+ --i
+ isLeap = true; temp = this.leapDays(year) // 计算农历闰月天数
+ } else {
+ temp = this.monthDays(year, i)// 计算农历普通月天数
+ }
+ // 解除闰月
+ if (isLeap == true && i == (leap + 1)) { isLeap = false }
+ offset -= temp
+ }
+ // 闰月导致数组下标重叠取反
+ if (offset == 0 && leap > 0 && i == leap + 1) {
+ if (isLeap) {
+ isLeap = false
+ } else {
+ isLeap = true; --i
+ }
+ }
+ if (offset < 0) {
+ offset += temp; --i
+ }
+ // 农历月
+ var month = i
+ // 农历日
+ var day = offset + 1
+ // 天干地支处理
+ var sm = m - 1
+ var gzY = this.toGanZhiYear(year)
+
+ // 当月的两个节气
+ // bugfix-2017-7-24 11:03:38 use lunar Year Param `y` Not `year`
+ var firstNode = this.getTerm(y, (m * 2 - 1))// 返回当月「节」为几日开始
+ var secondNode = this.getTerm(y, (m * 2))// 返回当月「节」为几日开始
+
+ // 依据12节气修正干支月
+ var gzM = this.toGanZhi((y - 1900) * 12 + m + 11)
+ if (d >= firstNode) {
+ gzM = this.toGanZhi((y - 1900) * 12 + m + 12)
+ }
+
+ // 传入的日期的节气与否
+ var isTerm = false
+ var Term = null
+ if (firstNode == d) {
+ isTerm = true
+ Term = this.solarTerm[m * 2 - 2]
+ }
+ if (secondNode == d) {
+ isTerm = true
+ Term = this.solarTerm[m * 2 - 1]
+ }
+ // 日柱 当月一日与 1900/1/1 相差天数
+ var dayCyclical = Date.UTC(y, sm, 1, 0, 0, 0, 0) / 86400000 + 25567 + 10
+ var gzD = this.toGanZhi(dayCyclical + d - 1)
+ // 该日期所属的星座
+ var astro = this.toAstro(m, d)
+
+ return { 'lYear': year, 'lMonth': month, 'lDay': day, 'Animal': this.getAnimal(year), 'IMonthCn': (isLeap ? '\u95f0' : '') + this.toChinaMonth(month), 'IDayCn': this.toChinaDay(day), 'cYear': y, 'cMonth': m, 'cDay': d, 'gzYear': gzY, 'gzMonth': gzM, 'gzDay': gzD, 'isToday': isToday, 'isLeap': isLeap, 'nWeek': nWeek, 'ncWeek': '\u661f\u671f' + cWeek, 'isTerm': isTerm, 'Term': Term, 'astro': astro }
+ },
+
+ /**
+ * 传入农历年月日以及传入的月份是否闰月获得详细的公历、农历object信息 <=>JSON
+ * @param y lunar year
+ * @param m lunar month
+ * @param d lunar day
+ * @param isLeapMonth lunar month is leap or not.[如果是农历闰月第四个参数赋值true即可]
+ * @return JSON object
+ * @eg:console.log(calendar.lunar2solar(1987,9,10));
+ */
+ lunar2solar: function (y, m, d, isLeapMonth) { // 参数区间1900.1.31~2100.12.1
+ var isLeapMonth = !!isLeapMonth
+ var leapOffset = 0
+ var leapMonth = this.leapMonth(y)
+ var leapDay = this.leapDays(y)
+ if (isLeapMonth && (leapMonth != m)) { return -1 }// 传参要求计算该闰月公历 但该年得出的闰月与传参的月份并不同
+ if (y == 2100 && m == 12 && d > 1 || y == 1900 && m == 1 && d < 31) { return -1 }// 超出了最大极限值
+ var day = this.monthDays(y, m)
+ var _day = day
+ // bugFix 2016-9-25
+ // if month is leap, _day use leapDays method
+ if (isLeapMonth) {
+ _day = this.leapDays(y, m)
+ }
+ if (y < 1900 || y > 2100 || d > _day) { return -1 }// 参数合法性效验
+
+ // 计算农历的时间差
+ var offset = 0
+ for (var i = 1900; i < y; i++) {
+ offset += this.lYearDays(i)
+ }
+ var leap = 0; var isAdd = false
+ for (var i = 1; i < m; i++) {
+ leap = this.leapMonth(y)
+ if (!isAdd) { // 处理闰月
+ if (leap <= i && leap > 0) {
+ offset += this.leapDays(y); isAdd = true
+ }
+ }
+ offset += this.monthDays(y, i)
+ }
+ // 转换闰月农历 需补充该年闰月的前一个月的时差
+ if (isLeapMonth) { offset += day }
+ // 1900年农历正月一日的公历时间为1900年1月30日0时0分0秒(该时间也是本农历的最开始起始点)
+ var stmap = Date.UTC(1900, 1, 30, 0, 0, 0)
+ var calObj = new Date((offset + d - 31) * 86400000 + stmap)
+ var cY = calObj.getUTCFullYear()
+ var cM = calObj.getUTCMonth() + 1
+ var cD = calObj.getUTCDate()
+
+ return this.solar2lunar(cY, cM, cD)
+ }
+}
+
+export default calendar
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue
new file mode 100644
index 0000000..8f7f181
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue
@@ -0,0 +1,907 @@
+
+
+
+
+
+
+
+ {{nowDate.month}}
+
+
+
+ {{SUNText}}
+
+
+ {{MONText}}
+
+
+ {{TUEText}}
+
+
+ {{WEDText}}
+
+
+ {{THUText}}
+
+
+ {{FRIText}}
+
+
+ {{SATText}}
+
+
+
+
+
+
+
+
+
+
+ {{tempSingleDate ? tempSingleDate : selectDateText}}
+
+
+
+
+
+
+ {{tempRange.before ? tempRange.before : startDateText}}
+
+
+
+
+
+
+ {{tempRange.after ? tempRange.after : endDateText}}
+
+
+
+
+
+
+ {{confirmText}}
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json
new file mode 100644
index 0000000..9acf1ab
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/en.json
@@ -0,0 +1,22 @@
+{
+ "uni-datetime-picker.selectDate": "select date",
+ "uni-datetime-picker.selectTime": "select time",
+ "uni-datetime-picker.selectDateTime": "select datetime",
+ "uni-datetime-picker.startDate": "start date",
+ "uni-datetime-picker.endDate": "end date",
+ "uni-datetime-picker.startTime": "start time",
+ "uni-datetime-picker.endTime": "end time",
+ "uni-datetime-picker.ok": "ok",
+ "uni-datetime-picker.clear": "clear",
+ "uni-datetime-picker.cancel": "cancel",
+ "uni-datetime-picker.year": "-",
+ "uni-datetime-picker.month": "",
+ "uni-calender.MON": "MON",
+ "uni-calender.TUE": "TUE",
+ "uni-calender.WED": "WED",
+ "uni-calender.THU": "THU",
+ "uni-calender.FRI": "FRI",
+ "uni-calender.SAT": "SAT",
+ "uni-calender.SUN": "SUN",
+ "uni-calender.confirm": "confirm"
+}
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js
new file mode 100644
index 0000000..de7509c
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/index.js
@@ -0,0 +1,8 @@
+import en from './en.json'
+import zhHans from './zh-Hans.json'
+import zhHant from './zh-Hant.json'
+export default {
+ en,
+ 'zh-Hans': zhHans,
+ 'zh-Hant': zhHant
+}
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json
new file mode 100644
index 0000000..d2df5e7
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hans.json
@@ -0,0 +1,22 @@
+{
+ "uni-datetime-picker.selectDate": "选择日期",
+ "uni-datetime-picker.selectTime": "选择时间",
+ "uni-datetime-picker.selectDateTime": "选择日期时间",
+ "uni-datetime-picker.startDate": "开始日期",
+ "uni-datetime-picker.endDate": "结束日期",
+ "uni-datetime-picker.startTime": "开始时间",
+ "uni-datetime-picker.endTime": "结束时间",
+ "uni-datetime-picker.ok": "确定",
+ "uni-datetime-picker.clear": "清除",
+ "uni-datetime-picker.cancel": "取消",
+ "uni-datetime-picker.year": "年",
+ "uni-datetime-picker.month": "月",
+ "uni-calender.SUN": "日",
+ "uni-calender.MON": "一",
+ "uni-calender.TUE": "二",
+ "uni-calender.WED": "三",
+ "uni-calender.THU": "四",
+ "uni-calender.FRI": "五",
+ "uni-calender.SAT": "六",
+ "uni-calender.confirm": "确认"
+}
\ No newline at end of file
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json
new file mode 100644
index 0000000..d23fa3c
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/i18n/zh-Hant.json
@@ -0,0 +1,22 @@
+{
+ "uni-datetime-picker.selectDate": "選擇日期",
+ "uni-datetime-picker.selectTime": "選擇時間",
+ "uni-datetime-picker.selectDateTime": "選擇日期時間",
+ "uni-datetime-picker.startDate": "開始日期",
+ "uni-datetime-picker.endDate": "結束日期",
+ "uni-datetime-picker.startTime": "開始时间",
+ "uni-datetime-picker.endTime": "結束时间",
+ "uni-datetime-picker.ok": "確定",
+ "uni-datetime-picker.clear": "清除",
+ "uni-datetime-picker.cancel": "取消",
+ "uni-datetime-picker.year": "年",
+ "uni-datetime-picker.month": "月",
+ "uni-calender.SUN": "日",
+ "uni-calender.MON": "一",
+ "uni-calender.TUE": "二",
+ "uni-calender.WED": "三",
+ "uni-calender.THU": "四",
+ "uni-calender.FRI": "五",
+ "uni-calender.SAT": "六",
+ "uni-calender.confirm": "確認"
+}
\ No newline at end of file
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/keypress.js b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/keypress.js
new file mode 100644
index 0000000..9601aba
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/keypress.js
@@ -0,0 +1,45 @@
+// #ifdef H5
+export default {
+ name: 'Keypress',
+ props: {
+ disable: {
+ type: Boolean,
+ default: false
+ }
+ },
+ mounted () {
+ const keyNames = {
+ esc: ['Esc', 'Escape'],
+ tab: 'Tab',
+ enter: 'Enter',
+ space: [' ', 'Spacebar'],
+ up: ['Up', 'ArrowUp'],
+ left: ['Left', 'ArrowLeft'],
+ right: ['Right', 'ArrowRight'],
+ down: ['Down', 'ArrowDown'],
+ delete: ['Backspace', 'Delete', 'Del']
+ }
+ const listener = ($event) => {
+ if (this.disable) {
+ return
+ }
+ const keyName = Object.keys(keyNames).find(key => {
+ const keyName = $event.key
+ const value = keyNames[key]
+ return value === keyName || (Array.isArray(value) && value.includes(keyName))
+ })
+ if (keyName) {
+ // 避免和其他按键事件冲突
+ setTimeout(() => {
+ this.$emit(keyName, {})
+ }, 0)
+ }
+ }
+ document.addEventListener('keyup', listener)
+ this.$once('hook:beforeDestroy', () => {
+ document.removeEventListener('keyup', listener)
+ })
+ },
+ render: () => {}
+}
+// #endif
\ No newline at end of file
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue
new file mode 100644
index 0000000..699aa63
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue
@@ -0,0 +1,927 @@
+
+
+
+
+
+ {{time}}
+
+ {{selectTimeText}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
new file mode 100644
index 0000000..9bdf8bc
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue
@@ -0,0 +1,1012 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{rangeSeparator}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js
new file mode 100644
index 0000000..efa5773
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/util.js
@@ -0,0 +1,410 @@
+class Calendar {
+ constructor({
+ date,
+ selected,
+ startDate,
+ endDate,
+ range,
+ // multipleStatus
+ } = {}) {
+ // 当前日期
+ this.date = this.getDate(new Date()) // 当前初入日期
+ // 打点信息
+ this.selected = selected || [];
+ // 范围开始
+ this.startDate = startDate
+ // 范围结束
+ this.endDate = endDate
+ this.range = range
+ // 多选状态
+ this.cleanMultipleStatus()
+ // 每周日期
+ this.weeks = {}
+ // this._getWeek(this.date.fullDate)
+ // this.multipleStatus = multipleStatus
+ this.lastHover = false
+ }
+ /**
+ * 设置日期
+ * @param {Object} date
+ */
+ setDate(date) {
+ this.selectDate = this.getDate(date)
+ this._getWeek(this.selectDate.fullDate)
+ }
+
+ /**
+ * 清理多选状态
+ */
+ cleanMultipleStatus() {
+ this.multipleStatus = {
+ before: '',
+ after: '',
+ data: []
+ }
+ }
+
+ /**
+ * 重置开始日期
+ */
+ resetSatrtDate(startDate) {
+ // 范围开始
+ this.startDate = startDate
+
+ }
+
+ /**
+ * 重置结束日期
+ */
+ resetEndDate(endDate) {
+ // 范围结束
+ this.endDate = endDate
+ }
+
+ /**
+ * 获取任意时间
+ */
+ getDate(date, AddDayCount = 0, str = 'day') {
+ if (!date) {
+ date = new Date()
+ }
+ if (typeof date !== 'object') {
+ date = date.replace(/-/g, '/')
+ }
+ const dd = new Date(date)
+ switch (str) {
+ case 'day':
+ dd.setDate(dd.getDate() + AddDayCount) // 获取AddDayCount天后的日期
+ break
+ case 'month':
+ if (dd.getDate() === 31) {
+ dd.setDate(dd.getDate() + AddDayCount)
+ } else {
+ dd.setMonth(dd.getMonth() + AddDayCount) // 获取AddDayCount天后的日期
+ }
+ break
+ case 'year':
+ dd.setFullYear(dd.getFullYear() + AddDayCount) // 获取AddDayCount天后的日期
+ break
+ }
+ const y = dd.getFullYear()
+ const m = dd.getMonth() + 1 < 10 ? '0' + (dd.getMonth() + 1) : dd.getMonth() + 1 // 获取当前月份的日期,不足10补0
+ const d = dd.getDate() < 10 ? '0' + dd.getDate() : dd.getDate() // 获取当前几号,不足10补0
+ return {
+ fullDate: y + '-' + m + '-' + d,
+ year: y,
+ month: m,
+ date: d,
+ day: dd.getDay()
+ }
+ }
+
+
+ /**
+ * 获取上月剩余天数
+ */
+ _getLastMonthDays(firstDay, full) {
+ let dateArr = []
+ for (let i = firstDay; i > 0; i--) {
+ const beforeDate = new Date(full.year, full.month - 1, -i + 1).getDate()
+ dateArr.push({
+ date: beforeDate,
+ month: full.month - 1,
+ disable: true
+ })
+ }
+ return dateArr
+ }
+ /**
+ * 获取本月天数
+ */
+ _currentMonthDys(dateData, full) {
+ let dateArr = []
+ let fullDate = this.date.fullDate
+ for (let i = 1; i <= dateData; i++) {
+ let isinfo = false
+ let nowDate = full.year + '-' + (full.month < 10 ?
+ full.month : full.month) + '-' + (i < 10 ?
+ '0' + i : i)
+ // 是否今天
+ let isDay = fullDate === nowDate
+ // 获取打点信息
+ let info = this.selected && this.selected.find((item) => {
+ if (this.dateEqual(nowDate, item.date)) {
+ return item
+ }
+ })
+
+ // 日期禁用
+ let disableBefore = true
+ let disableAfter = true
+ if (this.startDate) {
+ // let dateCompBefore = this.dateCompare(this.startDate, fullDate)
+ // disableBefore = this.dateCompare(dateCompBefore ? this.startDate : fullDate, nowDate)
+ disableBefore = this.dateCompare(this.startDate, nowDate)
+ }
+
+ if (this.endDate) {
+ // let dateCompAfter = this.dateCompare(fullDate, this.endDate)
+ // disableAfter = this.dateCompare(nowDate, dateCompAfter ? this.endDate : fullDate)
+ disableAfter = this.dateCompare(nowDate, this.endDate)
+ }
+ let multiples = this.multipleStatus.data
+ let checked = false
+ let multiplesStatus = -1
+ if (this.range) {
+ if (multiples) {
+ multiplesStatus = multiples.findIndex((item) => {
+ return this.dateEqual(item, nowDate)
+ })
+ }
+ if (multiplesStatus !== -1) {
+ checked = true
+ }
+ }
+ let data = {
+ fullDate: nowDate,
+ year: full.year,
+ date: i,
+ multiple: this.range ? checked : false,
+ beforeMultiple: this.isLogicBefore(nowDate, this.multipleStatus.before, this.multipleStatus.after),
+ afterMultiple: this.isLogicAfter(nowDate, this.multipleStatus.before, this.multipleStatus.after),
+ month: full.month,
+ disable: !(disableBefore && disableAfter),
+ isDay,
+ userChecked: false
+ }
+ if (info) {
+ data.extraInfo = info
+ }
+
+ dateArr.push(data)
+ }
+ return dateArr
+ }
+ /**
+ * 获取下月天数
+ */
+ _getNextMonthDays(surplus, full) {
+ let dateArr = []
+ for (let i = 1; i < surplus + 1; i++) {
+ dateArr.push({
+ date: i,
+ month: Number(full.month) + 1,
+ disable: true
+ })
+ }
+ return dateArr
+ }
+
+ /**
+ * 获取当前日期详情
+ * @param {Object} date
+ */
+ getInfo(date) {
+ if (!date) {
+ date = new Date()
+ }
+ const dateInfo = this.canlender.find(item => item.fullDate === this.getDate(date).fullDate)
+ return dateInfo
+ }
+
+ /**
+ * 比较时间大小
+ */
+ dateCompare(startDate, endDate) {
+ // 计算截止时间
+ startDate = new Date(startDate.replace('-', '/').replace('-', '/'))
+ // 计算详细项的截止时间
+ endDate = new Date(endDate.replace('-', '/').replace('-', '/'))
+ if (startDate <= endDate) {
+ return true
+ } else {
+ return false
+ }
+ }
+
+ /**
+ * 比较时间是否相等
+ */
+ dateEqual(before, after) {
+ // 计算截止时间
+ before = new Date(before.replace('-', '/').replace('-', '/'))
+ // 计算详细项的截止时间
+ after = new Date(after.replace('-', '/').replace('-', '/'))
+ if (before.getTime() - after.getTime() === 0) {
+ return true
+ } else {
+ return false
+ }
+ }
+
+ /**
+ * 比较真实起始日期
+ */
+
+ isLogicBefore(currentDay, before, after) {
+ let logicBefore = before
+ if (before && after) {
+ logicBefore = this.dateCompare(before, after) ? before : after
+ }
+ return this.dateEqual(logicBefore, currentDay)
+ }
+
+ isLogicAfter(currentDay, before, after) {
+ let logicAfter = after
+ if (before && after) {
+ logicAfter = this.dateCompare(before, after) ? after : before
+ }
+ return this.dateEqual(logicAfter, currentDay)
+ }
+
+ /**
+ * 获取日期范围内所有日期
+ * @param {Object} begin
+ * @param {Object} end
+ */
+ geDateAll(begin, end) {
+ var arr = []
+ var ab = begin.split('-')
+ var ae = end.split('-')
+ var db = new Date()
+ db.setFullYear(ab[0], ab[1] - 1, ab[2])
+ var de = new Date()
+ de.setFullYear(ae[0], ae[1] - 1, ae[2])
+ var unixDb = db.getTime() - 24 * 60 * 60 * 1000
+ var unixDe = de.getTime() - 24 * 60 * 60 * 1000
+ for (var k = unixDb; k <= unixDe;) {
+ k = k + 24 * 60 * 60 * 1000
+ arr.push(this.getDate(new Date(parseInt(k))).fullDate)
+ }
+ return arr
+ }
+
+ /**
+ * 获取多选状态
+ */
+ setMultiple(fullDate) {
+ let {
+ before,
+ after
+ } = this.multipleStatus
+ if (!this.range) return
+ if (before && after) {
+ if (!this.lastHover) {
+ this.lastHover = true
+ return
+ }
+ this.multipleStatus.before = fullDate
+ this.multipleStatus.after = ''
+ this.multipleStatus.data = []
+ this.multipleStatus.fulldate = ''
+ this.lastHover = false
+ } else {
+ if (!before) {
+ this.multipleStatus.before = fullDate
+ this.lastHover = false
+ } else {
+ this.multipleStatus.after = fullDate
+ if (this.dateCompare(this.multipleStatus.before, this.multipleStatus.after)) {
+ this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus
+ .after);
+ } else {
+ this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus
+ .before);
+ }
+ this.lastHover = true
+ }
+ }
+ this._getWeek(fullDate)
+ }
+
+ /**
+ * 鼠标 hover 更新多选状态
+ */
+ setHoverMultiple(fullDate) {
+ let {
+ before,
+ after
+ } = this.multipleStatus
+
+ if (!this.range) return
+ if (this.lastHover) return
+
+ if (!before) {
+ this.multipleStatus.before = fullDate
+ } else {
+ this.multipleStatus.after = fullDate
+ if (this.dateCompare(this.multipleStatus.before, this.multipleStatus.after)) {
+ this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after);
+ } else {
+ this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before);
+ }
+ }
+ this._getWeek(fullDate)
+ }
+
+ /**
+ * 更新默认值多选状态
+ */
+ setDefaultMultiple(before, after) {
+ this.multipleStatus.before = before
+ this.multipleStatus.after = after
+ if (before && after) {
+ if (this.dateCompare(before, after)) {
+ this.multipleStatus.data = this.geDateAll(before, after);
+ this._getWeek(after)
+ } else {
+ this.multipleStatus.data = this.geDateAll(after, before);
+ this._getWeek(before)
+ }
+ }
+ }
+
+ /**
+ * 获取每周数据
+ * @param {Object} dateData
+ */
+ _getWeek(dateData) {
+ const {
+ fullDate,
+ year,
+ month,
+ date,
+ day
+ } = this.getDate(dateData)
+ let firstDay = new Date(year, month - 1, 1).getDay()
+ let currentDay = new Date(year, month, 0).getDate()
+ let dates = {
+ lastMonthDays: this._getLastMonthDays(firstDay, this.getDate(dateData)), // 上个月末尾几天
+ currentMonthDys: this._currentMonthDys(currentDay, this.getDate(dateData)), // 本月天数
+ nextMonthDays: [], // 下个月开始几天
+ weeks: []
+ }
+ let canlender = []
+ const surplus = 42 - (dates.lastMonthDays.length + dates.currentMonthDys.length)
+ dates.nextMonthDays = this._getNextMonthDays(surplus, this.getDate(dateData))
+ canlender = canlender.concat(dates.lastMonthDays, dates.currentMonthDys, dates.nextMonthDays)
+ let weeks = {}
+ // 拼接数组 上个月开始几天 + 本月天数+ 下个月开始几天
+ for (let i = 0; i < canlender.length; i++) {
+ if (i % 7 === 0) {
+ weeks[parseInt(i / 7)] = new Array(7)
+ }
+ weeks[parseInt(i / 7)][i % 7] = canlender[i]
+ }
+ this.canlender = canlender
+ this.weeks = weeks
+ }
+
+ //静态方法
+ // static init(date) {
+ // if (!this.instance) {
+ // this.instance = new Calendar(date);
+ // }
+ // return this.instance;
+ // }
+}
+
+
+export default Calendar
diff --git a/uni_modules/uni-datetime-picker/package.json b/uni_modules/uni-datetime-picker/package.json
new file mode 100644
index 0000000..60fa1d0
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/package.json
@@ -0,0 +1,90 @@
+{
+ "id": "uni-datetime-picker",
+ "displayName": "uni-datetime-picker 日期选择器",
+ "version": "2.2.6",
+ "description": "uni-datetime-picker 日期时间选择器,支持日历,支持范围选择",
+ "keywords": [
+ "uni-datetime-picker",
+ "uni-ui",
+ "uniui",
+ "日期时间选择器",
+ "日期时间"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss",
+ "uni-icons"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "n"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-datetime-picker/readme.md b/uni_modules/uni-datetime-picker/readme.md
new file mode 100644
index 0000000..162fbef
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/readme.md
@@ -0,0 +1,21 @@
+
+
+> `重要通知:组件升级更新 2.0.0 后,支持日期+时间范围选择,组件 ui 将使用日历选择日期,ui 变化较大,同时支持 PC 和 移动端。此版本不向后兼容,不再支持单独的时间选择(type=time)及相关的 hide-second 属性(时间选可使用内置组件 picker)。若仍需使用旧版本,可在插件市场下载*非uni_modules版本*,旧版本将不再维护`
+
+## DatetimePicker 时间选择器
+
+> **组件名:uni-datetime-picker**
+> 代码块: `uDatetimePicker`
+
+
+该组件的优势是,支持**时间戳**输入和输出(起始时间、终止时间也支持时间戳),可**同时选择**日期和时间。
+
+若只是需要单独选择日期和时间,不需要时间戳输入和输出,可使用原生的 picker 组件。
+
+**_点击 picker 默认值规则:_**
+
+- 若设置初始值 value, 会显示在 picker 显示框中
+- 若无初始值 value,则初始值 value 为当前本地时间 Date.now(), 但不会显示在 picker 显示框中
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-datetime-picker)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-drawer/changelog.md b/uni_modules/uni-drawer/changelog.md
new file mode 100644
index 0000000..6d2488c
--- /dev/null
+++ b/uni_modules/uni-drawer/changelog.md
@@ -0,0 +1,13 @@
+## 1.2.1(2021-11-22)
+- 修复 vue3中个别scss变量无法找到的问题
+## 1.2.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-drawer](https://uniapp.dcloud.io/component/uniui/uni-drawer)
+## 1.1.1(2021-07-30)
+- 优化 vue3下事件警告的问题
+## 1.1.0(2021-07-13)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.0.7(2021-05-12)
+- 新增 组件示例地址
+## 1.0.6(2021-02-04)
+- 调整为uni_modules目录规范
diff --git a/uni_modules/uni-drawer/components/uni-drawer/keypress.js b/uni_modules/uni-drawer/components/uni-drawer/keypress.js
new file mode 100644
index 0000000..62dda46
--- /dev/null
+++ b/uni_modules/uni-drawer/components/uni-drawer/keypress.js
@@ -0,0 +1,45 @@
+// #ifdef H5
+export default {
+ name: 'Keypress',
+ props: {
+ disable: {
+ type: Boolean,
+ default: false
+ }
+ },
+ mounted () {
+ const keyNames = {
+ esc: ['Esc', 'Escape'],
+ tab: 'Tab',
+ enter: 'Enter',
+ space: [' ', 'Spacebar'],
+ up: ['Up', 'ArrowUp'],
+ left: ['Left', 'ArrowLeft'],
+ right: ['Right', 'ArrowRight'],
+ down: ['Down', 'ArrowDown'],
+ delete: ['Backspace', 'Delete', 'Del']
+ }
+ const listener = ($event) => {
+ if (this.disable) {
+ return
+ }
+ const keyName = Object.keys(keyNames).find(key => {
+ const keyName = $event.key
+ const value = keyNames[key]
+ return value === keyName || (Array.isArray(value) && value.includes(keyName))
+ })
+ if (keyName) {
+ // 避免和其他按键事件冲突
+ setTimeout(() => {
+ this.$emit(keyName, {})
+ }, 0)
+ }
+ }
+ document.addEventListener('keyup', listener)
+ // this.$once('hook:beforeDestroy', () => {
+ // document.removeEventListener('keyup', listener)
+ // })
+ },
+ render: () => {}
+}
+// #endif
diff --git a/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue b/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue
new file mode 100644
index 0000000..2471521
--- /dev/null
+++ b/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue
@@ -0,0 +1,183 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-drawer/package.json b/uni_modules/uni-drawer/package.json
new file mode 100644
index 0000000..dd056e4
--- /dev/null
+++ b/uni_modules/uni-drawer/package.json
@@ -0,0 +1,87 @@
+{
+ "id": "uni-drawer",
+ "displayName": "uni-drawer 抽屉",
+ "version": "1.2.1",
+ "description": "抽屉式导航,用于展示侧滑菜单,侧滑导航。",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "drawer",
+ "抽屉",
+ "侧滑导航"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": ["uni-scss"],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-drawer/readme.md b/uni_modules/uni-drawer/readme.md
new file mode 100644
index 0000000..dcf6e6b
--- /dev/null
+++ b/uni_modules/uni-drawer/readme.md
@@ -0,0 +1,10 @@
+
+
+## Drawer 抽屉
+> **组件名:uni-drawer**
+> 代码块: `uDrawer`
+
+抽屉侧滑菜单。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-drawer)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-easyinput/changelog.md b/uni_modules/uni-easyinput/changelog.md
new file mode 100644
index 0000000..1e8c6f9
--- /dev/null
+++ b/uni_modules/uni-easyinput/changelog.md
@@ -0,0 +1,47 @@
+## 1.1.0(2022-06-30)
+- 新增 在 uni-forms 1.4.0 中使用可以在 blur 时校验内容
+- 新增 clear 事件,点击右侧叉号图标触发
+- 新增 change 事件 ,仅在输入框失去焦点或用户按下回车时触发
+- 优化 组件样式,组件获取焦点时高亮显示,图标颜色调整等
+-
+## 1.0.5(2022-06-07)
+- 优化 clearable 显示策略
+## 1.0.4(2022-06-07)
+- 优化 clearable 显示策略
+## 1.0.3(2022-05-20)
+- 修复 关闭图标某些情况下无法取消的bug
+## 1.0.2(2022-04-12)
+- 修复 默认值不生效的bug
+## 1.0.1(2022-04-02)
+- 修复 value不能为0的bug
+## 1.0.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-easyinput](https://uniapp.dcloud.io/component/uniui/uni-easyinput)
+## 0.1.4(2021-08-20)
+- 修复 在 uni-forms 的动态表单中默认值校验不通过的 bug
+## 0.1.3(2021-08-11)
+- 修复 在 uni-forms 中重置表单,错误信息无法清除的问题
+## 0.1.2(2021-07-30)
+- 优化 vue3下事件警告的问题
+## 0.1.1
+- 优化 errorMessage 属性支持 Boolean 类型
+## 0.1.0(2021-07-13)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 0.0.16(2021-06-29)
+- 修复 confirmType 属性(仅 type="text" 生效)导致多行文本框无法换行的 bug
+## 0.0.15(2021-06-21)
+- 修复 passwordIcon 属性拼写错误的 bug
+## 0.0.14(2021-06-18)
+- 新增 passwordIcon 属性,当type=password时是否显示小眼睛图标
+- 修复 confirmType 属性不生效的问题
+## 0.0.13(2021-06-04)
+- 修复 disabled 状态可清出内容的 bug
+## 0.0.12(2021-05-12)
+- 新增 组件示例地址
+## 0.0.11(2021-05-07)
+- 修复 input-border 属性不生效的问题
+## 0.0.10(2021-04-30)
+- 修复 ios 遮挡文字、显示一半的问题
+## 0.0.9(2021-02-05)
+- 调整为uni_modules目录规范
+- 优化 兼容 nvue 页面
diff --git a/uni_modules/uni-easyinput/components/uni-easyinput/common.js b/uni_modules/uni-easyinput/components/uni-easyinput/common.js
new file mode 100644
index 0000000..df9abe1
--- /dev/null
+++ b/uni_modules/uni-easyinput/components/uni-easyinput/common.js
@@ -0,0 +1,56 @@
+/**
+ * @desc 函数防抖
+ * @param func 目标函数
+ * @param wait 延迟执行毫秒数
+ * @param immediate true - 立即执行, false - 延迟执行
+ */
+export const debounce = function(func, wait = 1000, immediate = true) {
+ let timer;
+ console.log(1);
+ return function() {
+ console.log(123);
+ let context = this,
+ args = arguments;
+ if (timer) clearTimeout(timer);
+ if (immediate) {
+ let callNow = !timer;
+ timer = setTimeout(() => {
+ timer = null;
+ }, wait);
+ if (callNow) func.apply(context, args);
+ } else {
+ timer = setTimeout(() => {
+ func.apply(context, args);
+ }, wait)
+ }
+ }
+}
+/**
+ * @desc 函数节流
+ * @param func 函数
+ * @param wait 延迟执行毫秒数
+ * @param type 1 使用表时间戳,在时间段开始的时候触发 2 使用表定时器,在时间段结束的时候触发
+ */
+export const throttle = (func, wait = 1000, type = 1) => {
+ let previous = 0;
+ let timeout;
+ return function() {
+ let context = this;
+ let args = arguments;
+ if (type === 1) {
+ let now = Date.now();
+
+ if (now - previous > wait) {
+ func.apply(context, args);
+ previous = now;
+ }
+ } else if (type === 2) {
+ if (!timeout) {
+ timeout = setTimeout(() => {
+ timeout = null;
+ func.apply(context, args)
+ }, wait)
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue b/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
new file mode 100644
index 0000000..5818d7f
--- /dev/null
+++ b/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
@@ -0,0 +1,593 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-easyinput/package.json b/uni_modules/uni-easyinput/package.json
new file mode 100644
index 0000000..3cc793e
--- /dev/null
+++ b/uni_modules/uni-easyinput/package.json
@@ -0,0 +1,90 @@
+{
+ "id": "uni-easyinput",
+ "displayName": "uni-easyinput 增强输入框",
+ "version": "1.1.0",
+ "description": "Easyinput 组件是对原生input组件的增强",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "input",
+ "uni-easyinput",
+ "输入框"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss",
+ "uni-icons"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/uni_modules/uni-easyinput/readme.md b/uni_modules/uni-easyinput/readme.md
new file mode 100644
index 0000000..f1faf8f
--- /dev/null
+++ b/uni_modules/uni-easyinput/readme.md
@@ -0,0 +1,11 @@
+
+
+### Easyinput 增强输入框
+> **组件名:uni-easyinput**
+> 代码块: `uEasyinput`
+
+
+easyinput 组件是对原生input组件的增强 ,是专门为配合表单组件[uni-forms](https://ext.dcloud.net.cn/plugin?id=2773)而设计的,easyinput 内置了边框,图标等,同时包含 input 所有功能
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-easyinput)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-fab/changelog.md b/uni_modules/uni-fab/changelog.md
new file mode 100644
index 0000000..24e26b1
--- /dev/null
+++ b/uni_modules/uni-fab/changelog.md
@@ -0,0 +1,17 @@
+## 1.2.2(2021-12-29)
+- 更新 组件依赖
+## 1.2.1(2021-11-19)
+- 修复 阴影颜色不正确的bug
+## 1.2.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-fab](https://uniapp.dcloud.io/component/uniui/uni-fab)
+## 1.1.1(2021-11-09)
+- 新增 提供组件设计资源,组件样式调整
+## 1.1.0(2021-07-30)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.0.7(2021-05-12)
+- 新增 组件示例地址
+## 1.0.6(2021-02-05)
+- 调整为uni_modules目录规范
+- 优化 按钮背景色调整
+- 优化 兼容pc端
diff --git a/uni_modules/uni-fab/components/uni-fab/uni-fab.vue b/uni_modules/uni-fab/components/uni-fab/uni-fab.vue
new file mode 100644
index 0000000..bef97f1
--- /dev/null
+++ b/uni_modules/uni-fab/components/uni-fab/uni-fab.vue
@@ -0,0 +1,475 @@
+
+
+
+
+
+
+
+ {{ item.text }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-fab/components/uni-fab/uni-fab.vue.bak b/uni_modules/uni-fab/components/uni-fab/uni-fab.vue.bak
new file mode 100644
index 0000000..5adc72a
--- /dev/null
+++ b/uni_modules/uni-fab/components/uni-fab/uni-fab.vue.bak
@@ -0,0 +1,379 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.text }}
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-fab/package.json b/uni_modules/uni-fab/package.json
new file mode 100644
index 0000000..0f27daa
--- /dev/null
+++ b/uni_modules/uni-fab/package.json
@@ -0,0 +1,87 @@
+{
+ "id": "uni-fab",
+ "displayName": "uni-fab 悬浮按钮",
+ "version": "1.2.2",
+ "description": "悬浮按钮 fab button ,点击可展开一个图标按钮菜单。",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "按钮",
+ "悬浮按钮",
+ "fab"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": ["uni-scss","uni-icons"],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-fab/readme.md b/uni_modules/uni-fab/readme.md
new file mode 100644
index 0000000..9a444e8
--- /dev/null
+++ b/uni_modules/uni-fab/readme.md
@@ -0,0 +1,9 @@
+## Fab 悬浮按钮
+> **组件名:uni-fab**
+> 代码块: `uFab`
+
+
+点击可展开一个图形按钮菜单
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-fab)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-fav/changelog.md b/uni_modules/uni-fav/changelog.md
new file mode 100644
index 0000000..d8a08d4
--- /dev/null
+++ b/uni_modules/uni-fav/changelog.md
@@ -0,0 +1,19 @@
+## 1.2.1(2022-05-30)
+- 新增 stat 属性 ,是否开启uni统计功能
+## 1.2.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-fav](https://uniapp.dcloud.io/component/uniui/uni-fav)
+## 1.1.1(2021-08-24)
+- 新增 支持国际化
+## 1.1.0(2021-07-13)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.0.6(2021-05-12)
+- 新增 组件示例地址
+## 1.0.5(2021-04-21)
+- 优化 添加依赖 uni-icons, 导入后自动下载依赖
+## 1.0.4(2021-02-05)
+- 优化 组件引用关系,通过uni_modules引用组件
+## 1.0.3(2021-02-05)
+- 优化 组件引用关系,通过uni_modules引用组件
+## 1.0.2(2021-02-05)
+- 调整为uni_modules目录规范
diff --git a/uni_modules/uni-fav/components/uni-fav/i18n/en.json b/uni_modules/uni-fav/components/uni-fav/i18n/en.json
new file mode 100644
index 0000000..9a0759e
--- /dev/null
+++ b/uni_modules/uni-fav/components/uni-fav/i18n/en.json
@@ -0,0 +1,4 @@
+{
+ "uni-fav.collect": "collect",
+ "uni-fav.collected": "collected"
+}
diff --git a/uni_modules/uni-fav/components/uni-fav/i18n/index.js b/uni_modules/uni-fav/components/uni-fav/i18n/index.js
new file mode 100644
index 0000000..de7509c
--- /dev/null
+++ b/uni_modules/uni-fav/components/uni-fav/i18n/index.js
@@ -0,0 +1,8 @@
+import en from './en.json'
+import zhHans from './zh-Hans.json'
+import zhHant from './zh-Hant.json'
+export default {
+ en,
+ 'zh-Hans': zhHans,
+ 'zh-Hant': zhHant
+}
diff --git a/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json b/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json
new file mode 100644
index 0000000..67c89bf
--- /dev/null
+++ b/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json
@@ -0,0 +1,4 @@
+{
+ "uni-fav.collect": "收藏",
+ "uni-fav.collected": "已收藏"
+}
diff --git a/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json b/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json
new file mode 100644
index 0000000..67c89bf
--- /dev/null
+++ b/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json
@@ -0,0 +1,4 @@
+{
+ "uni-fav.collect": "收藏",
+ "uni-fav.collected": "已收藏"
+}
diff --git a/uni_modules/uni-fav/components/uni-fav/uni-fav.vue b/uni_modules/uni-fav/components/uni-fav/uni-fav.vue
new file mode 100644
index 0000000..d2c58df
--- /dev/null
+++ b/uni_modules/uni-fav/components/uni-fav/uni-fav.vue
@@ -0,0 +1,161 @@
+
+
+
+
+
+
+
+
+
+
+ {{ checked ? contentFav : contentDefault }}
+
+
+
+
+
+
diff --git a/uni_modules/uni-fav/package.json b/uni_modules/uni-fav/package.json
new file mode 100644
index 0000000..cc14697
--- /dev/null
+++ b/uni_modules/uni-fav/package.json
@@ -0,0 +1,89 @@
+{
+ "id": "uni-fav",
+ "displayName": "uni-fav 收藏按钮",
+ "version": "1.2.1",
+ "description": " Fav 收藏组件,可自定义颜色、大小。",
+ "keywords": [
+ "fav",
+ "uni-ui",
+ "uniui",
+ "收藏"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss",
+ "uni-icons"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-fav/readme.md b/uni_modules/uni-fav/readme.md
new file mode 100644
index 0000000..4de125d
--- /dev/null
+++ b/uni_modules/uni-fav/readme.md
@@ -0,0 +1,10 @@
+
+
+## Fav 收藏按钮
+> **组件名:uni-fav**
+> 代码块: `uFav`
+
+用于收藏功能,可点击切换选中、不选中的状态。
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-fav)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-file-picker/changelog.md b/uni_modules/uni-file-picker/changelog.md
new file mode 100644
index 0000000..5c81026
--- /dev/null
+++ b/uni_modules/uni-file-picker/changelog.md
@@ -0,0 +1,63 @@
+## 1.0.2(2022-07-04)
+- 修复 在uni-forms下样式不生效的bug
+## 1.0.1(2021-11-23)
+- 修复 参数为对象的情况下,url在某些情况显示错误的bug
+## 1.0.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-file-picker](https://uniapp.dcloud.io/component/uniui/uni-file-picker)
+## 0.2.16(2021-11-08)
+- 修复 传入空对象 ,显示错误的Bug
+## 0.2.15(2021-08-30)
+- 修复 return-type="object" 时且存在v-model时,无法删除文件的Bug
+## 0.2.14(2021-08-23)
+- 新增 参数中返回 fileID 字段
+## 0.2.13(2021-08-23)
+- 修复 腾讯云传入fileID 不能回显的bug
+- 修复 选择图片后,不能放大的问题
+## 0.2.12(2021-08-17)
+- 修复 由于 0.2.11 版本引起的不能回显图片的Bug
+## 0.2.11(2021-08-16)
+- 新增 clearFiles(index) 方法,可以手动删除指定文件
+- 修复 v-model 值设为 null 报错的Bug
+## 0.2.10(2021-08-13)
+- 修复 return-type="object" 时,无法删除文件的Bug
+## 0.2.9(2021-08-03)
+- 修复 auto-upload 属性失效的Bug
+## 0.2.8(2021-07-31)
+- 修复 fileExtname属性不指定值报错的Bug
+## 0.2.7(2021-07-31)
+- 修复 在某种场景下图片不回显的Bug
+## 0.2.6(2021-07-30)
+- 修复 return-type为object下,返回值不正确的Bug
+## 0.2.5(2021-07-30)
+- 修复(重要) H5 平台下如果和uni-forms组件一同使用导致页面卡死的问题
+## 0.2.3(2021-07-28)
+- 优化 调整示例代码
+## 0.2.2(2021-07-27)
+- 修复 vue3 下赋值错误的Bug
+- 优化 h5平台下上传文件导致页面卡死的问题
+## 0.2.0(2021-07-13)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 0.1.1(2021-07-02)
+- 修复 sourceType 缺少默认值导致 ios 无法选择文件
+## 0.1.0(2021-06-30)
+- 优化 解耦与uniCloud的强绑定关系 ,如不绑定服务空间,默认autoUpload为false且不可更改
+## 0.0.11(2021-06-30)
+- 修复 由 0.0.10 版本引发的 returnType 属性失效的问题
+## 0.0.10(2021-06-29)
+- 优化 文件上传后进度条消失时机
+## 0.0.9(2021-06-29)
+- 修复 在uni-forms 中,删除文件 ,获取的值不对的Bug
+## 0.0.8(2021-06-15)
+- 修复 删除文件时无法触发 v-model 的Bug
+## 0.0.7(2021-05-12)
+- 新增 组件示例地址
+## 0.0.6(2021-04-09)
+- 修复 选择的文件非 file-extname 字段指定的扩展名报错的Bug
+## 0.0.5(2021-04-09)
+- 优化 更新组件示例
+## 0.0.4(2021-04-09)
+- 优化 file-extname 字段支持字符串写法,多个扩展名需要用逗号分隔
+## 0.0.3(2021-02-05)
+- 调整为uni_modules目录规范
+- 修复 微信小程序不指定 fileExtname 属性选择失败的Bug
diff --git a/uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js b/uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js
new file mode 100644
index 0000000..24a07f5
--- /dev/null
+++ b/uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js
@@ -0,0 +1,224 @@
+'use strict';
+
+const ERR_MSG_OK = 'chooseAndUploadFile:ok';
+const ERR_MSG_FAIL = 'chooseAndUploadFile:fail';
+
+function chooseImage(opts) {
+ const {
+ count,
+ sizeType = ['original', 'compressed'],
+ sourceType = ['album', 'camera'],
+ extension
+ } = opts
+ return new Promise((resolve, reject) => {
+ uni.chooseImage({
+ count,
+ sizeType,
+ sourceType,
+ extension,
+ success(res) {
+ resolve(normalizeChooseAndUploadFileRes(res, 'image'));
+ },
+ fail(res) {
+ reject({
+ errMsg: res.errMsg.replace('chooseImage:fail', ERR_MSG_FAIL),
+ });
+ },
+ });
+ });
+}
+
+function chooseVideo(opts) {
+ const {
+ camera,
+ compressed,
+ maxDuration,
+ sourceType = ['album', 'camera'],
+ extension
+ } = opts;
+ return new Promise((resolve, reject) => {
+ uni.chooseVideo({
+ camera,
+ compressed,
+ maxDuration,
+ sourceType,
+ extension,
+ success(res) {
+ const {
+ tempFilePath,
+ duration,
+ size,
+ height,
+ width
+ } = res;
+ resolve(normalizeChooseAndUploadFileRes({
+ errMsg: 'chooseVideo:ok',
+ tempFilePaths: [tempFilePath],
+ tempFiles: [
+ {
+ name: (res.tempFile && res.tempFile.name) || '',
+ path: tempFilePath,
+ size,
+ type: (res.tempFile && res.tempFile.type) || '',
+ width,
+ height,
+ duration,
+ fileType: 'video',
+ cloudPath: '',
+ }, ],
+ }, 'video'));
+ },
+ fail(res) {
+ reject({
+ errMsg: res.errMsg.replace('chooseVideo:fail', ERR_MSG_FAIL),
+ });
+ },
+ });
+ });
+}
+
+function chooseAll(opts) {
+ const {
+ count,
+ extension
+ } = opts;
+ return new Promise((resolve, reject) => {
+ let chooseFile = uni.chooseFile;
+ if (typeof wx !== 'undefined' &&
+ typeof wx.chooseMessageFile === 'function') {
+ chooseFile = wx.chooseMessageFile;
+ }
+ if (typeof chooseFile !== 'function') {
+ return reject({
+ errMsg: ERR_MSG_FAIL + ' 请指定 type 类型,该平台仅支持选择 image 或 video。',
+ });
+ }
+ chooseFile({
+ type: 'all',
+ count,
+ extension,
+ success(res) {
+ resolve(normalizeChooseAndUploadFileRes(res));
+ },
+ fail(res) {
+ reject({
+ errMsg: res.errMsg.replace('chooseFile:fail', ERR_MSG_FAIL),
+ });
+ },
+ });
+ });
+}
+
+function normalizeChooseAndUploadFileRes(res, fileType) {
+ res.tempFiles.forEach((item, index) => {
+ if (!item.name) {
+ item.name = item.path.substring(item.path.lastIndexOf('/') + 1);
+ }
+ if (fileType) {
+ item.fileType = fileType;
+ }
+ item.cloudPath =
+ Date.now() + '_' + index + item.name.substring(item.name.lastIndexOf('.'));
+ });
+ if (!res.tempFilePaths) {
+ res.tempFilePaths = res.tempFiles.map((file) => file.path);
+ }
+ return res;
+}
+
+function uploadCloudFiles(files, max = 5, onUploadProgress) {
+ files = JSON.parse(JSON.stringify(files))
+ const len = files.length
+ let count = 0
+ let self = this
+ return new Promise(resolve => {
+ while (count < max) {
+ next()
+ }
+
+ function next() {
+ let cur = count++
+ if (cur >= len) {
+ !files.find(item => !item.url && !item.errMsg) && resolve(files)
+ return
+ }
+ const fileItem = files[cur]
+ const index = self.files.findIndex(v => v.uuid === fileItem.uuid)
+ fileItem.url = ''
+ delete fileItem.errMsg
+
+ uniCloud
+ .uploadFile({
+ filePath: fileItem.path,
+ cloudPath: fileItem.cloudPath,
+ fileType: fileItem.fileType,
+ onUploadProgress: res => {
+ res.index = index
+ onUploadProgress && onUploadProgress(res)
+ }
+ })
+ .then(res => {
+ fileItem.url = res.fileID
+ fileItem.index = index
+ if (cur < len) {
+ next()
+ }
+ })
+ .catch(res => {
+ fileItem.errMsg = res.errMsg || res.message
+ fileItem.index = index
+ if (cur < len) {
+ next()
+ }
+ })
+ }
+ })
+}
+
+
+
+
+
+function uploadFiles(choosePromise, {
+ onChooseFile,
+ onUploadProgress
+}) {
+ return choosePromise
+ .then((res) => {
+ if (onChooseFile) {
+ const customChooseRes = onChooseFile(res);
+ if (typeof customChooseRes !== 'undefined') {
+ return Promise.resolve(customChooseRes).then((chooseRes) => typeof chooseRes === 'undefined' ?
+ res : chooseRes);
+ }
+ }
+ return res;
+ })
+ .then((res) => {
+ if (res === false) {
+ return {
+ errMsg: ERR_MSG_OK,
+ tempFilePaths: [],
+ tempFiles: [],
+ };
+ }
+ return res
+ })
+}
+
+function chooseAndUploadFile(opts = {
+ type: 'all'
+}) {
+ if (opts.type === 'image') {
+ return uploadFiles(chooseImage(opts), opts);
+ }
+ else if (opts.type === 'video') {
+ return uploadFiles(chooseVideo(opts), opts);
+ }
+ return uploadFiles(chooseAll(opts), opts);
+}
+
+export {
+ chooseAndUploadFile,
+ uploadCloudFiles
+};
diff --git a/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue b/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
new file mode 100644
index 0000000..0928a41
--- /dev/null
+++ b/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
@@ -0,0 +1,656 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-file-picker/components/uni-file-picker/upload-file.vue b/uni_modules/uni-file-picker/components/uni-file-picker/upload-file.vue
new file mode 100644
index 0000000..625d92e
--- /dev/null
+++ b/uni_modules/uni-file-picker/components/uni-file-picker/upload-file.vue
@@ -0,0 +1,325 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+ 点击重试
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue b/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue
new file mode 100644
index 0000000..2a29bc2
--- /dev/null
+++ b/uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点击重试
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-file-picker/components/uni-file-picker/utils.js b/uni_modules/uni-file-picker/components/uni-file-picker/utils.js
new file mode 100644
index 0000000..60aaa3e
--- /dev/null
+++ b/uni_modules/uni-file-picker/components/uni-file-picker/utils.js
@@ -0,0 +1,109 @@
+/**
+ * 获取文件名和后缀
+ * @param {String} name
+ */
+export const get_file_ext = (name) => {
+ const last_len = name.lastIndexOf('.')
+ const len = name.length
+ return {
+ name: name.substring(0, last_len),
+ ext: name.substring(last_len + 1, len)
+ }
+}
+
+/**
+ * 获取扩展名
+ * @param {Array} fileExtname
+ */
+export const get_extname = (fileExtname) => {
+ if (!Array.isArray(fileExtname)) {
+ let extname = fileExtname.replace(/(\[|\])/g, '')
+ return extname.split(',')
+ } else {
+ return fileExtname
+ }
+ return []
+}
+
+/**
+ * 获取文件和检测是否可选
+ */
+export const get_files_and_is_max = (res, _extname) => {
+ let filePaths = []
+ let files = []
+ if(!_extname || _extname.length === 0){
+ return {
+ filePaths,
+ files
+ }
+ }
+ res.tempFiles.forEach(v => {
+ let fileFullName = get_file_ext(v.name)
+ const extname = fileFullName.ext.toLowerCase()
+ if (_extname.indexOf(extname) !== -1) {
+ files.push(v)
+ filePaths.push(v.path)
+ }
+ })
+ if (files.length !== res.tempFiles.length) {
+ uni.showToast({
+ title: `当前选择了${res.tempFiles.length}个文件 ,${res.tempFiles.length - files.length} 个文件格式不正确`,
+ icon: 'none',
+ duration: 5000
+ })
+ }
+
+ return {
+ filePaths,
+ files
+ }
+}
+
+
+/**
+ * 获取图片信息
+ * @param {Object} filepath
+ */
+export const get_file_info = (filepath) => {
+ return new Promise((resolve, reject) => {
+ uni.getImageInfo({
+ src: filepath,
+ success(res) {
+ resolve(res)
+ },
+ fail(err) {
+ reject(err)
+ }
+ })
+ })
+}
+/**
+ * 获取封装数据
+ */
+export const get_file_data = async (files, type = 'image') => {
+ // 最终需要上传数据库的数据
+ let fileFullName = get_file_ext(files.name)
+ const extname = fileFullName.ext.toLowerCase()
+ let filedata = {
+ name: files.name,
+ uuid: files.uuid,
+ extname: extname || '',
+ cloudPath: files.cloudPath,
+ fileType: files.fileType,
+ url: files.path || files.path,
+ size: files.size, //单位是字节
+ image: {},
+ path: files.path,
+ video: {}
+ }
+ if (type === 'image') {
+ const imageinfo = await get_file_info(files.path)
+ delete filedata.video
+ filedata.image.width = imageinfo.width
+ filedata.image.height = imageinfo.height
+ filedata.image.location = imageinfo.path
+ } else {
+ delete filedata.image
+ }
+ return filedata
+}
diff --git a/uni_modules/uni-file-picker/package.json b/uni_modules/uni-file-picker/package.json
new file mode 100644
index 0000000..08bd66e
--- /dev/null
+++ b/uni_modules/uni-file-picker/package.json
@@ -0,0 +1,86 @@
+{
+ "id": "uni-file-picker",
+ "displayName": "uni-file-picker 文件选择上传",
+ "version": "1.0.2",
+ "description": "文件选择上传组件,可以选择图片、视频等任意文件并上传到当前绑定的服务空间",
+ "keywords": [
+ "uni-ui",
+ "uniui",
+ "图片上传",
+ "文件上传"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": ["uni-scss"],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "n"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-file-picker/readme.md b/uni_modules/uni-file-picker/readme.md
new file mode 100644
index 0000000..c8399a5
--- /dev/null
+++ b/uni_modules/uni-file-picker/readme.md
@@ -0,0 +1,11 @@
+
+## FilePicker 文件选择上传
+
+> **组件名:uni-file-picker**
+> 代码块: `uFilePicker`
+
+
+文件选择上传组件,可以选择图片、视频等任意文件并上传到当前绑定的服务空间
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-file-picker)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/uni_modules/uni-forms/changelog.md b/uni_modules/uni-forms/changelog.md
new file mode 100644
index 0000000..5a4bb79
--- /dev/null
+++ b/uni_modules/uni-forms/changelog.md
@@ -0,0 +1,86 @@
+## 1.4.6(2022-07-13)
+- 修复 model 需要校验的值没有声明对应字段时,导致第一次不触发校验的bug
+## 1.4.5(2022-07-05)
+- 新增 更多表单示例
+- 优化 子表单组件过期提示的问题
+- 优化 子表单组件uni-datetime-picker、uni-data-select、uni-data-picker的显示样式
+## 1.4.4(2022-07-04)
+- 更新 删除组件日志
+## 1.4.3(2022-07-04)
+- 修复 由 1.4.0 引发的 label 插槽不生效的bug
+## 1.4.2(2022-07-04)
+- 修复 子组件找不到 setValue 报错的bug
+## 1.4.1(2022-07-04)
+- 修复 uni-data-picker 在 uni-forms-item 中报错的bug
+- 修复 uni-data-picker 在 uni-forms-item 中宽度不正确的bug
+## 1.4.0(2022-06-30)
+- 【重要】组件逻辑重构,部分用法用旧版本不兼容,请注意兼容问题
+- 【重要】组件使用 Provide/Inject 方式注入依赖,提供了自定义表单组件调用 uni-forms 校验表单的能力
+- 新增 model 属性,等同于原 value/modelValue 属性,旧属性即将废弃
+- 新增 validateTrigger 属性的 blur 值,仅 uni-easyinput 生效
+- 新增 onFieldChange 方法,可以对子表单进行校验,可替代binddata方法
+- 新增 子表单的 setRules 方法,配合自定义校验函数使用
+- 新增 uni-forms-item 的 setRules 方法,配置动态表单使用可动态更新校验规则
+- 优化 动态表单校验方式,废弃拼接name的方式
+## 1.3.3(2022-06-22)
+- 修复 表单校验顺序无序问题
+## 1.3.2(2021-12-09)
+-
+## 1.3.1(2021-11-19)
+- 修复 label 插槽不生效的bug
+## 1.3.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-forms](https://uniapp.dcloud.io/component/uniui/uni-forms)
+## 1.2.7(2021-08-13)
+- 修复 没有添加校验规则的字段依然报错的Bug
+## 1.2.6(2021-08-11)
+- 修复 重置表单错误信息无法清除的问题
+## 1.2.5(2021-08-11)
+- 优化 组件文档
+## 1.2.4(2021-08-11)
+- 修复 表单验证只生效一次的问题
+## 1.2.3(2021-07-30)
+- 优化 vue3下事件警告的问题
+## 1.2.2(2021-07-26)
+- 修复 vue2 下条件编译导致destroyed生命周期失效的Bug
+- 修复 1.2.1 引起的示例在小程序平台报错的Bug
+## 1.2.1(2021-07-22)
+- 修复 动态校验表单,默认值为空的情况下校验失效的Bug
+- 修复 不指定name属性时,运行报错的Bug
+- 优化 label默认宽度从65调整至70,使required为true且四字时不换行
+- 优化 组件示例,新增动态校验示例代码
+- 优化 组件文档,使用方式更清晰
+## 1.2.0(2021-07-13)
+- 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
+## 1.1.2(2021-06-25)
+- 修复 pattern 属性在微信小程序平台无效的问题
+## 1.1.1(2021-06-22)
+- 修复 validate-trigger属性为submit且err-show-type属性为toast时不能弹出的Bug
+## 1.1.0(2021-06-22)
+- 修复 只写setRules方法而导致校验不生效的Bug
+- 修复 由上个办法引发的错误提示文字错位的Bug
+## 1.0.48(2021-06-21)
+- 修复 不设置 label 属性 ,无法设置label插槽的问题
+## 1.0.47(2021-06-21)
+- 修复 不设置label属性,label-width属性不生效的bug
+- 修复 setRules 方法与rules属性冲突的问题
+## 1.0.46(2021-06-04)
+- 修复 动态删减数据导致报错的问题
+## 1.0.45(2021-06-04)
+- 新增 modelValue 属性 ,value 即将废弃
+## 1.0.44(2021-06-02)
+- 新增 uni-forms-item 可以设置单独的 rules
+- 新增 validate 事件增加 keepitem 参数,可以选择那些字段不过滤
+- 优化 submit 事件重命名为 validate
+## 1.0.43(2021-05-12)
+- 新增 组件示例地址
+## 1.0.42(2021-04-30)
+- 修复 自定义检验器失效的问题
+## 1.0.41(2021-03-05)
+- 更新 校验器
+- 修复 表单规则设置类型为 number 的情况下,值为0校验失败的Bug
+## 1.0.40(2021-03-04)
+- 修复 动态显示uni-forms-item的情况下,submit 方法获取值错误的Bug
+## 1.0.39(2021-02-05)
+- 调整为uni_modules目录规范
+- 修复 校验器传入 int 等类型 ,返回String类型的Bug
diff --git a/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue b/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue
new file mode 100644
index 0000000..250ed87
--- /dev/null
+++ b/uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue
@@ -0,0 +1,627 @@
+
+
+
+
+ *
+ {{label}}
+
+
+
+
+
+
+ {{msg}}
+
+
+
+
+
+
+
+
+
+ {{msg}}
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-forms/components/uni-forms/uni-forms.vue b/uni_modules/uni-forms/components/uni-forms/uni-forms.vue
new file mode 100644
index 0000000..ed2f6d9
--- /dev/null
+++ b/uni_modules/uni-forms/components/uni-forms/uni-forms.vue
@@ -0,0 +1,397 @@
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-forms/components/uni-forms/utils.js b/uni_modules/uni-forms/components/uni-forms/utils.js
new file mode 100644
index 0000000..6da2421
--- /dev/null
+++ b/uni_modules/uni-forms/components/uni-forms/utils.js
@@ -0,0 +1,293 @@
+/**
+ * 简单处理对象拷贝
+ * @param {Obejct} 被拷贝对象
+ * @@return {Object} 拷贝对象
+ */
+export const deepCopy = (val) => {
+ return JSON.parse(JSON.stringify(val))
+}
+/**
+ * 过滤数字类型
+ * @param {String} format 数字类型
+ * @@return {Boolean} 返回是否为数字类型
+ */
+export const typeFilter = (format) => {
+ return format === 'int' || format === 'double' || format === 'number' || format === 'timestamp';
+}
+
+/**
+ * 把 value 转换成指定的类型,用于处理初始值,原因是初始值需要入库不能为 undefined
+ * @param {String} key 字段名
+ * @param {any} value 字段值
+ * @param {Object} rules 表单校验规则
+ */
+export const getValue = (key, value, rules) => {
+ const isRuleNumType = rules.find(val => val.format && typeFilter(val.format));
+ const isRuleBoolType = rules.find(val => (val.format && val.format === 'boolean') || val.format === 'bool');
+ // 输入类型为 number
+ if (!!isRuleNumType) {
+ if (!value && value !== 0) {
+ value = null
+ } else {
+ value = isNumber(Number(value)) ? Number(value) : value
+ }
+ }
+
+ // 输入类型为 boolean
+ if (!!isRuleBoolType) {
+ value = isBoolean(value) ? value : false
+ }
+
+ return value;
+}
+
+/**
+ * 获取表单数据
+ * @param {String|Array} name 真实名称,需要使用 realName 获取
+ * @param {Object} data 原始数据
+ * @param {any} value 需要设置的值
+ */
+export const setDataValue = (field, formdata, value) => {
+ formdata[field] = value
+ return value || ''
+}
+
+/**
+ * 获取表单数据
+ * @param {String|Array} field 真实名称,需要使用 realName 获取
+ * @param {Object} data 原始数据
+ */
+export const getDataValue = (field, data) => {
+ return objGet(data, field)
+}
+
+/**
+ * 获取表单类型
+ * @param {String|Array} field 真实名称,需要使用 realName 获取
+ */
+export const getDataValueType = (field, data) => {
+ const value = getDataValue(field, data)
+ return {
+ type: type(value),
+ value
+ }
+}
+
+/**
+ * 获取表单可用的真实name
+ * @param {String|Array} name 表单name
+ * @@return {String} 表单可用的真实name
+ */
+export const realName = (name, data = {}) => {
+ const base_name = _basePath(name)
+ if (typeof base_name === 'object' && Array.isArray(base_name) && base_name.length > 1) {
+ const realname = base_name.reduce((a, b) => a += `#${b}`, '_formdata_')
+ return realname
+ }
+ return base_name[0] || name
+}
+
+/**
+ * 判断是否表单可用的真实name
+ * @param {String|Array} name 表单name
+ * @@return {String} 表单可用的真实name
+ */
+export const isRealName = (name) => {
+ const reg = /^_formdata_#*/
+ return reg.test(name)
+}
+
+/**
+ * 获取表单数据的原始格式
+ * @@return {Object|Array} object 需要解析的数据
+ */
+export const rawData = (object = {}, name) => {
+ let newData = JSON.parse(JSON.stringify(object))
+ let formData = {}
+ for(let i in newData){
+ let path = name2arr(i)
+ objSet(formData,path,newData[i])
+ }
+ return formData
+}
+
+/**
+ * 真实name还原为 array
+ * @param {*} name
+ */
+export const name2arr = (name) => {
+ let field = name.replace('_formdata_#', '')
+ field = field.split('#').map(v => (isNumber(v) ? Number(v) : v))
+ return field
+}
+
+/**
+ * 对象中设置值
+ * @param {Object|Array} object 源数据
+ * @param {String| Array} path 'a.b.c' 或 ['a',0,'b','c']
+ * @param {String} value 需要设置的值
+ */
+export const objSet = (object, path, value) => {
+ if (typeof object !== 'object') return object;
+ _basePath(path).reduce((o, k, i, _) => {
+ if (i === _.length - 1) {
+ // 若遍历结束直接赋值
+ o[k] = value
+ return null
+ } else if (k in o) {
+ // 若存在对应路径,则返回找到的对象,进行下一次遍历
+ return o[k]
+ } else {
+ // 若不存在对应路径,则创建对应对象,若下一路径是数字,新对象赋值为空数组,否则赋值为空对象
+ o[k] = /^[0-9]{1,}$/.test(_[i + 1]) ? [] : {}
+ return o[k]
+ }
+ }, object)
+ // 返回object
+ return object;
+}
+
+// 处理 path, path有三种形式:'a[0].b.c'、'a.0.b.c' 和 ['a','0','b','c'],需要统一处理成数组,便于后续使用
+function _basePath(path) {
+ // 若是数组,则直接返回
+ if (Array.isArray(path)) return path
+ // 若有 '[',']',则替换成将 '[' 替换成 '.',去掉 ']'
+ return path.replace(/\[/g, '.').replace(/\]/g, '').split('.')
+}
+
+/**
+ * 从对象中获取值
+ * @param {Object|Array} object 源数据
+ * @param {String| Array} path 'a.b.c' 或 ['a',0,'b','c']
+ * @param {String} defaultVal 如果无法从调用链中获取值的默认值
+ */
+export const objGet = (object, path, defaultVal = 'undefined') => {
+ // 先将path处理成统一格式
+ let newPath = _basePath(path)
+ // 递归处理,返回最后结果
+ let val = newPath.reduce((o, k) => {
+ return (o || {})[k]
+ }, object);
+ return !val || val !== undefined ? val : defaultVal
+}
+
+
+/**
+ * 是否为 number 类型
+ * @param {any} num 需要判断的值
+ * @return {Boolean} 是否为 number
+ */
+export const isNumber = (num) => {
+ return !isNaN(Number(num))
+}
+
+/**
+ * 是否为 boolean 类型
+ * @param {any} bool 需要判断的值
+ * @return {Boolean} 是否为 boolean
+ */
+export const isBoolean = (bool) => {
+ return (typeof bool === 'boolean')
+}
+/**
+ * 是否有必填字段
+ * @param {Object} rules 规则
+ * @return {Boolean} 是否有必填字段
+ */
+export const isRequiredField = (rules) => {
+ let isNoField = false;
+ for (let i = 0; i < rules.length; i++) {
+ const ruleData = rules[i];
+ if (ruleData.required) {
+ isNoField = true;
+ break;
+ }
+ }
+ return isNoField;
+}
+
+
+/**
+ * 获取数据类型
+ * @param {Any} obj 需要获取数据类型的值
+ */
+export const type = (obj) => {
+ var class2type = {};
+
+ // 生成class2type映射
+ "Boolean Number String Function Array Date RegExp Object Error".split(" ").map(function(item, index) {
+ class2type["[object " + item + "]"] = item.toLowerCase();
+ })
+ if (obj == null) {
+ return obj + "";
+ }
+ return typeof obj === "object" || typeof obj === "function" ?
+ class2type[Object.prototype.toString.call(obj)] || "object" :
+ typeof obj;
+}
+
+/**
+ * 判断两个值是否相等
+ * @param {any} a 值
+ * @param {any} b 值
+ * @return {Boolean} 是否相等
+ */
+export const isEqual = (a, b) => {
+ //如果a和b本来就全等
+ if (a === b) {
+ //判断是否为0和-0
+ return a !== 0 || 1 / a === 1 / b;
+ }
+ //判断是否为null和undefined
+ if (a == null || b == null) {
+ return a === b;
+ }
+ //接下来判断a和b的数据类型
+ var classNameA = toString.call(a),
+ classNameB = toString.call(b);
+ //如果数据类型不相等,则返回false
+ if (classNameA !== classNameB) {
+ return false;
+ }
+ //如果数据类型相等,再根据不同数据类型分别判断
+ switch (classNameA) {
+ case '[object RegExp]':
+ case '[object String]':
+ //进行字符串转换比较
+ return '' + a === '' + b;
+ case '[object Number]':
+ //进行数字转换比较,判断是否为NaN
+ if (+a !== +a) {
+ return +b !== +b;
+ }
+ //判断是否为0或-0
+ return +a === 0 ? 1 / +a === 1 / b : +a === +b;
+ case '[object Date]':
+ case '[object Boolean]':
+ return +a === +b;
+ }
+ //如果是对象类型
+ if (classNameA == '[object Object]') {
+ //获取a和b的属性长度
+ var propsA = Object.getOwnPropertyNames(a),
+ propsB = Object.getOwnPropertyNames(b);
+ if (propsA.length != propsB.length) {
+ return false;
+ }
+ for (var i = 0; i < propsA.length; i++) {
+ var propName = propsA[i];
+ //如果对应属性对应值不相等,则返回false
+ if (a[propName] !== b[propName]) {
+ return false;
+ }
+ }
+ return true;
+ }
+ //如果是数组类型
+ if (classNameA == '[object Array]') {
+ if (a.toString() == b.toString()) {
+ return true;
+ }
+ return false;
+ }
+}
diff --git a/uni_modules/uni-forms/components/uni-forms/validate.js b/uni_modules/uni-forms/components/uni-forms/validate.js
new file mode 100644
index 0000000..69a70db
--- /dev/null
+++ b/uni_modules/uni-forms/components/uni-forms/validate.js
@@ -0,0 +1,486 @@
+var pattern = {
+ email: /^\S+?@\S+?\.\S+?$/,
+ idcard: /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
+ url: new RegExp(
+ "^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$",
+ 'i')
+};
+
+const FORMAT_MAPPING = {
+ "int": 'integer',
+ "bool": 'boolean',
+ "double": 'number',
+ "long": 'number',
+ "password": 'string'
+ // "fileurls": 'array'
+}
+
+function formatMessage(args, resources = '') {
+ var defaultMessage = ['label']
+ defaultMessage.forEach((item) => {
+ if (args[item] === undefined) {
+ args[item] = ''
+ }
+ })
+
+ let str = resources
+ for (let key in args) {
+ let reg = new RegExp('{' + key + '}')
+ str = str.replace(reg, args[key])
+ }
+ return str
+}
+
+function isEmptyValue(value, type) {
+ if (value === undefined || value === null) {
+ return true;
+ }
+
+ if (typeof value === 'string' && !value) {
+ return true;
+ }
+
+ if (Array.isArray(value) && !value.length) {
+ return true;
+ }
+
+ if (type === 'object' && !Object.keys(value).length) {
+ return true;
+ }
+
+ return false;
+}
+
+const types = {
+ integer(value) {
+ return types.number(value) && parseInt(value, 10) === value;
+ },
+ string(value) {
+ return typeof value === 'string';
+ },
+ number(value) {
+ if (isNaN(value)) {
+ return false;
+ }
+ return typeof value === 'number';
+ },
+ "boolean": function(value) {
+ return typeof value === 'boolean';
+ },
+ "float": function(value) {
+ return types.number(value) && !types.integer(value);
+ },
+ array(value) {
+ return Array.isArray(value);
+ },
+ object(value) {
+ return typeof value === 'object' && !types.array(value);
+ },
+ date(value) {
+ return value instanceof Date;
+ },
+ timestamp(value) {
+ if (!this.integer(value) || Math.abs(value).toString().length > 16) {
+ return false
+ }
+ return true;
+ },
+ file(value) {
+ return typeof value.url === 'string';
+ },
+ email(value) {
+ return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
+ },
+ url(value) {
+ return typeof value === 'string' && !!value.match(pattern.url);
+ },
+ pattern(reg, value) {
+ try {
+ return new RegExp(reg).test(value);
+ } catch (e) {
+ return false;
+ }
+ },
+ method(value) {
+ return typeof value === 'function';
+ },
+ idcard(value) {
+ return typeof value === 'string' && !!value.match(pattern.idcard);
+ },
+ 'url-https'(value) {
+ return this.url(value) && value.startsWith('https://');
+ },
+ 'url-scheme'(value) {
+ return value.startsWith('://');
+ },
+ 'url-web'(value) {
+ return false;
+ }
+}
+
+class RuleValidator {
+
+ constructor(message) {
+ this._message = message
+ }
+
+ async validateRule(fieldKey, fieldValue, value, data, allData) {
+ var result = null
+
+ let rules = fieldValue.rules
+
+ let hasRequired = rules.findIndex((item) => {
+ return item.required
+ })
+ if (hasRequired < 0) {
+ if (value === null || value === undefined) {
+ return result
+ }
+ if (typeof value === 'string' && !value.length) {
+ return result
+ }
+ }
+
+ var message = this._message
+
+ if (rules === undefined) {
+ return message['default']
+ }
+
+ for (var i = 0; i < rules.length; i++) {
+ let rule = rules[i]
+ let vt = this._getValidateType(rule)
+
+ Object.assign(rule, {
+ label: fieldValue.label || `["${fieldKey}"]`
+ })
+
+ if (RuleValidatorHelper[vt]) {
+ result = RuleValidatorHelper[vt](rule, value, message)
+ if (result != null) {
+ break
+ }
+ }
+
+ if (rule.validateExpr) {
+ let now = Date.now()
+ let resultExpr = rule.validateExpr(value, allData, now)
+ if (resultExpr === false) {
+ result = this._getMessage(rule, rule.errorMessage || this._message['default'])
+ break
+ }
+ }
+
+ if (rule.validateFunction) {
+ result = await this.validateFunction(rule, value, data, allData, vt)
+ if (result !== null) {
+ break
+ }
+ }
+ }
+
+ if (result !== null) {
+ result = message.TAG + result
+ }
+
+ return result
+ }
+
+ async validateFunction(rule, value, data, allData, vt) {
+ let result = null
+ try {
+ let callbackMessage = null
+ const res = await rule.validateFunction(rule, value, allData || data, (message) => {
+ callbackMessage = message
+ })
+ if (callbackMessage || (typeof res === 'string' && res) || res === false) {
+ result = this._getMessage(rule, callbackMessage || res, vt)
+ }
+ } catch (e) {
+ result = this._getMessage(rule, e.message, vt)
+ }
+ return result
+ }
+
+ _getMessage(rule, message, vt) {
+ return formatMessage(rule, message || rule.errorMessage || this._message[vt] || message['default'])
+ }
+
+ _getValidateType(rule) {
+ var result = ''
+ if (rule.required) {
+ result = 'required'
+ } else if (rule.format) {
+ result = 'format'
+ } else if (rule.arrayType) {
+ result = 'arrayTypeFormat'
+ } else if (rule.range) {
+ result = 'range'
+ } else if (rule.maximum !== undefined || rule.minimum !== undefined) {
+ result = 'rangeNumber'
+ } else if (rule.maxLength !== undefined || rule.minLength !== undefined) {
+ result = 'rangeLength'
+ } else if (rule.pattern) {
+ result = 'pattern'
+ } else if (rule.validateFunction) {
+ result = 'validateFunction'
+ }
+ return result
+ }
+}
+
+const RuleValidatorHelper = {
+ required(rule, value, message) {
+ if (rule.required && isEmptyValue(value, rule.format || typeof value)) {
+ return formatMessage(rule, rule.errorMessage || message.required);
+ }
+
+ return null
+ },
+
+ range(rule, value, message) {
+ const {
+ range,
+ errorMessage
+ } = rule;
+
+ let list = new Array(range.length);
+ for (let i = 0; i < range.length; i++) {
+ const item = range[i];
+ if (types.object(item) && item.value !== undefined) {
+ list[i] = item.value;
+ } else {
+ list[i] = item;
+ }
+ }
+
+ let result = false
+ if (Array.isArray(value)) {
+ result = (new Set(value.concat(list)).size === list.length);
+ } else {
+ if (list.indexOf(value) > -1) {
+ result = true;
+ }
+ }
+
+ if (!result) {
+ return formatMessage(rule, errorMessage || message['enum']);
+ }
+
+ return null
+ },
+
+ rangeNumber(rule, value, message) {
+ if (!types.number(value)) {
+ return formatMessage(rule, rule.errorMessage || message.pattern.mismatch);
+ }
+
+ let {
+ minimum,
+ maximum,
+ exclusiveMinimum,
+ exclusiveMaximum
+ } = rule;
+ let min = exclusiveMinimum ? value <= minimum : value < minimum;
+ let max = exclusiveMaximum ? value >= maximum : value > maximum;
+
+ if (minimum !== undefined && min) {
+ return formatMessage(rule, rule.errorMessage || message['number'][exclusiveMinimum ?
+ 'exclusiveMinimum' : 'minimum'
+ ])
+ } else if (maximum !== undefined && max) {
+ return formatMessage(rule, rule.errorMessage || message['number'][exclusiveMaximum ?
+ 'exclusiveMaximum' : 'maximum'
+ ])
+ } else if (minimum !== undefined && maximum !== undefined && (min || max)) {
+ return formatMessage(rule, rule.errorMessage || message['number'].range)
+ }
+
+ return null
+ },
+
+ rangeLength(rule, value, message) {
+ if (!types.string(value) && !types.array(value)) {
+ return formatMessage(rule, rule.errorMessage || message.pattern.mismatch);
+ }
+
+ let min = rule.minLength;
+ let max = rule.maxLength;
+ let val = value.length;
+
+ if (min !== undefined && val < min) {
+ return formatMessage(rule, rule.errorMessage || message['length'].minLength)
+ } else if (max !== undefined && val > max) {
+ return formatMessage(rule, rule.errorMessage || message['length'].maxLength)
+ } else if (min !== undefined && max !== undefined && (val < min || val > max)) {
+ return formatMessage(rule, rule.errorMessage || message['length'].range)
+ }
+
+ return null
+ },
+
+ pattern(rule, value, message) {
+ if (!types['pattern'](rule.pattern, value)) {
+ return formatMessage(rule, rule.errorMessage || message.pattern.mismatch);
+ }
+
+ return null
+ },
+
+ format(rule, value, message) {
+ var customTypes = Object.keys(types);
+ var format = FORMAT_MAPPING[rule.format] ? FORMAT_MAPPING[rule.format] : (rule.format || rule.arrayType);
+
+ if (customTypes.indexOf(format) > -1) {
+ if (!types[format](value)) {
+ return formatMessage(rule, rule.errorMessage || message.typeError);
+ }
+ }
+
+ return null
+ },
+
+ arrayTypeFormat(rule, value, message) {
+ if (!Array.isArray(value)) {
+ return formatMessage(rule, rule.errorMessage || message.typeError);
+ }
+
+ for (let i = 0; i < value.length; i++) {
+ const element = value[i];
+ let formatResult = this.format(rule, element, message)
+ if (formatResult !== null) {
+ return formatResult
+ }
+ }
+
+ return null
+ }
+}
+
+class SchemaValidator extends RuleValidator {
+
+ constructor(schema, options) {
+ super(SchemaValidator.message);
+
+ this._schema = schema
+ this._options = options || null
+ }
+
+ updateSchema(schema) {
+ this._schema = schema
+ }
+
+ async validate(data, allData) {
+ let result = this._checkFieldInSchema(data)
+ if (!result) {
+ result = await this.invokeValidate(data, false, allData)
+ }
+ return result.length ? result[0] : null
+ }
+
+ async validateAll(data, allData) {
+ let result = this._checkFieldInSchema(data)
+ if (!result) {
+ result = await this.invokeValidate(data, true, allData)
+ }
+ return result
+ }
+
+ async validateUpdate(data, allData) {
+ let result = this._checkFieldInSchema(data)
+ if (!result) {
+ result = await this.invokeValidateUpdate(data, false, allData)
+ }
+ return result.length ? result[0] : null
+ }
+
+ async invokeValidate(data, all, allData) {
+ let result = []
+ let schema = this._schema
+ for (let key in schema) {
+ let value = schema[key]
+ let errorMessage = await this.validateRule(key, value, data[key], data, allData)
+ if (errorMessage != null) {
+ result.push({
+ key,
+ errorMessage
+ })
+ if (!all) break
+ }
+ }
+ return result
+ }
+
+ async invokeValidateUpdate(data, all, allData) {
+ let result = []
+ for (let key in data) {
+ let errorMessage = await this.validateRule(key, this._schema[key], data[key], data, allData)
+ if (errorMessage != null) {
+ result.push({
+ key,
+ errorMessage
+ })
+ if (!all) break
+ }
+ }
+ return result
+ }
+
+ _checkFieldInSchema(data) {
+ var keys = Object.keys(data)
+ var keys2 = Object.keys(this._schema)
+ if (new Set(keys.concat(keys2)).size === keys2.length) {
+ return ''
+ }
+
+ var noExistFields = keys.filter((key) => {
+ return keys2.indexOf(key) < 0;
+ })
+ var errorMessage = formatMessage({
+ field: JSON.stringify(noExistFields)
+ }, SchemaValidator.message.TAG + SchemaValidator.message['defaultInvalid'])
+ return [{
+ key: 'invalid',
+ errorMessage
+ }]
+ }
+}
+
+function message() {
+ return {
+ TAG: "",
+ default: '验证错误',
+ defaultInvalid: '提交的字段{field}在数据库中并不存在',
+ validateFunction: '验证无效',
+ required: '{label}必填',
+ 'enum': '{label}超出范围',
+ timestamp: '{label}格式无效',
+ whitespace: '{label}不能为空',
+ typeError: '{label}类型无效',
+ date: {
+ format: '{label}日期{value}格式无效',
+ parse: '{label}日期无法解析,{value}无效',
+ invalid: '{label}日期{value}无效'
+ },
+ length: {
+ minLength: '{label}长度不能少于{minLength}',
+ maxLength: '{label}长度不能超过{maxLength}',
+ range: '{label}必须介于{minLength}和{maxLength}之间'
+ },
+ number: {
+ minimum: '{label}不能小于{minimum}',
+ maximum: '{label}不能大于{maximum}',
+ exclusiveMinimum: '{label}不能小于等于{minimum}',
+ exclusiveMaximum: '{label}不能大于等于{maximum}',
+ range: '{label}必须介于{minimum}and{maximum}之间'
+ },
+ pattern: {
+ mismatch: '{label}格式不匹配'
+ }
+ };
+}
+
+
+SchemaValidator.message = new message();
+
+export default SchemaValidator
diff --git a/uni_modules/uni-forms/package.json b/uni_modules/uni-forms/package.json
new file mode 100644
index 0000000..e69d39b
--- /dev/null
+++ b/uni_modules/uni-forms/package.json
@@ -0,0 +1,91 @@
+{
+ "id": "uni-forms",
+ "displayName": "uni-forms 表单",
+ "version": "1.4.6",
+ "description": "由输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据",
+ "keywords": [
+ "uni-ui",
+ "表单",
+ "校验",
+ "表单校验",
+ "表单验证"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss",
+ "uni-icons"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "y"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y",
+ "京东": "u"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-forms/readme.md b/uni_modules/uni-forms/readme.md
new file mode 100644
index 0000000..63d5a04
--- /dev/null
+++ b/uni_modules/uni-forms/readme.md
@@ -0,0 +1,23 @@
+
+
+## Forms 表单
+
+> **组件名:uni-forms**
+> 代码块: `uForms`、`uni-forms-item`
+> 关联组件:`uni-forms-item`、`uni-easyinput`、`uni-data-checkbox`、`uni-group`。
+
+
+uni-app的内置组件已经有了 `