This commit is contained in:
2023-05-16 13:02:46 +08:00
parent d19b1ed2aa
commit c8e4e47569
719 changed files with 505 additions and 466 deletions
+1 -1
View File
@@ -1 +1 @@
"use strict";require("./sub-common/c3cce4a22c39194d23d0153ab7e918d8.js");require("./sub-common/f53b1679f25c7637ce43fb0068d1509b.js");require("./sub-common/7573a601b2e7601c00ed52c4c484ac13.js");(wx.webpackJsonp=wx.webpackJsonp||[]).push([[363],{7966:function(e,n,t){var a=t(2180),i=t(4165),r=t(5861),s=t(9439),l=t(1515),c=t(2954),o=t.n(c),u=t(7294),d="index-module__company_item___EzAly",h="index-module__desc___XvkZy",g="index-module__company_icon___fyH9u",f=t(6028),v=t(3271),x=t(5893),companyItem=function(e){var n=e.value,t=e.onClick;return(0,x.jsxs)(l.G7,{className:d,onClick:function onClick(){return null==t?void 0:t(n)},children:[(0,x.jsx)(v.Z,{name:n.title}),(0,x.jsxs)(l.G7,{className:h,children:[(0,x.jsx)(l.xv,{children:null==n?void 0:n.title}),(0,x.jsx)(l.xv,{children:"".concat(null==n?void 0:n.purchaser_name," ").concat(null==n?void 0:n.phone)})]}),(0,x.jsx)(l.G7,{className:g,children:(0,x.jsx)(f.Z,{name:"icon-xiala",size:43})})]})},p=t(8247),m=(t(1115),t(9498)),_=function WeightList(e){var n,t,a,d;(0,m.av)("pages/weightList/index");var h=(0,p.TE)(),g=h.fetchData,f=h.state,v=function getData(){g()};(0,u.useEffect)((function(){return o().eventCenter.on("weightList:refresh",v),v(),function(){o().eventCenter.off("weightList:refresh",v)}}),[]);var _=(0,u.useState)(!1),w=(0,s.Z)(_,2),j=w[0],C=w[1],k=function(){var e=(0,r.Z)((0,i.Z)().mark((function _callee(){return(0,i.Z)().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),e.next=3,g();case 3:C(!1);case 4:case"end":return e.stop()}}),_callee)})));return function handleRefresh(){return e.apply(this,arguments)}}(),y=(Array.from({length:0}),(0,p.ob)().fetchData,function onSelect(e){var n=(0,c.getCurrentPages)();n[n.length-1].getOpenerEventChannel().emit("getSelectCompanyEvent",e),o().navigateBack()});return(0,x.jsxs)(l.G7,{className:"weight-list-scroll-view",children:[(0,x.jsx)(l.pf,{scrollY:!0,refresherEnabled:!0,enhanced:!0,refresherTriggered:j,onRefresherRefresh:k,children:(null==f||null===(n=f.data)||void 0===n||null===(t=n.list)||void 0===t?void 0:t.length)>0?null==f||null===(a=f.data)||void 0===a||null===(d=a.list)||void 0===d?void 0:d.map((function(e){return(0,x.jsx)(l.G7,{className:"weight-list-con",children:(0,x.jsx)(companyItem,{value:e,onClick:y})},e.id)})):(0,x.jsxs)(l.G7,{className:"weight-list-no-data",children:[(0,x.jsx)(l.G7,{children:"您末添加任何码单信息"}),"正在使用平台默认码单信息"]})}),(0,x.jsx)(l.C3,{url:"/pages/weightListAdd/index?type=add",hoverClass:"none",className:"add-weight-list",children:"新建抬头"})]})},w=function weightListManager(){return(0,x.jsx)(l.G7,{className:"weight-list-manager",children:(0,x.jsx)(_,{})})};w.enableShareAppMessage=!0;Page((0,a.createPageConfig)(w,"pages/weightList/index",{root:{cn:[]}},{navigationBarTitleText:"码单管理",enableShareAppMessage:!0,backgroundColor:"#F7F7F7FF"}||{}))}},function(e){e.O(0,[2535,1376,3786,5282,2107,1216,8592],(function(){return n=7966,e(e.s=n);var n}));e.O()}]);
"use strict";require("./sub-common/461a80c58dfacc2d04ea4650c43c33aa.js");require("./sub-common/7bb7cce4ab2d23b91cbb7835b11947e8.js");require("./sub-common/b12362e7085ca8ae4e09cb1b84706b30.js");(wx.webpackJsonp=wx.webpackJsonp||[]).push([[363],{7966:function(e,n,t){var a=t(2180),i=t(4165),r=t(5861),s=t(9439),l=t(1515),c=t(2954),o=t.n(c),u=t(7294),d="index-module__company_item___EzAly",h="index-module__desc___XvkZy",g="index-module__company_icon___fyH9u",f=t(6028),v=t(3271),x=t(5893),companyItem=function(e){var n=e.value,t=e.onClick;return(0,x.jsxs)(l.G7,{className:d,onClick:function onClick(){return null==t?void 0:t(n)},children:[(0,x.jsx)(v.Z,{name:n.title}),(0,x.jsxs)(l.G7,{className:h,children:[(0,x.jsx)(l.xv,{children:null==n?void 0:n.title}),(0,x.jsx)(l.xv,{children:"".concat(null==n?void 0:n.purchaser_name," ").concat(null==n?void 0:n.phone)})]}),(0,x.jsx)(l.G7,{className:g,children:(0,x.jsx)(f.Z,{name:"icon-xiala",size:43})})]})},p=t(8247),m=(t(1115),t(9498)),_=function WeightList(e){var n,t,a,d;(0,m.av)("pages/weightList/index");var h=(0,p.TE)(),g=h.fetchData,f=h.state,v=function getData(){g()};(0,u.useEffect)((function(){return o().eventCenter.on("weightList:refresh",v),v(),function(){o().eventCenter.off("weightList:refresh",v)}}),[]);var _=(0,u.useState)(!1),w=(0,s.Z)(_,2),j=w[0],C=w[1],k=function(){var e=(0,r.Z)((0,i.Z)().mark((function _callee(){return(0,i.Z)().wrap((function _callee$(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),e.next=3,g();case 3:C(!1);case 4:case"end":return e.stop()}}),_callee)})));return function handleRefresh(){return e.apply(this,arguments)}}(),y=(Array.from({length:0}),(0,p.ob)().fetchData,function onSelect(e){var n=(0,c.getCurrentPages)();n[n.length-1].getOpenerEventChannel().emit("getSelectCompanyEvent",e),o().navigateBack()});return(0,x.jsxs)(l.G7,{className:"weight-list-scroll-view",children:[(0,x.jsx)(l.pf,{scrollY:!0,refresherEnabled:!0,enhanced:!0,refresherTriggered:j,onRefresherRefresh:k,children:(null==f||null===(n=f.data)||void 0===n||null===(t=n.list)||void 0===t?void 0:t.length)>0?null==f||null===(a=f.data)||void 0===a||null===(d=a.list)||void 0===d?void 0:d.map((function(e){return(0,x.jsx)(l.G7,{className:"weight-list-con",children:(0,x.jsx)(companyItem,{value:e,onClick:y})},e.id)})):(0,x.jsxs)(l.G7,{className:"weight-list-no-data",children:[(0,x.jsx)(l.G7,{children:"您末添加任何码单信息"}),"正在使用平台默认码单信息"]})}),(0,x.jsx)(l.C3,{url:"/pages/weightListAdd/index?type=add",hoverClass:"none",className:"add-weight-list",children:"新建抬头"})]})},w=function weightListManager(){return(0,x.jsx)(l.G7,{className:"weight-list-manager",children:(0,x.jsx)(_,{})})};w.enableShareAppMessage=!0;Page((0,a.createPageConfig)(w,"pages/weightList/index",{root:{cn:[]}},{navigationBarTitleText:"码单管理",enableShareAppMessage:!0,backgroundColor:"#F7F7F7FF"}||{}))}},function(e){e.O(0,[3924,8243,966,9279,2107,1216,8592],(function(){return n=7966,e(e.s=n);var n}));e.O()}]);
+1 -1
View File
@@ -1 +1 @@
@import "./sub-common/9326b70cbae39d6c4822800c44325b27.wxss";.index-module__common_safe_area_y___AmEEx{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___p_5dE{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___PzSfj{height:100%;width:100%}.index-module__company_item___EzAly{-ms-flex-align:center;-webkit-align-items:center;align-items:center;background:#fff;border-radius:16rpx;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:148rpx;margin-top:24rpx;padding:0 24rpx;width:702rpx}.index-module__company_item___EzAly .index-module__desc___XvkZy{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:28rpx;margin-left:30rpx}.index-module__company_item___EzAly .index-module__desc___XvkZy text:nth-child(1){margin-bottom:16rpx}.index-module__company_item___EzAly .index-module__desc___XvkZy text:nth-child(2){color:rgba(0,0,0,.6)}.index-module__company_item___EzAly .index-module__company_icon___fyH9u{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.common_safe_area_y{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.hoverClass{-webkit-filter:brightness(70%);filter:brightness(70%)}.full-100{height:100%;width:100%}.weight-list-manager{background-color:#f7f7f7;height:100vh}.weight-list-manager .weight-list-scroll-view{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;position:relative}.weight-list-manager .weight-list-scroll-view scroll-view{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%}.weight-list-manager .weight-list-scroll-view .weight-list-con{-ms-flex-pack:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:center;justify-content:center}.weight-list-manager .weight-list-scroll-view .weight-list-list{background:#fff;border:1px solid #fff;border-radius:20rpx;-webkit-box-shadow:2rpx 4rpx 12rpx 0rpx rgba(0,0,0,.16);box-shadow:2rpx 4rpx 12rpx 0rpx rgba(0,0,0,.16);-webkit-box-sizing:border-box;box-sizing:border-box;height:156rpx;margin:18rpx auto 0;padding:30rpx;width:704rpx}.weight-list-manager .weight-list-scroll-view .weight-list-list:first-child{margin-top:0}.weight-list-manager .weight-list-scroll-view .address-active{border:1px solid #68b4ff;-webkit-box-shadow:0rpx 0rpx 10rpx 0rpx rgba(0,122,255,.27);box-shadow:0rpx 0rpx 10rpx 0rpx rgba(0,122,255,.27)}.weight-list-manager .weight-list-scroll-view .weight-list-list:last-child{margin-bottom:300rpx}.weight-list-manager .weight-list-scroll-view .weight-list-user{-ms-flex-align:center;-webkit-align-items:center;align-items:center;color:#000;display:-webkit-flex;display:-ms-flexbox;display:flex;font-family:Microsoft YaHei,Microsoft YaHei-Bold;font-size:28rpx;font-weight:700;text-align:left}.weight-list-manager .weight-list-scroll-view .weight-list-list-default{background:#cde5ff;border-radius:6rpx;color:#4581ff;font-size:20rpx;font-weight:400;height:28rpx;margin-left:30rpx;text-align:center;width:58rpx}.weight-list-manager .weight-list-scroll-view .weight-list-list-phone{color:#ababab;font-size:24rpx;font-weight:400;margin-left:30rpx}.weight-list-manager .weight-list-scroll-view .weight-list-edit .icon-bianji{font-size:40rpx}.weight-list-manager .weight-list-scroll-view .weight-list-list-info{color:#3c3c3c;font-size:24rpx;font-weight:400}.weight-list-manager .weight-list-scroll-view .weight-list-list-bottom{-ms-flex-pack:justify;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;justify-content:space-between;margin-top:18rpx}.weight-list-manager .weight-list-scroll-view .add-weight-list{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;background:#4581ff;border-radius:40rpx;bottom:8%;color:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:32rpx;font-weight:400;height:82rpx;-webkit-justify-content:center;justify-content:center;left:50%;position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:668rpx}.weight-list-manager .weight-list-scroll-view .weight-list-no-data{-webkit-box-sizing:border-box;box-sizing:border-box;color:#707070;font-size:24rpx;font-weight:400;height:100%;padding-top:40%;text-align:center}
@import "./sub-common/c1c821e5bc4305fd986648b502ca032c.wxss";.index-module__common_safe_area_y___AmEEx{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.index-module__hoverClass___p_5dE{-webkit-filter:brightness(70%);filter:brightness(70%)}.index-module__full-100___PzSfj{height:100%;width:100%}.index-module__company_item___EzAly{-ms-flex-align:center;-webkit-align-items:center;align-items:center;background:#fff;border-radius:16rpx;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:148rpx;margin-top:24rpx;padding:0 24rpx;width:702rpx}.index-module__company_item___EzAly .index-module__desc___XvkZy{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:28rpx;margin-left:30rpx}.index-module__company_item___EzAly .index-module__desc___XvkZy text:nth-child(1){margin-bottom:16rpx}.index-module__company_item___EzAly .index-module__desc___XvkZy text:nth-child(2){color:rgba(0,0,0,.6)}.index-module__company_item___EzAly .index-module__company_icon___fyH9u{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}.common_safe_area_y{height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom);width:100%}.hoverClass{-webkit-filter:brightness(70%);filter:brightness(70%)}.full-100{height:100%;width:100%}.weight-list-manager{background-color:#f7f7f7;height:100vh}.weight-list-manager .weight-list-scroll-view{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;position:relative}.weight-list-manager .weight-list-scroll-view scroll-view{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%}.weight-list-manager .weight-list-scroll-view .weight-list-con{-ms-flex-pack:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:center;justify-content:center}.weight-list-manager .weight-list-scroll-view .weight-list-list{background:#fff;border:1px solid #fff;border-radius:20rpx;-webkit-box-shadow:2rpx 4rpx 12rpx 0rpx rgba(0,0,0,.16);box-shadow:2rpx 4rpx 12rpx 0rpx rgba(0,0,0,.16);-webkit-box-sizing:border-box;box-sizing:border-box;height:156rpx;margin:18rpx auto 0;padding:30rpx;width:704rpx}.weight-list-manager .weight-list-scroll-view .weight-list-list:first-child{margin-top:0}.weight-list-manager .weight-list-scroll-view .address-active{border:1px solid #68b4ff;-webkit-box-shadow:0rpx 0rpx 10rpx 0rpx rgba(0,122,255,.27);box-shadow:0rpx 0rpx 10rpx 0rpx rgba(0,122,255,.27)}.weight-list-manager .weight-list-scroll-view .weight-list-list:last-child{margin-bottom:300rpx}.weight-list-manager .weight-list-scroll-view .weight-list-user{-ms-flex-align:center;-webkit-align-items:center;align-items:center;color:#000;display:-webkit-flex;display:-ms-flexbox;display:flex;font-family:Microsoft YaHei,Microsoft YaHei-Bold;font-size:28rpx;font-weight:700;text-align:left}.weight-list-manager .weight-list-scroll-view .weight-list-list-default{background:#cde5ff;border-radius:6rpx;color:#4581ff;font-size:20rpx;font-weight:400;height:28rpx;margin-left:30rpx;text-align:center;width:58rpx}.weight-list-manager .weight-list-scroll-view .weight-list-list-phone{color:#ababab;font-size:24rpx;font-weight:400;margin-left:30rpx}.weight-list-manager .weight-list-scroll-view .weight-list-edit .icon-bianji{font-size:40rpx}.weight-list-manager .weight-list-scroll-view .weight-list-list-info{color:#3c3c3c;font-size:24rpx;font-weight:400}.weight-list-manager .weight-list-scroll-view .weight-list-list-bottom{-ms-flex-pack:justify;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;justify-content:space-between;margin-top:18rpx}.weight-list-manager .weight-list-scroll-view .add-weight-list{-ms-flex-align:center;-ms-flex-pack:center;-webkit-align-items:center;align-items:center;background:#4581ff;border-radius:40rpx;bottom:8%;color:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;font-size:32rpx;font-weight:400;height:82rpx;-webkit-justify-content:center;justify-content:center;left:50%;position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:668rpx}.weight-list-manager .weight-list-scroll-view .weight-list-no-data{-webkit-box-sizing:border-box;box-sizing:border-box;color:#707070;font-size:24rpx;font-weight:400;height:100%;padding-top:40%;text-align:center}
@@ -1 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[2535],{8247:function(t,e,n){n.d(e,{BQ:function(){return r},PV:function(){return l},TE:function(){return u},ob:function(){return c},qX:function(){return o}});var i=n(749),u=function weightListApi(){return(0,i.Q)({url:"/v1/mall/title/list",method:"get"})},r=function weightAddApi(){return(0,i.Q)({url:"/v1/mall/title",method:"post"})},l=function weightDetailApi(){return(0,i.Q)({url:"/v1/mall/title",method:"get"})},o=function weightEditApi(){return(0,i.Q)({url:"/v1/mall/title",method:"put"})},c=function weightDeleteApi(){return(0,i.Q)({url:"/v1/mall/title",method:"delete"})}}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[3924],{8247:function(t,e,n){n.d(e,{BQ:function(){return r},PV:function(){return l},TE:function(){return u},ob:function(){return c},qX:function(){return o}});var i=n(749),u=function weightListApi(){return(0,i.Q)({url:"/v1/mall/title/list",method:"get"})},r=function weightAddApi(){return(0,i.Q)({url:"/v1/mall/title",method:"post"})},l=function weightDetailApi(){return(0,i.Q)({url:"/v1/mall/title",method:"get"})},o=function weightEditApi(){return(0,i.Q)({url:"/v1/mall/title",method:"put"})},c=function weightDeleteApi(){return(0,i.Q)({url:"/v1/mall/title",method:"delete"})}}}]);
@@ -0,0 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[966],{3271:function(n,e,r){var s=r(1515),t=r(7294),a=r(9535),c=r(5893);e.Z=function(n){var e=n.name,r=void 0===e?"":e,o=(0,t.useMemo)((function(){return r?r.toString()[0]:""}),[r]);return(0,c.jsx)(s.G7,{className:a.Z.name,children:o})}}}]);
@@ -1 +1 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[5282],{9535:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___cKqQ7",hoverClass:"index-module__hoverClass___mQq2U","full-100":"index-module__full-100___CzTfm",name:"index-module__name___xM5r7"}}}]);
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[9279],{9535:function(_,e){e.Z={common_safe_area_y:"index-module__common_safe_area_y___cKqQ7",hoverClass:"index-module__hoverClass___mQq2U","full-100":"index-module__full-100___CzTfm",name:"index-module__name___xM5r7"}}}]);
@@ -1 +0,0 @@
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([[3786],{3271:function(n,e,r){var s=r(1515),t=r(7294),a=r(9535),c=r(5893);e.Z=function(n){var e=n.name,r=void 0===e?"":e,o=(0,t.useMemo)((function(){return r?r.toString()[0]:""}),[r]);return(0,c.jsx)(s.G7,{className:a.Z.name,children:o})}}}]);