初始上传
No files matched your search
@@ -0,0 +1,2 @@
|
||||
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>收银台</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/cashregister/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/cashregister/static/js/chunk-vendors.bacf81ea.js></script><script src=/cashregister/static/js/index.dce04fea.js></script></body></html>
|
||||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 175 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 19 KiB |
@@ -0,0 +1,23 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
* 版本为4.2.1,修改一处源码:this.el.hide() 改为 this.el?this.el.hide():true
|
||||
*/
|
||||
|
||||
|
||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.echarts={})}(this,function(t){"use strict";function e(t,e){"createCanvas"===t&&(nw=null),ew[t]=e}function i(t){if(null==t||"object"!=typeof t)return t;var e=t,n=Y_.call(t);if("[object Array]"===n){if(!O(t)){e=[];for(var o=0,a=t.length;o<a;o++)e[o]=i(t[o])}}else if(j_[n]){if(!O(t)){var r=t.constructor;if(t.constructor.from)e=r.from(t);else{e=new r(t.length);for(var o=0,a=t.length;o<a;o++)e[o]=i(t[o])}}}else if(!X_[n]&&!O(t)&&!M(t)){e={};for(var s in t)t.hasOwnProperty(s)&&(e[s]=i(t[s]))}return e}function n(t,e,o){if(!w(e)||!w(t))return o?i(e):t;for(var a in e)if(e.hasOwnProperty(a)){var r=t[a],s=e[a];!w(s)||!w(r)||y(s)||y(r)||M(s)||M(r)||b(s)||b(r)||O(s)||O(r)?!o&&a in t||(t[a]=i(e[a],!0)):n(r,s,o)}return t}function o(t,e){for(var i=t[0],o=1,a=t.length;o<a;o++)i=n(i,t[o],e);return i}function a(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function r(t,e,i){for(var n in e)e.hasOwnProperty(n)&&(i?null!=e[n]:null==t[n])&&(t[n]=e[n]);return t}function s(){return nw||(nw=iw().getContext("2d")),nw}function l(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i}return-1}function u(t,e){function i(){}var n=t.prototype;i.prototype=e.prototype,t.prototype=new i;for(var o in n)t.prototype[o]=n[o];t.prototype.constructor=t,t.superClass=e}function h(t,e,i){r(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,i)}function c(t){if(t)return"string"!=typeof t&&"number"==typeof t.length}function d(t,e,i){if(t&&e)if(t.forEach&&t.forEach===K_)t.forEach(e,i);else if(t.length===+t.length)for(var n=0,o=t.length;n<o;n++)e.call(i,t[n],n,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(i,t[a],a,t)}function f(t,e,i){if(t&&e){if(t.map&&t.map===Q_)return t.map(e,i);for(var n=[],o=0,a=t.length;o<a;o++)n.push(e.call(i,t[o],o,t));return n}}function p(t,e,i,n){if(t&&e){if(t.reduce&&t.reduce===tw)return t.reduce(e,i,n);for(var o=0,a=t.length;o<a;o++)i=e.call(n,i,t[o],o,t);return i}}function g(t,e,i){if(t&&e){if(t.filter&&t.filter===$_)return t.filter(e,i);for(var n=[],o=0,a=t.length;o<a;o++)e.call(i,t[o],o,t)&&n.push(t[o]);return n}}function m(t,e){var i=J_.call(arguments,2);return function(){return t.apply(e,i.concat(J_.call(arguments)))}}function v(t){var e=J_.call(arguments,1);return function(){return t.apply(this,e.concat(J_.call(arguments)))}}function y(t){return"[object Array]"===Y_.call(t)}function x(t){return"function"==typeof t}function _(t){return"[object String]"===Y_.call(t)}function w(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function b(t){return!!X_[Y_.call(t)]}function S(t){return!!j_[Y_.call(t)]}function M(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function I(t){return t!==t}function T(t){for(var e=0,i=arguments.length;e<i;e++)if(null!=arguments[e])return arguments[e]}function A(t,e){return null!=t?t:e}function D(t,e,i){return null!=t?t:null!=e?e:i}function C(){return Function.call.apply(J_,arguments)}function L(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function k(t,e){if(!t)throw new Error(e)}function P(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function N(t){t[ow]=!0}function O(t){return t[ow]}function E(t){function e(t,e){i?n.set(t,e):n.set(e,t)}var i=y(t);this.data={};var n=this;t instanceof E?t.each(e):t&&d(t,e)}function R(t){return new E(t)}function z(t,e){for(var i=new t.constructor(t.length+e.length),n=0;n<t.length;n++)i[n]=t[n];var o=t.length;for(n=0;n<e.length;n++)i[n+o]=e[n];return i}function B(){}function V(t,e){var i=new rw(2);return null==t&&(t=0),null==e&&(e=0),i[0]=t,i[1]=e,i}function G(t,e){return t[0]=e[0],t[1]=e[1],t}function F(t){var e=new rw(2);return e[0]=t[0],e[1]=t[1],e}function W(t,e,i){return t[0]=e,t[1]=i,t}function H(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function Z(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function U(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function X(t){return Math.sqrt(j(t))}function j(t){return t[0]*t[0]+t[1]*t[1]}function Y(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function q(t,e){var i=X(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function K(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function $(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function J(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function Q(t,e,i){var n=e[0],o=e[1];return t[0]=i[0]*n+i[2]*o+i[4],t[1]=i[1]*n+i[3]*o+i[5],t}function tt(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function et(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}function it(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
uni-tabbar{display:block;box-sizing:border-box;width:100%;z-index:998}uni-tabbar .uni-tabbar{display:-webkit-box;display:-webkit-flex;display:flex;z-index:998;box-sizing:border-box}uni-tabbar.uni-tabbar-bottom,uni-tabbar.uni-tabbar-bottom .uni-tabbar,uni-tabbar.uni-tabbar-top,uni-tabbar.uni-tabbar-top .uni-tabbar{position:fixed;left:var(--window-left);right:var(--window-right)}.uni-app--showlayout+uni-tabbar.uni-tabbar-bottom,.uni-app--showlayout+uni-tabbar.uni-tabbar-bottom .uni-tabbar,.uni-app--showlayout+uni-tabbar.uni-tabbar-top,.uni-app--showlayout+uni-tabbar.uni-tabbar-top .uni-tabbar{left:var(--window-margin);right:var(--window-margin)}uni-tabbar.uni-tabbar-bottom .uni-tabbar{bottom:0;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}uni-tabbar .uni-tabbar~.uni-placeholder{width:100%;margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}uni-tabbar .uni-tabbar *{box-sizing:border-box}uni-tabbar .uni-tabbar__item{-webkit-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}uni-tabbar .uni-tabbar__bd,uni-tabbar .uni-tabbar__item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal}uni-tabbar .uni-tabbar__bd{position:relative;-webkit-flex-direction:column;flex-direction:column;cursor:pointer}uni-tabbar .uni-tabbar__icon{position:relative;display:inline-block;margin-top:5px}uni-tabbar .uni-tabbar__icon.uni-tabbar__icon__diff{margin-top:0;width:34px;height:34px}uni-tabbar .uni-tabbar__icon img{width:100%;height:100%}uni-tabbar .uni-tabbar__iconfont{font-family:UniTabbarIconFont}uni-tabbar .uni-tabbar__label{position:relative;text-align:center;font-size:10px}uni-tabbar .uni-tabbar-border{position:absolute;left:0;top:0;width:100%;height:1px;-webkit-transform:scaleY(.5);transform:scaleY(.5)}uni-tabbar .uni-tabbar__reddot{position:absolute;top:2px;right:0;width:12px;height:12px;border-radius:50%;background-color:#f43530;color:#fff;-webkit-transform:translate(40%);transform:translate(40%)}uni-tabbar .uni-tabbar__badge{width:auto;height:16px;line-height:16px;border-radius:16px;min-width:16px;padding:0 2px;font-size:12px;text-align:center;white-space:nowrap}uni-tabbar .uni-tabbar__mid{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:absolute;bottom:0;background-size:100% 100%}uni-content,uni-tabbar .uni-tabbar__mid{display:-webkit-box;display:-webkit-flex;display:flex}uni-content{-webkit-box-flex:1;-webkit-flex:1 0 auto;flex:1 0 auto;height:100%}uni-main{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}uni-top-window+uni-content{height:calc(100vh - var(--top-window-height))}uni-left-window{width:var(--window-left);-webkit-box-ordinal-group:0;-webkit-order:-1;order:-1}uni-left-window,uni-right-window{position:relative;overflow-x:hidden}uni-right-window{width:var(--window-right)}uni-left-window[data-show],uni-right-window[data-show]{position:absolute}uni-right-window[data-show]{right:0}.uni-left-window,.uni-right-window,uni-content .uni-mask{z-index:997}.uni-mask+.uni-left-window,.uni-mask+.uni-right-window{position:fixed}.uni-top-window{position:fixed;left:var(--window-margin);right:var(--window-margin);top:0;z-index:998;overflow:hidden}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}uni-toast .uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);text-align:center;max-width:80%}uni-toast .uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-word;white-space:normal}uni-toast .uni-mask{pointer-events:auto}uni-toast .uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}uni-toast .uni-toast *{box-sizing:border-box}uni-toast .uni-toast__icon{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}uni-toast .uni-icon_toast{margin:15px 0 0}uni-toast .uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}uni-toast .uni-icon_toast.uni-icon-error:before{color:#fff;font-size:50px}uni-toast .uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}uni-toast .uni-toast__content{margin:0 0 15px}uni-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box}uni-modal .uni-modal{position:fixed;z-index:Line truncated
|
||||
@@ -0,0 +1,15 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00c2":function(t,e,n){"use strict";var r=n("bb80"),i=n("338c"),o=n("f660"),a=n("036b").indexOf,s=n("11bf"),c=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,l=[];for(n in r)!i(s,n)&&i(r,n)&&c(l,n);while(e.length>u)i(r,n=e[u++])&&(~a(l,n)||c(l,n));return l}},"00ca":function(t,e,n){var r=n("56c8"),i=n("da1d"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"0173":function(t,e,n){"use strict";var r,i,o=n("85c1"),a=n("29d8"),s=o.process,c=o.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),t.exports=i},"01a2":function(t,e,n){"use strict";n("223c"),n("e5d4"),n("0768"),n("d4b5"),n("6994")},"036b":function(t,e,n){"use strict";var r=n("f660"),i=n("e34c"),o=n("1fc1"),a=function(t){return function(e,n,a){var s=r(e),c=o(s);if(0===c)return!t&&-1;var u,l=i(a,c);if(t&&n!==n){while(c>l)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"03a0":function(t,e,n){"use strict";var r=n("bb80"),i=n("497b"),o=n("9e70"),a=n("862c"),s=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(t){return function(e,n){var r,l,f=o(a(e)),d=i(n),h=f.length;return d<0||d>=h?t?"":void 0:(r=c(f,d),r<55296||r>56319||d+1===h||(l=c(f,d+1))<56320||l>57343?t?s(f,d):r:t?u(f,d,d+2):l-56320+(r-55296<<10)+65536)}};t.exports={codeAt:l(!1),charAt:l(!0)}},"03dc":function(t,e,n){"use strict";var r=n("03a0").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0506":function(t,e,n){"use strict";n("5c47");var r=n("8bdb"),i=n("71e9"),o=n("474f"),a=n("e7e3"),s=n("9e70"),c=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),u=/./.test;r({target:"RegExp",proto:!0,forced:!c},{test:function(t){var e=a(this),n=s(t),r=e.exec;if(!o(r))return i(u,e,n);var c=i(r,e,n);return null!==c&&(a(c),!0)}})},"0699":function(t,e,n){var r=n("d191"),i=n("d5ca"),o=n("c646"),a=n("29d5"),s=a("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||o(n=r(a)[s])?e:i(n)}},"0768":function(t,e,n){"use strict";var r=n("8bdb"),i=n("338c"),o=n("ddd3"),a=n("52df"),s=n("8b3b"),c=n("5b2c"),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(u,t))return u[t]}})},"07da":function(t,e,n){"use strict";var r=n("71e9"),i=n("e7e3"),o=n("474f"),a=n("ada5"),s=n("9ad8"),c=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var u=r(n,t,e);return null!==u&&i(u),u}if("RegExp"===a(t))return r(s,t,e);throw new c("RegExp#exec called on incompatible receiver")}},"08eb":function(t,e,n){"use strict";var r=n("8bdb"),i=n("3d77"),o=n("29ba"),a=!o((function(t){Array.from(t)}));r({target:"Array",stat:!0,forced:a},{from:i})},"0931":function(t,e,n){"use strict";var r=n("8c08"),i=r("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(r){}}return!1}},"0b5a":function(t,e,n){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"0c26":function(t,e,n){"use strict";var r=n("8bdb"),i=n("ee98").trim,o=n("8b27");r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},"0cc2":function(t,e,n){"use strict";var r=n("8bdb"),i=n("71e9"),o=n("a734"),a=n("8945"),s=n("474f"),c=n("4afb"),u=n("c337"),l=n("8c4f"),f=n("181d"),d=n("6aca"),h=n("81a9"),p=n("8c08"),v=n("799d"),g=n("5057"),m=a.PROPER,b=a.CONFIGURABLE,y=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,w=p("iterator"),x=function(){return this};t.exports=function(t,e,n,a,p,g,S){c(n,e,a);var k,C,O,T=function(t){if(t===p&&I)return I;if(!_&&t&&t in j)return j[t];switch(t){case"keys":return function(){return new n(this,t)};case"values":return function(){return new n(this,t)};case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},A=e+" Iterator",E=!1,j=t.prototype,M=j[w]||j["@@iterator"]||p&&j[p],I=!_&&M||T(p),P="Array"===e&&j.entries||M;if(P&&(k=u(P.call(new t)),k!==Object.prototype&&k.next&&(o||u(k)===y||(l?l(k,y):s(k[w])||h(k,w,x)),f(k,A,!0,!0),o&&(v[A]=x))),m&&"values"===p&&M&&"values"!==M.name&&(!o&&b?d(j,"name","values"):(E=!0,I=function(){return i(M,this)})),p)if(C={values:T("values"),keys:g?I:T("keys"),entries:T("entries")},S)for(O in C)(_||E||!(O in j))&&h(j,O,C[O]);else r({target:e,proto:!0,forced:_||E},C);return o&&!S||j[w]===I||h(j,w,I,{name:p}),v[e]=I,C}},"0e36":function(t,e,n){var r=n("d95b"),i=n("d970"),o=n("1e5d"),a=function(t){return function(e,n,a){var s,c=r(e),u=o(c),l=i(a,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"0e40":function(t,Line truncated
|
||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||||
e.default=function(){return t};var t={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(j){l=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),s=new T(r||[]);return o(a,"_invoke",{value:S(t,n,s)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(j){return{type:"throw",arg:j}}}t.wrap=f;var h={};function p(){}function v(){}function g(){}var m={};l(m,s,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(A([])));y&&y!==n&&i.call(y,s)&&(m=y);var _=g.prototype=p.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){var n;o(this,"_invoke",{value:function(o,a){function s(){return new e((function(n,s){(function n(o,a,s,c){var u=d(t[o],t,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==(0,r.default)(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,c)}))}c(u.arg)})(o,a,n,s)}))}return n=n?n.then(s,s):s()}})}function S(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return E()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=d(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function k(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=d(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function A(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:E}}function E(){return{value:void 0,done:!0}}return v.prototype=g,o(_,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:v,configurable:!0}),v.displayName=l(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},w(x.prototype),l(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new x(f(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(_),l(_,u,"Generator"),l(_,s,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=A,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var rLine truncated
|
||||
/*!
|
||||
* vuex v3.6.2
|
||||
* (c) 2021 Evan You
|
||||
* @license MIT
|
||||
*/
|
||||
function(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(l))}d.state.get=function(){return this._vm._data.$$state},d.state.set=function(t){0},f.prototype.commit=function(t,e,n){var r=this,i=b(t,e,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},f.prototype.dispatch=function(t,e){var n=this,r=b(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){0}e(t)}))}))}},f.prototype.subscribe=function(t,e){return h(t,this._subscribers,e)},f.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return h(n,this._actionSubscribers,e)},f.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},f.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},f.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),g(this,this.state,t,this._modules.get(t),n.preserveState),v(this,this.state)},f.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=m(e.state,t.slice(0,-1));l.delete(n,t[t.length-1])})),p(this)},f.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},f.prototype[[104,111,116,85,112,100,97,116,101].map((function(t){return String.fromCharCode(t)})).join("")]=function(t){this._modules.update(t),p(this,!0)},f.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(f.prototype,d);var _=C((function(t,e){var n={};return k(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=O(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),w=C((function(t,e){var n={};return k(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=O(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),x=C((function(t,e){var n={};return k(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||O(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),S=C((function(t,e){var n={};return k(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=O(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n}));function k(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function C(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function O(t,e,n){var r=t._modulesNamespaceMap[n];return r}function T(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(i){t.log(e)}}function A(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function E(){var t=new Date;return" @ "+j(t.getHours(),2)+":"+j(t.getMinutes(),2)+":"+j(t.getSeconds(),2)+"."+j(t.getMilliseconds(),3)}function j(t,e){return function(t,e){return new Array(e+1).join(t)}("0",e-t.toString().length)+t}var M={Store:f,install:y,version:"3.6.2",mapState:_,mapMutations:w,mapGetters:x,mapActions:S,createNamespacedHelpers:function(t){return{mapState:_.bind(null,t),mapGetters:x.bind(null,t),mapMutations:w.bind(null,t),mapActions:S.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=functLine truncated
|
||||
/*!
|
||||
* Vue.js v2.6.11
|
||||
* (c) 2014-2022 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function s(t){return null!==t&&"object"===typeof t}var c=Object.prototype.toString;function u(t){return"[object Object]"===c.call(t)}function l(t){return"[object RegExp]"===c.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}v("slot,component",!0);var g=v("key,ref,slot,slot-scope,is");function m(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function y(t,e){return b.call(t,e)}function _(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var w=/-(\w)/g,x=_((function(t){return t.replace(w,(function(t,e){return e?e.toUpperCase():""}))})),S=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),k=/\B([A-Z])/g,C=_((function(t){return t.replace(k,"-$1").toLowerCase()}));var O=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function T(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function A(t,e){for(var n in e)t[n]=e[n];return t}function E(t){for(var e={},n=0;n<t.length;n++)t[n]&&A(e,t[n]);return e}function j(t,e,n){}var M=function(t,e,n){return!1},I=function(t){return t};function P(t,e){if(t===e)return!0;var n=s(t),r=s(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return P(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),c=Object.keys(e);return a.length===c.length&&a.every((function(n){return P(t[n],e[n])}))}catch(u){return!1}}function $(t,e){for(var n=0;n<t.length;n++)if(P(t[n],e))return n;return-1}function L(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var R=["component","directive","filter"],N=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],D={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:M,isReservedAttr:M,isUnknownElement:M,getTagNamespace:j,parsePlatformTagName:I,mustUseProp:M,async:!0,_lifecycleHooks:N},B=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function F(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function z(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=new RegExp("[^"+B.source+".$_\\d]");var H,V="__proto__"in{},U="undefined"!==typeof window,q="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Y=q&&WXEnvironment.platform.toLowerCase(),X=U&&window.navigator.userAgent.toLowerCase(),G=X&&/msie|trident/.test(X),Q=X&&X.indexOf("msie 9.0")>0,K=X&&X.indexOf("edge/")>0,J=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===Y),Z=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(U)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(Hi){}var rt=function(){return void 0===H&&(H=!U&&!q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),H},it=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"===typeof t&&/native code/.test(t.toString())}var at,st="undefined"!==typeof Symbol&&ot(Symbol)&&"undefined"!==typeof Reflect&&ot(Reflect.ownKeys);at="undefined"!==typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ct=j,ut=0,lt=function(){this.id=ut++,this.subs=[]};function ft(t){lt.SharedObject.targetStack.push(t),lt.SharedObject.target=t,lt.target=t}function dt(){lt.SharedObject.targetStack.pop(),lt.SharedObject.target=lt.SharedObject.targetStack[lt.SharedObject.targetStack.length-1],lt.target=lt.SharedObject.target}lt.prototype.addSub=function(t){this.subs.push(t)},lt.prototLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(function(e){function n(n){for(var o,r,s=n[0],c=n[1],d=n[2],l=0,g=[];l<s.length;l++)r=s[l],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&g.push(i[r][0]),i[r]=0;for(o in c)Object.prototype.hasOwnProperty.call(c,o)&&(e[o]=c[o]);u&&u(n);while(g.length)g.shift()();return a.push.apply(a,d||[]),t()}function t(){for(var e,n=0;n<a.length;n++){for(var t=a[n],o=!0,s=1;s<t.length;s++){var c=t[s];0!==i[c]&&(o=!1)}o&&(a.splice(n--,1),e=r(r.s=t[0]))}return e}var o={},i={index:0},a=[];function r(n){if(o[n])return o[n].exports;var t=o[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.e=function(e){var n=[],t=i[e];if(0!==t)if(t)n.push(t[2]);else{var o=new Promise((function(n,o){t=i[e]=[n,o]}));n.push(t[2]=o);var a,s=document.createElement("script");s.charset="utf-8",s.timeout=120,r.nc&&s.setAttribute("nonce",r.nc),s.src=function(e){return r.p+"static/js/"+({"pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~385927fe":"pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~385927fe","pages-billing-index~pages-buycard-index~pages-marketing-coupon_list~pages-marketing-edit_coupon~page~af242e5f":"pages-billing-index~pages-buycard-index~pages-marketing-coupon_list~pages-marketing-edit_coupon~page~af242e5f","pages-marketing-coupon_list":"pages-marketing-coupon_list","pages-goods-goodslist":"pages-goods-goodslist","pages-index-change_shifts":"pages-index-change_shifts","pages-index-change_shiftssalelist":"pages-index-change_shiftssalelist","pages-marketing-coupon_detail":"pages-marketing-coupon_detail","pages-store-settlement":"pages-store-settlement","pages-billing-index~pages-buycard-index~pages-index-change_shiftsrecord~pages-marketing-edit_coupon~~a9f7499a":"pages-billing-index~pages-buycard-index~pages-index-change_shiftsrecord~pages-marketing-edit_coupon~~a9f7499a","pages-billing-index~pages-buycard-index~pages-index-change_shiftsrecord~pages-marketing-edit_coupon~~18938615":"pages-billing-index~pages-buycard-index~pages-index-change_shiftsrecord~pages-marketing-edit_coupon~~18938615","pages-billing-index":"pages-billing-index","pages-buycard-index":"pages-buycard-index","pages-marketing-edit_coupon":"pages-marketing-edit_coupon","pages-member-list":"pages-member-list","pages-recharge-index":"pages-recharge-index","pages-index-change_shiftsrecord":"pages-index-change_shiftsrecord","pages-stock-edit_allocate~pages-stock-edit_check~pages-stock-stockin~pages-stock-stockout":"pages-stock-edit_allocate~pages-stock-edit_check~pages-stock-stockin~pages-stock-stockout","pages-stock-edit_allocate":"pages-stock-edit_allocate","pages-stock-edit_check":"pages-stock-edit_check","pages-stock-stockin":"pages-stock-stockin","pages-stock-stockout":"pages-stock-stockout","pages-store-acccount_record":"pages-store-acccount_record","pages-store-settlement_record":"pages-store-settlement_record","pages-stock-manage":"pages-stock-manage","pages-stat-index":"pages-stat-index","pages-order-orderlist":"pages-order-orderlist","pages-reserve-index":"pages-reserve-index","pages-stock-records":"pages-stock-records","pages-printer-add":"pages-printer-add","pages-scale-add":"pages-scale-add","pages-store-config":"pages-store-config","pages-collectmoney-config":"pages-collectmoney-config","pages-goods-print_price_tag":"pages-goods-print_price_tag","pages-index-loading":"pages-index-loading","pages-index-no_permission":"pages-index-no_permission","pages-local-config":"pages-local-config","pages-login-login":"pages-login-login","pages-order-orderrefund":"pages-order-orderrefund","pages-order-rechargeorder":"pages-order-rechargeorder","pages-printer-list":"pages-printer-list","pages-refund-list":"pages-refund-list","pages-reserve-config":"pages-reserve-config","pages-scale-list":"pages-scale-list","pages-stock-allocate":"pages-stock-allocate","pages-stock-check":"pages-stock-check","pages-stock-storage":"pages-stock-storage","pages-stock-wastage":"pages-stock-wastage","pages-store-close":"pages-store-close","pages-store-deliver":"pages-store-deliver","pages-store-index":"pages-store-index","pages-store-operate":"pages-store-operate","pages-user-list":"pages-user-list","pages-verify-index":"pages-verify-index","pages-verify-list":"pages-verify-list"}[e]||e)+"."+{"pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~385927fe":"a5ea9aff","pages-billing-index~pages-buycard-index~pages-marketing-coupon_list~pages-marketing-edit_coupon~page~af242e5f":"2115d0ec","pages-marketing-coupon_list":"04ac6fd5","pages-goods-goodslist":"7404868b","pages-index-change_shifts":"8c7fc443","pages-index-change_shiftssalelist":"4f8dd478","pages-marketing-coupon_detail":"304d3afe","pages-store-settlement":"108cbbfb","pages-billing-index~pages-buycard-index~pages-index-change_shiftsrecord~pages-marketing-edit_coupon~~a9f7499a":"8f078f77","pages-billing-index~pages-buycard-index~pages-index-change_shiftsLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-billing-index"],{"01e5":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.getExpressCompanyList=function(){return n.default.post("/cashier/storeapi/order/expresscompany")},t.getOrderDeliverList=function(e){return n.default.post("/cashier/storeapi/order/deliverlist",{data:e})},t.getOrderDetail=function(e){return n.default.post("/cashier/storeapi/cashierorder/detail",{data:e})},t.getOrderInfoById=function(e){return n.default.post("/cashier/storeapi/order/info",{data:{order_id:e}})},t.getOrderList=function(e){return n.default.post("/cashier/storeapi/cashierorder/lists",{data:e})},t.getorderCondition=function(){return n.default.post("/cashier/storeapi/order/condition")},t.orderAdjustPrice=function(e){return n.default.post("/cashier/storeapi/cashierorder/adjustPrice",{data:e})},t.orderClose=function(e){return n.default.post("/cashier/storeapi/order/close",{data:e})},t.orderExpressDelivery=function(e){return n.default.post("/cashier/storeapi/order/expressdelivery",{data:e})},t.orderLocalDelivery=function(e){return n.default.post("/cashier/storeapi/order/localdelivery",{data:e})},t.orderPrintTicket=function(e){var t={order_id:e},i=o.default.getLocalConfig();return t.printer_ids="all"==i.printerSelectType?"all":i.printerSelectIds.toString(),n.default.post("/cashier/storeapi/cashierorder/printticket",{data:t})},t.orderRemark=function(e){return n.default.post("/cashier/storeapi/cashierorder/orderRemark",{data:e})},t.orderStoreDelivery=function(e){return n.default.post("/cashier/storeapi/order/storedelivery",{data:{order_id:e}})},i("c9b5"),i("bf0f"),i("ab80");var n=a(i("a3b5")),o=a(i("3885"))},"02b6":function(e,t,i){"use strict";var a=i("d6a7"),n=i.n(a);n.a},"045a":function(e,t,i){e.exports=i.p+"static/member/icon-member-info.png"},"0523":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-342b5f82]{display:none}\r\n/* 收银台相关 */uni-text[data-v-342b5f82],\r\nuni-view[data-v-342b5f82]{font-size:.14rem}body[data-v-342b5f82]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-342b5f82]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-342b5f82]::-webkit-scrollbar-button{display:none}body[data-v-342b5f82]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-342b5f82]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-342b5f82]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-342b5f82]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-342b5f82]{color:var(--primary-color)!important}.container[data-v-342b5f82]{width:100%;height:100%}.container > uni-view[data-v-342b5f82]{width:100%;height:100%}.payment-wrap .header[data-v-342b5f82]{height:.66rem;display:flex;align-items:center;border-bottom:.01rem solid #e6e6e6}.payment-wrap .body[data-v-342b5f82]{flex:1;height:0;padding:.15rem 0;box-sizing:border-box;display:flex}.payment-wrap .info-wrap[data-v-342b5f82]{flex:1;width:0;margin-right:.15rem;display:flex;flex-direction:column}.payment-wrap .info-wrap .info[data-v-342b5f82]{flex:1;height:0;background-color:#f7f8fa;padding-bottom:.15rem;box-sizing:border-box}.payment-wrap .info-wrap .info[data-v-342b5f82] .uni-scroll-view-content{margin:0 .15rem;width:calc(100% - .3rem);box-sizing:border-box}.payment-wrap .info-wrap .info .payment-money[data-v-342b5f82]{text-align:right;font-size:.2rem;border-bottom:.01rem solid #e6e6e6;line-height:.6rem}.payment-wrap .info-wrap .info .title[data-v-342b5f82]{line-height:.6rem;font-size:.16rem}.payment-wrap .info-wrap .info .uni-flex[data-v-342b5f82]{flex-wrap:wrap}.payment-wrap .info-wrap .info .type-item[data-v-342b5f82]{padding:.2rem .1rem;background:#fff;border:.01rem soliLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-billing-index~pages-buycard-index~pages-goods-goodslist~pages-index-change_shifts~pages-index-~385927fe"],{"01ce":function(e,t,n){"use strict";n.r(t);var a=n("93aa"),i=n("f59a");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("a1e5");var o=n("828b"),s=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"24a43d66",null,!1,a["a"],void 0);t["default"]=s.exports},"0b6a":function(e,t,n){"use strict";n.r(t);var a=n("fa62"),i=n("b3b9");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("9677");var o=n("828b"),s=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"0812e34e",null,!1,a["a"],void 0);t["default"]=s.exports},"2f7c":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("64aa"),n("dc8a"),n("22b6"),n("bf0f"),n("2797"),n("aa9c"),n("5ef2"),n("dd2b");var a={name:"uniDataTable",props:{cols:{type:Array},url:{type:String,default:""},pagesize:{type:Number,default:10},option:{type:Object,default:function(){return{}}},classType:{type:Boolean,default:!1},data:{type:Object|Array,default:function(){return{}}}},created:function(){this.url&&this.load()},data:function(){return{list:[],selected:[],selectedIndex:[],page:1,total:0}},watch:{data:{handler:function(e,t){Object.keys(e).length&&(this.list=Object.values(e))},deep:!0,immediate:!0}},methods:{all:function(){if(this.list.length){if(this.selected.length==this.list.length)this.selected=[],this.selectedIndex=[];else{var e=[],t=[],n=this.cols[0];this.list.forEach((function(a,i){"function"==typeof n.disabled&&n.disabled(a)||(e.push(i),t.push(a))})),this.selectedIndex=e,this.selected=t}this.$emit("checkBox",this.selected)}},single:function(e,t){var n=this.selectedIndex.indexOf(t);-1==n?(this.selectedIndex.push(t),this.selected.push(e)):(this.selectedIndex.splice(n,1),this.selected.splice(n,1)),this.$emit("checkBox",this.selected,this.selectedIndex)},defaultSelectData:function(e,t){this.selected=e,this.selectedIndex=t},pageChange:function(e){this.page=e.current,this.load(),this.$emit("pageChange",this.page)},load:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={page:t.page||this.page,page_size:this.pagesize};this.option&&Object.assign(n,this.option),t&&Object.assign(n,t),this.$api.sendRequest({url:this.url,data:n,success:function(n){n.code>=0?(e.list=n.data.list,e.total=n.data.count,e.selected=[],e.selectedIndex=[],e.$emit("tableData",e.list),t.page&&(e.page=t.page,delete t.page)):e.$util.showToast({title:n.message})},fail:function(){e.$util.showToast({title:"请求失败"})}})},clearCheck:function(){this.selected=[],this.selectedIndex=[]}}};t.default=a},"3f2b":function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-0812e34e]{display:none}\r\n/* 收银台相关 */uni-text[data-v-0812e34e],\r\nuni-view[data-v-0812e34e]{font-size:.14rem}body[data-v-0812e34e]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-0812e34e]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-0812e34e]::-webkit-scrollbar-button{display:none}body[data-v-0812e34e]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-0812e34e]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-0812e34e]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-0812e34e]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-0812e34e]{color:var(--primary-color)!important}.uni-pagination[data-v-0812e34e]{display:flex;position:relative;overflow:hidden;flex-direction:row;justify-content:center;align-items:center}.uni-pagination__total[data-v-0812e34e]{font-size:.14rem;color:#999;margin-right:.15rem}.uni-pagination__btn[daLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-billing-index~pages-buycard-index~pages-index-change_shiftsrecord~pages-marketing-edit_coupon~~18938615"],{"045f":function(e,t,i){"use strict";var a=i("208f"),n=i.n(a);n.a},"0eed":function(e,t,i){var a=i("71b1");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("147d62f6",a,!0,{sourceMap:!1,shadowMode:!1})},1283:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("64aa"),i("5c47"),i("a1c1");var n=a(i("5de6")),r=a(i("f8bf")),s=a(i("87fd")),o=a(i("af1c")),d=a(i("6f18")),l=i("d3b4"),c=a(i("341a")),u=(0,l.initVueI18n)(c.default),h=u.t,f={components:{uniIcons:d.default,calendarItem:s.default,timePicker:o.default},props:{date:{type:String,default:""},defTime:{type:[String,Object],default:""},selectableTimes:{type:[Object],default:function(){return{}}},selected:{type:Array,default:function(){return[]}},lunar:{type:Boolean,default:!1},startDate:{type:String,default:""},endDate:{type:String,default:""},range:{type:Boolean,default:!1},typeHasTime:{type:Boolean,default:!1},insert:{type:Boolean,default:!0},showMonth:{type:Boolean,default:!0},clearDate:{type:Boolean,default:!0},left:{type:Boolean,default:!0},right:{type:Boolean,default:!0},checkHover:{type:Boolean,default:!0},hideSecond:{type:[Boolean],default:!1},pleStatus:{type:Object,default:function(){return{before:"",after:"",data:[],fulldate:""}}}},data:function(){return{show:!1,weeks:[],calendar:{},nowDate:"",aniMaskShow:!1,firstEnter:!0,time:"",timeRange:{startTime:"",endTime:""},tempSingleDate:"",tempRange:{before:"",after:""}}},watch:{date:{immediate:!0,handler:function(e,t){var i=this;this.range||(this.tempSingleDate=e,setTimeout((function(){i.init(e)}),100))}},defTime:{immediate:!0,handler:function(e,t){this.range?(this.timeRange.startTime=e.start,this.timeRange.endTime=e.end):this.time=e}},startDate:function(e){this.cale.resetSatrtDate(e),this.cale.setDate(this.nowDate.fullDate),this.weeks=this.cale.weeks},endDate:function(e){this.cale.resetEndDate(e),this.cale.setDate(this.nowDate.fullDate),this.weeks=this.cale.weeks},selected:function(e){this.cale.setSelectInfo(this.nowDate.fullDate,e),this.weeks=this.cale.weeks},pleStatus:{immediate:!0,handler:function(e,t){var i=this,a=e.before,n=e.after,r=e.fulldate,s=e.which;this.tempRange.before=a,this.tempRange.after=n,setTimeout((function(){if(r)if(i.cale.setHoverMultiple(r),a&&n){if(i.cale.lastHover=!0,i.rangeWithinMonth(n,a))return;i.setDate(a)}else i.cale.setMultiple(r),i.setDate(i.nowDate.fullDate),i.calendar.fullDate="",i.cale.lastHover=!1;else i.cale.setDefaultMultiple(a,n),"left"===s?(i.setDate(a),i.weeks=i.cale.weeks):(i.setDate(n),i.weeks=i.cale.weeks),i.cale.lastHover=!0}),16)}}},computed:{reactStartTime:function(){var e=this.range?this.tempRange.before:this.calendar.fullDate,t=e===this.startDate?this.selectableTimes.start:"";return t},reactEndTime:function(){var e=this.range?this.tempRange.after:this.calendar.fullDate,t=e===this.endDate?this.selectableTimes.end:"";return t},selectDateText:function(){return h("uni-datetime-picker.selectDate")},startDateText:function(){return this.startPlaceholder||h("uni-datetime-picker.startDate")},endDateText:function(){return this.endPlaceholder||h("uni-datetime-picker.endDate")},okText:function(){return h("uni-datetime-picker.ok")},monText:function(){return h("uni-calender.MON")},TUEText:function(){return h("uni-calender.TUE")},WEDText:function(){return h("uni-calender.WED")},THUText:function(){return h("uni-calender.THU")},FRIText:function(){return h("uni-calender.FRI")},SATText:function(){return h("uni-calender.SAT")},SUNText:function(){return h("uni-calender.SUN")}},created:function(){this.cale=new r.default({selected:this.selected,startDate:this.startDate,endDate:this.endDate,range:this.range}),this.init(this.date)},methods:{leaveCale:function(){this.firstEnter=!0},handleMouse:function(e){if(!e.disable&&!this.cale.lastHover){var t=this.cale.multipleStatus,i=t.before;t.after;i&&(this.calendar=e,this.cale.setHoverMultiple(this.calendar.fullDate),this.weeks=this.cale.weeks,this.firstEnter&&(this.$emit("firstEnterCale",this.cale.multipleStatus),this.firstEnter=!1))}},rangeWithinMonth:function(e,t){var i=e.split("-"),a=(0,n.default)(i,2),r=a[0],s=a[1],o=t.split("-"),d=(0,n.default)(o,2),l=d[0],c=d[1];return r===l&&s===c},clean:function(){this.close()},clearCalender:function(){this.range?(this.timeRange.startTime="",this.timeRange.endTime="",this.tempRange.before="",this.tempRange.after="",this.cale.multipleStatus.before="",this.cale.multipleStatus.after="",this.cale.multipleStatus.data=[],this.cale.lastHover=!1):(this.time="",this.tempSingleDate=""),this.calendar.fullDate="",this.setDate()},bindDateChange:function(e){var t=e.detail.value+"-1";this.init(t)},init:function(e){this.cale.setDate(e),this.weeks=this.cale.weeks,this.nowDate=this.calendar=this.caLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-billing-index~pages-buycard-index~pages-index-change_shiftsrecord~pages-marketing-edit_coupon~~a9f7499a"],{"1fdb":function(e,a,n){"use strict";n.d(a,"b",(function(){return i})),n.d(a,"c",(function(){return c})),n.d(a,"a",(function(){}));var i=function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("v-uni-text",{staticClass:"uni-icons",class:["uniui-"+e.type,e.customPrefix,e.customPrefix?e.type:""],style:{color:e.color,"font-size":e.size+"px"},on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e._onClick.apply(void 0,arguments)}}})},c=[]},"278a":function(e,a,n){var i=n("c86c"),c=n("2ec5"),o=n("3346");a=i(!1);var d=c(o);a.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uniui-color[data-v-03a7c4ba]:before{content:"\\e6cf"}.uniui-wallet[data-v-03a7c4ba]:before{content:"\\e6b1"}.uniui-settings-filled[data-v-03a7c4ba]:before{content:"\\e6ce"}.uniui-auth-filled[data-v-03a7c4ba]:before{content:"\\e6cc"}.uniui-shop-filled[data-v-03a7c4ba]:before{content:"\\e6cd"}.uniui-staff-filled[data-v-03a7c4ba]:before{content:"\\e6cb"}.uniui-vip-filled[data-v-03a7c4ba]:before{content:"\\e6c6"}.uniui-plus-filled[data-v-03a7c4ba]:before{content:"\\e6c7"}.uniui-folder-add-filled[data-v-03a7c4ba]:before{content:"\\e6c8"}.uniui-color-filled[data-v-03a7c4ba]:before{content:"\\e6c9"}.uniui-tune-filled[data-v-03a7c4ba]:before{content:"\\e6ca"}.uniui-calendar-filled[data-v-03a7c4ba]:before{content:"\\e6c0"}.uniui-notification-filled[data-v-03a7c4ba]:before{content:"\\e6c1"}.uniui-wallet-filled[data-v-03a7c4ba]:before{content:"\\e6c2"}.uniui-medal-filled[data-v-03a7c4ba]:before{content:"\\e6c3"}.uniui-gift-filled[data-v-03a7c4ba]:before{content:"\\e6c4"}.uniui-fire-filled[data-v-03a7c4ba]:before{content:"\\e6c5"}.uniui-refreshempty[data-v-03a7c4ba]:before{content:"\\e6bf"}.uniui-location-filled[data-v-03a7c4ba]:before{content:"\\e6af"}.uniui-person-filled[data-v-03a7c4ba]:before{content:"\\e69d"}.uniui-personadd-filled[data-v-03a7c4ba]:before{content:"\\e698"}.uniui-back[data-v-03a7c4ba]:before{content:"\\e6b9"}.uniui-forward[data-v-03a7c4ba]:before{content:"\\e6ba"}.uniui-arrow-right[data-v-03a7c4ba]:before{content:"\\e6bb"}.uniui-arrowthinright[data-v-03a7c4ba]:before{content:"\\e6bb"}.uniui-arrow-left[data-v-03a7c4ba]:before{content:"\\e6bc"}.uniui-arrowthinleft[data-v-03a7c4ba]:before{content:"\\e6bc"}.uniui-arrow-up[data-v-03a7c4ba]:before{content:"\\e6bd"}.uniui-arrowthinup[data-v-03a7c4ba]:before{content:"\\e6bd"}.uniui-arrow-down[data-v-03a7c4ba]:before{content:"\\e6be"}.uniui-arrowthindown[data-v-03a7c4ba]:before{content:"\\e6be"}.uniui-bottom[data-v-03a7c4ba]:before{content:"\\e6b8"}.uniui-arrowdown[data-v-03a7c4ba]:before{content:"\\e6b8"}.uniui-right[data-v-03a7c4ba]:before{content:"\\e6b5"}.uniui-arrowright[data-v-03a7c4ba]:before{content:"\\e6b5"}.uniui-top[data-v-03a7c4ba]:before{content:"\\e6b6"}.uniui-arrowup[data-v-03a7c4ba]:before{content:"\\e6b6"}.uniui-left[data-v-03a7c4ba]:before{content:"\\e6b7"}.uniui-arrowleft[data-v-03a7c4ba]:before{content:"\\e6b7"}.uniui-eye[data-v-03a7c4ba]:before{content:"\\e651"}.uniui-eye-filled[data-v-03a7c4ba]:before{content:"\\e66a"}.uniui-eye-slash[data-v-03a7c4ba]:before{content:"\\e6b3"}.uniui-eye-slash-filled[data-v-03a7c4ba]:before{content:"\\e6b4"}.uniui-info-filled[data-v-03a7c4ba]:before{content:"\\e649"}.uniui-reload[data-v-03a7c4ba]:before{content:"\\e6b2"}.uniui-micoff-filled[data-v-03a7c4ba]:before{content:"\\e6b0"}.uniui-map-pin-ellipse[data-v-03a7c4ba]:before{content:"\\e6ac"}.uniui-map-pin[data-v-03a7c4ba]:before{content:"\\e6ad"}.uniui-location[data-v-03a7c4ba]:before{content:"\\e6ae"}.uniui-starhalf[data-v-03a7c4ba]:before{content:"\\e683"}.uniui-star[data-v-03a7c4ba]:before{content:"\\e688"}.uniui-star-filled[data-v-03a7c4ba]:before{content:"\\e68f"}.uniui-calendar[data-v-03a7c4ba]:before{content:"\\e6a0"}.uniui-fire[data-v-03a7c4ba]:before{content:"\\e6a1"}.uniui-medal[data-v-03a7c4ba]:bLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-billing-index~pages-buycard-index~pages-marketing-coupon_list~pages-marketing-edit_coupon~page~af242e5f"],{"05ce":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={appid:"__UNI__A10E0DE"}},"15ab":function(e,t,n){"use strict";var r=n("7658"),a=n("57e7");r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),a)},"1ea2":function(e,t,n){"use strict";var r=n("af9e"),a=n("1c06"),i=n("ada5"),o=n("5d6e"),s=Object.isExtensible,u=r((function(){s(1)}));e.exports=u||o?function(e){return!!a(e)&&((!o||"ArrayBuffer"!==i(e))&&(!s||s(e)))}:s},"20f3":function(e,t,n){"use strict";var r=n("8bdb"),a=n("5145");r({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},3471:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,r.default)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(u)throw o}}}},n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("7a76"),n("c9b5");var r=function(e){return e&&e.__esModule?e:{default:e}}(n("5d6b"))},4085:function(e,t,n){"use strict";var r=n("8bdb"),a=n("85c1");r({global:!0,forced:a.globalThis!==a},{globalThis:a})},5075:function(e,t,n){"use strict";var r=n("ae5c"),a=n("71e9"),i=n("e7e3"),o=n("52df"),s=n("81a7"),u=n("1fc1"),c=n("1297"),l=n("d67c"),f=n("5112"),d=n("7e91"),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,n){var v,m,y,k,_,w,b,x=n&&n.that,T=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),I=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),O=r(t,x),A=function(e){return v&&d(v,"normal",e),new p(!0,e)},E=function(e){return T?(i(e),P?O(e[0],e[1],A):O(e[0],e[1])):P?O(e,A):O(e)};if(S)v=e.iterator;else if(I)v=e;else{if(m=f(e),!m)throw new h(o(e)+" is not iterable");if(s(m)){for(y=0,k=u(e);k>y;y++)if(_=E(e[y]),_&&c(g,_))return _;return new p(!1)}v=l(e,m)}w=S?e.next:v.next;while(!(b=a(w,v)).done){try{_=E(b.value)}catch(C){d(v,"throw",C)}if("object"==typeof _&&_&&c(g,_))return _}return new p(!1)}},"57e7":function(e,t,n){"use strict";var r=n("e37c"),a=n("e4ca"),i=n("a74c"),o=n("ae5c"),s=n("b720"),u=n("1eb8"),c=n("5075"),l=n("0cc2"),f=n("97ed"),d=n("437f"),h=n("ab4a"),p=n("d0b1").fastKey,g=n("235c"),v=g.set,m=g.getterFor;e.exports={getConstructor:function(e,t,n,l){var f=e((function(e,a){s(e,d),v(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),h||(e.size=0),u(a)||c(a,e[l],{that:e,AS_ENTRIES:n})})),d=f.prototype,g=m(t),y=function(e,t,n){var r,a,i=g(e),o=k(e,t);return o?o.value=n:(i.last=o={index:a=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=o),r&&(r.next=o),h?i.size++:e.size++,"F"!==a&&(i.index[a]=o)),e},k=function(e,t){var n,r=g(e),a=p(t);if("F"!==a)return r.index[a];for(n=r.first;n;n=n.next)if(n.key===t)return n};return i(d,{clear:function(){var e=g(this),t=e.first;while(t)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),t=t.next;e.first=e.last=void 0,e.index=r(null),h?e.size=0:this.size=0},delete:function(e){var t=g(this),n=k(this,e);if(n){var r=n.next,a=n.previous;delete t.index[n.index],n.removed=!0,a&&(a.next=r),r&&(r.previous=a),t.first===n&&(t.first=r),t.last===n&&(t.last=a),h?t.size--:this.size--}return!!n},forEach:function(e){var t,n=g(this),r=o(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!k(this,e)}}),i(d,n?{get:function(e){var t=k(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),h&&a(d,"size",{configurable:!0,get:function(){return g(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",a=m(t),i=m(r);l(e,t,(function(e,t){v(this,{type:r,target:e,state:a(e),kind:t,last:void 0})}),(function(){var e=i(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?f("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),d(t)}}},"5d6e":function(e,t,n){"use strict";var r=n("af9e");e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},"62b0":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-buycard-index"],{"01e5":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.getExpressCompanyList=function(){return n.default.post("/cashier/storeapi/order/expresscompany")},t.getOrderDeliverList=function(e){return n.default.post("/cashier/storeapi/order/deliverlist",{data:e})},t.getOrderDetail=function(e){return n.default.post("/cashier/storeapi/cashierorder/detail",{data:e})},t.getOrderInfoById=function(e){return n.default.post("/cashier/storeapi/order/info",{data:{order_id:e}})},t.getOrderList=function(e){return n.default.post("/cashier/storeapi/cashierorder/lists",{data:e})},t.getorderCondition=function(){return n.default.post("/cashier/storeapi/order/condition")},t.orderAdjustPrice=function(e){return n.default.post("/cashier/storeapi/cashierorder/adjustPrice",{data:e})},t.orderClose=function(e){return n.default.post("/cashier/storeapi/order/close",{data:e})},t.orderExpressDelivery=function(e){return n.default.post("/cashier/storeapi/order/expressdelivery",{data:e})},t.orderLocalDelivery=function(e){return n.default.post("/cashier/storeapi/order/localdelivery",{data:e})},t.orderPrintTicket=function(e){var t={order_id:e},i=o.default.getLocalConfig();return t.printer_ids="all"==i.printerSelectType?"all":i.printerSelectIds.toString(),n.default.post("/cashier/storeapi/cashierorder/printticket",{data:t})},t.orderRemark=function(e){return n.default.post("/cashier/storeapi/cashierorder/orderRemark",{data:e})},t.orderStoreDelivery=function(e){return n.default.post("/cashier/storeapi/order/storedelivery",{data:{order_id:e}})},i("c9b5"),i("bf0f"),i("ab80");var n=a(i("a3b5")),o=a(i("3885"))},"0523":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-342b5f82]{display:none}\r\n/* 收银台相关 */uni-text[data-v-342b5f82],\r\nuni-view[data-v-342b5f82]{font-size:.14rem}body[data-v-342b5f82]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-342b5f82]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-342b5f82]::-webkit-scrollbar-button{display:none}body[data-v-342b5f82]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-342b5f82]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-342b5f82]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-342b5f82]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-342b5f82]{color:var(--primary-color)!important}.container[data-v-342b5f82]{width:100%;height:100%}.container > uni-view[data-v-342b5f82]{width:100%;height:100%}.payment-wrap .header[data-v-342b5f82]{height:.66rem;display:flex;align-items:center;border-bottom:.01rem solid #e6e6e6}.payment-wrap .body[data-v-342b5f82]{flex:1;height:0;padding:.15rem 0;box-sizing:border-box;display:flex}.payment-wrap .info-wrap[data-v-342b5f82]{flex:1;width:0;margin-right:.15rem;display:flex;flex-direction:column}.payment-wrap .info-wrap .info[data-v-342b5f82]{flex:1;height:0;background-color:#f7f8fa;padding-bottom:.15rem;box-sizing:border-box}.payment-wrap .info-wrap .info[data-v-342b5f82] .uni-scroll-view-content{margin:0 .15rem;width:calc(100% - .3rem);box-sizing:border-box}.payment-wrap .info-wrap .info .payment-money[data-v-342b5f82]{text-align:right;font-size:.2rem;border-bottom:.01rem solid #e6e6e6;line-height:.6rem}.payment-wrap .info-wrap .info .title[data-v-342b5f82]{line-height:.6rem;font-size:.16rem}.payment-wrap .info-wrap .info .uni-flex[data-v-342b5f82]{flex-wrap:wrap}.payment-wrap .info-wrap .info .type-item[data-v-342b5f82]{padding:.2rem .1rem;background:#fff;border:.01rem solid #e6e6e6;display:flex;align-items:center;font-size:.16rem;margin:0 .1rem .1rem 0;width:calc((100% - .86rem) / 3);line-height:1;cursor:pointeLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-collectmoney-config"],{1678:function(e,a,i){"use strict";i.d(a,"b",(function(){return t})),i.d(a,"c",(function(){return o})),i.d(a,"a",(function(){}));var t=function(){var e=this,a=e.$createElement,i=e._self._c||a;return i("base-page",[i("v-uni-view",{staticClass:"collect-money-config"},[i("v-uni-view",{staticClass:"common-wrap common-form fixd common-scrollbar"},[i("v-uni-view",{staticClass:"common-title"},[e._v("收款设置")]),i("v-uni-view",{staticClass:"common-form-item"},[i("v-uni-label",{staticClass:"form-label"},[e._v("优惠减现")]),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-radio-group",{staticClass:"form-radio-group",on:{change:function(a){arguments[0]=a=e.$handleEvent(a),e.config.reduction=a.detail.value}}},[i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"1",checked:1==e.config.reduction}}),e._v("启用")],1),i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"0",checked:0==e.config.reduction}}),e._v("关闭")],1)],1)],1)],1),i("v-uni-view",{staticClass:"common-form-item"},[i("v-uni-label",{staticClass:"form-label"},[e._v("积分抵扣")]),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-radio-group",{staticClass:"form-radio-group",on:{change:function(a){arguments[0]=a=e.$handleEvent(a),e.config.point=a.detail.value}}},[i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"1",checked:1==e.config.point}}),e._v("启用")],1),i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"0",checked:0==e.config.point}}),e._v("关闭")],1)],1)],1),i("v-uni-text",{staticClass:"form-word-aux-line"},[e._v("积分抵扣需要平台开启,同时配置积分抵扣金额比率")])],1),i("v-uni-view",{staticClass:"common-form-item"},[i("v-uni-label",{staticClass:"form-label"},[e._v("使用余额")]),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-radio-group",{staticClass:"form-radio-group",on:{change:function(a){arguments[0]=a=e.$handleEvent(a),e.config.balance=a.detail.value}}},[i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"1",checked:1==e.config.balance}}),e._v("启用")],1),i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"0",checked:0==e.config.balance}}),e._v("关闭")],1)],1)],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1==e.config.balance,expression:"config.balance == 1"}]},[i("v-uni-view",{staticClass:"common-form-item"},[i("v-uni-label",{staticClass:"form-label"},[e._v("余额使用安全验证")]),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-radio-group",{staticClass:"form-radio-group",on:{change:function(a){arguments[0]=a=e.$handleEvent(a),e.config.balance_safe=a.detail.value}}},[i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"1",checked:1==e.config.balance_safe}}),e._v("启用")],1),i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"0",checked:0==e.config.balance_safe}}),e._v("关闭")],1)],1)],1),i("v-uni-text",{staticClass:"form-word-aux-line"},[e._v("关闭之后直接使用余额进行抵扣,无需会员验证")])],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1==e.config.balance_safe,expression:"config.balance_safe == 1"}],staticClass:"common-form-item"},[i("v-uni-label",{staticClass:"form-label"},[e._v("手机号验证")]),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-radio-group",{staticClass:"form-radio-group",on:{change:function(a){arguments[0]=a=e.$handleEvent(a),e.config.sms_verify=a.detail.value}}},[i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"1",checked:1==e.config.sms_verify}}),e._v("启用")],1),i("v-uni-label",{staticClass:"radio form-radio-item"},[i("v-uni-radio",{attrs:{value:"0",checked:0==e.config.sms_verify}}),e._v("关闭")],1)],1)],1),i("v-uni-text",{staticClass:"form-word-aux-line"},[e._v("使用余额安全验证时是否可以使用短信验证码验证")])],1)],1),i("v-uni-view",{staticClass:"common-form-item"},[i("v-uni-label",{staticClass:"form-label"},[e._v("收款方式")]),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-checkbox-group",{staticClass:"form-checkbox-group",on:{change:function(a){arguments[0]=a=e.$handleEvent(a),e.config.pay_type=a.detail.value}}},[i("v-uni-label",{staticClass:"form-checkbox-item"},[i("v-uni-checkbox",{attrs:{value:"third",checked:-1!=e.config.pay_type.indexOf("third")}}),e._v("付款码支付")],1),i("v-uni-label",{staticClass:"form-checkbox-item"},[i("v-uni-checkbox",{attrs:{value:"cash",checked:-1!=e.config.pay_type.indexOf("cash")}}),e._v("现金支付")],1),i("v-uni-label",{staticClass:"form-checkbox-item"},[i("v-uni-checkbox",{attrs:{value:"own_wechatpay",checked:-1!=e.config.pay_type.indexOf("own_wechatpay")}}),e._v("个人微信")],1),i("v-uni-label",{staticLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-goodslist"],{"080f":function(e,a,d){var c=d("41b0");c.__esModule&&(c=c.default),"string"===typeof c&&(c=[[e.i,c,""]]),c.locals&&(e.exports=c.locals);var t=d("967d").default;t("7cbf8929",c,!0,{sourceMap:!1,shadowMode:!1})},"084b":function(e,a,d){"use strict";d("6a54");var c=d("f5bd").default;Object.defineProperty(a,"__esModule",{value:!0}),a.editGoods=function(e){return t.default.post("/cashier/storeapi/goods/editgoods",{data:e})},a.exportPrintPriceTagData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.default.post("/cashier/storeapi/goods/exportPrintPriceTagData",{data:e})},a.getElectronicScaleInformation=function(){return t.default.post("/scale/storeapi/scale/cashierscale")},a.getGoodsCategory=function(e){return t.default.post("/cashier/storeapi/goods/category",{data:e})},a.getGoodsDetail=function(e){return t.default.post("/cashier/storeapi/goods/detail",{data:{goods_id:e}})},a.getGoodsInfoByCode=function(e){return t.default.post("/cashier/storeapi/goods/skuinfo",{data:{sku_no:e}})},a.getGoodsList=function(e){return t.default.post("/cashier/storeapi/goods/page",{data:e})},a.getGoodsSceen=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.default.post("/cashier/storeapi/goods/screen",{data:e})},a.getGoodsSkuList=function(e){return t.default.post("/cashier/storeapi/goods/skulist",{data:{goods_id:e}})},a.getManageGoodsCategory=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.default.post("/stock/storeapi/manage/getGoodsCategory",{data:e})},a.getServiceCategory=function(e){return t.default.post("/cashier/storeapi/service/category",{data:e})},a.getServiceList=function(e){return t.default.post("/cashier/storeapi/service/page",{data:e})},a.getSkuListBySelect=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.default.post("/cashier/storeapi/goods/getSkuListBySelect",{data:e})},a.setGoodsLocalRestrictions=function(e){return t.default.post("/cashier/storeapi/goods/setGoodsLocalRestrictions",{data:e})},a.setGoodsStatus=function(e){return t.default.post("/cashier/storeapi/goods/setstatus",{data:e})};var t=c(d("a3b5"))},"0dc2":function(e,a,d){"use strict";d.d(a,"b",(function(){return t})),d.d(a,"c",(function(){return f})),d.d(a,"a",(function(){return c}));var c={selectLay:d("7bf9").default,nsGoodsSku:d("974e").default,nsGoodsSkuStockRecord:d("5a95").default,nsScaleGoods:d("8152").default},t=function(){var e=this,a=e.$createElement,c=e._self._c||a;return c("base-page",[c("v-uni-view",{staticClass:"goods-list"},[c("v-uni-view",{staticClass:"screen-warp common-form"},[c("v-uni-view",{staticClass:"common-form-item"},[c("v-uni-view",{staticClass:"form-inline"},[c("v-uni-label",{staticClass:"form-label"},[e._v("商品名称")]),c("v-uni-view",{staticClass:"form-input-inline"},[c("v-uni-input",{staticClass:"form-input",attrs:{type:"text",placeholder:"请输入商品名称"},model:{value:e.option.search_text,callback:function(a){e.$set(e.option,"search_text",a)},expression:"option.search_text"}})],1)],1),c("v-uni-view",{staticClass:"form-inline"},[c("v-uni-label",{staticClass:"form-label"},[e._v("商品编码")]),c("v-uni-view",{staticClass:"form-input-inline"},[c("v-uni-input",{staticClass:"form-input",attrs:{type:"text",placeholder:"请输入商品编码"},model:{value:e.option.sku_no,callback:function(a){e.$set(e.option,"sku_no",a)},expression:"option.sku_no"}})],1)],1),c("v-uni-view",{staticClass:"form-inline"},[c("v-uni-label",{staticClass:"form-label"},[e._v("商品类型")]),c("v-uni-view",{staticClass:"form-input-inline"},[c("select-lay",{attrs:{zindex:10,value:e.goods_class,name:"goods_class",placeholder:"请选择商品类型",options:e.goodsClass},on:{selectitem:function(a){arguments[0]=a=e.$handleEvent(a),e.selectClass.apply(void 0,arguments)}}})],1)],1),c("v-uni-view",{staticClass:"form-inline"},[c("v-uni-label",{staticClass:"form-label"},[e._v("商品状态")]),c("v-uni-view",{staticClass:"form-input-inline"},[c("select-lay",{attrs:{zindex:10,value:e.status,name:"status",placeholder:"请选择商品状态",options:e.statusList},on:{selectitem:function(a){arguments[0]=a=e.$handleEvent(a),e.selectStatus.apply(void 0,arguments)}}})],1)],1),c("v-uni-view",{staticClass:"form-inline"},[c("v-uni-label",{staticClass:"form-label"},[e._v("商品价格")]),c("v-uni-view",{staticClass:"form-input-inline input-append"},[c("v-uni-input",{staticClass:"form-input",attrs:{type:"text",placeholder:"最低价格"},model:{value:e.option.start_price,callback:function(a){e.$set(e.option,"start_price",a)},expression:"option.start_price"}}),c("v-uni-view",{staticClass:"unit"},[e._v("元")])],1),c("v-uni-view",{staticClass:"form-input-inline split-wrap"},[e._v("-")]),c("v-uni-view",{staticClass:"form-input-inline input-append"},[c("v-uni-input",{staticClass:"form-input",attrs:{type:"text",placeholder:"最高价格"},model:{value:e.Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-print_price_tag"],{"084b":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.editGoods=function(t){return n.default.post("/cashier/storeapi/goods/editgoods",{data:t})},e.exportPrintPriceTagData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.post("/cashier/storeapi/goods/exportPrintPriceTagData",{data:t})},e.getElectronicScaleInformation=function(){return n.default.post("/scale/storeapi/scale/cashierscale")},e.getGoodsCategory=function(t){return n.default.post("/cashier/storeapi/goods/category",{data:t})},e.getGoodsDetail=function(t){return n.default.post("/cashier/storeapi/goods/detail",{data:{goods_id:t}})},e.getGoodsInfoByCode=function(t){return n.default.post("/cashier/storeapi/goods/skuinfo",{data:{sku_no:t}})},e.getGoodsList=function(t){return n.default.post("/cashier/storeapi/goods/page",{data:t})},e.getGoodsSceen=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.post("/cashier/storeapi/goods/screen",{data:t})},e.getGoodsSkuList=function(t){return n.default.post("/cashier/storeapi/goods/skulist",{data:{goods_id:t}})},e.getManageGoodsCategory=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.post("/stock/storeapi/manage/getGoodsCategory",{data:t})},e.getServiceCategory=function(t){return n.default.post("/cashier/storeapi/service/category",{data:t})},e.getServiceList=function(t){return n.default.post("/cashier/storeapi/service/page",{data:t})},e.getSkuListBySelect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.post("/cashier/storeapi/goods/getSkuListBySelect",{data:t})},e.setGoodsLocalRestrictions=function(t){return n.default.post("/cashier/storeapi/goods/setGoodsLocalRestrictions",{data:t})},e.setGoodsStatus=function(t){return n.default.post("/cashier/storeapi/goods/setstatus",{data:t})};var n=i(a("a3b5"))},"0859":function(t,e,a){var i=a("3ba0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("04b21589",i,!0,{sourceMap:!1,shadowMode:!1})},"0b6a":function(t,e,a){"use strict";a.r(e);var i=a("fa62"),n=a("b3b9");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("9677");var s=a("828b"),l=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"0812e34e",null,!1,i["a"],void 0);e["default"]=l.exports},1691:function(t,e,a){var i=a("d385");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("55c5a510",i,!0,{sourceMap:!1,shadowMode:!1})},"2e16":function(t,e,a){"use strict";var i=a("6c53"),n=a.n(i);n.a},"3ba0":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-54426f41]{display:none}\r\n/* 收银台相关 */uni-text[data-v-54426f41],\r\nuni-view[data-v-54426f41]{font-size:.14rem}body[data-v-54426f41]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-54426f41]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-54426f41]::-webkit-scrollbar-button{display:none}body[data-v-54426f41]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-54426f41]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-54426f41]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-54426f41]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-54426f41]{color:var(--primary-color)!important}.table-container[data-v-54426f41]{width:100%}.table-container .iconcheckbox_weiquanxuan[data-v-54426f41],\r\n.table-container .iconfuxuankuang1[data-v-54426f41],\r\n.table-container .iconfuxuanLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-change_shifts"],{"02b6":function(t,a,e){"use strict";var n=e("d6a7"),i=e.n(n);i.a},"081e":function(t,a,e){"use strict";e.r(a);var n=e("2fa5"),i=e("1f56");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return i[t]}))}(o);e("a6fa");var s=e("828b"),r=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"378f03d2",null,!1,n["a"],void 0);a["default"]=r.exports},"1f56":function(t,a,e){"use strict";e.r(a);var n=e("f2c6"),i=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(o);a["default"]=i.a},"27a9":function(t,a,e){"use strict";e.r(a);var n=e("89ad"),i=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return n[t]}))}(o);a["default"]=i.a},"2fa5":function(t,a,e){"use strict";e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return n}));var n={pageMeta:e("7854").default,uniPopup:e("cea0").default,nsLoading:e("c388").default},i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("page-meta",{attrs:{"root-font-size":t.rootSize}}),e("v-uni-view",{staticClass:"uni-flex uni-row height-all",style:t.themeColor},[t.shiftsData?e("v-uni-view",{staticClass:"container common-wrap",staticStyle:{"-webkit-flex":"1",flex:"1"}},[e("v-uni-view",{staticClass:"title"},[t._v(t._s(t.info.username))]),e("v-uni-view",{staticClass:"time-title"},[t._v("班次:"),e("v-uni-text",[t._v(t._s(t.shiftsData.start_time>0?t.$util.timeFormat(t.shiftsData.start_time):"初始化"))]),e("v-uni-text",{staticClass:"separate"},[t._v("-")]),e("v-uni-text",{staticClass:"curr-time"},[t._v(t._s(t._f("timeFormat")(t.shiftsData.end_time)))])],1),e("v-uni-view",{staticClass:"title-box"},[e("v-uni-view",{staticClass:"box"},[e("v-uni-view",{staticClass:"name-box"},[e("v-uni-text",{staticClass:"title-name"},[t._v("销")]),e("v-uni-text",{staticClass:"name"},[t._v("总销售")])],1),e("v-uni-view",{staticClass:"money-box"},[e("v-uni-text",{staticClass:"money"},[t._v("("+t._s(t._f("moneyFormat")(t.shiftsData.total_sale))+"元"+t._s(t.shiftsData.total_sale_count)+"笔)")])],1)],1),e("v-uni-view",{staticClass:"box"},[e("v-uni-view",{staticClass:"name-box"},[e("v-uni-text",{staticClass:"title-name"},[t._v("会")]),e("v-uni-text",{staticClass:"name"},[t._v("会员充值")])],1),e("v-uni-view",{staticClass:"money-box"},[e("v-uni-text",{staticClass:"money"},[t._v("("+t._s(t._f("moneyFormat")(t.shiftsData.recharge_money))+"元"+t._s(t.shiftsData.recharge_count)+"笔)")])],1)],1),e("v-uni-view",{staticClass:"box"},[e("v-uni-view",{staticClass:"name-box"},[e("v-uni-text",{staticClass:"title-name"},[t._v("应")]),e("v-uni-text",{staticClass:"name"},[t._v("应收金额")])],1),e("v-uni-view",{staticClass:"money-box"},[e("v-uni-text",{staticClass:"money"},[t._v("("+t._s(t._f("moneyFormat")(t.shiftsData.total_money))+"元"+t._s(t.shiftsData.total_count)+"笔)")])],1)],1),e("v-uni-view",{staticClass:"box"},[e("v-uni-view",{staticClass:"name-box"},[e("v-uni-text",{staticClass:"title-name"},[t._v("支")]),e("v-uni-text",{staticClass:"name"},[t._v("支付统计")])],1),e("v-uni-view",{staticClass:"money-box"},[e("v-uni-text",{staticClass:"money"},[t._v("("+t._s(t._f("moneyFormat")(t.shiftsData.total_pay_money))+"元"+t._s(t.shiftsData.total_pay_count)+"笔)")])],1)],1),e("v-uni-view",{staticClass:"box"},[e("v-uni-view",{staticClass:"name-box"},[e("v-uni-text",{staticClass:"title-name"},[t._v("商")]),e("v-uni-text",{staticClass:"name"},[t._v("商品销售")])],1),e("v-uni-view",{staticClass:"money-box"},[e("v-uni-text",{staticClass:"money"},[t._v("("+t._s(t.shiftsData.sale_goods_count.class_num)+"种"+t._s(t.shiftsData.sale_goods_count.num)+"件)")])],1)],1)],1),e("v-uni-view",{staticClass:"basic"},[e("v-uni-text",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.detail()}}},[t._v("查看详情"),e("v-uni-text",{staticClass:"iconqianhou2 iconfont"})],1)],1),e("v-uni-view",{staticClass:"common-btn-wrap"},[e("v-uni-button",{staticClass:"default-btn cancel-btn",attrs:{type:"default"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.cancel.apply(void 0,arguments)}}},[t._v("取消")]),e("v-uni-button",{staticClass:"primary-btn shiftss-btn",attrs:{type:"default"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.changeShiftsFn.apply(void 0,arguments)}}},[t._v("交班并登出")])],1),e("uni-popup",{ref:"shiftslistPop"},[e("v-uni-view",{staticClass:"pop-box shiftsslistPop"},[e("v-uni-view",{staticClass:"pop-header"},[e("v-uni-view",{staticClass:"pop-header-text"},[t._v("交班详情")]),e("v-uni-view",{staticClass:"pop-header-close",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.$refs.shiftslistPop.close()}}},[e("v-uni-text",{staticClass:"iconguanbi1 iconfont"})],1)],1),e("v-uni-view",{staticClass:"pop-content common-scrollbar"},[e("v-uni-view",{staticClass:"pop-content-item"},[e("v-uni-view",{staticClasLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-change_shiftsrecord"],{"034f":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("e838"),a("e966"),a("fd3c"),a("22b6"),a("bf0f"),a("2797"),a("aa9c"),a("d4b5");var n=a("bf41"),i=a("04dc"),s={data:function(){var t=this;return{shiftsData:null,screen:{page:1,start_time:"",end_time:"",uid:0},userList:[],cols:[{width:20,title:"员工",field:"username",align:"left"},{width:20,title:"开始时间",align:"center",return:function(e){return e.start_time?t.$util.timeFormat(e.start_time):""}},{width:20,title:"结束时间",align:"center",return:function(e){return t.$util.timeFormat(e.end_time)}},{width:15,title:"总销售",align:"right",return:function(e){return t.$util.moneyFormat(parseFloat(e.billing_money)+parseFloat(e.buycard_money))}},{width:15,title:"会员充值",align:"right",return:function(e){return t.$util.moneyFormat(e.recharge_money)}},{width:15,title:"应收金额",align:"right",return:function(e){return t.$util.moneyFormat(parseFloat(e.billing_money)+parseFloat(e.buycard_money)+parseFloat(e.recharge_money)-parseFloat(e.refund_money))}},{width:15,title:"支付统计",align:"right",return:function(e){return t.$util.moneyFormat(parseFloat(e.cash)+parseFloat(e.alipay)+parseFloat(e.wechatpay)+parseFloat(e.own_wechatpay)+parseFloat(e.own_alipay)+parseFloat(e.own_pos))}},{width:16,title:"商品销售",align:"right",return:function(t){return t.sale_goods_count.class_num+"种 "+t.sale_goods_count.num+"件"}},{width:15,title:"操作",action:!0,align:"right"}]}},onLoad:function(){this.getUserListFn()},methods:{switchStoreAfter:function(){this.screen={page:1,start_time:"",end_time:"",uid:0},this.$refs.table.load(),this.getUserListFn()},saleGoods:function(t){this.$util.redirectTo("/pages/index/change_shiftssalelist",{id:t.value.id})},detail:function(t){var e=this.$util.deepClone(t.value);e.total_sale=parseFloat(e.billing_money)+parseFloat(e.buycard_money),e.total_sale_count=parseInt(e.billing_count)+parseInt(e.buycard_count),e.total_count=e.total_sale_count+parseInt(e.recharge_count)+parseInt(e.refund_count),e.total_money=e.total_sale+parseFloat(e.recharge_money)-parseFloat(e.refund_money),e.total_pay_money=parseFloat(e.cash)+parseFloat(e.alipay)+parseFloat(e.wechatpay)+parseFloat(e.own_wechatpay)+parseFloat(e.own_alipay)+parseFloat(e.own_pos),e.total_pay_count=parseInt(e.cash_count)+parseInt(e.alipay_count)+parseInt(e.wechatpay_count)+parseInt(e.own_wechatpay_count)+parseInt(e.own_alipay_count)+parseInt(e.own_pos_count),this.shiftsData=e,this.$refs.shiftslistPop.open("center")},getUserListFn:function(){var t=this;(0,i.getUserList)({page:1,page_size:0}).then((function(e){e.code>=0&&0!=e.data.list.length&&(t.userList=e.data.list.map((function(t){return{label:t.username,value:t.uid}})))}))},reset:function(){this.screen={page:1,start_time:"",end_time:"",uid:0},this.$refs.table.load(this.screen)},selectUser:function(t,e){this.screen.uid=t>=0?parseInt(e.value):0},search:function(){this.$refs.table.load(this.screen)},printTicketFn:function(){var t=this,e={record_id:this.shiftsData.id};(0,n.printTicket)(e).then((function(e){if(0==e.code)if(Object.values(e.data).length){var a=Object.values(e.data);try{var n={printer:[]};a.forEach((function(t){n.printer.push({printer_type:t.printer_info.printer_type,host:t.printer_info.host,ip:t.printer_info.ip,port:t.printer_info.port,content:t.content,print_width:t.printer_info.print_width})})),t.$pos.send("Print",JSON.stringify(n))}catch(i){console.log("err",i,e.data)}}else t.$util.showToast({title:"未开启交接班小票打印"});else t.$util.showToast({title:e.message?e.message:"小票打印失败"})}))}}};e.default=s,window.POS_PRINT_CALLBACK=function(t){uni.showToast({title:t,icon:"none"})}},1691:function(t,e,a){var n=a("d385");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("55c5a510",n,!0,{sourceMap:!1,shadowMode:!1})},"5d18":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa"),a("bf0f"),a("2797"),a("8f71"),a("4626"),a("5ac7");var n={name:"select-lay",props:{disabled:{type:Boolean,default:!1},zindex:{type:Number,default:999},options:{type:Array,default:function(){return[]}},name:{type:String,default:""},value:{type:[String,Number],default:""},placeholder:{type:String,default:"请选择"},showplaceholder:{type:Boolean,default:!0},slabel:{type:String,default:"label"},svalue:{type:String,default:"value"}},data:function(){return{active:!1,isfocus:!1,isremove:!1,ismove:!1,changevalue:"",oldvalue:"",changes:!1,changesValue:"",vlist:[],settimer:null}},mounted:function(){this.itemcheck()},watch:{value:function(){this.itemcheck()},options:function(){this.itemcheck()}},methods:{itemcheck:function(){var t=this;""!=this.value?this.options.length>0&&this.options.forEach((function(e){t.value!=e[t.svalue]||(t.oldvalue=t.changevalue=e[t.Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-change_shiftssalelist"],{"0738":function(e,t,a){"use strict";a.r(t);var i=a("a106"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);t["default"]=n.a},"097b":function(e,t,a){var i=a("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-54d4497c]{display:none}\r\n/* 收银台相关 */uni-text[data-v-54d4497c],\r\nuni-view[data-v-54d4497c]{font-size:.14rem}body[data-v-54d4497c]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-54d4497c]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-54d4497c]::-webkit-scrollbar-button{display:none}body[data-v-54d4497c]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-54d4497c]::-webkit-scrollbar-track{background-color:initial}.goods-list[data-v-54d4497c]{height:100%;overflow:auto}.goods-list[data-v-54d4497c]::-webkit-scrollbar{width:.06rem;height:.06rem}.goods-list[data-v-54d4497c]::-webkit-scrollbar-button{display:none}.goods-list[data-v-54d4497c]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}.goods-list[data-v-54d4497c]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-54d4497c]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-54d4497c]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-54d4497c]{color:var(--primary-color)!important}uni-view[data-v-54d4497c]{color:#303133}[data-v-54d4497c] .uni-scroll-view::-webkit-scrollbar{width:.05rem;height:.3rem}[data-v-54d4497c] .uni-scroll-view::-webkit-scrollbar-thumb{border-radius:.1rem;box-shadow:inset 0 0 .05rem rgba(0,0,0,.2);background:#c1c1c1}.cart-empty[data-v-54d4497c]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:2.1rem}.record-body[data-v-54d4497c]{width:10rem;min-height:7rem}.screen-warp[data-v-54d4497c]{padding:.15rem .15rem 0;background-color:#f2f3f5;margin-bottom:.15rem}.screen-warp .common-form-item .form-label[data-v-54d4497c]{width:1.2rem}.screen-warp .common-btn-wrap[data-v-54d4497c]{margin-left:1.2rem}.screen-warp .common-btn-wrap uni-button[data-v-54d4497c]{margin-right:.1rem}.screen-warp .goods-category .form-input-inline[data-v-54d4497c]{width:2.8rem}.screen-warp .form-inline[data-v-54d4497c]{margin-bottom:.15rem}.screen-warp .common-form-item[data-v-54d4497c]{margin-bottom:0}.screen-warp .input-append[data-v-54d4497c]{position:relative}.screen-warp .input-append .form-input[data-v-54d4497c]{padding-right:.3rem}.screen-warp .input-append .unit[data-v-54d4497c]{position:absolute;top:0;right:.1rem;height:.35rem;line-height:.35rem}.screen-warp .form-input-inline.split-wrap[data-v-54d4497c]{width:auto;background:none;border:none}.goods-list[data-v-54d4497c]{display:block;width:100%;padding:.15rem .15rem 0;background-color:#fff}.goods-list[data-v-54d4497c] .goods-content{display:flex}.goods-list[data-v-54d4497c] .goods-content .goods-img{margin-right:.1rem;width:.5rem;height:.5rem;min-width:.5rem}.goods-list[data-v-54d4497c] .goods-content .goods-name{white-space:pre-wrap;align-self:baseline}.goods-list[data-v-54d4497c] .goods-content .infos{display:flex;flex-direction:column}.goods-list[data-v-54d4497c] .goods-content .infos .spec-name{margin-top:.03rem;color:#909399}.goods-list .action-btn-wrap[data-v-54d4497c]{display:flex;flex-wrap:wrap}.goods-list .action-btn-wrap .action-item[data-v-54d4497c]{margin-right:.1rem;margin-top:.03rem;margin-bottom:.03rem;color:var(--primary-color)}.goods-list .action-btn-wrap .action-item[data-v-54d4497c]:first-of-type{margin-left:0}.goods-list[data-v-54d4497c] .batch-action .batch-item{margin-right:.15rem;border:.01rem solid rgba(0,0,0,.2);padding:.05rem;bordeLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-loading"],{"0228":function(a,t,n){var r=n("df93");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[a.i,r,""]]),r.locals&&(a.exports=r.locals);var e=n("967d").default;e("3e2d4790",r,!0,{sourceMap:!1,shadowMode:!1})},"2d05":function(a,t,n){"use strict";n.r(t);var r=n("9ab4"),e=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(a){n.d(t,a,(function(){return r[a]}))}(o);t["default"]=e.a},3406:function(a,t,n){a.exports=n.p+"static/cashier/start_logo.png"},"94d0":function(a,t,n){"use strict";n.d(t,"b",(function(){return e})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r}));var r={pageMeta:n("7854").default},e=function(){var a=this.$createElement,t=this._self._c||a;return t("v-uni-view",[t("page-meta",{attrs:{"root-font-size":this.rootSize}}),t("v-uni-view",{staticClass:"container",style:this.themeColor},[t("v-uni-image",{attrs:{src:n("3406"),mode:"heightFix"}})],1)],1)},o=[]},"9ab4":function(a,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={data:function(){return{}},onShow:function(){this.loadThemeColor()}}},ddf6:function(a,t,n){"use strict";n.r(t);var r=n("94d0"),e=n("2d05");for(var o in e)["default"].indexOf(o)<0&&function(a){n.d(t,a,(function(){return e[a]}))}(o);n("f688");var i=n("828b"),d=Object(i["a"])(e["default"],r["b"],r["c"],!1,null,"a1a4a8a0",null,!1,r["a"],void 0);t["default"]=d.exports},df93:function(a,t,n){var r=n("c86c");t=r(!1),t.push([a.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-a1a4a8a0]{display:none}\r\n/* 收银台相关 */uni-text[data-v-a1a4a8a0],\r\nuni-view[data-v-a1a4a8a0]{font-size:.14rem}body[data-v-a1a4a8a0]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-a1a4a8a0]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-a1a4a8a0]::-webkit-scrollbar-button{display:none}body[data-v-a1a4a8a0]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-a1a4a8a0]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-a1a4a8a0]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-a1a4a8a0]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-a1a4a8a0]{color:var(--primary-color)!important}.container[data-v-a1a4a8a0]{width:100vw;height:100vh;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.container uni-image[data-v-a1a4a8a0]{height:80%}',""]),a.exports=t},f688:function(a,t,n){"use strict";var r=n("0228"),e=n.n(r);e.a}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-no_permission"],{"4d6c":function(n,t,r){"use strict";var a=r("ff21"),e=r.n(a);e.a},"4e8c":function(n,t,r){"use strict";r.r(t);var a=r("b220"),e=r("7b3a");for(var i in e)["default"].indexOf(i)<0&&function(n){r.d(t,n,(function(){return e[n]}))}(i);r("4d6c");var o=r("828b"),d=Object(o["a"])(e["default"],a["b"],a["c"],!1,null,"49db9202",null,!1,a["a"],void 0);t["default"]=d.exports},"7b3a":function(n,t,r){"use strict";r.r(t);var a=r("b0b7"),e=r.n(a);for(var i in a)["default"].indexOf(i)<0&&function(n){r.d(t,n,(function(){return a[n]}))}(i);t["default"]=e.a},b0b7:function(n,t,r){"use strict";r("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={data:function(){return{}},onLoad:function(){uni.hideTabBar({})},methods:{}};t.default=a},b220:function(n,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return e})),r.d(t,"a",(function(){}));var a=function(){var n=this.$createElement,t=this._self._c||n;return t("base-page",[t("v-uni-view",{staticClass:"uni-flex uni-row height-all"},[t("v-uni-view",{staticClass:"container common-wrap",staticStyle:{"-webkit-flex":"1",flex:"1"}},[t("v-uni-view",{staticClass:"msg"},[this._v("对不起,您没有权限访问该页面")])],1)],1)],1)},e=[]},ed7f:function(n,t,r){var a=r("c86c");t=a(!1),t.push([n.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-49db9202]{display:none}\r\n/* 收银台相关 */uni-text[data-v-49db9202],\r\nuni-view[data-v-49db9202]{font-size:.14rem}body[data-v-49db9202]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-49db9202]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-49db9202]::-webkit-scrollbar-button{display:none}body[data-v-49db9202]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-49db9202]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-49db9202]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-49db9202]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-49db9202]{color:var(--primary-color)!important}.container[data-v-49db9202]{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fff}.container .msg[data-v-49db9202]{color:#333;font-size:.16rem}',""]),n.exports=t},ff21:function(n,t,r){var a=r("ed7f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[n.i,a,""]]),a.locals&&(n.exports=a.locals);var e=r("967d").default;e("2506a745",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-local-config"],{"1f2e":function(t,e,r){var n=r("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-3a183249]{display:none}\r\n/* 收银台相关 */uni-text[data-v-3a183249],\r\nuni-view[data-v-3a183249]{font-size:.14rem}body[data-v-3a183249]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-3a183249]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-3a183249]::-webkit-scrollbar-button{display:none}body[data-v-3a183249]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-3a183249]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-3a183249]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-3a183249]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-3a183249]{color:var(--primary-color)!important}.collect-money-config[data-v-3a183249]{position:relative}.collect-money-config .common-btn-wrap[data-v-3a183249]{position:absolute;left:0;bottom:0;right:0;padding:.24rem .2rem}.collect-money-config .common-btn-wrap .screen-btn[data-v-3a183249]{margin:0}.collect-money-config .common-wrap.fixd[data-v-3a183249]{padding:%?30?%;height:calc(100vh - .4rem);overflow-y:auto;box-sizing:border-box}.collect-money-config .form-input[data-v-3a183249]{font-size:.16rem}.collect-money-config .form-input-inline.btn[data-v-3a183249]{height:.37rem;line-height:.35rem;box-sizing:border-box;border:.01rem solid #e6e6e6;text-align:center;cursor:pointer}.collect-money-config .common-title[data-v-3a183249]{font-size:.18rem;margin-bottom:.2rem}.collect-money-config .common-form .common-form-item .form-label[data-v-3a183249]{width:1.5rem}.collect-money-config .common-form .common-form-item .form-word-aux-line[data-v-3a183249]{margin-left:1.5rem}',""]),t.exports=e},2718:function(t,e,r){"use strict";var n=r("faed"),i=r.n(n);i.a},"2e5f":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("bf0f"),r("2797"),r("c9b5"),r("ab80");var n=r("bf41"),i={data:function(){return{isRepeat:!1,printerList:[],printerSelectType:"all",printerSelectIds:[],printerTips:"如果一个门店有多个收银机,请为每个收银机设备选择要调用的打印机硬件"}},onLoad:function(){this.initData(),this.getPrinterList()},onShow:function(){},methods:{initData:function(){var t=this.$util.getLocalConfig();this.printerSelectType=t.printerSelectType,this.printerSelectIds=t.printerSelectIds},getPrinterList:function(){var t=this;(0,n.getPrinterList)({page:1,page_size:0}).then((function(e){e.code>=0&&(t.printerList=e.data.list,t.printerList.forEach((function(t,e){t.printer_id=t.printer_id.toString()})))}))},printerSelectTypeChange:function(t){this.printerSelectType=t.detail.value},printerSelectIdsChange:function(t){this.printerSelectIds=t.detail.value},saveFn:function(){this.$util.setLocalConfig({printerSelectType:this.printerSelectType,printerSelectIds:this.printerSelectIds}),this.$util.showToast({title:"设置成功"})}}};e.default=i},"52fd":function(t,e,r){"use strict";r.r(e);var n=r("2e5f"),i=r.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},bf41:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addPrinter=function(t){return i.default.post("/printer/storeapi/printer/add",{data:t})},e.deletePrinter=function(t){return i.default.post("/printer/storeapi/printer/deleteprinter",{data:{printer_id:t}})},e.editPrinter=function(t){return i.default.post("/printer/storeapi/printer/edit",{data:t})},e.getOrderType=function(){return i.default.post("/printer/storeapi/printer/getordertype")},e.getPrinterInfo=function(t){return i.default.post("/printer/storeapi/printer/info",{Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-login-login"],{"0900":function(e,r,a){"use strict";a.d(r,"b",(function(){return n})),a.d(r,"c",(function(){return i})),a.d(r,"a",(function(){return t}));var t={pageMeta:a("7854").default},n=function(){var e=this,r=e.$createElement,a=e._self._c||r;return a("v-uni-view",[a("page-meta",{attrs:{"root-font-size":e.rootSize}}),a("v-uni-view",{staticClass:"container",style:e.themeColor},[a("v-uni-view",{staticClass:"login-wrap"},[a("v-uni-view",{staticClass:"header"},[a("v-uni-view",{staticClass:"title"},[e._v("智慧零售平台登录")])],1),a("v-uni-view",{staticClass:"form-wrap"},[a("v-uni-view",{staticClass:"input-wrap"},[a("v-uni-text",{staticClass:"iconfont icona-xingzhuang2"}),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入用户名","placeholder-class":"placeholder"},on:{confirm:function(r){arguments[0]=r=e.$handleEvent(r),e.loginFn.apply(void 0,arguments)}},model:{value:e.formData.username,callback:function(r){e.$set(e.formData,"username",r)},expression:"formData.username"}})],1),a("v-uni-view",{staticClass:"input-wrap"},[a("v-uni-text",{staticClass:"iconfont iconmima"}),a("v-uni-input",{directives:[{name:"show",rawName:"v-show",value:e.passShow,expression:"passShow"}],attrs:{type:"text",placeholder:"请输入密码","placeholder-class":"placeholder"},on:{confirm:function(r){arguments[0]=r=e.$handleEvent(r),e.loginFn.apply(void 0,arguments)}},model:{value:e.formData.password,callback:function(r){e.$set(e.formData,"password",r)},expression:"formData.password"}}),a("v-uni-input",{directives:[{name:"show",rawName:"v-show",value:!e.passShow,expression:"!passShow"}],attrs:{type:"password",placeholder:"请输入密码","placeholder-class":"placeholder"},on:{confirm:function(r){arguments[0]=r=e.$handleEvent(r),e.loginFn.apply(void 0,arguments)}},model:{value:e.formData.password,callback:function(r){e.$set(e.formData,"password",r)},expression:"formData.password"}}),a("v-uni-view",{staticClass:"iconfont pass-show",class:{iconyanjing5:e.passShow,iconinvisible:!e.passShow},on:{click:function(r){arguments[0]=r=e.$handleEvent(r),e.passShow=!e.passShow}}})],1),a("v-uni-view",{staticClass:"input-wrap"},[a("v-uni-text",{staticClass:"iconfont iconyanzhengma"}),a("v-uni-input",{attrs:{type:"number",placeholder:"请输入验证码","placeholder-class":"placeholder",maxlength:"4"},on:{confirm:function(r){arguments[0]=r=e.$handleEvent(r),e.loginFn.apply(void 0,arguments)}},model:{value:e.formData.vercode,callback:function(r){e.$set(e.formData,"vercode",r)},expression:"formData.vercode"}}),a("v-uni-image",{staticClass:"captcha",attrs:{src:e.captcha.img},on:{click:function(r){arguments[0]=r=e.$handleEvent(r),e.getCaptchaFn.apply(void 0,arguments)}}})],1),a("v-uni-button",{staticClass:"login-btn primary-btn",attrs:{type:"default"},on:{click:function(r){arguments[0]=r=e.$handleEvent(r),e.loginFn.apply(void 0,arguments)}}},[e._v("登录")])],1)],1)],1)],1)},i=[]},"208c":function(e,r,a){var t=a("d178");t.__esModule&&(t=t.default),"string"===typeof t&&(t=[[e.i,t,""]]),t.locals&&(e.exports=t.locals);var n=a("967d").default;n("612296b0",t,!0,{sourceMap:!1,shadowMode:!1})},"34d7":function(e,r,a){"use strict";a.r(r);var t=a("6d30"),n=a.n(t);for(var i in t)["default"].indexOf(i)<0&&function(e){a.d(r,e,(function(){return t[e]}))}(i);r["default"]=n.a},"5d48":function(e,r,a){a("23f4"),a("7d2f"),a("5c47"),a("9c4e"),a("ab80"),a("0506"),a("64aa"),a("5ef2"),e.exports={error:"",check:function(e,r){for(var a=0;a<r.length;a++){if(!r[a].checkType)return!0;if(!r[a].name)return!0;if(!r[a].errorMsg)return!0;if(!e[r[a].name])return this.error=r[a].errorMsg,!1;switch(r[a].checkType){case"custom":if("function"==typeof r[a].validate&&!r[a].validate(e[r[a].name]))return this.error=r[a].errorMsg,!1;break;case"required":var t=new RegExp("/[S]+/");if(t.test(e[r[a].name]))return this.error=r[a].errorMsg,!1;break;case"string":t=new RegExp("^.{"+r[a].checkRule+"}$");if(!t.test(e[r[a].name]))return this.error=r[a].errorMsg,!1;break;case"int":t=new RegExp("^(-[1-9]|[1-9])[0-9]{"+r[a].checkRule+"}$");if(!t.test(e[r[a].name]))return this.error=r[a].errorMsg,!1;break;case"between":if(!this.isNumber(e[r[a].name]))return this.error=r[a].errorMsg,!1;var n=r[a].checkRule.split(",");if(n[0]=Number(n[0]),n[1]=Number(n[1]),e[r[a].name]>n[1]||e[r[a].name]<n[0])return this.error=r[a].errorMsg,!1;break;case"betweenD":t=/^-?[1-9][0-9]?$/;if(!t.test(e[r[a].name]))return this.error=r[a].errorMsg,!1;n=r[a].checkRule.split(",");if(n[0]=Number(n[0]),n[1]=Number(n[1]),e[r[a].name]>n[1]||e[r[a].name]<n[0])return this.error=r[a].errorMsg,!1;break;case"betweenF":t=/^-?[0-9][0-9]?.+[0-9]+$/;if(!t.test(e[r[a].name]))return this.error=r[a].errorMsg,!1;n=r[a].checkRule.split(",");if(n[0]=Number(n[0]),n[1]=Number(n[1]),e[r[a].name]>n[1]||e[r[a].name]<n[0])return this.error=r[a].errorMsg,!1;break;case"same":if(e[r[a].name]!=r[a].checkRule)return this.error=r[a].errorMsg,!1;break;case"notsame":if(e[r[a].name]==r[a].Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-marketing-coupon_detail"],{1768:function(t,e,a){"use strict";var i=a("ee0d"),o=a.n(i);o.a},"17a4":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(a("f342")),n=i(a("01ce")),s={components:{uniDataTable:n.default},mixins:[o.default]};e.default=s},"46b6":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addCoupon=function(t){return o.default.post("/coupon/storeapi/coupon/add",{data:t})},e.closeCoupon=function(t){return o.default.post("/coupon/storeapi/coupon/close",{data:{coupon_type_id:t}})},e.deleteCoupon=function(t){return o.default.post("/coupon/storeapi/coupon/delete",{data:{coupon_type_id:t}})},e.editCoupon=function(t){return o.default.post("/coupon/storeapi/coupon/edit",{data:t})},e.getCouponDetail=function(t){return o.default.post("/coupon/storeapi/coupon/detail",{data:{coupon_type_id:t}})},e.getReceiveCouponPageList=function(t){return o.default.post("/coupon/storeapi/membercoupon/getReceiveCouponPageList",{data:{coupon_type_id:t}})};var o=i(a("a3b5"))},"79ed":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("base-page",[a("v-uni-view",{staticClass:"coupons-detail"},[t.loading?t._e():a("v-uni-view",{staticClass:"common-wrap common-form fixd common-scrollbar"},[a("v-uni-view",{staticClass:"title-back flex items-center cursor-pointer",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.backFn.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont iconqianhou1"}),a("v-uni-text",{staticClass:"left"},[t._v("返回")]),a("v-uni-text",{staticClass:"content"},[t._v("|")]),a("v-uni-text",[t._v("优惠券详情")])],1),a("v-uni-view",{staticClass:"common-title"},[t._v("基本信息")]),a("v-uni-view",{staticClass:"flex flex-wrap"},[a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("优惠券名称:")]),a("v-uni-view",{staticClass:"form-input-inline"},[t._v(t._s(t.couponsData.coupon_name))])],1),a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("优惠券类型:")]),a("v-uni-view",{staticClass:"form-input-inline"},[t._v(t._s("reward"==t.couponsData.type?"满减":"折扣"))])],1),"reward"==t.couponsData.type?a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("优惠面额:")]),a("v-uni-view",{staticClass:"form-input-inline"},[t._v("¥"+t._s(t.couponsData.money)+"元")])],1):a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("优惠券折扣:")]),a("v-uni-view",{staticClass:"form-input-inline"},[t._v(t._s(t.couponsData.discount)+"折")])],1),"discount"==t.couponsData.type&&0!=t.couponsData.discount_limit?a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("最多优惠:")]),a("v-uni-view",{staticClass:"form-input-inline"},[t._v("¥"+t._s(t.couponsData.discount_limit)+"元")])],1):t._e(),a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("使用门槛:")]),a("v-uni-view",{staticClass:"form-input-inline"},[t._v("¥"+t._s(t.couponsData.at_least)+"元")])],1),a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("是否允许直接领取:")]),a("v-uni-view",{staticClass:"form-input-inline"},[t._v(t._s(1===t.couponsData.is_show?"是":"否"))])],1),a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("发放数量:")]),a("v-uni-view",{staticClass:"form-input-inline"},[t._v(t._s(0==t.couponsData.is_show||-1==t.couponsData.count?"无限制":t.couponsData.count+"张"))])],1),a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("最大领取数量:")]),0==t.couponsData.is_show||0==t.couponsData.max_fetch?a("v-uni-view",{staticClass:"form-input-inline"},[t._v("无领取限制")]):a("v-uni-view",{staticClass:"form-input-inline"},[t._v(t._s(t.couponsData.max_fetch)+"张/人")])],1),a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("有效期:")]),0==t.couponsData.validity_type?a("v-uni-view",{staticClass:"form-input-inline radio-list"},[t._v(t._s(t.couponsData.end_time))]):1==t.couponsData.validity_type?a("v-uni-view",{staticClass:"form-input-inline radio-list"},[t._v("领取后 "+t._s(t.couponsData.fixed_term)+"天 有效")]):a("v-uni-view",{staticClass:"form-input-inline radio-list"},[t._v("长期有效")])],1),a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[t._v("使用渠道:")]),a("v-uni-view",{staticClass:"form-input-inlineLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-marketing-coupon_list"],{"047b":function(t,e,i){"use strict";var a=i("14ef"),o=i.n(a);o.a},"13a9":function(t,e,i){"use strict";var a=i("7b74"),o=i.n(a);o.a},"14ef":function(t,e,i){var a=i("e1b9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("967d").default;o("0cc1d690",a,!0,{sourceMap:!1,shadowMode:!1})},1691:function(t,e,i){var a=i("d385");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("967d").default;o("55c5a510",a,!0,{sourceMap:!1,shadowMode:!1})},"1a25":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}));var a={selectLay:i("7bf9").default,nsPromotionPopup:i("c13e").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("base-page",[i("v-uni-view",{staticClass:"coupons-list"},[i("v-uni-view",{staticClass:"add-coupons"},[i("v-uni-button",{staticClass:"screen-btn",attrs:{type:"default"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.add.apply(void 0,arguments)}}},[t._v("添加优惠券")])],1),i("v-uni-view",{staticClass:"screen-warp common-form"},[i("v-uni-view",{staticClass:"common-form-item"},[i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-label",{staticClass:"form-label"},[t._v("优惠券名称")]),i("v-uni-view",{staticClass:"form-input-inline"},[i("v-uni-input",{staticClass:"form-input",attrs:{type:"text",placeholder:"请输入优惠券名称"},model:{value:t.option.coupon_name,callback:function(e){t.$set(t.option,"coupon_name",e)},expression:"option.coupon_name"}})],1)],1),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-label",{staticClass:"form-label"},[t._v("优惠券类型")]),i("v-uni-view",{staticClass:"form-input-inline border-0"},[i("select-lay",{attrs:{zindex:10,value:t.option.type,name:"type",placeholder:"请选择优惠券类型",options:t.typeList},on:{selectitem:function(e){arguments[0]=e=t.$handleEvent(e),t.selectCouponsType.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-label",{staticClass:"form-label"},[t._v("优惠券状态")]),i("v-uni-view",{staticClass:"form-input-inline border-0"},[i("select-lay",{attrs:{zindex:9,value:t.option.status,name:"status",placeholder:"请选择优惠券状态",options:t.statusList},on:{selectitem:function(e){arguments[0]=e=t.$handleEvent(e),t.selectStatus.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-label",{staticClass:"form-label"},[t._v("适用场景")]),i("v-uni-view",{staticClass:"form-input-inline border-0"},[i("select-lay",{attrs:{zindex:9,value:t.option.use_channel,name:"status",placeholder:"请选择优惠券状态",options:t.useChannelList},on:{selectitem:function(e){arguments[0]=e=t.$handleEvent(e),t.selectUseChannel.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"form-inline common-btn-wrap"},[i("v-uni-button",{staticClass:"screen-btn",attrs:{type:"default"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.searchFn()}}},[t._v("筛选")]),i("v-uni-button",{attrs:{type:"default"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.resetFn()}}},[t._v("重置")])],1)],1)],1),i("uniDataTable",{ref:"couponListTable",attrs:{url:"/coupon/storeapi/coupon/lists",option:t.option,cols:t.cols},scopedSlots:t._u([{key:"action",fn:function(e){return[i("v-uni-view",{staticClass:"action-btn-wrap"},["1"==e.value.status?i("v-uni-text",{staticClass:"action-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.promotion(e.value.coupon_type_id)}}},[t._v("推广")]):t._e(),"1"==e.value.status&&t.globalStoreInfo.store_id===e.value.store_id?i("v-uni-text",{staticClass:"action-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.edit(e.value.coupon_type_id)}}},[t._v("编辑")]):t._e(),i("v-uni-text",{staticClass:"action-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.detail(e.value.coupon_type_id)}}},[t._v("详情")]),"1"==e.value.status&&t.globalStoreInfo.store_id===e.value.store_id?i("v-uni-text",{staticClass:"action-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closeOpen(e.value.coupon_type_id)}}},[t._v("关闭")]):t._e(),"1"!=e.value.status&&t.globalStoreInfo.store_id===e.value.store_id?i("v-uni-text",{staticClass:"action-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.deleteOpen(e.value.coupon_type_id)}}},[t._v("删除")]):t._e()],1)]}}])})],1),i("ns-promotion-popup",{ref:"promotionPop"}),i("unipopup",{ref:"closeCouponsPop",attrs:{type:"center"}},[i("v-uni-view",{staticClass:"confirm-pop"},[i("v-uni-view",{staticClass:"title"},[t._v("确定要关闭该优惠券吗?")]),i("v-uni-view",{staticClass:"btn"},[i("v-uni-button",{staticClass:"default-btn btn save",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.closeCouponsPop.close()}}},[t._v("取消")Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-marketing-edit_coupon","pages-stock-edit_allocate~pages-stock-edit_check~pages-stock-stockin~pages-stock-stockout"],{"084b":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.editGoods=function(t){return o.default.post("/cashier/storeapi/goods/editgoods",{data:t})},e.exportPrintPriceTagData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.post("/cashier/storeapi/goods/exportPrintPriceTagData",{data:t})},e.getElectronicScaleInformation=function(){return o.default.post("/scale/storeapi/scale/cashierscale")},e.getGoodsCategory=function(t){return o.default.post("/cashier/storeapi/goods/category",{data:t})},e.getGoodsDetail=function(t){return o.default.post("/cashier/storeapi/goods/detail",{data:{goods_id:t}})},e.getGoodsInfoByCode=function(t){return o.default.post("/cashier/storeapi/goods/skuinfo",{data:{sku_no:t}})},e.getGoodsList=function(t){return o.default.post("/cashier/storeapi/goods/page",{data:t})},e.getGoodsSceen=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.post("/cashier/storeapi/goods/screen",{data:t})},e.getGoodsSkuList=function(t){return o.default.post("/cashier/storeapi/goods/skulist",{data:{goods_id:t}})},e.getManageGoodsCategory=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.post("/stock/storeapi/manage/getGoodsCategory",{data:t})},e.getServiceCategory=function(t){return o.default.post("/cashier/storeapi/service/category",{data:t})},e.getServiceList=function(t){return o.default.post("/cashier/storeapi/service/page",{data:t})},e.getSkuListBySelect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.post("/cashier/storeapi/goods/getSkuListBySelect",{data:t})},e.setGoodsLocalRestrictions=function(t){return o.default.post("/cashier/storeapi/goods/setGoodsLocalRestrictions",{data:t})},e.setGoodsStatus=function(t){return o.default.post("/cashier/storeapi/goods/setstatus",{data:t})};var o=i(a("a3b5"))},"0ca8":function(t,e,a){var i=a("8f57");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("967d").default;o("98c102e2",i,!0,{sourceMap:!1,shadowMode:!1})},"0f88":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-8640f25c]{display:none}\r\n/* 收银台相关 */uni-text[data-v-8640f25c],\r\nuni-view[data-v-8640f25c]{font-size:.14rem}body[data-v-8640f25c]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-8640f25c]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-8640f25c]::-webkit-scrollbar-button{display:none}body[data-v-8640f25c]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-8640f25c]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-8640f25c]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-8640f25c]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-8640f25c]{color:var(--primary-color)!important}.coupons-form[data-v-8640f25c]{position:relative}.coupons-form .common-wrap.fixd[data-v-8640f25c]{padding:%?30?%;height:calc(100vh - .4rem);overflow-y:auto;box-sizing:border-box}.coupons-form .common-wrap.fixd .form-label[data-v-8640f25c]{width:1.7rem!important}.coupons-form .common-wrap.fixd .form-input-inline[data-v-8640f25c] .uni-select{border:none}.coupons-form .common-wrap.fixd .common-btn-wrap[data-v-8640f25c]{position:absolute;left:0;bottom:0;right:0;padding:.24rem .2rem}.coupons-form .common-wrap.fixd .form-word-aux-line[data-v-8640f25c]{margin-left:1.7rem!important}.coupons-form .common-wrap.fixd .form-word-aux-line .gooods_select[data-v-8640f25c]{margin:0Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-member-list"],{"045a":function(e,t,i){e.exports=i.p+"static/member/icon-member-info.png"},"0829":function(e,t,i){var a=i("6531");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("1398b8de",a,!0,{sourceMap:!1,shadowMode:!1})},1691:function(e,t,i){var a=i("d385");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("55c5a510",a,!0,{sourceMap:!1,shadowMode:!1})},"1a63":function(e,t,i){"use strict";var a=i("d751"),n=i.n(a);n.a},"1bcf":function(e,t,i){e.exports=i.p+"static/member/icon-member-point.png"},2647:function(e,t,i){"use strict";i.r(t);var a=i("af52"),n=i("4e2a");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("ac88");var r=i("828b"),s=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"62b35c8d",null,!1,a["a"],void 0);t["default"]=s.exports},3005:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.addMember=function(e){return n.default.post("/cashier/storeapi/member/addmember",{data:e})},t.applyingMembershipCard=function(e){return n.default.post("/cashier/storeapi/member/handleMember",{data:e})},t.checkMemberVerifyCode=function(e){return n.default.post("/cashier/storeapi/member/checksmscode",{data:e})},t.editMember=function(e){return n.default.post("/cashier/storeapi/member/editmember",{data:e})},t.getCouponTypeList=function(e){return n.default.post("/coupon/storeapi/coupon/getStoreCouponTypeList",{data:e})},t.getMemberCardDetail=function(e){return n.default.post("/cardservice/storeapi/membercard/detail",{data:e})},t.getMemberCardList=function(e){return n.default.post("/cardservice/storeapi/membercard/lists",{data:e})},t.getMemberInfoById=function(e){return n.default.post("/cashier/storeapi/member/info",{data:{member_id:e}})},t.getMemberInfoBySearchMember=function(e){return n.default.post("/cashier/storeapi/member/searchmember",{data:e})},t.getMemberLevelList=function(){return n.default.post("/cashier/storeapi/memberlevel/lists")},t.getMemberList=function(e){return n.default.post("/cashier/storeapi/member/lists",{data:e})},t.modifyMemberBalance=function(e){return n.default.post("/cashier/storeapi/member/modifybalance",{data:e})},t.modifyMemberGrowth=function(e){return n.default.post("/cashier/storeapi/member/modifygrowth",{data:e})},t.modifyMemberPoint=function(e){return n.default.post("/cashier/storeapi/member/modifypoint",{data:e})},t.searchMemberByMobile=function(e){return n.default.post("/cashier/storeapi/member/searchMemberByMobile",{data:e})},t.sendMemberCoupon=function(e){return n.default.post("/cashier/storeapi/member/sendCoupon",{data:e})},t.sendMemberVerifyCode=function(e){return n.default.post("/cashier/storeapi/member/memberverifycode",{data:{member_id:e}})};var n=a(i("a3b5"))},"34ba":function(e,t,i){e.exports=i.p+"static/member/icon-member-growth.png"},"388b":function(e,t,i){"use strict";i.r(t);var a=i("9b3b"),n=i("e355");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("9021"),i("47da");var r=i("828b"),s=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"46aa55b2",null,!1,a["a"],void 0);t["default"]=s.exports},3891:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("01ce")),o=a(i("ebb0")),r=a(i("9c5d")),s={components:{dataTable:n.default,nsMemberCardRecord:o.default},mixins:[r.default]};t.default=s},"3d0c":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"uni-data-checklist",style:{"margin-top":e.isTop+"px"}},[[e.multiple?i("v-uni-checkbox-group",{staticClass:"checklist-group",class:{"is-list":"list"===e.mode||e.wrap},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.chagne.apply(void 0,arguments)}}},e._l(e.dataList,(function(t,a){return i("v-uni-label",{key:a,staticClass:"checklist-box",class:["is--"+e.mode,t.selected?"is-checked":"",e.disabled||t.disabled?"is-disable":"",0!==a&&"list"===e.mode?"is-list-border":""],style:t.styleBackgroud},[i("v-uni-checkbox",{staticClass:"hidden",attrs:{hidden:!0,disabled:e.disabled||!!t.disabled,value:t[e.map.value]+"",checked:t.selected}}),"tag"!==e.mode&&"list"!==e.mode||"list"===e.mode&&"left"===e.icon?i("v-uni-view",{staticClass:"checkbox__inner",style:t.styleIcon},[i("v-uni-view",{staticClass:"checkbox__inner-icon"})],1):e._e(),i("v-uni-view",{staticClass:"checklist-content",class:{"list-content":"list"===e.mode&&"left"===e.icon}},[i("v-uni-text",{staticClass:"checklist-text",style:t.styleIconText},[e._v(e._s(t[e.map.text]))]),"list"===e.mode&&"right"===e.icon?i("v-uni-view",{staticClass:"checkobx__list",style:t.styleBackgroud}):eLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-orderlist"],{"01e5":function(e,t,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.getExpressCompanyList=function(){return r.default.post("/cashier/storeapi/order/expresscompany")},t.getOrderDeliverList=function(e){return r.default.post("/cashier/storeapi/order/deliverlist",{data:e})},t.getOrderDetail=function(e){return r.default.post("/cashier/storeapi/cashierorder/detail",{data:e})},t.getOrderInfoById=function(e){return r.default.post("/cashier/storeapi/order/info",{data:{order_id:e}})},t.getOrderList=function(e){return r.default.post("/cashier/storeapi/cashierorder/lists",{data:e})},t.getorderCondition=function(){return r.default.post("/cashier/storeapi/order/condition")},t.orderAdjustPrice=function(e){return r.default.post("/cashier/storeapi/cashierorder/adjustPrice",{data:e})},t.orderClose=function(e){return r.default.post("/cashier/storeapi/order/close",{data:e})},t.orderExpressDelivery=function(e){return r.default.post("/cashier/storeapi/order/expressdelivery",{data:e})},t.orderLocalDelivery=function(e){return r.default.post("/cashier/storeapi/order/localdelivery",{data:e})},t.orderPrintTicket=function(e){var t={order_id:e},i=a.default.getLocalConfig();return t.printer_ids="all"==i.printerSelectType?"all":i.printerSelectIds.toString(),r.default.post("/cashier/storeapi/cashierorder/printticket",{data:t})},t.orderRemark=function(e){return r.default.post("/cashier/storeapi/cashierorder/orderRemark",{data:e})},t.orderStoreDelivery=function(e){return r.default.post("/cashier/storeapi/order/storedelivery",{data:{order_id:e}})},i("c9b5"),i("bf0f"),i("ab80");var r=o(i("a3b5")),a=o(i("3885"))},"02b6":function(e,t,i){"use strict";var o=i("d6a7"),r=i.n(o);r.a},"0a3c":function(e,t,i){var o=i("b65e");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var r=i("967d").default;r("6d654412",o,!0,{sourceMap:!1,shadowMode:!1})},1691:function(e,t,i){var o=i("d385");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var r=i("967d").default;r("55c5a510",o,!0,{sourceMap:!1,shadowMode:!1})},"19ff":function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){}));var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"journal"},e._l(e.list,(function(t,o){return i("v-uni-view",{key:o,staticClass:"item"},[i("v-uni-view",{staticClass:"time"},[i("v-uni-view",[e._v(e._s(e.$util.timeFormat(t.action_time).split(" ")[0]))]),i("v-uni-view",[e._v(e._s(e.$util.timeFormat(t.action_time).split(" ")[1]))])],1),i("v-uni-view",{staticClass:"unit"},[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"core"}),i("v-uni-view",{staticClass:"unit-separate"})],1)],1),i("v-uni-view",{staticClass:"message"},[e._v(e._s(t.action))])],1)})),1)},r=[]},"27a9":function(e,t,i){"use strict";i.r(t);var o=i("89ad"),r=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(a);t["default"]=r.a},"3b1d":function(e,t,i){var o=i("c86c");t=o(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-16008ec4]{display:none}\r\n/* 收银台相关 */uni-text[data-v-16008ec4],\r\nuni-view[data-v-16008ec4]{font-size:.14rem}body[data-v-16008ec4]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-16008ec4]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-16008ec4]::-webkit-scrollbar-button{display:none}body[data-v-16008ec4]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-16008ec4]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-16008ec4]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-16008ec4]{-wLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-orderrefund"],{"0a3c":function(e,t,i){var o=i("b65e");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var r=i("967d").default;r("6d654412",o,!0,{sourceMap:!1,shadowMode:!1})},1265:function(e,t,i){var o=i("6b92");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var r=i("967d").default;r("246fdd79",o,!0,{sourceMap:!1,shadowMode:!1})},"19ff":function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){}));var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"journal"},e._l(e.list,(function(t,o){return i("v-uni-view",{key:o,staticClass:"item"},[i("v-uni-view",{staticClass:"time"},[i("v-uni-view",[e._v(e._s(e.$util.timeFormat(t.action_time).split(" ")[0]))]),i("v-uni-view",[e._v(e._s(e.$util.timeFormat(t.action_time).split(" ")[1]))])],1),i("v-uni-view",{staticClass:"unit"},[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"core"}),i("v-uni-view",{staticClass:"unit-separate"})],1)],1),i("v-uni-view",{staticClass:"message"},[e._v(e._s(t.action))])],1)})),1)},r=[]},"25bd":function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return o}));var o={nsOrderLog:i("9d96").default},r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("base-page",[o("v-uni-view",{staticClass:"goodslist"},[o("v-uni-view",{staticClass:"goodslist-box"},[o("v-uni-view",{staticClass:"goodslist-left"},[o("v-uni-view",{staticClass:"goods-title"},[e._v("退款维权"),o("v-uni-text",{staticClass:"iconfont icongengduo1"})],1),o("v-uni-view",{staticClass:"goods-search"},[o("v-uni-view",{staticClass:"search"},[o("v-uni-text",{staticClass:"iconfont icon31sousuo"}),o("v-uni-input",{attrs:{type:"text",placeholder:"搜索订单号/商品名称"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.search.apply(void 0,arguments)}},model:{value:e.search_text,callback:function(t){e.search_text=t},expression:"search_text"}})],1)],1),!e.one_judge&&e.order_list.length>0?[o("v-uni-scroll-view",{staticClass:"goods-list-scroll",attrs:{"scroll-top":e.scrollTop,"scroll-y":"true","show-scrollbar":!1},on:{scroll:function(t){arguments[0]=t=e.$handleEvent(t),e.scroll.apply(void 0,arguments)},scrolltolower:function(t){arguments[0]=t=e.$handleEvent(t),e.getOrderList.apply(void 0,arguments)}}},e._l(e.order_list,(function(t,i){return o("v-uni-view",{key:i,staticClass:"item",class:i==e.selectGoodsKeys?"itemhover":"",on:{click:function(o){arguments[0]=o=e.$handleEvent(o),e.getOrderDetail(t.order_goods_id,i)}}},[o("v-uni-view",{staticClass:"title"},[o("v-uni-view",[e._v("退款编号:"+e._s(t.order_no))]),o("v-uni-view",[e._v(e._s(t.order_type_name))])],1),o("v-uni-view",{staticClass:"total-money-num"},[o("v-uni-view",{staticClass:"box"},[o("v-uni-view",[e._v("订单金额")]),o("v-uni-view",[e._v("¥"+e._s(t.real_goods_money))])],1),o("v-uni-view",{staticClass:"box"},[o("v-uni-view",[e._v("退款金额")]),o("v-uni-view",[e._v("¥"+e._s(t.refund_apply_money))])],1)],1),o("v-uni-view",{staticClass:"total-money-num"},[o("v-uni-view",{staticClass:"member-info"},[o("v-uni-view",[e._v("退款状态:")]),o("v-uni-view",[e._v(e._s(t.refund_status_name)+"("+e._s(1==t.refund_type?"仅退款":"退款退货")+")")])],1)],1)],1)})),1)]:e.one_judge||0!=e.order_list.length?e._e():o("v-uni-view",{staticClass:"notYet"},[e._v("暂无数据")])],2),o("v-uni-view",{staticClass:"goodslist-right"},[o("v-uni-view",{staticClass:"goods-title"},[e._v("订单详情")]),Object.keys(e.order_detail).length?o("v-uni-view",{staticClass:"order-information tab-wrap"},[o("v-uni-view",{staticClass:"tab-head"},e._l(e.tabObj.list,(function(t,i){return o("v-uni-text",{key:i,class:{active:e.tabObj.index==t.value},on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.tabObj.index=t.value}}},[e._v(e._s(t.name))])})),1),o("v-uni-view",{staticClass:"tab-content"},[1==e.tabObj.index?o("v-uni-view",{staticClass:"other-information"},[o("v-uni-view",{staticClass:"item-box"},[o("v-uni-view",{staticClass:"item"},[o("v-uni-view",[e._v("买家:")]),e.order_detail.nickname?o("v-uni-view",[e._v(e._s(e.order_detail.nickname))]):o("v-uni-view",[e._v("散客")])],1),o("v-uni-view",{staticClass:"item"},[o("v-uni-view",[e._v("退款编号:")]),o("v-uni-view",[e._v(e._s(e.order_detail.refund_no))])],1),o("v-uni-view",{staticClass:"item"},[o("v-uni-view",[e._v("申请时间:")]),o("v-uni-view",[e._v(e._s(e.$util.timeFormat(e.order_detail.refund_action_time)))])],1),o("v-uni-view",{staticClass:"item"},[o("v-uni-view",[e._v("维权类型:")]),o("v-uni-view",[e._v(e._s(e.order_detail.refund_mode>1?"售后":"退款"))])],1),o("v-uni-view",{staticClass:"item"},[o("v-uni-view",[e._v("退款方式:")]),o("v-uni-view",[e._v(e._s(1==e.order_detail.shop_active_Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-rechargeorder"],{"16e9":function(e,t,o){var i=o("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-76d165de]{display:none}\r\n/* 收银台相关 */uni-text[data-v-76d165de],\r\nuni-view[data-v-76d165de]{font-size:.14rem}body[data-v-76d165de]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-76d165de]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-76d165de]::-webkit-scrollbar-button{display:none}body[data-v-76d165de]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-76d165de]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-76d165de]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-76d165de]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-76d165de]{color:var(--primary-color)!important}.goodslist[data-v-76d165de]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box}.goodslist .goodslist-box[data-v-76d165de]{width:100%;height:100%;background:#fff;display:flex}.goodslist .goodslist-box .goodslist-left[data-v-76d165de]{width:5rem;height:100%;border-right:.01rem solid #e6e6e6;box-sizing:border-box;overflow:hidden;position:relative}.goodslist .goodslist-box .goodslist-left .notYet[data-v-76d165de]{color:#e6e6e6;font-size:.4rem;margin-top:3rem;text-align:center}.goodslist .goodslist-box .goodslist-left .screen-content[data-v-76d165de]{padding:.1rem 0;box-sizing:border-box;display:flex;flex-direction:column;height:calc(100% - .6rem)}.goodslist .goodslist-box .goodslist-left .screen-content .search-btn[data-v-76d165de]{display:flex;align-items:center;padding:.2rem .2rem;background-color:#fff;box-shadow:0 -.02rem .05rem #e5e5e5}.goodslist .goodslist-box .goodslist-left .screen-content .search-btn .btn[data-v-76d165de]{flex:1;font-size:.18rem;line-height:.5rem;text-align:center;background-color:#f2f3f5;border-radius:.5rem;cursor:pointer}.goodslist .goodslist-box .goodslist-left .screen-content .search-btn .btn[data-v-76d165de]:last-child{color:#fff;background-color:var(--primary-color);margin-left:.15rem}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box[data-v-76d165de]{padding:0 .2rem;flex:1;height:0;box-sizing:border-box}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box[data-v-76d165de] .uni-scroll-view::-webkit-scrollbar{display:none}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box .screen-item[data-v-76d165de]{margin:.2rem 0}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box .screen-item .tit[data-v-76d165de]{font-weight:700;font-size:.16rem}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box .screen-item .values[data-v-76d165de]{margin-top:.16rem;display:flex;flex-wrap:wrap}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box .screen-item .values .value[data-v-76d165de]{cursor:pointer;font-size:.15rem;line-height:1;padding:.12rem .24rem;background-color:#f2f3f5;border-radius:.5rem;margin-right:.14rem;margin-bottom:.2rem}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box .screen-item .values .value.active[data-v-76d165de]{color:#fff;background-color:var(--primary-color)}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box .screen-item .values .time-range[data-v-76d165de]{display:flex;align-items:center;margin-bottom:.2rem}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box .screen-item .values .time-range .line[data-v-76d165de]{margin:0 .1rem}.goodslist .goodslist-box .goodslist-left .screen-content .screen-box .screen-item .values .time-value[data-v-76d165de] {cursor:pointer;font-size:.15rem;line-height:1;padding:.12rem .1rem;background-color:#f2f3f5;Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-printer-add"],{"0d8b":function(e,t,a){"use strict";a.r(t);var i=a("ee2f"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);t["default"]=n.a},"32a9":function(e,t,a){"use strict";var i=a("a62a"),n=a.n(i);n.a},"55c1":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return i}));var i={uniIcons:a("6f18").default},n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"uni-stat__select"},[e.label?a("span",{staticClass:"uni-label-text hide-on-phone"},[e._v(e._s(e.label+":"))]):e._e(),a("v-uni-view",{staticClass:"uni-stat-box",class:{"uni-stat__actived":e.current}},[a("v-uni-view",{staticClass:"uni-select",class:{"uni-select--disabled":e.disabled}},[a("v-uni-view",{staticClass:"uni-select__input-box",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toggleSelector.apply(void 0,arguments)}}},[e.current?a("v-uni-view",{staticClass:"uni-select__input-text"},[e._v(e._s(e.current))]):a("v-uni-view",{staticClass:"uni-select__input-text uni-select__input-placeholder"},[e._v(e._s(e.typePlaceholder))]),e.current&&e.clear?a("uni-icons",{attrs:{type:"clear",color:"#c0c4cc",size:"24"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clearVal.apply(void 0,arguments)}}}):a("uni-icons",{attrs:{type:e.showSelector?"top":"bottom",size:"14",color:"#999"}})],1),e.showSelector?a("v-uni-view",{staticClass:"uni-select--mask",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toggleSelector.apply(void 0,arguments)}}}):e._e(),e.showSelector?a("v-uni-view",{staticClass:"uni-select__selector"},[a("v-uni-view",{staticClass:"uni-popper__arrow"}),a("v-uni-scroll-view",{staticClass:"uni-select__selector-scroll",attrs:{"scroll-y":"true"}},[0===e.mixinDatacomResData.length?a("v-uni-view",{staticClass:"uni-select__selector-empty"},[a("v-uni-text",[e._v(e._s(e.emptyTips))])],1):e._l(e.mixinDatacomResData,(function(t,i){return a("v-uni-view",{key:i,staticClass:"uni-select__selector-item",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.change(t)}}},[a("v-uni-text",{class:{"uni-select__selector__disabled":t.disable}},[e._v(e._s(e.formatItemName(t)))])],1)}))],2)],1):e._e()],1)],1)],1)},r=[]},"6f40":function(e,t,a){"use strict";var i=a("fb12"),n=a.n(i);n.a},"8e12":function(e,t,a){var i=a("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-56419d78]{display:none}\r\n/* 收银台相关 */uni-text[data-v-56419d78],\r\nuni-view[data-v-56419d78]{font-size:.14rem}body[data-v-56419d78]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-56419d78]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-56419d78]::-webkit-scrollbar-button{display:none}body[data-v-56419d78]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-56419d78]::-webkit-scrollbar-track{background-color:initial}.printer .common-wrap[data-v-56419d78]{height:100%;overflow:auto}.printer .common-wrap[data-v-56419d78]::-webkit-scrollbar{width:.06rem;height:.06rem}.printer .common-wrap[data-v-56419d78]::-webkit-scrollbar-button{display:none}.printer .common-wrap[data-v-56419d78]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}.printer .common-wrap[data-v-56419d78]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-56419d78]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-56419d78]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-56419d78]{color:var(--primary-color)!important}.common-title[data-v-56419d78]{font-size:.18rem;margin-bottom:.2rem}[data-v-56419d78] .uni-select{border-width:0;border-radius:0}.printer[data-v-Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-printer-list"],{"206e":function(t,i,e){"use strict";e.r(i);var r=e("8a60"),n=e("e26b");for(var a in n)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(a);e("24d4");var s=e("828b"),l=Object(s["a"])(n["default"],r["b"],r["c"],!1,null,"2acf7057",null,!1,r["a"],void 0);i["default"]=l.exports},"24d4":function(t,i,e){"use strict";var r=e("b704"),n=e.n(r);n.a},"3cc3":function(t,i,e){var r=e("c86c");i=r(!1),i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-2acf7057]{display:none}\r\n/* 收银台相关 */uni-text[data-v-2acf7057],\r\nuni-view[data-v-2acf7057]{font-size:.14rem}body[data-v-2acf7057]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-2acf7057]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-2acf7057]::-webkit-scrollbar-button{display:none}body[data-v-2acf7057]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-2acf7057]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-2acf7057]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-2acf7057]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-2acf7057]{color:var(--primary-color)!important}.printerlist[data-v-2acf7057]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box}.printerlist .printerlist-box[data-v-2acf7057]{width:100%;height:100%;background:#fff;display:flex}.printerlist .printerlist-box .printerlist-left[data-v-2acf7057]{width:5rem;height:100%;border-right:.01rem solid #e6e6e6;box-sizing:border-box;display:flex;flex-direction:column}.printerlist .printerlist-box .printerlist-left .notYet[data-v-2acf7057]{color:#e6e6e6;font-size:.4rem;margin-top:3rem;text-align:center}.printerlist .printerlist-box .printerlist-left .add-printer[data-v-2acf7057]{padding:.24rem .2rem;background:#fff}.printerlist .printerlist-box .printerlist-left .add-printer uni-button[data-v-2acf7057]{height:.4rem;line-height:.4rem}.printerlist .printerlist-box .printerlist-left .printer-title[data-v-2acf7057]{text-align:center;line-height:.6rem;font-size:.18rem;font-weight:500;height:.6rem;border-bottom:.01rem solid #e6e6e6;box-sizing:border-box;position:relative}.printerlist .printerlist-box .printerlist-left .printer-title .icongengduo1[data-v-2acf7057]{position:absolute;top:50%;right:.2rem;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:.3rem;color:var(--primary-color)}.printerlist .printerlist-box .printerlist-left .printer-list-wrap[data-v-2acf7057]{flex:1;height:0}.printerlist .printerlist-box .printerlist-left .printer-list-scroll[data-v-2acf7057]{width:100%;height:100%}.printerlist .printerlist-box .printerlist-left .printer-list-scroll .itemhover[data-v-2acf7057]{background:var(--primary-color-light-9)}.printerlist .printerlist-box .printerlist-left .printer-list-scroll .item[data-v-2acf7057]{width:100%;display:flex;align-items:center;padding:.2rem;box-sizing:border-box;border-bottom:.01rem solid #e6e6e6}.printerlist .printerlist-box .printerlist-left .printer-list-scroll .item uni-image[data-v-2acf7057]{width:.7rem;height:.7rem;margin-right:.1rem}.printerlist .printerlist-box .printerlist-left .printer-list-scroll .item .item-right[data-v-2acf7057]{display:flex;flex-direction:column;justify-content:space-between;height:.6rem}.printerlist .printerlist-box .printerlist-left .printer-list-scroll .item .item-right .printer-name[data-v-2acf7057]{font-size:.16rem}.printerlist .printerlist-box .printerlist-left .printer-list-scroll .item .item-right .printer-money[data-v-2acf7057]{font-size:.14rem}.printerlist .printerlist-box .printerlist-right[data-v-2acf7057]{width:0;flex:1;height:100%;box-sizing:border-box;position:relative}.printerlist .printerlist-box .prLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-recharge-index"],{"01e5":function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.getExpressCompanyList=function(){return n.default.post("/cashier/storeapi/order/expresscompany")},t.getOrderDeliverList=function(e){return n.default.post("/cashier/storeapi/order/deliverlist",{data:e})},t.getOrderDetail=function(e){return n.default.post("/cashier/storeapi/cashierorder/detail",{data:e})},t.getOrderInfoById=function(e){return n.default.post("/cashier/storeapi/order/info",{data:{order_id:e}})},t.getOrderList=function(e){return n.default.post("/cashier/storeapi/cashierorder/lists",{data:e})},t.getorderCondition=function(){return n.default.post("/cashier/storeapi/order/condition")},t.orderAdjustPrice=function(e){return n.default.post("/cashier/storeapi/cashierorder/adjustPrice",{data:e})},t.orderClose=function(e){return n.default.post("/cashier/storeapi/order/close",{data:e})},t.orderExpressDelivery=function(e){return n.default.post("/cashier/storeapi/order/expressdelivery",{data:e})},t.orderLocalDelivery=function(e){return n.default.post("/cashier/storeapi/order/localdelivery",{data:e})},t.orderPrintTicket=function(e){var t={order_id:e},i=r.default.getLocalConfig();return t.printer_ids="all"==i.printerSelectType?"all":i.printerSelectIds.toString(),n.default.post("/cashier/storeapi/cashierorder/printticket",{data:t})},t.orderRemark=function(e){return n.default.post("/cashier/storeapi/cashierorder/orderRemark",{data:e})},t.orderStoreDelivery=function(e){return n.default.post("/cashier/storeapi/order/storedelivery",{data:{order_id:e}})},i("c9b5"),i("bf0f"),i("ab80");var n=a(i("a3b5")),r=a(i("3885"))},"0523":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-342b5f82]{display:none}\r\n/* 收银台相关 */uni-text[data-v-342b5f82],\r\nuni-view[data-v-342b5f82]{font-size:.14rem}body[data-v-342b5f82]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-342b5f82]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-342b5f82]::-webkit-scrollbar-button{display:none}body[data-v-342b5f82]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-342b5f82]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-342b5f82]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-342b5f82]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-342b5f82]{color:var(--primary-color)!important}.container[data-v-342b5f82]{width:100%;height:100%}.container > uni-view[data-v-342b5f82]{width:100%;height:100%}.payment-wrap .header[data-v-342b5f82]{height:.66rem;display:flex;align-items:center;border-bottom:.01rem solid #e6e6e6}.payment-wrap .body[data-v-342b5f82]{flex:1;height:0;padding:.15rem 0;box-sizing:border-box;display:flex}.payment-wrap .info-wrap[data-v-342b5f82]{flex:1;width:0;margin-right:.15rem;display:flex;flex-direction:column}.payment-wrap .info-wrap .info[data-v-342b5f82]{flex:1;height:0;background-color:#f7f8fa;padding-bottom:.15rem;box-sizing:border-box}.payment-wrap .info-wrap .info[data-v-342b5f82] .uni-scroll-view-content{margin:0 .15rem;width:calc(100% - .3rem);box-sizing:border-box}.payment-wrap .info-wrap .info .payment-money[data-v-342b5f82]{text-align:right;font-size:.2rem;border-bottom:.01rem solid #e6e6e6;line-height:.6rem}.payment-wrap .info-wrap .info .title[data-v-342b5f82]{line-height:.6rem;font-size:.16rem}.payment-wrap .info-wrap .info .uni-flex[data-v-342b5f82]{flex-wrap:wrap}.payment-wrap .info-wrap .info .type-item[data-v-342b5f82]{padding:.2rem .1rem;background:#fff;border:.01rem solid #e6e6e6;display:flex;align-items:center;font-size:.16rem;margin:0 .1rem .1rem 0;width:calc((100% - .86rem) / 3);line-height:1;cursor:pointLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-refund-list"],{"57ba":function(t,i,e){"use strict";e("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("c223");var o=e("dbe8"),s={data:function(){return{refundIndex:0,list:[],page:1,page_size:8,search_text:"",refund_list:[],refund_detail:null}},onLoad:function(t){this.getRefundList()},methods:{search:function(){this.page=1,this.refund_list=[],this.getRefundList()},getRefundList:function(){var t=this;(0,o.getOrderRefundLists)({page:this.page,page_size:this.page_size,search_text:this.search_text}).then((function(i){0==i.data.list.length&&(t.refund_detail=null),i.code>=0&&0!=i.data.list.length&&(0==t.refund_list.length?t.refund_list=i.data.list:t.refund_list=t.refund_list.concat(i.data.list),1==t.page&&t.getRefundDetail(t.refund_list[0].refund_id),t.page+=1)}))},getRefundDetail:function(t){var i=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.refundIndex=e,(0,o.getOrderRefundDetail)({refund_id:t}).then((function(t){t.code>=0&&(i.refund_detail=t.data)}))}}};i.default=s},6605:function(t,i,e){"use strict";var o=e("bdc3"),s=e.n(o);s.a},ad8c:function(t,i,e){"use strict";e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){}));var o=function(){var t=this,i=t.$createElement,o=t._self._c||i;return o("base-page",[o("v-uni-view",{staticClass:"goodslist"},[o("v-uni-view",{staticClass:"goodslist-box"},[o("v-uni-view",{staticClass:"goodslist-left"},[o("v-uni-view",{staticClass:"goods-title"},[t._v("退款记录"),o("v-uni-text",{staticClass:"iconfont icongengduo1"})],1),o("v-uni-view",{staticClass:"goods-search"},[o("v-uni-view",{staticClass:"search"},[o("v-uni-text",{staticClass:"iconfont icon31sousuo"}),o("v-uni-input",{attrs:{type:"text",placeholder:"搜索退款编号/订单号/客户手机号"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.search.apply(void 0,arguments)}},model:{value:t.search_text,callback:function(i){t.search_text=i},expression:"search_text"}})],1)],1),t.refund_list.length>0?[o("v-uni-scroll-view",{staticClass:"goods-list-scroll",attrs:{"scroll-y":"true","show-scrollbar":!1},on:{scrolltolower:function(i){arguments[0]=i=t.$handleEvent(i),t.getRefundList.apply(void 0,arguments)}}},t._l(t.refund_list,(function(i,e){return o("v-uni-view",{key:e,staticClass:"item",class:e==t.refundIndex?"itemhover":"",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.getRefundDetail(i.refund_id,e)}}},[o("v-uni-view",{staticClass:"title"},[o("v-uni-view",[t._v("退款编号:"+t._s(i.refund_no))]),o("v-uni-view",[t._v(t._s(i.refund_status_name))])],1),o("v-uni-view",{staticClass:"total-money-num"},[o("v-uni-view",{staticClass:"member-info"},[o("v-uni-view",[t._v("客户:")]),i.member_id?o("v-uni-view",[t._v(t._s(i.nickname))]):o("v-uni-view",[t._v("散客")])],1),o("v-uni-view",{staticClass:"box"},[o("v-uni-view",[t._v("退款金额")]),o("v-uni-view",[t._v("¥"+t._s(i.refund_money))])],1)],1)],1)})),1)]:0==t.refund_list.length?o("v-uni-view",{staticClass:"notYet"},[t._v("暂无数据")]):t._e()],2),o("v-uni-view",{staticClass:"goodslist-right"},[o("v-uni-view",{staticClass:"goods-title"},[t._v("退款详情")]),t.refund_detail?[o("v-uni-view",{staticClass:"order-information"},[o("v-uni-view",{staticClass:"order-status"},[t._v(t._s(t.refund_detail.refund_status_name))]),o("v-uni-view",{staticClass:"goods-info"},[t._l(t.refund_detail.item_list,(function(i,e){return[o("v-uni-view",{key:e+"_0",staticClass:"goods-item"},[o("v-uni-view",{staticClass:"image"},[o("v-uni-image",{attrs:{src:t.$util.img(i.img,{size:"small"}),mode:"widthFix"}})],1),o("v-uni-view",{staticClass:"info"},[o("v-uni-view",{staticClass:"content-text"},[t._v(t._s(i.name))])],1),o("v-uni-view",[o("v-uni-view",{staticClass:"price"},[o("v-uni-text",{staticClass:"title"},[t._v("退款金额:")]),t._v("¥"+t._s(i.refund_pay_money))],1)],1)],1)]}))],2),o("v-uni-view",{staticClass:"goods-info refund-info"},[o("v-uni-view",{staticClass:"info-item"},[o("v-uni-view",{staticClass:"title"},[t._v("退款类型")]),o("v-uni-view",{staticClass:"content"},[t._v(t._s(t.refund_detail.refund_trade_type_name))])],1),o("v-uni-view",{staticClass:"info-item"},[o("v-uni-view",{staticClass:"title"},[t._v("退款编号")]),o("v-uni-view",{staticClass:"content"},[t._v(t._s(t.refund_detail.refund_no))])],1),o("v-uni-view",{staticClass:"info-item"},[o("v-uni-view",{staticClass:"title"},[t._v("退款时间")]),o("v-uni-view",{staticClass:"content"},[t._v(t._s(t._f("timeFormat")(t.refund_detail.create_time)))])],1),o("v-uni-view",{staticClass:"info-item"},[o("v-uni-view",{staticClass:"title"},[t._v("退款方式")]),o("v-uni-view",{staticClass:"content"},[t._v(t._s(t.refund_detail.refund_transfer_type_name))])],1),o("v-uni-view",{staticClass:"info-item"},[o("v-uni-view",{staticClass:"title"},[t._v("退款说明")]),o("v-uni-view",{staticClass:"content"},[t._v(t._s(t.refund_detail.refund_goods_remark))])],1),o("v-unLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-reserve-config"],{"02b6":function(e,t,a){"use strict";var i=a("d6a7"),n=a.n(i);n.a},"27a9":function(e,t,a){"use strict";a.r(t);var i=a("89ad"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(r);t["default"]=n.a},"3b1d":function(e,t,a){var i=a("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-16008ec4]{display:none}\r\n/* 收银台相关 */uni-text[data-v-16008ec4],\r\nuni-view[data-v-16008ec4]{font-size:.14rem}body[data-v-16008ec4]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-16008ec4]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-16008ec4]::-webkit-scrollbar-button{display:none}body[data-v-16008ec4]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-16008ec4]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-16008ec4]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-16008ec4]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-16008ec4]{color:var(--primary-color)!important}@-webkit-keyframes spin-data-v-16008ec4{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin-data-v-16008ec4{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loading-layer[data-v-16008ec4]{width:100%;height:100%;position:fixed;top:0;left:0;z-index:997;background:#fff}.loading-anim[data-v-16008ec4]{position:absolute;left:50%;top:40%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loading-anim > .item[data-v-16008ec4]{position:relative;width:.3rem;height:.3rem;-webkit-perspective:8rem;perspective:8rem;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;transition:all .2s ease-out}.loading-anim .border[data-v-16008ec4]{position:absolute;border-radius:50%;border:.03rem solid var(--primary-color)}.loading-anim .out[data-v-16008ec4]{top:15%;left:15%;width:70%;height:70%;border-right-color:transparent!important;border-bottom-color:transparent!important;-webkit-animation:spin-data-v-16008ec4 .6s linear normal infinite;animation:spin-data-v-16008ec4 .6s linear normal infinite}.loading-anim .in[data-v-16008ec4]{top:25%;left:25%;width:50%;height:50%;border-top-color:transparent!important;border-bottom-color:transparent!important;-webkit-animation:spin-data-v-16008ec4 .8s linear infinite;animation:spin-data-v-16008ec4 .8s linear infinite}.loading-anim .mid[data-v-16008ec4]{top:40%;left:40%;width:20%;height:20%;border-left-color:transparent;border-right-color:transparent;-webkit-animation:spin-data-v-16008ec4 .6s linear infinite;animation:spin-data-v-16008ec4 .6s linear infinite}',""]),e.exports=t},"58ed":function(e,t,a){var i=a("796c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("967d").default;n("5e05c37a",i,!0,{sourceMap:!1,shadowMode:!1})},"6bc2":function(e,t,a){"use strict";var i=a("58ed"),n=a.n(i);n.a},"796c":function(e,t,a){var i=a("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-reserve-index"],{"00ae":function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return a}));var a={uniDropdown:i("1f47").default,uniPopup:i("cea0").default,uniDatetimePicker:i("da34").default,selectLay:i("7bf9").default,nsLoading:i("c388").default},r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("base-page",[a("v-uni-view",{staticClass:"uni-flex uni-row height-all"},[a("v-uni-view",{staticClass:"common-wrap uni-flex uni-column",staticStyle:{"-webkit-flex":"1",flex:"1"}},[a("v-uni-view",{staticClass:"common-tab-wrap",attrs:{id:"tab"}},[a("v-uni-view",{staticClass:"tab-item",class:{"active-bar":0==e.active},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.switchTab(0)}}},[a("v-uni-text",{staticClass:"text"},[e._v("预约看板")])],1),a("v-uni-view",{staticClass:"tab-item",class:{"active-bar":1==e.active},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.switchTab(1)}}},[a("v-uni-text",{staticClass:"text"},[e._v("预约列表")])],1),a("v-uni-view",{staticClass:"active",style:e.activeStyle})],1),a("v-uni-swiper",{attrs:{interval:3e3,duration:300,current:e.active},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.swiperChange.apply(void 0,arguments)}}},[a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"swiper-item common-scrollbar"},[a("v-uni-view",{staticClass:"uni-flex panel-head"},[a("v-uni-button",{staticClass:"primary-btn",attrs:{type:"default"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.addYuyue()}}},[e._v("添加预约")]),a("v-uni-view",{staticClass:"status uni-flex"},[e._l(e.status,(function(t,i){return[a("v-uni-view",{key:i+"_0",staticClass:"color",class:t.state}),a("v-uni-view",[e._v(e._s(t.name))])]}))],2)],1),a("v-uni-view",{staticClass:"panel-body"},[a("v-uni-view",{staticClass:"head-time uni-flex"},[a("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.prevWeek()}}},[a("v-uni-view",{staticClass:"iconfont iconqianhou1"})],1),a("v-uni-view",{staticClass:"time-box"},[e._v(e._s(e.weekDate.start)+" - "+e._s(e.weekDate.end))]),a("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.nextWeek()}}},[a("v-uni-view",{staticClass:"iconfont iconqianhou2"})],1)],1),"week"==e.yuYueDateType?[a("v-uni-view",{staticClass:"head uni-flex"},e._l(e.weeks,(function(t,i){return a("v-uni-view",{key:i,staticClass:"item"},[a("v-uni-button",{staticClass:"default-btn",class:{active:t.currday},attrs:{type:"default"}},[e._v(e._s(t.week)),a("v-uni-text",[e._v(e._s(t.date))])],1)],1)})),1),a("v-uni-view",{staticClass:"body uni-flex"},e._l(e.weeks,(function(t,i){return a("v-uni-scroll-view",{key:i,staticClass:"common-scrollbar item",attrs:{"scroll-y":"true"},on:{scrolltolower:function(t){arguments[0]=t=e.$handleEvent(t),e.getReserve(i)}}},[t.data?[e._l(t.data.list,(function(t,i){return a("v-uni-view",{key:i,staticClass:"panel-item",class:t.reserve_state},[a("v-uni-view",{staticClass:"username"},[e._v(e._s(t.nickname))]),a("v-uni-view",{staticClass:"time",class:t.reserve_state},[e._v(e._s(e.$util.timeFormat(t.reserve_time,"m-d H:i")))]),e._l(t.item,(function(i,r){return a("v-uni-view",{key:r,staticClass:"service",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.yuyueEvent("info",t)}}},[e._v(e._s(i.goods_name))])})),a("uni-dropdown",[a("v-uni-view",{staticClass:"action",attrs:{slot:"dropdown-link"},slot:"dropdown-link"},[a("v-uni-text",{staticClass:"iconfont icongengduo"})],1),a("v-uni-view",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("v-uni-view",{staticClass:"dropdown-menu"},[a("v-uni-view",{staticClass:"menu-item",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.yuyueEvent("info",t)}}},[e._v("详情")]),e._l(e.operation[t.reserve_state],(function(i,r){return a("v-uni-view",{key:r,staticClass:"menu-item",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.yuyueEvent(i.event,t)}}},[e._v(e._s(i.title))])})),a("v-uni-view",{staticClass:"arrow"})],2)],1)],1)],2)})),a("v-uni-view",{staticStyle:{height:"1.5rem"}})]:e._e()],2)})),1)]:e._e(),"month"==e.yuYueDateType?[a("v-uni-view",{staticClass:"head uni-flex"},e._l(e.week,(function(t,i){return a("v-uni-view",{key:i,staticClass:"item"},[a("v-uni-button",{staticClass:"default-btn",attrs:{type:"default"}},[e._v(e._s(t))])],1)})),1)]:e._e()],2)],1)],1),a("v-uni-swiper-item",[a("v-uni-view",{staticClass:"yuyuelist"},[a("v-uni-view",{staticClass:"yuyuelist-box"},[a("v-uni-view",{staticClass:"yuyuelist-left"},[a("v-uni-view",{staticClass:"yuyue-title"},[e._v("预约客户")]),a("v-uni-view",{staticClass:"yuyue-search"},[a("v-uni-view",{staticClass:"search"},[a("v-uni-text",{staticClass:"iconfont icon31sousuo",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.searchYuyueList()}}}),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入会员手机号"},model:{value:e.yuyueSearchText,callback:function(t){Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-scale-add"],{"001e":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("fd3c"),a("dc8a"),a("4626"),a("5ac7"),a("bf0f"),a("2797"),a("aa9c"),a("d4b5");var n=i(a("2634")),r=i(a("2fdc")),o=i(a("9056")),s=a("8b8b"),l={components:{uniDataSelect:o.default},data:function(){return{brandList:[],modelList:[],formData:{type:"barcode",name:"",brand:"",model:"",config:{ip:"",port:"",serialport:"",baudrate:""},network_type:"tcp"},flag:!1,scaleId:0,scaleBrand:{}}},onLoad:function(t){var e=this;return(0,r.default)((0,n.default)().mark((function a(){return(0,n.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,e.getScaleBrandFn();case 2:t.scale_id&&(e.scaleId=t.scale_id,e.getDetailFn());case 3:case"end":return a.stop()}}),a)})))()},onShow:function(){},watch:{"formData.brand":{handler:function(t){if(t){var e=this.scaleBrand[t].model_list;this.modelList=Object.keys(e).map((function(t){return{value:t,text:e[t].model_name}})),this.formData.model&&!Object.keys(e).includes(this.formData.model)&&(this.formData.model="")}else this.formData.model="",this.modelList=[]},immediate:!0}},methods:{getScaleBrandFn:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a,i;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.addon.includes("scale")){e.next=3;break}return t.$util.showToast({title:"未安装电子秤插件"}),e.abrupt("return");case 3:return e.next=5,(0,s.getScaleBrand)();case 5:a=e.sent,0==a.code&&(t.scaleBrand=a.data,i=[],Object.keys(t.scaleBrand).forEach((function(e){i.push({text:t.scaleBrand[e].brand_name,value:e})})),t.brandList=i);case 7:case"end":return e.stop()}}),e)})))()},bradnChange:function(t){this.formData.model=t.detail.value},selectBrand:function(t){this.formData.brand=t},saveFn:function(){var t=this;if(this.addon.includes("scale")){if(this.check()){if(this.flag)return!1;this.flag=!0;var e=this.$util.deepClone(this.formData);e.config=JSON.stringify(this.formData.config),e.scale_id=this.scaleId;var a="";a=this.scaleId?(0,s.editScale)(e):(0,s.addScale)(e),a.then((function(e){t.flag=!1,t.$util.showToast({title:e.message}),e.code>=0&&setTimeout((function(){t.$util.redirectTo("/pages/scale/list")}),1500)}))}}else this.$util.showToast({title:"未安装电子秤插件"})},back:function(){this.$util.redirectTo("/pages/scale/list")},check:function(){if(!this.formData.name)return this.$util.showToast({title:"请输入电子秤名称"}),!1;if(!this.formData.model)return this.$util.showToast({title:"请选择电子秤型号"}),!1;if("tcp"==this.formData.network_type){if(!this.formData.config.ip)return this.$util.showToast({title:"请输入设备IP地址"}),!1;if(!this.formData.config.port)return this.$util.showToast({title:"请输入设备端口号"}),!1}if("serialport"==this.formData.network_type){if(!this.formData.config.serialport)return this.$util.showToast({title:"请输入串口名称"}),!1;if(!this.formData.config.baudrate)return this.$util.showToast({title:"请输入串口波特率"}),!1}return!0},getDetailFn:function(){var t=this;this.addon.includes("scale")?(0,s.getScaleDetail)({scale_id:this.scaleId}).then((function(e){e.code>=0&&e.data&&(t.formData=e.data)})):this.$util.showToast({title:"未安装电子秤插件"})},networkTypeChange:function(t){this.formData.network_type=t.detail.value}}};e.default=l},"0d8b":function(t,e,a){"use strict";a.r(e);var i=a("ee2f"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"19ee":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={uniDataSelect:a("9056").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("base-page",[a("v-uni-view",{staticClass:"common-wrap common-form body-overhide"},[a("v-uni-view",{staticClass:"common-title"},[t._v("电子秤设置")]),a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[a("v-uni-text",{staticClass:"required"},[t._v("*")]),t._v("电子秤名称")],1),a("v-uni-view",{staticClass:"form-input-inline"},[a("v-uni-input",{staticClass:"form-input",attrs:{type:"text"},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1),a("v-uni-text",{staticClass:"form-word-aux"})],1),a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-label",{staticClass:"form-label"},[a("v-uni-text",{staticClass:"required"},[t._v("*")]),t._v("秤类型")],1),a("v-uni-view",{staticClass:"form-input-inline border-none"},[a("v-uni-view",{staticClass:"scale-type"},[a("v-uni-view",{class:{active:"barcode"==t.formData.type},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.formData.type="barcode"}}},[t._v("条码秤")]),a("v-uni-view",{class:{active:"cashier"==t.formLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-scale-list"],{"1beb":function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return l})),i.d(e,"a",(function(){return a}));var a={uniPopup:i("cea0").default},s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("base-page",[a("v-uni-view",{staticClass:"scalelist"},[a("v-uni-view",{staticClass:"scalelist-box"},[a("v-uni-view",{staticClass:"scalelist-left"},[a("v-uni-view",{staticClass:"scale-title"},[t._v("电子秤"),a("v-uni-text",{staticClass:"iconfont icongengduo1"})],1),a("v-uni-view",{staticClass:"scale-list-wrap"},[t.list.length>0?[a("v-uni-scroll-view",{staticClass:"scale-list-scroll all-scroll",attrs:{"scroll-y":"true"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.getList.apply(void 0,arguments)}}},t._l(t.list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"item",class:i==t.selectScaleKeys?"itemhover":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.scaleSelect(e,i)}}},[a("v-uni-view",{staticClass:"item-right w-full"},[a("v-uni-view",{staticClass:"flex justify-between w-full"},[a("v-uni-view",{staticClass:"scale-name"},[t._v(t._s(e.name)),a("v-uni-text",{staticClass:"scale-type-tag"},[t._v(t._s("cashier"==e.type?"收银秤":"条码秤"))])],1),e.connect_status?a("v-uni-view",{staticClass:"flex items-center"},[a("v-uni-text",{staticClass:"status-icon success"}),t._v("已连接")],1):a("v-uni-view",{staticClass:"flex items-center"},[a("v-uni-text",{staticClass:"status-icon fail"}),t._v("未连接")],1)],1),a("v-uni-view",{staticClass:"scale-money"},[t._v(t._s(e.brand_name)+"-"+t._s(e.model_name))])],1)],1)})),1)]:t.one_judge||0!=t.list.length?t._e():a("v-uni-view",{staticClass:"notYet"},[t._v("暂无电子秤")])],2),a("v-uni-view",{staticClass:"add-printer"},[a("v-uni-button",{staticClass:"primary-btn",attrs:{type:"default"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addScale.apply(void 0,arguments)}}},[t._v("添加电子秤")])],1)],1),a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.one_judge,expression:"!one_judge"}],staticClass:"scalelist-right"},[a("v-uni-view",{staticClass:"scale-title"},[t._v("电子秤详情")]),a("v-uni-view",{staticClass:"scale-information"},["{}"!=JSON.stringify(t.detail)?[a("v-uni-view",{staticClass:"title"},[t._v("基本信息")]),a("v-uni-view",{staticClass:"information-box"},[a("v-uni-view",{staticClass:"box-left"},[a("v-uni-view",{staticClass:"information"},[a("v-uni-view",[t._v("电子秤名称:")]),a("v-uni-view",[t._v(t._s(t.detail.name))])],1),a("v-uni-view",{staticClass:"information"},[a("v-uni-view",[t._v("电子秤类型:")]),a("v-uni-view",[t._v(t._s("cashier"==t.detail.type?"收银秤":"条码秤"))])],1),a("v-uni-view",{staticClass:"information"},[a("v-uni-view",[t._v("电子秤品牌:")]),a("v-uni-view",[t._v(t._s(t.detail.brand_name))])],1),a("v-uni-view",{staticClass:"information"},[a("v-uni-view",[t._v("电子秤型号:")]),a("v-uni-view",[t._v(t._s(t.detail.model_name))])],1)],1)],1)]:[a("v-uni-image",{staticClass:"cart-empty",attrs:{src:i("be06"),mode:"widthFix"}})]],2),"{}"!=JSON.stringify(t.detail)?a("v-uni-view",{staticClass:"button-box"},[a("v-uni-button",{staticClass:"default-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.deletePop.open()}}},[t._v("删除")]),a("v-uni-button",{staticClass:"default-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.editScale(t.detail.scale_id)}}},[t._v("修改")])],1):t._e()],1)],1)],1),a("uni-popup",{ref:"deletePop",attrs:{type:"center"}},[a("v-uni-view",{staticClass:"confirm-pop"},[a("v-uni-view",{staticClass:"title"},[t._v("确定要删除吗?")]),a("v-uni-view",{staticClass:"btn"},[a("v-uni-button",{staticClass:"default-btn btn save",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.deletePop.close()}}},[t._v("取消")]),a("v-uni-button",{staticClass:"primary-btn btn",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deleteScaleFn(t.detail.scale_id)}}},[t._v("确定")])],1)],1)],1)],1)},l=[]},"44e7":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("4626"),i("5ac7"),i("c223"),i("e966"),i("fd3c"),i("d4b5");var a,s=i("8b8b"),l={data:function(){return{selectScaleKeys:0,search_text:"",page:1,page_size:8,one_judge:!0,detail:{},brandList:{yilianyun:"易联云",365:"365"},flag:!1,template:{},list:[],connectSuccess:[]}},onLoad:function(){this.getList(),a=this},methods:{switchStoreAfter:function(){this.page=1,this.list=[],this.detail={},this.one_judge=!1,this.getList()},getList:function(){var t=this;this.addon.includes("scale")?(0,s.getScaleList)({page:this.page,page_size:this.page_size}).then((function(e){0==e.data.list.length&&t.one_judge&&(t.detail={},t.one_judge=!1),e.code>=0&&0!=e.data.list.length&&(t.page+=1,0==t.list.length?t.list=e.data.list:t.list=t.list.concat(e.data.lLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stat-index"],{"0288":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-2ebba7d9]{width:30px;height:30px;position:relative}.container.loading3[data-v-2ebba7d9]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading3 .shape1[data-v-2ebba7d9]{border-top-left-radius:10px}.container.loading3 .shape2[data-v-2ebba7d9]{border-top-right-radius:10px}.container.loading3 .shape3[data-v-2ebba7d9]{border-bottom-left-radius:10px}.container.loading3 .shape4[data-v-2ebba7d9]{border-bottom-right-radius:10px}.container .shape[data-v-2ebba7d9]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-2ebba7d9]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-2ebba7d9]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-2ebba7d9]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-2ebba7d9]{bottom:0;right:0;background-color:#e66}.loading3 .shape1[data-v-2ebba7d9]{-webkit-animation:animation3shape1-data-v-2ebba7d9 .5s ease 0s infinite alternate;animation:animation3shape1-data-v-2ebba7d9 .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape1-data-v-2ebba7d9{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}@keyframes animation3shape1-data-v-2ebba7d9{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}.loading3 .shape2[data-v-2ebba7d9]{-webkit-animation:animation3shape2-data-v-2ebba7d9 .5s ease 0s infinite alternate;animation:animation3shape2-data-v-2ebba7d9 .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape2-data-v-2ebba7d9{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}@keyframes animation3shape2-data-v-2ebba7d9{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}.loading3 .shape3[data-v-2ebba7d9]{-webkit-animation:animation3shape3-data-v-2ebba7d9 .5s ease 0s infinite alternate;animation:animation3shape3-data-v-2ebba7d9 .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape3-data-v-2ebba7d9{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}@keyframes animation3shape3-data-v-2ebba7d9{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}.loading3 .shape4[data-v-2ebba7d9]{-webkit-animation:animation3shape4-data-v-2ebba7d9 .5s ease 0s infinite alternate;animation:animation3shape4-data-v-2ebba7d9 .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape4-data-v-2ebba7d9{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}@keyframes animation3shape4-data-v-2ebba7d9{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}",""]),t.exports=e},"05ba":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={qiunLoading:a("3cbb").default,qiunError:a("3628").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"chartsview",attrs:{id:"ChartBoxId"+t.cid}},[t.mixinDatacomLoading?a("v-uni-view",[a("qiun-loading",{attrs:{loadingType:t.loadingType}})],1):t._e(),t.mixinDatacomErrorMessage&&t.errorShow?a("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.reloading.apply(void 0,arguments)}}},[a("qiun-error",{attrs:{errorMessage:t.errorMessage}})],1):t._e(),t.echarts?[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.showchart,expression:"showchart"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},staticStyle:{width:"100%",height:"100%"},style:{background:t.background},attrs:{"data-directory":t.directory,id:"EC"+t.cid,prop:t.echartsOpts,"change:prop":t.rdcharts.ecinit,resize:t.echartsResize,"change:resize":t.rdcharts.ecresize}})]:[a("v-uni-view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:"UC"+t.cid,prop:t.uchartsOpts,"change:prop":t.rdcharts.ucinit},on:{mousemove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseMove(e,t.$getComponentDescriptor())},mousedown:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseDown(e,t.$getComponentDescriptor())},mouseup:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseUp(e,t.$getComponentDescriptor())},touchstart:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchStart(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchMove(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchEnd(Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-allocate"],{"0c6f":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223"),i("5c47"),i("af8f"),i("dd2b");var a=i("28b4"),s=o(i("cea0")),n={components:{unipopup:s.default},data:function(){return{selectGoodsKeys:0,page:1,page_size:9,search_text:"",one_judge:!0,list:[],detail:{},repeatFlag:!1,refuseReason:""}},onLoad:function(){this.getListData()},methods:{search:function(){this.page=1,this.list=[],this.one_judge=!0,this.getListData()},getListData:function(){var t=this;(0,a.getAllocateList)({page:this.page,page_size:this.page_size,allot_no:this.search_text}).then((function(e){0==e.data.list.length&&t.one_judge&&(t.detail={},t.one_judge=!1),e.code>=0&&0!=e.data.list.length&&(t.page+=1,0==t.list.length?t.list=e.data.list:t.list=t.list.concat(e.data.list),t.one_judge&&t.getDetailData(t.list[0].allot_id))}))},getDetailData:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.selectGoodsKeys=i,this.type="detail",(0,a.getAllocateDetail)(t).then((function(t){t.code>=0&&(e.detail=t.data,e.$forceUpdate(),e.one_judge=!1)}))},add:function(){this.$util.redirectTo("/pages/stock/edit_allocate")},edit:function(){this.$util.redirectTo("/pages/stock/edit_allocate",{allot_id:this.detail.allot_id})},open:function(t){this.$refs[t].open()},close:function(t){this.$refs[t].close()},agree:function(){var t=this;this.repeatFlag||(this.repeatFlag=!0,(0,a.allocateAgree)(this.detail.allot_id).then((function(e){t.$util.showToast({title:e.message}),e.code>=0&&(t.search(),t.getDetailData(t.detail.allot_id),t.close("agreeWastagePop")),t.repeatFlag=!1})))},refuse:function(){var t=this;this.refuseReason?this.repeatFlag||(this.repeatFlag=!0,(0,a.allocateRefuse)({allot_id:this.detail.allot_id,refuse_reason:this.refuseReason}).then((function(e){t.$util.showToast({title:e.message}),e.code>=0&&(t.search(),t.getDetailData(t.detail.allot_id),t.close("refuseWastagePop")),t.repeatFlag=!1}))):this.$util.showToast({title:"请输入拒绝理由"})},deleteDocument:function(){var t=this;this.repeatFlag||(this.repeatFlag=!0,(0,a.allocateDelete)(this.detail.allot_id).then((function(e){t.$util.showToast({title:e.message}),e.code>=0&&(t.list.splice(t.selectGoodsKeys,1),0==t.selectGoodsKeys?t.selectGoodsKeys=0:t.selectGoodsKeys-=1,t.getDetailData(t.list[t.selectGoodsKeys].allot_id,t.selectGoodsKeys),t.close("deleteWastagePop")),t.repeatFlag=!1})))}}};e.default=n},1269:function(t,e,i){"use strict";var o=i("b674"),a=i.n(o);a.a},"28b4":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addAllocate=function(t){return a.default.post("/stock/storeapi/allocate/addallocate",{data:t})},e.addInventory=function(t){return a.default.post("/stock/storeapi/check/add",{data:t})},e.allocateAgree=function(t){return a.default.post("/stock/storeapi/allocate/agree",{data:{allot_id:t}})},e.allocateDelete=function(t){return a.default.post("/stock/storeapi/allocate/delete",{data:{allot_id:t}})},e.allocateRefuse=function(t){return a.default.post("/stock/storeapi/allocate/refuse",{data:t})},e.editAllocate=function(t){return a.default.post("/stock/storeapi/allocate/editAllocate",{data:t})},e.editInventory=function(t){return a.default.post("/stock/storeapi/check/edit",{data:t})},e.editStorage=function(t){return a.default.post("/stock/storeapi/storage/stockin",{data:t})},e.editWastage=function(t){return a.default.post("/stock/storeapi/wastage/stockout",{data:t})},e.getAllocateDetail=function(t){return a.default.post("/stock/storeapi/allocate/detail",{data:{allot_id:t}})},e.getAllocateDetailInEdit=function(t){return a.default.post("/stock/storeapi/allocate/editData",{data:{allot_id:t}})},e.getAllocateList=function(t){return a.default.post("/stock/storeapi/allocate/lists",{data:t})},e.getAllotNo=function(){return a.default.post("/stock/storeapi/allocate/getAllotNo")},e.getDocumentType=function(){return a.default.post("/stock/storeapi/manage/getDocumentType")},e.getInventoryDetail=function(t){return a.default.post("/stock/storeapi/check/detail",{data:{inventory_id:t}})},e.getInventoryDetailInEdit=function(t){return a.default.post("/stock/storeapi/check/editData",{data:{inventory_id:t}})},e.getInventoryList=function(t){return a.default.post("/stock/storeapi/check/lists",{data:t})},e.getInventoryNo=function(){return a.default.post("/stock/storeapi/Check/getInventoryNo")},e.getSkuListForStock=function(t){return a.default.post("/stock/storeapi/manage/getskulist",{data:t})},e.getStockGoodsList=function(t){return a.default.post("/stock/storeapi/manage/lists",{data:t})},e.getStockGoodsRecords=function(t){return a.default.post("/stock/storeapi/manage/records",{data:t})},e.getStorageDetail=function(t){return a.default.post("/stock/storeapi/storage/detail",{data:{document_id:t}})},e.getStorageDetailInEdit=function(t){return a.default.post("/stock/storeapi/Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-check"],{"28b4":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addAllocate=function(t){return s.default.post("/stock/storeapi/allocate/addallocate",{data:t})},e.addInventory=function(t){return s.default.post("/stock/storeapi/check/add",{data:t})},e.allocateAgree=function(t){return s.default.post("/stock/storeapi/allocate/agree",{data:{allot_id:t}})},e.allocateDelete=function(t){return s.default.post("/stock/storeapi/allocate/delete",{data:{allot_id:t}})},e.allocateRefuse=function(t){return s.default.post("/stock/storeapi/allocate/refuse",{data:t})},e.editAllocate=function(t){return s.default.post("/stock/storeapi/allocate/editAllocate",{data:t})},e.editInventory=function(t){return s.default.post("/stock/storeapi/check/edit",{data:t})},e.editStorage=function(t){return s.default.post("/stock/storeapi/storage/stockin",{data:t})},e.editWastage=function(t){return s.default.post("/stock/storeapi/wastage/stockout",{data:t})},e.getAllocateDetail=function(t){return s.default.post("/stock/storeapi/allocate/detail",{data:{allot_id:t}})},e.getAllocateDetailInEdit=function(t){return s.default.post("/stock/storeapi/allocate/editData",{data:{allot_id:t}})},e.getAllocateList=function(t){return s.default.post("/stock/storeapi/allocate/lists",{data:t})},e.getAllotNo=function(){return s.default.post("/stock/storeapi/allocate/getAllotNo")},e.getDocumentType=function(){return s.default.post("/stock/storeapi/manage/getDocumentType")},e.getInventoryDetail=function(t){return s.default.post("/stock/storeapi/check/detail",{data:{inventory_id:t}})},e.getInventoryDetailInEdit=function(t){return s.default.post("/stock/storeapi/check/editData",{data:{inventory_id:t}})},e.getInventoryList=function(t){return s.default.post("/stock/storeapi/check/lists",{data:t})},e.getInventoryNo=function(){return s.default.post("/stock/storeapi/Check/getInventoryNo")},e.getSkuListForStock=function(t){return s.default.post("/stock/storeapi/manage/getskulist",{data:t})},e.getStockGoodsList=function(t){return s.default.post("/stock/storeapi/manage/lists",{data:t})},e.getStockGoodsRecords=function(t){return s.default.post("/stock/storeapi/manage/records",{data:t})},e.getStorageDetail=function(t){return s.default.post("/stock/storeapi/storage/detail",{data:{document_id:t}})},e.getStorageDetailInEdit=function(t){return s.default.post("/stock/storeapi/storage/editData",{data:{document_id:t}})},e.getStorageDocumentNo=function(){return s.default.post("/stock/storeapi/storage/getDocumentNo")},e.getStorageLists=function(t){return s.default.post("/stock/storeapi/storage/lists",{data:t})},e.getStoreLists=function(){return s.default.post("/stock/storeapi/store/lists")},e.getWastageDetail=function(t){return s.default.post("/stock/storeapi/wastage/detail",{data:{document_id:t}})},e.getWastageDetailInEdit=function(t){return s.default.post("/stock/storeapi/wastage/editData",{data:{document_id:t}})},e.getWastageDocumentNo=function(){return s.default.post("/stock/storeapi/wastage/getDocumentNo")},e.getWastageLists=function(t){return s.default.post("/stock/storeapi/wastage/lists",{data:t})},e.inventoryAgree=function(t){return s.default.post("/stock/storeapi/check/agree",{data:{inventory_id:t}})},e.inventoryDelete=function(t){return s.default.post("stock/storeapi/check/delete",{data:{inventory_id:t}})},e.inventoryRefuse=function(t){return s.default.post("/stock/storeapi/check/refuse",{data:t})},e.storageAgree=function(t){return s.default.post("/stock/storeapi/storage/agree",{data:{document_id:t}})},e.storageDelete=function(t){return s.default.post("/stock/storeapi/storage/delete",{data:{document_id:t}})},e.storageRefuse=function(t){return s.default.post("/stock/storeapi/storage/refuse",{data:t})};var s=o(i("a3b5"))},4576:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("base-page",[o("v-uni-view",{staticClass:"goodslist"},[o("v-uni-view",{staticClass:"goodslist-box"},[o("v-uni-view",{staticClass:"goodslist-left"},[o("v-uni-view",{staticClass:"goods-title"},[t._v("盘点单查询"),o("v-uni-text",{staticClass:"iconfont icongengduo1"})],1),o("v-uni-view",{staticClass:"goods-search"},[o("v-uni-view",{staticClass:"search"},[o("v-uni-text",{staticClass:"iconfont icon31sousuo"}),o("v-uni-input",{attrs:{type:"text",placeholder:"搜索盘点单号"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.search.apply(void 0,arguments)}},model:{value:t.search_text,callback:function(e){t.search_text=e},expression:"search_text"}})],1)],1),o("v-uni-scroll-view",{staticClass:"goods-list-scroll",attrs:{"scroll-y":"true","show-scrollbar":!1},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.getListData.apply(void 0,arguments)}}},[t._l(t.list,(function(e,i){return o("v-uni-view",{key:i,staticClaLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-edit_allocate"],{"0476":function(t,e,a){"use strict";var i=a("c7af"),o=a.n(i);o.a},1691:function(t,e,a){var i=a("d385");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("967d").default;o("55c5a510",i,!0,{sourceMap:!1,shadowMode:!1})},"28b4":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addAllocate=function(t){return o.default.post("/stock/storeapi/allocate/addallocate",{data:t})},e.addInventory=function(t){return o.default.post("/stock/storeapi/check/add",{data:t})},e.allocateAgree=function(t){return o.default.post("/stock/storeapi/allocate/agree",{data:{allot_id:t}})},e.allocateDelete=function(t){return o.default.post("/stock/storeapi/allocate/delete",{data:{allot_id:t}})},e.allocateRefuse=function(t){return o.default.post("/stock/storeapi/allocate/refuse",{data:t})},e.editAllocate=function(t){return o.default.post("/stock/storeapi/allocate/editAllocate",{data:t})},e.editInventory=function(t){return o.default.post("/stock/storeapi/check/edit",{data:t})},e.editStorage=function(t){return o.default.post("/stock/storeapi/storage/stockin",{data:t})},e.editWastage=function(t){return o.default.post("/stock/storeapi/wastage/stockout",{data:t})},e.getAllocateDetail=function(t){return o.default.post("/stock/storeapi/allocate/detail",{data:{allot_id:t}})},e.getAllocateDetailInEdit=function(t){return o.default.post("/stock/storeapi/allocate/editData",{data:{allot_id:t}})},e.getAllocateList=function(t){return o.default.post("/stock/storeapi/allocate/lists",{data:t})},e.getAllotNo=function(){return o.default.post("/stock/storeapi/allocate/getAllotNo")},e.getDocumentType=function(){return o.default.post("/stock/storeapi/manage/getDocumentType")},e.getInventoryDetail=function(t){return o.default.post("/stock/storeapi/check/detail",{data:{inventory_id:t}})},e.getInventoryDetailInEdit=function(t){return o.default.post("/stock/storeapi/check/editData",{data:{inventory_id:t}})},e.getInventoryList=function(t){return o.default.post("/stock/storeapi/check/lists",{data:t})},e.getInventoryNo=function(){return o.default.post("/stock/storeapi/Check/getInventoryNo")},e.getSkuListForStock=function(t){return o.default.post("/stock/storeapi/manage/getskulist",{data:t})},e.getStockGoodsList=function(t){return o.default.post("/stock/storeapi/manage/lists",{data:t})},e.getStockGoodsRecords=function(t){return o.default.post("/stock/storeapi/manage/records",{data:t})},e.getStorageDetail=function(t){return o.default.post("/stock/storeapi/storage/detail",{data:{document_id:t}})},e.getStorageDetailInEdit=function(t){return o.default.post("/stock/storeapi/storage/editData",{data:{document_id:t}})},e.getStorageDocumentNo=function(){return o.default.post("/stock/storeapi/storage/getDocumentNo")},e.getStorageLists=function(t){return o.default.post("/stock/storeapi/storage/lists",{data:t})},e.getStoreLists=function(){return o.default.post("/stock/storeapi/store/lists")},e.getWastageDetail=function(t){return o.default.post("/stock/storeapi/wastage/detail",{data:{document_id:t}})},e.getWastageDetailInEdit=function(t){return o.default.post("/stock/storeapi/wastage/editData",{data:{document_id:t}})},e.getWastageDocumentNo=function(){return o.default.post("/stock/storeapi/wastage/getDocumentNo")},e.getWastageLists=function(t){return o.default.post("/stock/storeapi/wastage/lists",{data:t})},e.inventoryAgree=function(t){return o.default.post("/stock/storeapi/check/agree",{data:{inventory_id:t}})},e.inventoryDelete=function(t){return o.default.post("stock/storeapi/check/delete",{data:{inventory_id:t}})},e.inventoryRefuse=function(t){return o.default.post("/stock/storeapi/check/refuse",{data:t})},e.storageAgree=function(t){return o.default.post("/stock/storeapi/storage/agree",{data:{document_id:t}})},e.storageDelete=function(t){return o.default.post("/stock/storeapi/storage/delete",{data:{document_id:t}})},e.storageRefuse=function(t){return o.default.post("/stock/storeapi/storage/refuse",{data:t})};var o=i(a("a3b5"))},"5d18":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa"),a("bf0f"),a("2797"),a("8f71"),a("4626"),a("5ac7");var i={name:"select-lay",props:{disabled:{type:Boolean,default:!1},zindex:{type:Number,default:999},options:{type:Array,default:function(){return[]}},name:{type:String,default:""},value:{type:[String,Number],default:""},placeholder:{type:String,default:"请选择"},showplaceholder:{type:Boolean,default:!0},slabel:{type:String,default:"label"},svalue:{type:String,default:"value"}},data:function(){return{active:!1,isfocus:!1,isremove:!1,ismove:!1,changevalue:"",oldvalue:"",changes:!1,changesValue:"",vlist:[],settimer:null}},mounted:function(){this.itemcheck()},watch:{value:function(){this.itemcheck()},options:function(){this.itemcheck()}},methods:{itemcheck:function(){var t=this;""!=tLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-edit_allocate~pages-stock-edit_check~pages-stock-stockin~pages-stock-stockout"],{"084b":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.editGoods=function(t){return o.default.post("/cashier/storeapi/goods/editgoods",{data:t})},e.exportPrintPriceTagData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.post("/cashier/storeapi/goods/exportPrintPriceTagData",{data:t})},e.getElectronicScaleInformation=function(){return o.default.post("/scale/storeapi/scale/cashierscale")},e.getGoodsCategory=function(t){return o.default.post("/cashier/storeapi/goods/category",{data:t})},e.getGoodsDetail=function(t){return o.default.post("/cashier/storeapi/goods/detail",{data:{goods_id:t}})},e.getGoodsInfoByCode=function(t){return o.default.post("/cashier/storeapi/goods/skuinfo",{data:{sku_no:t}})},e.getGoodsList=function(t){return o.default.post("/cashier/storeapi/goods/page",{data:t})},e.getGoodsSceen=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.post("/cashier/storeapi/goods/screen",{data:t})},e.getGoodsSkuList=function(t){return o.default.post("/cashier/storeapi/goods/skulist",{data:{goods_id:t}})},e.getManageGoodsCategory=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.post("/stock/storeapi/manage/getGoodsCategory",{data:t})},e.getServiceCategory=function(t){return o.default.post("/cashier/storeapi/service/category",{data:t})},e.getServiceList=function(t){return o.default.post("/cashier/storeapi/service/page",{data:t})},e.getSkuListBySelect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.default.post("/cashier/storeapi/goods/getSkuListBySelect",{data:t})},e.setGoodsLocalRestrictions=function(t){return o.default.post("/cashier/storeapi/goods/setGoodsLocalRestrictions",{data:t})},e.setGoodsStatus=function(t){return o.default.post("/cashier/storeapi/goods/setstatus",{data:t})};var o=a(i("a3b5"))},"3bfb":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223"),i("dc8a"),i("5ef2"),i("aa9c"),i("dd2b"),i("22b6"),i("bf0f"),i("2797");var o=a(i("cea0")),s=a(i("01ce")),n=i("084b"),r={name:"stockDialog",components:{unipopup:o.default,uniDataTable:s.default},model:{prop:"value",event:"change"},props:{value:{type:Boolean,default:!1},params:{type:Object,default:function(){return{}}},apiType:{type:String,default:"sku"}},data:function(){var t=this;return{goodsCategoryList:{},activeList:[],option:{category_id:"",search_text:"",is_weigh:0,page_size:8},cols:[{width:6,align:"center",checkbox:!0},{field:"account_data",width:50,title:"商品信息",align:"left",templet:function(e){var i=t.$util.img(e.sku_image),a='\n\t\t\t\t\t\t\t<view class="goods-content">\n\t\t\t\t\t\t\t\t<image class="goods-img" src="'.concat(i,'" mode="aspectFit"/>\n\t\t\t\t\t\t\t\t<text class="goods-name multi-hidden" title="').concat(e.sku_name,'">').concat(e.sku_name,"</text>\n\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t");return a}},{field:"real_stock",width:22,title:"库存",align:"center",templet:function(t){return t.real_stock||0}},{width:22,title:"单位",templet:function(t){return t.unit||"件"}}],checkList:{},url:"/stock/storeapi/manage/getStoreGoods"}},watch:{value:{handler:function(t){var e=this;t?this.$nextTick((function(){e.option=Object.assign(e.option,e.params),e.params.temp_store_id&&""==e.params.temp_store_id&&delete e.option.temp_store_id,e.$refs.dialogRef.open()})):this.$nextTick((function(){e.option=Object(e.option,{category_id:"",search_text:"",is_weigh:0,page:1,page_size:8}),e.checkList={},e.$refs.dialogRef.close()}))},immediate:!0},apiType:{handler:function(t){var e=this;"sku"==t?(this.cols=[{width:6,align:"center",checkbox:!0},{field:"account_data",width:50,title:"商品信息",align:"left",templet:function(t){var i=e.$util.img(t.sku_image),a='\n\t\t\t\t\t\t\t\t\t<view class="goods-content">\n\t\t\t\t\t\t\t\t\t\t<image class="goods-img" src="'.concat(i,'" mode="aspectFit"/>\n\t\t\t\t\t\t\t\t\t\t<text class="goods-name multi-hidden" title="').concat(t.sku_name,'">').concat(t.sku_name,"</text>\n\t\t\t\t\t\t\t\t\t</view>\n\t\t\t\t\t\t\t\t");return a}},{field:"real_stock",width:22,title:"库存",align:"center",templet:function(t){return t.real_stock||0}},{width:22,title:"单位",templet:function(t){return t.unit||"件"}}],this.url="/stock/storeapi/manage/getStoreGoods"):"spu"==t&&(this.cols=[{width:6,align:"center",checkbox:!0},{field:"account_data",width:50,title:"商品信息",align:"left",templet:function(t){var i=e.$util.img(t.goods_image),a='\n\t\t\t\t\t\t\t\t\t<view class="goods-content">\n\t\t\t\t\t\t\t\t\t\t<image class="goods-img" src="'.concat(i,'" mode="aspectFit"/>\n\t\t\t\t\t\t\t\t\t\t<text class="goods-name multi-hidden" title="').concat(t.goods_name,'">').concat(t.Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-edit_check"],{"0aa0":function(t,e,a){"use strict";a.r(e);var o=a("d1e3"),n=a("d2c2");for(var i in n)["default"].indexOf(i)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(i);a("ff29");var s=a("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"164bfcdc",null,!1,o["a"],void 0);e["default"]=r.exports},"28b4":function(t,e,a){"use strict";a("6a54");var o=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addAllocate=function(t){return n.default.post("/stock/storeapi/allocate/addallocate",{data:t})},e.addInventory=function(t){return n.default.post("/stock/storeapi/check/add",{data:t})},e.allocateAgree=function(t){return n.default.post("/stock/storeapi/allocate/agree",{data:{allot_id:t}})},e.allocateDelete=function(t){return n.default.post("/stock/storeapi/allocate/delete",{data:{allot_id:t}})},e.allocateRefuse=function(t){return n.default.post("/stock/storeapi/allocate/refuse",{data:t})},e.editAllocate=function(t){return n.default.post("/stock/storeapi/allocate/editAllocate",{data:t})},e.editInventory=function(t){return n.default.post("/stock/storeapi/check/edit",{data:t})},e.editStorage=function(t){return n.default.post("/stock/storeapi/storage/stockin",{data:t})},e.editWastage=function(t){return n.default.post("/stock/storeapi/wastage/stockout",{data:t})},e.getAllocateDetail=function(t){return n.default.post("/stock/storeapi/allocate/detail",{data:{allot_id:t}})},e.getAllocateDetailInEdit=function(t){return n.default.post("/stock/storeapi/allocate/editData",{data:{allot_id:t}})},e.getAllocateList=function(t){return n.default.post("/stock/storeapi/allocate/lists",{data:t})},e.getAllotNo=function(){return n.default.post("/stock/storeapi/allocate/getAllotNo")},e.getDocumentType=function(){return n.default.post("/stock/storeapi/manage/getDocumentType")},e.getInventoryDetail=function(t){return n.default.post("/stock/storeapi/check/detail",{data:{inventory_id:t}})},e.getInventoryDetailInEdit=function(t){return n.default.post("/stock/storeapi/check/editData",{data:{inventory_id:t}})},e.getInventoryList=function(t){return n.default.post("/stock/storeapi/check/lists",{data:t})},e.getInventoryNo=function(){return n.default.post("/stock/storeapi/Check/getInventoryNo")},e.getSkuListForStock=function(t){return n.default.post("/stock/storeapi/manage/getskulist",{data:t})},e.getStockGoodsList=function(t){return n.default.post("/stock/storeapi/manage/lists",{data:t})},e.getStockGoodsRecords=function(t){return n.default.post("/stock/storeapi/manage/records",{data:t})},e.getStorageDetail=function(t){return n.default.post("/stock/storeapi/storage/detail",{data:{document_id:t}})},e.getStorageDetailInEdit=function(t){return n.default.post("/stock/storeapi/storage/editData",{data:{document_id:t}})},e.getStorageDocumentNo=function(){return n.default.post("/stock/storeapi/storage/getDocumentNo")},e.getStorageLists=function(t){return n.default.post("/stock/storeapi/storage/lists",{data:t})},e.getStoreLists=function(){return n.default.post("/stock/storeapi/store/lists")},e.getWastageDetail=function(t){return n.default.post("/stock/storeapi/wastage/detail",{data:{document_id:t}})},e.getWastageDetailInEdit=function(t){return n.default.post("/stock/storeapi/wastage/editData",{data:{document_id:t}})},e.getWastageDocumentNo=function(){return n.default.post("/stock/storeapi/wastage/getDocumentNo")},e.getWastageLists=function(t){return n.default.post("/stock/storeapi/wastage/lists",{data:t})},e.inventoryAgree=function(t){return n.default.post("/stock/storeapi/check/agree",{data:{inventory_id:t}})},e.inventoryDelete=function(t){return n.default.post("stock/storeapi/check/delete",{data:{inventory_id:t}})},e.inventoryRefuse=function(t){return n.default.post("/stock/storeapi/check/refuse",{data:t})},e.storageAgree=function(t){return n.default.post("/stock/storeapi/storage/agree",{data:{document_id:t}})},e.storageDelete=function(t){return n.default.post("/stock/storeapi/storage/delete",{data:{document_id:t}})},e.storageRefuse=function(t){return n.default.post("/stock/storeapi/storage/refuse",{data:t})};var n=o(a("a3b5"))},"3efd1":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d4b5"),a("aa9c"),a("e966"),a("bf0f"),a("2797"),a("4626"),a("5ac7"),a("5ef2"),a("e838"),a("dd2b"),a("7a76"),a("c9b5");var o=a("28b4"),n={data:function(){return{params:{search_text:""},goodsList:[],goodsIdArr:[],goodsShow:!1,totalData:{kindsNum:0,upNum:0,downNum:0,sameNum:0},screen:{inventory_id:"",inventory_no:"",remark:"",stock_json:"",time:""},remark:"",isSubmit:!1,inputIndex:-1,dialogVisible:!1,info:null}},onLoad:function(t){this.screen.inventory_id=t.inventory_id||"",this.screen.time=this.$util.timeFormat(Date.parse(new Date)/1e3),this.screen.inventory_id?this.getEditData():this.getDocumentNo()},watch:{goodsIdArr:function(t){this.calcTotalData()}},methods:{getDocumentNo:function(){var t=this;(0,o.getInventoryNo)Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-manage"],{"0307":function(t,e,a){"use strict";a.r(e);var i=a("3cf7"),n=a("aa42");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("bd7f");var r=a("828b"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"38f0f5a8",null,!1,i["a"],void 0);e["default"]=s.exports},"084b":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.editGoods=function(t){return n.default.post("/cashier/storeapi/goods/editgoods",{data:t})},e.exportPrintPriceTagData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.post("/cashier/storeapi/goods/exportPrintPriceTagData",{data:t})},e.getElectronicScaleInformation=function(){return n.default.post("/scale/storeapi/scale/cashierscale")},e.getGoodsCategory=function(t){return n.default.post("/cashier/storeapi/goods/category",{data:t})},e.getGoodsDetail=function(t){return n.default.post("/cashier/storeapi/goods/detail",{data:{goods_id:t}})},e.getGoodsInfoByCode=function(t){return n.default.post("/cashier/storeapi/goods/skuinfo",{data:{sku_no:t}})},e.getGoodsList=function(t){return n.default.post("/cashier/storeapi/goods/page",{data:t})},e.getGoodsSceen=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.post("/cashier/storeapi/goods/screen",{data:t})},e.getGoodsSkuList=function(t){return n.default.post("/cashier/storeapi/goods/skulist",{data:{goods_id:t}})},e.getManageGoodsCategory=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.post("/stock/storeapi/manage/getGoodsCategory",{data:t})},e.getServiceCategory=function(t){return n.default.post("/cashier/storeapi/service/category",{data:t})},e.getServiceList=function(t){return n.default.post("/cashier/storeapi/service/page",{data:t})},e.getSkuListBySelect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.default.post("/cashier/storeapi/goods/getSkuListBySelect",{data:t})},e.setGoodsLocalRestrictions=function(t){return n.default.post("/cashier/storeapi/goods/setGoodsLocalRestrictions",{data:t})},e.setGoodsStatus=function(t){return n.default.post("/cashier/storeapi/goods/setstatus",{data:t})};var n=i(a("a3b5"))},"17e6":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uniDataPicker:a("85ff").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("base-page",[a("v-uni-view",{staticClass:"manage"},[a("v-uni-view",{staticClass:"screen-warp common-form"},[a("v-uni-view",{staticClass:"common-form-item"},[a("v-uni-view",{staticClass:"form-inline"},[a("v-uni-label",{staticClass:"form-label"},[t._v("商品名称/编码")]),a("v-uni-view",{staticClass:"form-input-inline"},[a("v-uni-input",{staticClass:"form-input",attrs:{type:"text",placeholder:"请输入商品名称/编码"},model:{value:t.option.search,callback:function(e){t.$set(t.option,"search",e)},expression:"option.search"}})],1)],1),a("v-uni-view",{staticClass:"form-inline goods-category"},[a("v-uni-label",{staticClass:"form-label"},[t._v("商品分类")]),a("v-uni-view",{staticClass:"form-input-inline"},[a("uni-data-picker",{attrs:{localdata:t.classifyData.data,"popup-title":"请选择商品分类"},model:{value:t.option.category_id,callback:function(e){t.$set(t.option,"category_id",e)},expression:"option.category_id"}})],1)],1),a("v-uni-view",{staticClass:"form-inline common-btn-wrap"},[a("v-uni-button",{staticClass:"screen-btn",attrs:{type:"default"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.searchFn()}}},[t._v("筛选")]),a("v-uni-button",{attrs:{type:"default"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.resetFn()}}},[t._v("重置")])],1)],1)],1),a("v-uni-view",{staticClass:"manage-table"},[a("uniDataTable",{ref:"goodsListTable",attrs:{url:"/stock/storeapi/manage/lists",option:t.option,cols:t.cols},scopedSlots:t._u([{key:"action",fn:function(e){return[a("v-uni-view",{staticClass:"action-btn"},[a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toDetail()}}},[t._v("查看流水")])],1)]}}])})],1)],1)],1)},o=[]},1956:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'.uni-data-tree[data-v-57986d64]{flex:1;position:relative;font-size:14px}.error-text[data-v-57986d64]{color:#dd524d}.input-value[data-v-57986d64]{\ndisplay:flex;\nflex-direction:row;align-items:center;flex-wrap:nowrap;font-size:14px;\n\t/* line-height: 35px; */padding:0 10px;padding-right:5px;overflow:hidden;height:35px;\nbox-sizing:border-box\n}.input-value-border[data-v-57986d64]{border:1px solid #e5e5e5;border-radius:5px}.selected-area[data-v-57986d64]{flex:1;overflow:hidden;\ndisplay:flex;\nflex-direction:row}.load-more[data-v-57986d64]{\nmargin-right:auto;\n}.selected-list[data-v-57986d64]{\ndisplay:flex;\nflex-direction:row;flex-wrap:nowrapLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-records"],{"003b":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("th",{staticClass:"uni-table-th",class:{"table--border":t.border},style:{width:t.customWidth+"px","text-align":t.align},attrs:{rowspan:t.rowspan,colspan:t.colspan}},[a("v-uni-view",{staticClass:"uni-table-th-row"},[a("v-uni-view",{staticClass:"uni-table-th-content",style:{"justify-content":t.contentAlign},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.sort.apply(void 0,arguments)}}},[t._t("default"),t.sortable?a("v-uni-view",{staticClass:"arrow-box"},[a("v-uni-text",{staticClass:"arrow up",class:{active:t.ascending},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.ascendingFn.apply(void 0,arguments)}}}),a("v-uni-text",{staticClass:"arrow down",class:{active:t.descending},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.descendingFn.apply(void 0,arguments)}}})],1):t._e()],2),t.filterType||t.filterData.length?a("dropdown",{attrs:{filterData:t.filterData,filterType:t.filterType},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.ondropdown.apply(void 0,arguments)}}}):t._e()],1)],1)},i=[]},"0134":function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa"),a("aa9c"),a("aa77"),a("bf0f"),a("473f"),a("bd06"),a("dd2b"),a("2797");var i=n(a("db2f")),r={name:"uniTr",components:{tableCheckbox:i.default},props:{disabled:{type:Boolean,default:!1},keyValue:{type:[String,Number],default:""}},options:{virtualHost:!0},data:function(){return{value:!1,border:!1,selection:!1,widthThArr:[],ishead:!0,checked:!1,indeterminate:!1}},created:function(){var t=this;this.root=this.getTable(),this.head=this.getTable("uniThead"),this.head&&(this.ishead=!1,this.head.init(this)),this.border=this.root.border,this.selection=this.root.type,this.root.trChildren.push(this);var e=this.root.data.find((function(e){return e[t.root.rowKey]===t.keyValue}));e&&(this.rowData=e),this.root.isNodata()},mounted:function(){if(this.widthThArr.length>0){var t="selection"===this.selection?50:0;this.root.minWidth=this.widthThArr.reduce((function(t,e){return Number(t)+Number(e)}))+t}},destroyed:function(){var t=this,e=this.root.trChildren.findIndex((function(e){return e===t}));this.root.trChildren.splice(e,1),this.root.isNodata()},methods:{minWidthUpdate:function(t){this.widthThArr.push(t)},checkboxSelected:function(t){var e=this,a=this.root.data.find((function(t){return t[e.root.rowKey]===e.keyValue}));this.checked=t.checked,this.root.check(a||this,t.checked,a?this.keyValue:null)},change:function(t){var e=this;this.root.trChildren.forEach((function(a){a===e&&e.root.check(e,t.detail.value.length>0)}))},getTable:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniTable",e=this.$parent,a=e.$options.name;while(a!==t){if(e=e.$parent,!e)return!1;a=e.$options.name}return e}}};e.default=r},"0491":function(t,e,a){"use strict";a.r(e);var n=a("0ee2"),i=a("df2c");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("0984");var o=a("828b"),d=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"2decd594",null,!1,n["a"],void 0);e["default"]=d.exports},"0984":function(t,e,a){"use strict";var n=a("16f5"),i=a.n(n);i.a},"0b6a":function(t,e,a){"use strict";a.r(e);var n=a("fa62"),i=a("b3b9");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("9677");var o=a("828b"),d=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"0812e34e",null,!1,n["a"],void 0);e["default"]=d.exports},"0ee2":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uniDatetimePicker:a("da34").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-filter-dropdown"},[a("v-uni-view",{staticClass:"dropdown-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onDropdown.apply(void 0,arguments)}}},[t.isSelect||t.isRange?a("v-uni-view",{staticClass:"icon-select",class:{active:t.canReset}}):t._e(),t.isSearch?a("v-uni-view",{staticClass:"icon-search",class:{active:t.canReset}},[a("v-uni-view",{staticClass:"icon-search-0"}),a("v-uni-view",{staticClass:"icon-search-1"})],1):t._e(),t.isDate?a("v-uni-view",{staticClass:"icon-calendar",class:{active:t.canReset}},[a("v-uni-view",{staticClass:"icon-calendar-0"}),a("v-uni-view",{staticClass:"icon-calendar-1"})],1):t._e()],1),t.isOpened?a("v-uni-view",{staticClass:"uni-dropdown-cover",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClose.apply(void 0,arguments)}}}):t._e(),t.isOpened?a("v-uni-view",{staticClass:"dropdown-popup dropdown-popup-right",on:{click:function(e){e.stopPropagation(),argLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-stockin"],{"28b4":function(t,e,a){"use strict";a("6a54");var o=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addAllocate=function(t){return i.default.post("/stock/storeapi/allocate/addallocate",{data:t})},e.addInventory=function(t){return i.default.post("/stock/storeapi/check/add",{data:t})},e.allocateAgree=function(t){return i.default.post("/stock/storeapi/allocate/agree",{data:{allot_id:t}})},e.allocateDelete=function(t){return i.default.post("/stock/storeapi/allocate/delete",{data:{allot_id:t}})},e.allocateRefuse=function(t){return i.default.post("/stock/storeapi/allocate/refuse",{data:t})},e.editAllocate=function(t){return i.default.post("/stock/storeapi/allocate/editAllocate",{data:t})},e.editInventory=function(t){return i.default.post("/stock/storeapi/check/edit",{data:t})},e.editStorage=function(t){return i.default.post("/stock/storeapi/storage/stockin",{data:t})},e.editWastage=function(t){return i.default.post("/stock/storeapi/wastage/stockout",{data:t})},e.getAllocateDetail=function(t){return i.default.post("/stock/storeapi/allocate/detail",{data:{allot_id:t}})},e.getAllocateDetailInEdit=function(t){return i.default.post("/stock/storeapi/allocate/editData",{data:{allot_id:t}})},e.getAllocateList=function(t){return i.default.post("/stock/storeapi/allocate/lists",{data:t})},e.getAllotNo=function(){return i.default.post("/stock/storeapi/allocate/getAllotNo")},e.getDocumentType=function(){return i.default.post("/stock/storeapi/manage/getDocumentType")},e.getInventoryDetail=function(t){return i.default.post("/stock/storeapi/check/detail",{data:{inventory_id:t}})},e.getInventoryDetailInEdit=function(t){return i.default.post("/stock/storeapi/check/editData",{data:{inventory_id:t}})},e.getInventoryList=function(t){return i.default.post("/stock/storeapi/check/lists",{data:t})},e.getInventoryNo=function(){return i.default.post("/stock/storeapi/Check/getInventoryNo")},e.getSkuListForStock=function(t){return i.default.post("/stock/storeapi/manage/getskulist",{data:t})},e.getStockGoodsList=function(t){return i.default.post("/stock/storeapi/manage/lists",{data:t})},e.getStockGoodsRecords=function(t){return i.default.post("/stock/storeapi/manage/records",{data:t})},e.getStorageDetail=function(t){return i.default.post("/stock/storeapi/storage/detail",{data:{document_id:t}})},e.getStorageDetailInEdit=function(t){return i.default.post("/stock/storeapi/storage/editData",{data:{document_id:t}})},e.getStorageDocumentNo=function(){return i.default.post("/stock/storeapi/storage/getDocumentNo")},e.getStorageLists=function(t){return i.default.post("/stock/storeapi/storage/lists",{data:t})},e.getStoreLists=function(){return i.default.post("/stock/storeapi/store/lists")},e.getWastageDetail=function(t){return i.default.post("/stock/storeapi/wastage/detail",{data:{document_id:t}})},e.getWastageDetailInEdit=function(t){return i.default.post("/stock/storeapi/wastage/editData",{data:{document_id:t}})},e.getWastageDocumentNo=function(){return i.default.post("/stock/storeapi/wastage/getDocumentNo")},e.getWastageLists=function(t){return i.default.post("/stock/storeapi/wastage/lists",{data:t})},e.inventoryAgree=function(t){return i.default.post("/stock/storeapi/check/agree",{data:{inventory_id:t}})},e.inventoryDelete=function(t){return i.default.post("stock/storeapi/check/delete",{data:{inventory_id:t}})},e.inventoryRefuse=function(t){return i.default.post("/stock/storeapi/check/refuse",{data:t})},e.storageAgree=function(t){return i.default.post("/stock/storeapi/storage/agree",{data:{document_id:t}})},e.storageDelete=function(t){return i.default.post("/stock/storeapi/storage/delete",{data:{document_id:t}})},e.storageRefuse=function(t){return i.default.post("/stock/storeapi/storage/refuse",{data:t})};var i=o(a("a3b5"))},"2dc1":function(t,e,a){var o=a("5251");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=a("967d").default;i("8f714484",o,!0,{sourceMap:!1,shadowMode:!1})},"346d":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d4b5"),a("aa9c"),a("e966"),a("bf0f"),a("2797"),a("4626"),a("5ac7"),a("5ef2"),a("e838"),a("dd2b"),a("7a76"),a("c9b5");var o=a("28b4"),i={data:function(){return{params:{search_text:""},goodsList:[],goodsIdArr:[],goodsShow:!1,totalData:{kindsNum:0,price:0},screen:{document_id:"",document_no:"",remark:"",stock_json:"",time:""},remark:"",isSubmit:!1,info:null,dialogVisible:!1,inputIndex:-1}},onLoad:function(t){this.screen.document_id=t.document_id||"",this.screen.time=this.$util.timeFormat(Date.parse(new Date)/1e3),this.screen.document_id?this.getEditData():this.getDocumentNo()},watch:{goodsIdArr:function(t){this.calcTotalData()}},methods:{getDocumentNo:function(){var t=this;(0,o.getStorageDocumentNo)().then((function(e){e.code>=0?t.screen.document_no=e.data:t.$util.showToast({title:e.message})}))},getEditData:fLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-stockout"],{"28b4":function(t,e,a){"use strict";a("6a54");var o=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addAllocate=function(t){return i.default.post("/stock/storeapi/allocate/addallocate",{data:t})},e.addInventory=function(t){return i.default.post("/stock/storeapi/check/add",{data:t})},e.allocateAgree=function(t){return i.default.post("/stock/storeapi/allocate/agree",{data:{allot_id:t}})},e.allocateDelete=function(t){return i.default.post("/stock/storeapi/allocate/delete",{data:{allot_id:t}})},e.allocateRefuse=function(t){return i.default.post("/stock/storeapi/allocate/refuse",{data:t})},e.editAllocate=function(t){return i.default.post("/stock/storeapi/allocate/editAllocate",{data:t})},e.editInventory=function(t){return i.default.post("/stock/storeapi/check/edit",{data:t})},e.editStorage=function(t){return i.default.post("/stock/storeapi/storage/stockin",{data:t})},e.editWastage=function(t){return i.default.post("/stock/storeapi/wastage/stockout",{data:t})},e.getAllocateDetail=function(t){return i.default.post("/stock/storeapi/allocate/detail",{data:{allot_id:t}})},e.getAllocateDetailInEdit=function(t){return i.default.post("/stock/storeapi/allocate/editData",{data:{allot_id:t}})},e.getAllocateList=function(t){return i.default.post("/stock/storeapi/allocate/lists",{data:t})},e.getAllotNo=function(){return i.default.post("/stock/storeapi/allocate/getAllotNo")},e.getDocumentType=function(){return i.default.post("/stock/storeapi/manage/getDocumentType")},e.getInventoryDetail=function(t){return i.default.post("/stock/storeapi/check/detail",{data:{inventory_id:t}})},e.getInventoryDetailInEdit=function(t){return i.default.post("/stock/storeapi/check/editData",{data:{inventory_id:t}})},e.getInventoryList=function(t){return i.default.post("/stock/storeapi/check/lists",{data:t})},e.getInventoryNo=function(){return i.default.post("/stock/storeapi/Check/getInventoryNo")},e.getSkuListForStock=function(t){return i.default.post("/stock/storeapi/manage/getskulist",{data:t})},e.getStockGoodsList=function(t){return i.default.post("/stock/storeapi/manage/lists",{data:t})},e.getStockGoodsRecords=function(t){return i.default.post("/stock/storeapi/manage/records",{data:t})},e.getStorageDetail=function(t){return i.default.post("/stock/storeapi/storage/detail",{data:{document_id:t}})},e.getStorageDetailInEdit=function(t){return i.default.post("/stock/storeapi/storage/editData",{data:{document_id:t}})},e.getStorageDocumentNo=function(){return i.default.post("/stock/storeapi/storage/getDocumentNo")},e.getStorageLists=function(t){return i.default.post("/stock/storeapi/storage/lists",{data:t})},e.getStoreLists=function(){return i.default.post("/stock/storeapi/store/lists")},e.getWastageDetail=function(t){return i.default.post("/stock/storeapi/wastage/detail",{data:{document_id:t}})},e.getWastageDetailInEdit=function(t){return i.default.post("/stock/storeapi/wastage/editData",{data:{document_id:t}})},e.getWastageDocumentNo=function(){return i.default.post("/stock/storeapi/wastage/getDocumentNo")},e.getWastageLists=function(t){return i.default.post("/stock/storeapi/wastage/lists",{data:t})},e.inventoryAgree=function(t){return i.default.post("/stock/storeapi/check/agree",{data:{inventory_id:t}})},e.inventoryDelete=function(t){return i.default.post("stock/storeapi/check/delete",{data:{inventory_id:t}})},e.inventoryRefuse=function(t){return i.default.post("/stock/storeapi/check/refuse",{data:t})},e.storageAgree=function(t){return i.default.post("/stock/storeapi/storage/agree",{data:{document_id:t}})},e.storageDelete=function(t){return i.default.post("/stock/storeapi/storage/delete",{data:{document_id:t}})},e.storageRefuse=function(t){return i.default.post("/stock/storeapi/storage/refuse",{data:t})};var i=o(a("a3b5"))},"2fe9":function(t,e,a){"use strict";a.r(e);var o=a("67a0"),i=a("b506");for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);a("d522");var s=a("828b"),r=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"14bbcd78",null,!1,o["a"],void 0);e["default"]=r.exports},3339:function(t,e,a){var o=a("4e2c");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=a("967d").default;i("12e29904",o,!0,{sourceMap:!1,shadowMode:!1})},"4e2c":function(t,e,a){var o=a("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-storage"],{1933:function(t,e,o){var i=o("4368");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=o("967d").default;a("165af2d6",i,!0,{sourceMap:!1,shadowMode:!1})},"28b4":function(t,e,o){"use strict";o("6a54");var i=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addAllocate=function(t){return a.default.post("/stock/storeapi/allocate/addallocate",{data:t})},e.addInventory=function(t){return a.default.post("/stock/storeapi/check/add",{data:t})},e.allocateAgree=function(t){return a.default.post("/stock/storeapi/allocate/agree",{data:{allot_id:t}})},e.allocateDelete=function(t){return a.default.post("/stock/storeapi/allocate/delete",{data:{allot_id:t}})},e.allocateRefuse=function(t){return a.default.post("/stock/storeapi/allocate/refuse",{data:t})},e.editAllocate=function(t){return a.default.post("/stock/storeapi/allocate/editAllocate",{data:t})},e.editInventory=function(t){return a.default.post("/stock/storeapi/check/edit",{data:t})},e.editStorage=function(t){return a.default.post("/stock/storeapi/storage/stockin",{data:t})},e.editWastage=function(t){return a.default.post("/stock/storeapi/wastage/stockout",{data:t})},e.getAllocateDetail=function(t){return a.default.post("/stock/storeapi/allocate/detail",{data:{allot_id:t}})},e.getAllocateDetailInEdit=function(t){return a.default.post("/stock/storeapi/allocate/editData",{data:{allot_id:t}})},e.getAllocateList=function(t){return a.default.post("/stock/storeapi/allocate/lists",{data:t})},e.getAllotNo=function(){return a.default.post("/stock/storeapi/allocate/getAllotNo")},e.getDocumentType=function(){return a.default.post("/stock/storeapi/manage/getDocumentType")},e.getInventoryDetail=function(t){return a.default.post("/stock/storeapi/check/detail",{data:{inventory_id:t}})},e.getInventoryDetailInEdit=function(t){return a.default.post("/stock/storeapi/check/editData",{data:{inventory_id:t}})},e.getInventoryList=function(t){return a.default.post("/stock/storeapi/check/lists",{data:t})},e.getInventoryNo=function(){return a.default.post("/stock/storeapi/Check/getInventoryNo")},e.getSkuListForStock=function(t){return a.default.post("/stock/storeapi/manage/getskulist",{data:t})},e.getStockGoodsList=function(t){return a.default.post("/stock/storeapi/manage/lists",{data:t})},e.getStockGoodsRecords=function(t){return a.default.post("/stock/storeapi/manage/records",{data:t})},e.getStorageDetail=function(t){return a.default.post("/stock/storeapi/storage/detail",{data:{document_id:t}})},e.getStorageDetailInEdit=function(t){return a.default.post("/stock/storeapi/storage/editData",{data:{document_id:t}})},e.getStorageDocumentNo=function(){return a.default.post("/stock/storeapi/storage/getDocumentNo")},e.getStorageLists=function(t){return a.default.post("/stock/storeapi/storage/lists",{data:t})},e.getStoreLists=function(){return a.default.post("/stock/storeapi/store/lists")},e.getWastageDetail=function(t){return a.default.post("/stock/storeapi/wastage/detail",{data:{document_id:t}})},e.getWastageDetailInEdit=function(t){return a.default.post("/stock/storeapi/wastage/editData",{data:{document_id:t}})},e.getWastageDocumentNo=function(){return a.default.post("/stock/storeapi/wastage/getDocumentNo")},e.getWastageLists=function(t){return a.default.post("/stock/storeapi/wastage/lists",{data:t})},e.inventoryAgree=function(t){return a.default.post("/stock/storeapi/check/agree",{data:{inventory_id:t}})},e.inventoryDelete=function(t){return a.default.post("stock/storeapi/check/delete",{data:{inventory_id:t}})},e.inventoryRefuse=function(t){return a.default.post("/stock/storeapi/check/refuse",{data:t})},e.storageAgree=function(t){return a.default.post("/stock/storeapi/storage/agree",{data:{document_id:t}})},e.storageDelete=function(t){return a.default.post("/stock/storeapi/storage/delete",{data:{document_id:t}})},e.storageRefuse=function(t){return a.default.post("/stock/storeapi/storage/refuse",{data:t})};var a=i(o("a3b5"))},4368:function(t,e,o){var i=o("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 *Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-stock-wastage"],{1012:function(t,e,o){"use strict";o.r(e);var i=o("92c6"),a=o.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},"28b4":function(t,e,o){"use strict";o("6a54");var i=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addAllocate=function(t){return a.default.post("/stock/storeapi/allocate/addallocate",{data:t})},e.addInventory=function(t){return a.default.post("/stock/storeapi/check/add",{data:t})},e.allocateAgree=function(t){return a.default.post("/stock/storeapi/allocate/agree",{data:{allot_id:t}})},e.allocateDelete=function(t){return a.default.post("/stock/storeapi/allocate/delete",{data:{allot_id:t}})},e.allocateRefuse=function(t){return a.default.post("/stock/storeapi/allocate/refuse",{data:t})},e.editAllocate=function(t){return a.default.post("/stock/storeapi/allocate/editAllocate",{data:t})},e.editInventory=function(t){return a.default.post("/stock/storeapi/check/edit",{data:t})},e.editStorage=function(t){return a.default.post("/stock/storeapi/storage/stockin",{data:t})},e.editWastage=function(t){return a.default.post("/stock/storeapi/wastage/stockout",{data:t})},e.getAllocateDetail=function(t){return a.default.post("/stock/storeapi/allocate/detail",{data:{allot_id:t}})},e.getAllocateDetailInEdit=function(t){return a.default.post("/stock/storeapi/allocate/editData",{data:{allot_id:t}})},e.getAllocateList=function(t){return a.default.post("/stock/storeapi/allocate/lists",{data:t})},e.getAllotNo=function(){return a.default.post("/stock/storeapi/allocate/getAllotNo")},e.getDocumentType=function(){return a.default.post("/stock/storeapi/manage/getDocumentType")},e.getInventoryDetail=function(t){return a.default.post("/stock/storeapi/check/detail",{data:{inventory_id:t}})},e.getInventoryDetailInEdit=function(t){return a.default.post("/stock/storeapi/check/editData",{data:{inventory_id:t}})},e.getInventoryList=function(t){return a.default.post("/stock/storeapi/check/lists",{data:t})},e.getInventoryNo=function(){return a.default.post("/stock/storeapi/Check/getInventoryNo")},e.getSkuListForStock=function(t){return a.default.post("/stock/storeapi/manage/getskulist",{data:t})},e.getStockGoodsList=function(t){return a.default.post("/stock/storeapi/manage/lists",{data:t})},e.getStockGoodsRecords=function(t){return a.default.post("/stock/storeapi/manage/records",{data:t})},e.getStorageDetail=function(t){return a.default.post("/stock/storeapi/storage/detail",{data:{document_id:t}})},e.getStorageDetailInEdit=function(t){return a.default.post("/stock/storeapi/storage/editData",{data:{document_id:t}})},e.getStorageDocumentNo=function(){return a.default.post("/stock/storeapi/storage/getDocumentNo")},e.getStorageLists=function(t){return a.default.post("/stock/storeapi/storage/lists",{data:t})},e.getStoreLists=function(){return a.default.post("/stock/storeapi/store/lists")},e.getWastageDetail=function(t){return a.default.post("/stock/storeapi/wastage/detail",{data:{document_id:t}})},e.getWastageDetailInEdit=function(t){return a.default.post("/stock/storeapi/wastage/editData",{data:{document_id:t}})},e.getWastageDocumentNo=function(){return a.default.post("/stock/storeapi/wastage/getDocumentNo")},e.getWastageLists=function(t){return a.default.post("/stock/storeapi/wastage/lists",{data:t})},e.inventoryAgree=function(t){return a.default.post("/stock/storeapi/check/agree",{data:{inventory_id:t}})},e.inventoryDelete=function(t){return a.default.post("stock/storeapi/check/delete",{data:{inventory_id:t}})},e.inventoryRefuse=function(t){return a.default.post("/stock/storeapi/check/refuse",{data:t})},e.storageAgree=function(t){return a.default.post("/stock/storeapi/storage/agree",{data:{document_id:t}})},e.storageDelete=function(t){return a.default.post("/stock/storeapi/storage/delete",{data:{document_id:t}})},e.storageRefuse=function(t){return a.default.post("/stock/storeapi/storage/refuse",{data:t})};var a=i(o("a3b5"))},"3e66":function(t,e,o){var i=o("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/*Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-acccount_record"],{"04da":function(e,t,a){var n=a("9333");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("967d").default;i("99cf0aba",n,!0,{sourceMap:!1,shadowMode:!1})},"0a4b":function(e,t,a){"use strict";a.r(t);var n=a("8b5c"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},1691:function(e,t,a){var n=a("d385");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("967d").default;i("55c5a510",n,!0,{sourceMap:!1,shadowMode:!1})},"429f":function(e,t,a){"use strict";var n=a("04da"),i=a.n(n);i.a},"5d18":function(e,t,a){"use strict";a("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("64aa"),a("bf0f"),a("2797"),a("8f71"),a("4626"),a("5ac7");var n={name:"select-lay",props:{disabled:{type:Boolean,default:!1},zindex:{type:Number,default:999},options:{type:Array,default:function(){return[]}},name:{type:String,default:""},value:{type:[String,Number],default:""},placeholder:{type:String,default:"请选择"},showplaceholder:{type:Boolean,default:!0},slabel:{type:String,default:"label"},svalue:{type:String,default:"value"}},data:function(){return{active:!1,isfocus:!1,isremove:!1,ismove:!1,changevalue:"",oldvalue:"",changes:!1,changesValue:"",vlist:[],settimer:null}},mounted:function(){this.itemcheck()},watch:{value:function(){this.itemcheck()},options:function(){this.itemcheck()}},methods:{itemcheck:function(){var e=this;""!=this.value?this.options.length>0&&this.options.forEach((function(t){e.value!=t[e.svalue]||(e.oldvalue=e.changevalue=t[e.slabel])})):this.oldvalue=this.changevalue=""},select:function(){this.disabled||(this.active=!this.active,this.active?this.changes=!1:this.changevalue=this.oldvalue)},unifocus:function(){this.disabled||(this.active=!0,this.changes=!1,this.isfocus=!0)},uniblur:function(){var e=this;this.isfocus=!1,setTimeout((function(){e.isremove||e.ismove?(e.isremove=!1,e.ismove=!1):(e.changevalue=e.oldvalue,e.isremove=!1,e.active=!1)}),153)},movetouch:function(){var e=this;setTimeout((function(){e.isfocus?e.ismove=!1:e.ismove||(e.ismove=!0)}),100)},selectmove:function(){var e=this;setTimeout((function(){e.isfocus?e.ismove=!1:e.ismove||(e.ismove=!0)}),100)},removevalue:function(){this.isremove=!0,this.changes=!1,this.changevalue=""},intchange:function(){var e=this;""!=this.changevalue?this.oldvalue!=this.changevalue&&(this.vlist=[],this.changes=!0,this.changesValue="正在搜索...",this.settimer&&clearTimeout(this.settimer),this.settimer=setTimeout((function(){e.vlist=e.options.filter((function(t){return t[e.slabel].includes(e.changevalue)})),0===e.vlist.length&&(e.changesValue="暂无匹配内容!")}),600)):this.changes=!1},selectitem:function(e,t){if(t&&t.disabled)return!1;this.changevalue=this.oldvalue,this.active=!1,this.$emit("selectitem",e,t)}}};t.default=n},"7bf9":function(e,t,a){"use strict";a.r(t);var n=a("8d3e"),i=a("aae9");for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("e47c");var r=a("828b"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"3387bb78",null,!1,n["a"],void 0);t["default"]=s.exports},"83f3":function(e,t,a){"use strict";a.r(t);var n=a("f50a"),i=a("0a4b");for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("429f");var r=a("828b"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"f80d83d0",null,!1,n["a"],void 0);t["default"]=s.exports},"8b5c":function(e,t,a){"use strict";a("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("5ef2"),a("fd3c"),a("dc8a");var n=a("d059"),i={data:function(){var e=this;return{screen:{page:1,start_date:"",end_date:"",from_type:"",remark:""},userList:[],cols:[{width:12,title:"来源方式",field:"type_name",align:"left"},{width:12,title:"记录金额",field:"account_data",align:"right"},{width:18,title:"发生时间",align:"center",return:function(t){return t.create_time?e.$util.timeFormat(t.create_time):""}},{width:48,title:"备注",field:"remark",align:"left"},{width:10,title:"操作",action:!0,align:"right"}],fromType:[],withdrawDetail:null}},onLoad:function(){this.getScreenContent()},methods:{detail:function(e){-1!=window.location.origin.indexOf("localhost")?window.open(window.location.origin+"/cashregister/pages/order/orderlist?order_no="+e.value.related_info.order_no+"&order_from="+e.value.related_info.order_from,"_blank"):window.open(this.$config.baseUrl+"/cashregister/pages/order/orderlist?order_no="+e.value.related_info.order_no+"&order_from="+e.value.related_info.order_from,"_blank")},switchStoreAfter:function(){this.screen={page:1,start_date:"",end_date:""},this.$refs.table.load()},search:function(){this.$refs.table.load(this.screen)},reset:function(){this.screen={page:1,start_date:"",end_date:"",from_type:"",remark:""}},getScreenContent:functioLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-close"],{"0101":function(t,r,n){var o=n("7338");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=n("967d").default;a("130278e0",o,!0,{sourceMap:!1,shadowMode:!1})},"154f":function(t,r,n){"use strict";n.r(r);var o=n("24d6"),a=n("d5c2");for(var e in a)["default"].indexOf(e)<0&&function(t){n.d(r,t,(function(){return a[t]}))}(e);n("255a");var i=n("828b"),d=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,"21286380",null,!1,o["a"],void 0);r["default"]=d.exports},"24d6":function(t,r,n){"use strict";n.d(r,"b",(function(){return o})),n.d(r,"c",(function(){return a})),n.d(r,"a",(function(){}));var o=function(){var t=this,r=t.$createElement,o=t._self._c||r;return o("base-page",[o("v-uni-view",{staticClass:"empty-box"},[o("v-uni-image",{attrs:{src:n("721d"),mode:"widthFix"}}),o("v-uni-view",[t._v("门店已停业")]),o("v-uni-button",{staticClass:"btn",on:{click:function(r){arguments[0]=r=t.$handleEvent(r),t.$util.redirectTo("/pages/login/login")}}},[t._v("返回")])],1)],1)},a=[]},"255a":function(t,r,n){"use strict";var o=n("0101"),a=n.n(o);a.a},"721d":function(t,r,n){t.exports=n.p+"static/cashier/store-close.png"},7338:function(t,r,n){var o=n("c86c");r=o(!1),r.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-21286380]{display:none}\r\n/* 收银台相关 */uni-text[data-v-21286380],\r\nuni-view[data-v-21286380]{font-size:.14rem}body[data-v-21286380]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-21286380]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-21286380]::-webkit-scrollbar-button{display:none}body[data-v-21286380]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-21286380]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-21286380]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-21286380]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-21286380]{color:var(--primary-color)!important}.empty-box[data-v-21286380]{width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;position:fixed;left:0;top:0;background-color:#fff;z-index:10000}.empty-box uni-image[data-v-21286380]{width:3rem;height:3rem;max-height:3rem}.empty-box uni-view[data-v-21286380]{text-align:center;font-size:.16rem;color:var(--primary-color);margin:0 0 .3rem}.empty-box uni-button[data-v-21286380]{background-color:#fff;color:var(--primary-color);border:.01rem solid var(--primary-color);font-size:.165rem;width:1rem}',""]),t.exports=r},"757a":function(t,r,n){"use strict";n("6a54"),Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default={data:function(){return{}},onLoad:function(){},onShow:function(){},methods:{}}},d5c2:function(t,r,n){"use strict";n.r(r);var o=n("757a"),a=n.n(o);for(var e in o)["default"].indexOf(e)<0&&function(t){n.d(r,t,(function(){return o[t]}))}(e);r["default"]=a.a}}]);
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-config"],{"0652":function(t,e,a){var i=a("5847");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=a("967d").default;r("21eb42ea",i,!0,{sourceMap:!1,shadowMode:!1})},"0d8b":function(t,e,a){"use strict";a.r(e);var i=a("ee2f"),r=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=r.a},"13b2":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"pick-regions"},[a("v-uni-picker",{attrs:{mode:"multiSelector",value:t.multiIndex,range:t.multiArray},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleValueChange.apply(void 0,arguments)},columnchange:function(e){arguments[0]=e=t.$handleEvent(e),t.handleColumnChange.apply(void 0,arguments)}}},[t._t("default")],2)],1)},r=[]},"18b3":function(t,e,a){"use strict";a.r(e);var i=a("e3ae"),r=a.n(i);for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=r.a},"18c6":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(a("5de6")),n=i(a("2634")),o=i(a("2fdc"));a("fd3c"),a("bf0f"),a("2797"),a("aa9c");var s=a("7f58"),l={props:{defaultRegions:{type:Array},selectArr:{type:String}},data:function(){return{pickerValueArray:[],cityArr:[],districtArr:[],multiIndex:[0,0,0],isInitMultiArray:!1,isLoadDefaultAreas:!1}},watch:{defaultRegions:{handler:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];t.length==this.selectArr&&t.join("")!==e.join("")&&this.handleDefaultRegions()},immediate:!0}},computed:{multiArray:function(){if(this.isLoadDefaultAreas){var t=this.pickedArr.map((function(t){return t.map((function(t){return t.label}))}));return t}},pickedArr:function(){return this.isInitMultiArray?"2"==this.selectArr?[this.pickerValueArray[0],this.pickerValueArray[1]]:[this.pickerValueArray[0],this.pickerValueArray[1],this.pickerValueArray[2]]:"2"==this.selectArr?[this.pickerValueArray[0],this.cityArr]:[this.pickerValueArray[0],this.cityArr,this.districtArr]}},created:function(){this.getDefaultAreas(0,{level:0})},methods:{handleColumnChange:function(t){var e=this;return(0,o.default)((0,n.default)().mark((function a(){var i,r;return(0,n.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:e.isInitMultiArray=!1,i=t.detail.column,r=t.detail.value,e.multiIndex[i]=r,a.t0=i,a.next=0===a.t0?7:1===a.t0?14:2===a.t0?18:27;break;case 7:return a.next=9,e.getAreasAsync(e.pickerValueArray[0][e.multiIndex[i]].value);case 9:return e.cityArr=a.sent,a.next=12,e.getAreasAsync(e.cityArr[0].value);case 12:return e.districtArr=a.sent,a.abrupt("break",27);case 14:return a.next=16,e.getAreasAsync(e.cityArr[e.multiIndex[i]].value);case 16:return e.districtArr=a.sent,a.abrupt("break",27);case 18:if(e.cityArr.length){a.next=22;break}return a.next=21,e.getAreasAsync(e.pickerValueArray[0][0].value);case 21:e.cityArr=a.sent;case 22:if(e.districtArr.length){a.next=26;break}return a.next=25,e.getAreasAsync(e.cityArr[0].value);case 25:e.districtArr=a.sent;case 26:return a.abrupt("break",27);case 27:case"end":return a.stop()}}),a)})))()},handleValueChange:function(t){var e=(0,r.default)(t.detail.value,3),a=e[0],i=e[1],n=e[2],o=(0,r.default)(this.pickedArr,3),s=o[0],l=o[1],c=o[2],d="";d="2"==this.selectArr?[s[a],l[i]]:[s[a],l[i],c[n]],this.$emit("getRegions",d)},handleDefaultRegions:function(){var t=this,e=setInterval((function(){if(t.isLoadDefaultAreas){t.isInitMultiArray=!1;for(var a=0;a<t.defaultRegions.length;a++)for(var i=function(e){t.defaultRegions[a]!=t.pickerValueArray[a][e].value&&t.defaultRegions[a]!=t.pickerValueArray[a][e].label||1!=t.pickerValueArray[a][e].level||(t.$set(t.multiIndex,a,e),t.getAreas(t.pickerValueArray[a][e].value,(function(a){t.cityArr=a;for(var i=function(a){if(t.defaultRegions[1]==t.cityArr[a].value||t.defaultRegions[1]==t.cityArr[a].label)return t.$set(t.multiIndex,1,a),t.getAreas(t.cityArr[a].value,(function(i){t.districtArr=i;for(var r=0;r<t.districtArr.length;r++)if(t.defaultRegions[2]==t.districtArr[r].value||t.defaultRegions[2]==t.districtArr[r].label){t.$set(t.multiIndex,2,r),t.handleValueChange({detail:{value:[e,a,r]}});break}})),"break"},r=0;r<t.cityArr.length;r++){var n=i(r);if("break"===n)break}})))},r=0;r<t.pickerValueArray[a].length;r++)i(r);t.isLoadDefaultAreas&&clearInterval(e)}}),100)},getDefaultAreas:function(t,e){var a=this;(0,s.getAreaList)({pid:t}).then((function(t){if(0==t.code){var i=[],r=void 0;t.data.forEach((function(t,a){void 0!=e&&(0==e.level&&void 0!=e.province_id?r=e.province_id:1==e.level&&void 0!=e.city_id?r=e.city_id:2==e.level&&void 0!=e.district_id&&(r=e.district_id)),void 0==r&&0==a&&(r=t.id),i.push({value:t.id,label:t.name,level:t.leLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-deliver"],{"02b6":function(e,i,t){"use strict";var r=t("d6a7"),a=t.n(r);a.a},"27a9":function(e,i,t){"use strict";t.r(i);var r=t("89ad"),a=t.n(r);for(var l in r)["default"].indexOf(l)<0&&function(e){t.d(i,e,(function(){return r[e]}))}(l);i["default"]=a.a},"37e6":function(e,i,t){"use strict";t.r(i);var r=t("9c97"),a=t("d2e0");for(var l in a)["default"].indexOf(l)<0&&function(e){t.d(i,e,(function(){return a[e]}))}(l);t("a8b1");var n=t("828b"),o=Object(n["a"])(a["default"],r["b"],r["c"],!1,null,"95e9179e",null,!1,r["a"],void 0);i["default"]=o.exports},"3b1d":function(e,i,t){var r=t("c86c");i=r(!1),i.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-16008ec4]{display:none}\r\n/* 收银台相关 */uni-text[data-v-16008ec4],\r\nuni-view[data-v-16008ec4]{font-size:.14rem}body[data-v-16008ec4]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-16008ec4]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-16008ec4]::-webkit-scrollbar-button{display:none}body[data-v-16008ec4]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-16008ec4]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-16008ec4]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-16008ec4]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-16008ec4]{color:var(--primary-color)!important}@-webkit-keyframes spin-data-v-16008ec4{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin-data-v-16008ec4{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loading-layer[data-v-16008ec4]{width:100%;height:100%;position:fixed;top:0;left:0;z-index:997;background:#fff}.loading-anim[data-v-16008ec4]{position:absolute;left:50%;top:40%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.loading-anim > .item[data-v-16008ec4]{position:relative;width:.3rem;height:.3rem;-webkit-perspective:8rem;perspective:8rem;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;transition:all .2s ease-out}.loading-anim .border[data-v-16008ec4]{position:absolute;border-radius:50%;border:.03rem solid var(--primary-color)}.loading-anim .out[data-v-16008ec4]{top:15%;left:15%;width:70%;height:70%;border-right-color:transparent!important;border-bottom-color:transparent!important;-webkit-animation:spin-data-v-16008ec4 .6s linear normal infinite;animation:spin-data-v-16008ec4 .6s linear normal infinite}.loading-anim .in[data-v-16008ec4]{top:25%;left:25%;width:50%;height:50%;border-top-color:transparent!important;border-bottom-color:transparent!important;-webkit-animation:spin-data-v-16008ec4 .8s linear infinite;animation:spin-data-v-16008ec4 .8s linear infinite}.loading-anim .mid[data-v-16008ec4]{top:40%;left:40%;width:20%;height:20%;border-left-color:transparent;border-right-color:transparent;-webkit-animation:spin-data-v-16008ec4 .6s linear infinite;animation:spin-data-v-16008ec4 .6s linear infinite}',""]),e.exports=i},"5fe6":function(e,i,t){var r=t("d934");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=t("967d").default;a("62f1a7b8",r,!0,{sourceMap:!1,shadowMode:!1})},8886:function(e,i,t){"use strict";t("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,t("c223");var r=t("dbfc"),a={data:function(){return{search_text:"",page:1,page_size:8,one_judge:!0,detail:{},list:[],selectDeliverKeys:0,flag:!1,deliverData:{deliver_id:0,deliver_name:"",deliver_mobile:""}}},onLoad:function(){this.getDeliverListFn()},methods:{deliverSelect:function(e,i){this.selectDeliverKeys=i,this.getDeliverDetail(e.deliver_id)},search:function(){this.page=1,tLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-index"],{"23c6":function(e,t,i){var s=i("6952");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);var a=i("967d").default;a("9cacd746",s,!0,{sourceMap:!1,shadowMode:!1})},2533:function(e,t,i){"use strict";i.r(t);var s=i("d9c8"),a=i("806b");for(var n in a)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(n);i("f6da");var r=i("828b"),o=Object(r["a"])(a["default"],s["b"],s["c"],!1,null,"449021e6",null,!1,s["a"],void 0);t["default"]=o.exports},6952:function(e,t,i){var s=i("c86c");t=s(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-449021e6]{display:none}\r\n/* 收银台相关 */uni-text[data-v-449021e6],\r\nuni-view[data-v-449021e6]{font-size:.14rem}body[data-v-449021e6]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-449021e6]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-449021e6]::-webkit-scrollbar-button{display:none}body[data-v-449021e6]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-449021e6]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-449021e6]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-449021e6]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-449021e6]{color:var(--primary-color)!important}.store-information[data-v-449021e6]{width:100%;box-sizing:border-box;padding-bottom:.1rem;margin-bottom:.2rem}.store-information .store-status[data-v-449021e6]{font-size:.24rem;font-weight:700;height:.6rem;line-height:.6rem;padding-left:.2rem}.store-information .store-types[data-v-449021e6]{width:100%;background:#fff;padding:.2rem .3rem;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:.2rem;box-sizing:border-box;position:relative}.store-information .store-types .info-left[data-v-449021e6]{display:flex;flex-direction:column;justify-content:space-between}.store-information .store-types .btn[data-v-449021e6]{position:absolute;top:.2rem;right:.2rem;color:var(--primary-color);cursor:pointer}.store-information .store-types .info-img[data-v-449021e6]{margin-top:.4rem}.store-information .store-types .info-img uni-image[data-v-449021e6]{max-width:1.5rem;height:1rem}.store-information .store-types .type[data-v-449021e6]{padding-left:.1rem}.store-information .store-types .type uni-view[data-v-449021e6]{font-size:.14rem}.store-information .store-types .type uni-view .look[data-v-449021e6]{color:var(--primary-color);margin-left:.24rem}.store-information .store-types .type uni-view[data-v-449021e6]:nth-child(1){width:1rem;text-align:right;margin-right:.1rem}.store-information .store-types .type1[data-v-449021e6]{display:flex;align-items:center;height:.34rem}.week[data-v-449021e6]{margin-right:.1rem}',""]),e.exports=t},"806b":function(e,t,i){"use strict";i.r(t);var s=i("a998"),a=i.n(s);for(var n in s)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(n);t["default"]=a.a},a998:function(e,t,i){"use strict";i("6a54");var s=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("e966");var a=s(i("9b1b")),n=i("8f59"),r={data:function(){return{storeData:{store_name:"",store_image:"",status:0,telphone:"",open_date:"",is_o2o:0,is_pickup:0,time_type:0,start_time:"00:00",end_time:"23:59",stock_type:"all",time_week:"",latitude:39.909,longitude:116.39742,province_id:11e4,city_id:110100,district_id:110101,address:"",full_address:"",store_type:"directsale"}}},onLoad:function(){},onShow:function(){this.getData()},computed:(0,a.default)({},(0,n.mapGetters)(["memberSearchWayConfig"])),methods:{getData:function(){this.storeData=this.$util.deepClone(this.globalStoreInfo),this.storeData.start_time=this.timeFormat(this.storeData.start_time),this.storeDaLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-operate"],{"0a20":function(t,a,e){"use strict";e.r(a);var i=e("6ad9"),s=e("897f");for(var o in s)["default"].indexOf(o)<0&&function(t){e.d(a,t,(function(){return s[t]}))}(o);e("efcc");var r=e("828b"),n=Object(r["a"])(s["default"],i["b"],i["c"],!1,null,"2f99bef1",null,!1,i["a"],void 0);a["default"]=n.exports},1811:function(t,a,e){var i=e("c86c");a=i(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-2f99bef1]{display:none}\r\n/* 收银台相关 */uni-text[data-v-2f99bef1],\r\nuni-view[data-v-2f99bef1]{font-size:.14rem}body[data-v-2f99bef1]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-2f99bef1]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-2f99bef1]::-webkit-scrollbar-button{display:none}body[data-v-2f99bef1]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-2f99bef1]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-2f99bef1]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-2f99bef1]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-2f99bef1]{color:var(--primary-color)!important}.store-operate[data-v-2f99bef1]{position:relative}.store-operate .common-btn-wrap[data-v-2f99bef1]{position:absolute;left:0;bottom:0;right:0;padding:.24rem .2rem}.store-operate .common-wrap[data-v-2f99bef1]{padding:%?30?%;height:calc(100vh - .4rem);overflow-y:auto;box-sizing:border-box}.store-operate .common-wrap .form-label[data-v-2f99bef1]{padding:.09rem .15rem;text-align:right;width:1.2rem}.store-operate .store-img[data-v-2f99bef1]{align-items:flex-start!important}.store-operate .map-box[data-v-2f99bef1]{width:6.5rem;height:5rem;position:relative}.store-operate .map-box .map-icon[data-v-2f99bef1]{position:absolute;top:calc(50% - .36rem);left:calc(50% - .18rem);width:.36rem;height:.36rem;z-index:100}.store-operate .form-input[data-v-2f99bef1]{font-size:.16rem}.store-operate .form-input-inline.btn[data-v-2f99bef1]{height:.37rem;line-height:.35rem;box-sizing:border-box;border:.01rem solid #e6e6e6;text-align:center;cursor:pointer}.store-operate .common-title[data-v-2f99bef1]{font-size:.18rem;margin-bottom:.2rem}.store-operate .radio-input[data-v-2f99bef1]{width:.6rem;height:.35rem;line-height:.35rem;padding:0 .1rem;margin:0 .1rem;border:.01rem solid #eee}.store-operate .radio-input.disabled[data-v-2f99bef1]{background:#f5f5f5}.store-operate .time-action[data-v-2f99bef1]{color:var(--primary-color);cursor:pointer}',""]),t.exports=a},"634a":function(t,a,e){"use strict";e("6a54");var i=e("f5bd").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,e("c9b5"),e("bf0f"),e("ab80"),e("e966"),e("d4b5"),e("4626"),e("5ac7"),e("aa9c"),e("dd2b");var s=i(e("9b1b")),o=e("5c0d"),r=e("1d07"),n=e("8f59"),l={data:function(){return{storeData:{},covers:[{latitude:39.909,longitude:116.39742,iconPath:"/static/location.png"}],defaultRegions:[],memberSearchWay:"exact"}},onLoad:function(){},onShow:function(){this.getData()},computed:(0,s.default)({},(0,n.mapGetters)(["memberSearchWayConfig"])),watch:{memberSearchWayConfig:{immediate:!0,handler:function(t,a){t&&(this.memberSearchWay=t.way)}}},methods:{getData:function(){this.storeData=this.$util.deepClone(this.globalStoreInfo),this.storeData.start_time=this.timeFormat(this.storeData.start_time),this.storeData.end_time=this.timeFormat(this.storeData.end_time),this.memberSearchWayConfig&&(this.memberSearchWay=this.memberSearchWayConfig.way)},statusChange:function(t){this.storeData.status=t.detail.value},o2oChange:function(t){this.storeData.is_o2o=t.detail.value},expressChange:function(t){this.storeData.is_express=t.detail.value},pickupChange:function(t){this.storeData.is_pickup=t.detail.value},timeTypeChange:function(t){this.storeData.time_type=t.detail.valuLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-settlement"],{2445:function(t,e,a){"use strict";a.r(e);var i=a("4f6f"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"4f6f":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a("d059"),n={data:function(){var t=this;return{bankType:{1:"微信",2:"支付宝",3:"银行卡"},withdrawConfig:{is_settlement:0},cols:[{width:12,title:"结算方式",field:"transfer_type_name",align:"left"},{width:12,title:"结算类型",field:"settlement_type_name",align:"left"},{width:12,title:"结算金额",align:"left",return:function(e){return t.$util.moneyFormat(e.money)}},{width:12,title:"结算状态",field:"status_name"},{width:15,title:"申请时间",align:"center",return:function(e){return e.apply_time?t.$util.timeFormat(e.apply_time):""}},{width:15,title:"转账时间",align:"center",return:function(e){return e.transfer_time?t.$util.timeFormat(e.transfer_time):""}},{width:20,title:"操作",action:!0,align:"right"}],isRepeat:!1,withdrawDetail:null,newWithdrawDetail:null,qrcode:"",timer:null}},onLoad:function(){},onShow:function(){this.getWithdrawConfigFn(),this.getNewWithdrawConfigFn(),this.$store.dispatch("app/getStoreInfoFn")},methods:{closeQrcodePopup:function(){this.$refs.qrcodePopup.close(),clearInterval(this.timer),this.$refs.table.load()},checkWithdrawStatus:function(t){var e=this;this.timer=setInterval((function(){(0,i.withdrawDetail)(t).then((function(t){0==t.code?2==t.data.status&&(clearInterval(e.timer),e.$refs.qrcodePopup.close(),e.$refs.table.load()):clearInterval(e.timer)}))}),1e3)},showQRcode:function(t){var e=this;this.qrcode="",(0,i.transferCode)({id:t.value.withdraw_id}).then((function(a){e.qrcode=a.data,e.$refs.qrcodePopup.open(),e.checkWithdrawStatus(t.value.withdraw_id)}))},getNewWithdrawConfigFn:function(){var t=this;(0,i.withdrawConfig)().then((function(e){0==e.code&&(t.newWithdrawDetail=e.data)}))},switchStoreAfter:function(){this.$refs.table.load()},getWithdrawConfigFn:function(){var t=this;(0,i.getWithdrawConfig)().then((function(e){0==e.code&&(t.withdrawConfig=e.data)}))},applyWithdraw:function(){this.$refs.applyWithdraw.open()},apply:function(){var t=this;this.isRepeat||(this.isRepeat=!0,(0,i.applyWithdraw)(this.globalStoreInfo.account).then((function(e){0==e.code?(t.$store.dispatch("app/getStoreInfoFn"),t.$refs.applyWithdraw.close(),t.$refs.table.load(),setTimeout((function(){t.isRepeat=!1}),500)):(t.isRepeat=!1,t.$util.showToast({title:e.message}))})))},detail:function(t){var e=this;(0,i.withdrawDetail)(t.value.withdraw_id).then((function(t){0==t.code&&(e.withdrawDetail=t.data,e.$refs.detailPopup.open("center"))}))}}};e.default=n},"655a":function(t,e,a){"use strict";a.r(e);var i=a("d705"),n=a("2445");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("c346");var r=a("828b"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"c130a47c",null,!1,i["a"],void 0);e["default"]=s.exports},"6c38":function(t,e,a){var i=a("a2bb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("0a6eb1f0",i,!0,{sourceMap:!1,shadowMode:!1})},a2bb:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-c130a47c]{display:none}\r\n/* 收银台相关 */uni-text[data-v-c130a47c],\r\nuni-view[data-v-c130a47c]{font-size:.14rem}body[data-v-c130a47c]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-c130a47c]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-c130a47c]::-webkit-scrollbar-button{display:none}body[data-v-c130a47c]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-c130a47c]::-webkit-scrollLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-settlement_record"],{"107a":function(e,t,a){"use strict";a.r(t);var i=a("d93b"),n=a("f8f4");for(var s in n)["default"].indexOf(s)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(s);a("eb07");var o=a("828b"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"8d46af8c",null,!1,i["a"],void 0);t["default"]=l.exports},1691:function(e,t,a){var i=a("d385");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("967d").default;n("55c5a510",i,!0,{sourceMap:!1,shadowMode:!1})},"5a02":function(e,t,a){"use strict";a("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("fd3c"),a("dc8a");var i=a("d059"),n={data:function(){var e=this;return{screen:{page:1,start_time:"",end_time:"",withdraw_no:"",transfer_type:"",settlement_type:"",status:"all"},userList:[],cols:[{width:12,title:"结算方式",field:"transfer_type_name",align:"left"},{width:12,title:"结算类型",field:"settlement_type_name",align:"left"},{width:12,title:"结算金额",align:"left",return:function(t){return e.$util.moneyFormat(t.money)}},{width:12,title:"结算状态",field:"status_name"},{width:15,title:"申请时间",align:"center",return:function(t){return t.apply_time?e.$util.timeFormat(t.apply_time):""}},{width:15,title:"转账时间",align:"center",return:function(t){return t.transfer_time?e.$util.timeFormat(t.transfer_time):""}},{width:20,title:"操作",action:!0,align:"right"}],status:[],settlementType:[],transferType:[],withdrawDetail:null}},onLoad:function(){this.getScreenContent()},methods:{switchStoreAfter:function(){this.screen={page:1,start_time:"",end_time:""},this.$refs.table.load()},search:function(){this.$refs.table.load(this.screen)},reset:function(){this.screen={page:1,start_time:"",end_time:"",withdraw_no:"",transfer_type:"",settlement_type:"",status:"all"}},getScreenContent:function(){var e=this;(0,i.getWithdrawScreen)().then((function(t){0==t.code&&(e.status=Object.keys(t.data.status).map((function(e){return{value:e,label:t.data.status[e]}})),e.settlementType=Object.keys(t.data.settlement_type).map((function(e){return{value:e,label:t.data.settlement_type[e]}})),e.transferType=Object.keys(t.data.transfer_type_list).map((function(e){return{value:e,label:t.data.transfer_type_list[e]}})))}))},selectTransferType:function(e){this.screen.transfer_type=-1==e?"":this.transferType[e].value},selectSettlementType:function(e){this.screen.settlement_type=-1==e?"":this.settlementType[e].value},selectStatus:function(e){this.screen.status=-1==e?"all":this.status[e].value},detail:function(e){var t=this;(0,i.withdrawDetail)(e.value.withdraw_id).then((function(e){0==e.code&&(t.withdrawDetail=e.data,t.$refs.detailPopup.open("center"))}))},backFn:function(){this.$util.redirectTo("/pages/store/settlement")}}};t.default=n},"5d18":function(e,t,a){"use strict";a("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("64aa"),a("bf0f"),a("2797"),a("8f71"),a("4626"),a("5ac7");var i={name:"select-lay",props:{disabled:{type:Boolean,default:!1},zindex:{type:Number,default:999},options:{type:Array,default:function(){return[]}},name:{type:String,default:""},value:{type:[String,Number],default:""},placeholder:{type:String,default:"请选择"},showplaceholder:{type:Boolean,default:!0},slabel:{type:String,default:"label"},svalue:{type:String,default:"value"}},data:function(){return{active:!1,isfocus:!1,isremove:!1,ismove:!1,changevalue:"",oldvalue:"",changes:!1,changesValue:"",vlist:[],settimer:null}},mounted:function(){this.itemcheck()},watch:{value:function(){this.itemcheck()},options:function(){this.itemcheck()}},methods:{itemcheck:function(){var e=this;""!=this.value?this.options.length>0&&this.options.forEach((function(t){e.value!=t[e.svalue]||(e.oldvalue=e.changevalue=t[e.slabel])})):this.oldvalue=this.changevalue=""},select:function(){this.disabled||(this.active=!this.active,this.active?this.changes=!1:this.changevalue=this.oldvalue)},unifocus:function(){this.disabled||(this.active=!0,this.changes=!1,this.isfocus=!0)},uniblur:function(){var e=this;this.isfocus=!1,setTimeout((function(){e.isremove||e.ismove?(e.isremove=!1,e.ismove=!1):(e.changevalue=e.oldvalue,e.isremove=!1,e.active=!1)}),153)},movetouch:function(){var e=this;setTimeout((function(){e.isfocus?e.ismove=!1:e.ismove||(e.ismove=!0)}),100)},selectmove:function(){var e=this;setTimeout((function(){e.isfocus?e.ismove=!1:e.ismove||(e.ismove=!0)}),100)},removevalue:function(){this.isremove=!0,this.changes=!1,this.changevalue=""},intchange:function(){var e=this;""!=this.changevalue?this.oldvalue!=this.changevalue&&(this.vlist=[],this.changes=!0,this.changesValue="正在搜索...",this.settimer&&clearTimeout(this.settimer),this.settimer=setTimeout((function(){e.vlist=e.options.filter((function(t){return t[e.slabel].includes(e.changevalue)})),0===e.vlist.length&&(e.changesValue="暂无匹配内容!")}),600)):this.changes=!1},selectitem:funLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-list"],{1393:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var a={uniTable:i("6f58").default,uniPopup:i("cea0").default,selectLay:i("7bf9").default},r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("base-page",[a("v-uni-view",{staticClass:"userlist"},[a("v-uni-view",{staticClass:"userlist-box"},[a("v-uni-view",{staticClass:"userlist-left"},[a("v-uni-view",{staticClass:"user-title"},[t._v("员工"),a("v-uni-text",{staticClass:"iconfont icongengduo1"})],1),a("v-uni-view",{staticClass:"user-search"},[a("v-uni-view",{staticClass:"search"},[a("v-uni-text",{staticClass:"iconfont icon31sousuo"}),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入员工名称/手机号"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.search.apply(void 0,arguments)}},model:{value:t.search_text,callback:function(e){t.search_text=e},expression:"search_text"}})],1)],1),a("v-uni-view",{staticClass:"user-list-wrap"},[t.list.length>0?[a("v-uni-scroll-view",{staticClass:"user-list-scroll all-scroll",attrs:{"scroll-top":t.scrollTop,"scroll-y":"true"},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scroll.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.getUserListFn.apply(void 0,arguments)}}},t._l(t.list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"item",class:i==t.selectUserKeys?"itemhover":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.userSelect(e,i)}}},[a("v-uni-image",{attrs:{src:t.$util.img(t.defaultImg.head),mode:"aspectFit"}}),a("v-uni-view",{staticClass:"item-right"},[a("v-uni-view",[a("v-uni-view",{staticClass:"user-name"},[t._v(t._s(e.username))]),a("v-uni-view",{staticClass:"user-money"},[t._v(t._s(e.group_name))])],1),a("v-uni-view",[a("v-uni-view",{staticClass:"user-status"},[t._v(t._s(e.status?"正常":"锁定"))]),a("v-uni-view",{staticClass:"login-time"},[t._v(t._s(e.login_time?t.$util.timeFormat(e.login_time):"--"))])],1)],1)],1)})),1)]:t.one_judge||0!=t.list.length?t._e():a("v-uni-view",{staticClass:"notYet"},[t._v("暂无员工")])],2),a("v-uni-view",{staticClass:"add-user"},[a("v-uni-button",{staticClass:"primary-btn",attrs:{type:"default"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addUser.apply(void 0,arguments)}}},[t._v("添加员工")])],1)],1),a("v-uni-view",{staticClass:"userlist-right"},[a("v-uni-view",{staticClass:"user-title"},[t._v("员工详情")]),a("v-uni-view",{staticClass:"user-information"},["{}"!=JSON.stringify(t.detail)?[a("v-uni-view",{staticClass:"title"},[t._v("基本信息")]),a("v-uni-view",{staticClass:"information-box"},[a("v-uni-view",{staticClass:"box-left"},[a("v-uni-view",{staticClass:"information"},[a("v-uni-view",[t._v("员工名称:")]),a("v-uni-view",[t._v(t._s(t.detail.username))])],1),a("v-uni-view",{staticClass:"information"},[a("v-uni-view",[t._v("员工角色:")]),a("v-uni-view",[t._v(t._s(t.detail.group_name))])],1),a("v-uni-view",{staticClass:"information"},[a("v-uni-view",[t._v("员工状态:")]),a("v-uni-view",[t._v(t._s(t.detail.status?"正常":"锁定"))])],1),a("v-uni-view",{staticClass:"information"},[a("v-uni-view",[t._v("最后登录IP:")]),a("v-uni-view",[t._v(t._s(t.detail.login_ip?t.detail.login_ip:"--"))])],1),a("v-uni-view",{staticClass:"information"},[a("v-uni-view",[t._v("最后登录时间:")]),a("v-uni-view",[t._v(t._s(t.detail.login_time?t.$util.timeFormat(t.detail.login_time):"--"))])],1)],1),a("v-uni-image",{staticClass:"user-img",attrs:{src:t.$util.img(t.defaultImg.head),mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"title"},[t._v("操作日志")]),a("v-uni-view",[a("uni-table",{attrs:{url:"/cashier/storeapi/user/userlog",cols:t.logCols,option:{uid:t.detail.uid},pagesize:7}})],1)]:[a("v-uni-image",{staticClass:"cart-empty",attrs:{src:i("be06"),mode:"widthFix"}})]],2),!t.detail||0!=t.detail.is_admin&&0!=t.detail.is_system?t._e():a("v-uni-view",{staticClass:"button-box flex justify-end"},[a("v-uni-button",{staticClass:"default-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.deletePop.open()}}},[t._v("删除")]),a("v-uni-button",{staticClass:"default-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.editUserAction(t.detail.uid)}}},[t._v("修改")])],1)],1),a("uni-popup",{ref:"addUserPop"},[a("v-uni-view",{staticClass:"pop-box"},[a("v-uni-view",{staticClass:"pop-header"},[t._v(t._s(parseInt(t.formData.uid)>0?"修改":"添加")+"员工"),a("v-uni-view",{staticClass:"pop-header-close",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancelAddUser()}}},[a("v-uni-text",{staticClass:"iconguanbi1 iconfont"})],1)],1),a("v-uni-view",{staticClass:"common-scrollbar pop-content"},[a("v-uni-view",{staticClass:"form-content"},[a("v-uni-view",{staticClass:"form-item"},[a("v-uni-view",{staticClass:"form-label"},[a("v-uni-text",{staticClass:"required"}Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-verify-index"],{"05ac":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("bf0f"),n("18f7"),n("de6c"),n("2425"),n("0c26"),n("5c47"),n("af8f");var i=n("a35c"),a={data:function(){return{step:"search",code:"",verifyInfo:null,isRepeat:!1,inputFocus:!1}},onLoad:function(){var t=this;uni.hideTabBar(),this.$nextTick((function(){t.inputFocus=!0}))},methods:{codeInputBlur:function(){var t=this;this.inputFocus=!1,this.verifyInfo||this.$nextTick((function(){t.inputFocus=!0}))},deleteCode:function(){this.code=this.code.substr(0,this.code.length-1)},search:function(){var t=this;this.code?setTimeout((function(){t.code=new URLSearchParams(t.code.split("?")[1]).get("code"),(0,i.getVerifyInfo)(t.code.trim()).then((function(e){t.code="",e.code>=0?(t.verifyInfo=e.data,t.step="verify"):t.$util.showToast({title:e.message})}))}),200):this.$util.showToast({title:"请输入核销码"})},verify:function(){var t=this;this.verifyInfo?this.isRepeat||(this.isRepeat=!0,(0,i.verifyCode)(this.verifyInfo.verify_code).then((function(e){t.isRepeat=!1,e.code>=0&&(t.step="search",t.verifyInfo=null,t.code=""),t.$util.showToast({title:e.message})}))):this.$util.showToast({title:"请先查询核销码信息"})},scancode:function(){var t=this;uni.scanCode({scanType:["qrCode","barCode"],success:function(e){t.code=e.result,t.search()},fail:function(e){t.$util.showToast({title:"扫码失败"})}})}}};e.default=a},"24a7":function(t,e,n){"use strict";n.r(e);var i=n("05ac"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"3ee5":function(t,e,n){var i=n("b757");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("9dea2350",i,!0,{sourceMap:!1,shadowMode:!1})},"47c9":function(t,e,n){"use strict";var i=n("3ee5"),a=n.n(i);a.a},"8ccb":function(t,e,n){"use strict";n.r(e);var i=n("ef6f"),a=n("24a7");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("47c9");var r=n("828b"),c=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"9f38bc4c",null,!1,i["a"],void 0);e["default"]=c.exports},a35c:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getVerifyInfo=function(t){return a.default.post("/cashier/storeapi/verify/info",{data:{code:t}})},e.getVerifyRecordDetail=function(t){return a.default.post("/cashier/storeapi/verify/recordsdetail",{data:{id:t}})},e.getVerifyRecordList=function(t){return a.default.post("/cashier/storeapi/verify/recordlists",{data:t})},e.verifyCode=function(t){return a.default.post("/cashier/storeapi/verify/verify",{data:{verify_code:t}})};var a=i(n("a3b5"))},b757:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-app--showleftwindow + .uni-tabbar-bottom[data-v-9f38bc4c]{display:none}\r\n/* 收银台相关 */uni-text[data-v-9f38bc4c],\r\nuni-view[data-v-9f38bc4c]{font-size:.14rem}body[data-v-9f38bc4c]{min-width:1200px;overflow-x:unset!important;overflow-y:hidden;background:#f8f8f8}body[data-v-9f38bc4c]::-webkit-scrollbar{width:.06rem;height:.06rem}body[data-v-9f38bc4c]::-webkit-scrollbar-button{display:none}body[data-v-9f38bc4c]::-webkit-scrollbar-thumb{border-radius:.06rem;box-shadow:inset 0 0 .06rem rgba(45,43,43,.45);background-color:#ddd}body[data-v-9f38bc4c]::-webkit-scrollbar-track{background-color:initial}uni-radio[data-v-9f38bc4c]{-webkit-transform:scale(.8);transform:scale(.8)}uni-checkbox[data-v-9f38bc4c]{-webkit-transform:scale(.8);transform:scale(.8)}uni-modal .uni-modal__btn_primary[data-v-9f38bc4c]{color:var(--primary-color)!important}.container[data-v-9f38bc4c]{display:flex;align-items:center;justify-content:center;flex-direction:column}.search-title[data-v-9f38bc4c]{font-size:.18rem;color:#303133}.search-wrap[data-v-9f38bc4c]{Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-verify-list"],{"044a":function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("c223");var a=i("a35c"),n={data:function(){return{detailInfo:null,page:1,page_size:20,list:[],current_id:0,searchText:""}},onLoad:function(){this.getRecordList()},methods:{search:function(){this.page=1,this.list=[],this.getRecordList()},getRecordList:function(){var e=this;(0,a.getVerifyRecordList)({page:this.page,page_size:this.page_size,search_text:this.searchText}).then((function(t){0==t.data.list.length&&(e.detailInfo={},e.$forceUpdate()),t.code>=0&&0!=t.data.list.length&&(e.page+=1,e.list=e.list.concat(t.data.list)),e.list.length&&e.tableDataFn(e.list[0])}))},tableDataFn:function(e){this.current_id=e.id,this.getInfo(e.id)},getInfo:function(e){var t=this;(0,a.getVerifyRecordDetail)(e).then((function(e){e.code>=0?(t.detailInfo=null,t.detailInfo=e.data):t.$util.showToast({title:e.message})}))}}};t.default=n},8962:function(e,t,i){var a=i("d714");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("0ffa0db0",a,!0,{sourceMap:!1,shadowMode:!1})},"924b":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("base-page",[i("v-uni-view",{staticClass:"uni-flex uni-row check-wrap"},[i("v-uni-view",{staticClass:"check-head"},[i("v-uni-text",[e._v("核销列表")]),i("v-uni-text",[e._v("核销详情")])],1),i("v-uni-view",{staticClass:"check-content"},[i("v-uni-view",{staticClass:"left-wrap-content"},[i("v-uni-view",{staticClass:"wrap-search-box"},[i("v-uni-view",{staticClass:"wrap-search"},[i("v-uni-input",{attrs:{placeholder:"输入核销码","placeholder-style":"font-size:0.14rem"},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.search()}},model:{value:e.searchText,callback:function(t){e.searchText=t},expression:"searchText"}}),i("v-uni-text",{staticClass:"iconfont icon31sousuo",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.search()}}})],1)],1),e.list.length>0?[i("v-uni-scroll-view",{staticClass:"check-list all-scroll",attrs:{"scroll-y":"true"},on:{scrolltolower:function(t){arguments[0]=t=e.$handleEvent(t),e.getRecordList.apply(void 0,arguments)}}},e._l(e.list,(function(t,a){return i("v-uni-view",{key:a,staticClass:"item",class:e.current_id==t.id?"item-hover":"",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.tableDataFn(t)}}},[i("v-uni-view",{staticClass:"item-box"},[i("v-uni-view",{staticClass:"head"},[i("v-uni-view",{staticClass:"nick-name"},[e._v("核销码:"+e._s(t.verify_code))]),i("v-uni-view",{staticClass:"time"},[e._v("核销时间:"+e._s(e.$util.timeFormat(t.verify_time,"Y-m-d H:i")))])],1),i("v-uni-view",{staticClass:"body"},[i("v-uni-text",[e._v(e._s(t.verifier_name))])],1)],1)],1)})),1)]:i("v-uni-view",{staticClass:"not-record"},[e._v("暂无数据")])],2),i("v-uni-view",{staticClass:"check-detail text"},[e.detailInfo&&Object.keys(e.detailInfo).length?i("v-uni-view",{staticClass:"form-content"},[e._l(e.detailInfo.verify_content_json.item_array,(function(t,a){return i("v-uni-view",{key:a,staticClass:"verify-item"},[i("v-uni-view",{staticClass:"item-img"},[i("v-uni-image",{attrs:{src:e.$util.img(t.img.split(",")[0],{size:"small"}),mode:"aspectFit"}})],1),i("v-uni-view",{staticClass:"item-info"},[i("v-uni-view",[e._v(e._s(t.name))])],1)],1)})),i("v-uni-view",{staticClass:"form-item"},[i("v-uni-view",{staticClass:"form-label"},[e._v("核销码:")]),i("v-uni-view",{staticClass:"form-inline"},[i("v-uni-text",[e._v(e._s(e.detailInfo.verify_code))])],1)],1),i("v-uni-view",{staticClass:"form-item"},[i("v-uni-view",{staticClass:"form-label"},[e._v("核销类型:")]),i("v-uni-view",{staticClass:"form-inline"},[e._v(e._s(e.detailInfo.verify_type_name)+"核销")])],1),i("v-uni-view",{staticClass:"form-item"},[i("v-uni-view",{staticClass:"form-label"},[e._v("核销员:")]),i("v-uni-view",{staticClass:"form-inline"},[e._v(e._s(e.detailInfo.verifier_name))])],1),i("v-uni-view",{staticClass:"form-item"},[i("v-uni-view",{staticClass:"form-label"},[e._v("核销次数:")]),i("v-uni-view",{staticClass:"form-inline"},[e._v(e._s(e.detailInfo.verify_num))])],1),i("v-uni-view",{staticClass:"form-item"},[i("v-uni-view",{staticClass:"form-label"},[e._v("核销时间:")]),i("v-uni-view",{staticClass:"form-inline"},[e._v(e._s(e.$util.timeFormat(e.detailInfo.verify_time,"Y-m-d H:i")))])],1),e.detailInfo.member_id>0?i("v-uni-view",{staticClass:"form-item"},[i("v-uni-view",{staticClass:"form-label"},[e._v("所属会员:")]),i("v-uni-view",{staticClass:"form-inline"},[e._v(e._s(e.detailInfo.nickname))])],1):e._e(),e.detailInfo.member_id>0?i("v-uni-view",{staticClass:"form-item"},[i("v-uni-view",{staticClass:"form-label"},[e._v("手机号:")]),i("v-uni-view",{staticClass:"form-inline"},[e.Line truncated
|
||||
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 6.9 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 689 B |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
@@ -0,0 +1,4 @@
|
||||
/unpackage
|
||||
/.hbuilderx
|
||||
/node_modules
|
||||
/electron/node_modules
|
||||
@@ -0,0 +1,255 @@
|
||||
<script>
|
||||
import {checkPageAuth,getOrderRemind,pushBind,getPushStatus} from '@/api/config.js';
|
||||
import {mapGetters} from 'vuex';
|
||||
import config from 'common/js/config.js';
|
||||
export default {
|
||||
onLaunch: function (option) {
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
uni.getSystemInfo({
|
||||
success: res => {
|
||||
let fontsize = ((res.windowWidth * 16) / 1200) * 5.5 + 'px';
|
||||
this.$store.commit('app/setRootSize', fontsize);
|
||||
}
|
||||
});
|
||||
// #endif
|
||||
|
||||
if (uni.getStorageSync('globalStoreInfo')) {
|
||||
this.$store.commit('app/setGlobalStoreInfo', uni.getStorageSync('globalStoreInfo'));
|
||||
}
|
||||
|
||||
if (uni.getStorageSync('globalStoreId')) {
|
||||
this.$store.commit('app/setGlobalStoreId', uni.getStorageSync('globalStoreId'));
|
||||
}
|
||||
|
||||
if (uni.getStorageSync('defaultImg')) {
|
||||
this.$store.commit('app/setDefaultImg', uni.getStorageSync('defaultImg'));
|
||||
}
|
||||
|
||||
if (uni.getStorageSync('addon')) {
|
||||
this.$store.commit('app/setAddon', uni.getStorageSync('addon'));
|
||||
}
|
||||
|
||||
if (uni.getStorageSync('themeConfig')) {
|
||||
this.$store.commit('app/setThemeConfig', uni.getStorageSync('themeConfig'));
|
||||
}
|
||||
|
||||
this.$store.dispatch('app/getAddonIsExistFn');
|
||||
this.$store.dispatch('app/getDefaultImgFn');
|
||||
|
||||
this.$store.dispatch('app/getThemeConfigFn');
|
||||
this.$store.dispatch('app/getMemberSearchWayConfigFn');
|
||||
|
||||
if (uni.getStorageSync('cashierToken')) {
|
||||
this.$store.dispatch('app/getStoreInfoFn');
|
||||
this.$store.dispatch('app/getUserInfoFn');
|
||||
this.$store.dispatch('app/getUserGroupFn');
|
||||
}
|
||||
|
||||
this.$store.commit('app/setCurrRoute', '/' + option.path);
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
plus.webview.open(this.$config.baseUrl + '/cashier/pages/index/loading', 'loading');
|
||||
uni.switchTab({
|
||||
url: '/pages/reserve/index',
|
||||
success: () => {
|
||||
uni.switchTab({
|
||||
url: '/pages/recharge/index',
|
||||
success: () => {
|
||||
uni.switchTab({
|
||||
url: '/pages/verify/index',
|
||||
success: () => {
|
||||
if (!uni.getStorageSync('cashierToken')) {
|
||||
uni.navigateTo({url: '/pages/login/login'});
|
||||
} else {
|
||||
uni.switchTab({url: '/pages/billing/index'});
|
||||
}
|
||||
plus.webview.close('loading');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
// #endif
|
||||
this.getOrderRemindFn()
|
||||
this.getPushStatusFn()
|
||||
this.initSocket()
|
||||
},
|
||||
onShow: function () {
|
||||
if (!uni.getStorageSync('cashierToken')) {
|
||||
|
||||
// #ifdef H5
|
||||
if (location.href.indexOf('pages/index/loading') == -1) {
|
||||
this.$util.redirectTo('/pages/login/login', {}, 'redirectTo');
|
||||
}
|
||||
// #endif
|
||||
|
||||
// #ifndef H5
|
||||
this.$util.redirectTo('/pages/login/login', {}, 'redirectTo');
|
||||
// #endif
|
||||
|
||||
}
|
||||
// this.$nextTick(()=>{
|
||||
// window.addEventListener('beforeunload', this.handleBeforeUnload);
|
||||
// })
|
||||
},
|
||||
|
||||
methods: {
|
||||
// handleBeforeUnload(e){
|
||||
// // 提示用户确认
|
||||
// e.preventDefault();
|
||||
// },
|
||||
getOrderRemindFn(){
|
||||
getOrderRemind().then(res=>{
|
||||
if(res.code>=0){
|
||||
this.$store.dispatch('app/initOverallAudio',res.data);
|
||||
}
|
||||
})
|
||||
},
|
||||
getPushStatusFn(){
|
||||
getPushStatus().then(res=>{
|
||||
if(res.code>=0){
|
||||
this.$store.dispatch('app/setIsSocketConnect',true)
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
initSocket(){
|
||||
// 心跳机制
|
||||
|
||||
// 可自定义成你的模式,这里只做基本处理
|
||||
let linkNumber = 1
|
||||
let socketInterval=setInterval(()=>{
|
||||
let token = uni.getStorageSync('cashierToken');
|
||||
try{
|
||||
if(token&&this.isSocketConnect){
|
||||
if(linkNumber>3){
|
||||
|
||||
this.$util.showToast({
|
||||
title: 'webSocket连接异常,请联系管理员'
|
||||
});
|
||||
|
||||
if(this.overallAudioIsPlay) this.$store.dispatch('app/setOverallAudioIsPlay',false);
|
||||
this.$store.dispatch('app/setIsSocketConnect',false)
|
||||
linkNumber = 1
|
||||
return false
|
||||
}
|
||||
uni.sendSocketMessage({
|
||||
data: 'ping',
|
||||
success: (res) => {
|
||||
linkNumber = 1
|
||||
},
|
||||
fail: (e) => {
|
||||
linkNumber++
|
||||
uni.connectSocket({
|
||||
url:config.webSocket,
|
||||
complete: (res) => {
|
||||
},
|
||||
fail: (connectE) => {
|
||||
// console.log(e)
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
}
|
||||
}catch(e){
|
||||
//TODO handle the exception
|
||||
}
|
||||
|
||||
},1000)
|
||||
uni.onSocketMessage((res)=>{
|
||||
var data = JSON.parse(res.data);
|
||||
let token = uni.getStorageSync('cashierToken');
|
||||
switch(data.type){
|
||||
case 'init':
|
||||
if(token){
|
||||
this.$store.dispatch('app/setOverallAudioBindClientId',data.data.client_id)
|
||||
pushBind({client_id:data.data.client_id})
|
||||
}
|
||||
break;
|
||||
case 'ping':
|
||||
uni.sendSocketMessage({
|
||||
data: 'ping',
|
||||
});
|
||||
break;
|
||||
default:
|
||||
this.$store.dispatch('app/overallAudioPlay',data.data.audio);
|
||||
}
|
||||
});
|
||||
},
|
||||
initRoute(route) {
|
||||
const search = function (menu, route, arr = []) {
|
||||
menu.find((item, index) => {
|
||||
if (item.path == route) {
|
||||
arr.push(index);
|
||||
return true;
|
||||
} else if (item.children) {
|
||||
arr = search(item.children, route, arr);
|
||||
if (arr.length) {
|
||||
arr.push(index);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
});
|
||||
return arr;
|
||||
};
|
||||
|
||||
let menuIndex = search(this.menu, route).reverse();
|
||||
this.$store.commit('app/setMenuIndex', {level: 'firstMenuIndex', index: menuIndex[0]});
|
||||
this.$store.commit('app/setMenuIndex', {level: 'secondMenuIndex', index: menuIndex[1] ?? -1});
|
||||
this.$store.commit('app/setMenuIndex', {level: 'thirdMenuIndex', index: menuIndex[2] ?? -1});
|
||||
},
|
||||
/**
|
||||
* 检测页面是否有权限
|
||||
*/
|
||||
checkPageAuthFn() {
|
||||
checkPageAuth(this.currRoute).then(res => {
|
||||
if (res.code && res.code == -10012) {
|
||||
this.$util.redirectTo('/pages/index/no_permission', {}, 'redirectTo');
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
menu() {
|
||||
let menu = require('@/common/menu/store.js');
|
||||
return menu.default ?? [];
|
||||
},
|
||||
isSocketConnect(){
|
||||
return this.$store.state.app.isSocketConnect
|
||||
},
|
||||
overallAudioIsPlay(){
|
||||
return this.$store.state.app.overallAudioIsPlay
|
||||
},
|
||||
...mapGetters(['currRoute'])
|
||||
},
|
||||
watch: {
|
||||
currRoute: function (nVal, oVal) {
|
||||
if (nVal) {
|
||||
this.initRoute(nVal);
|
||||
this.checkPageAuthFn();
|
||||
}
|
||||
},
|
||||
menu: function (nVal) {
|
||||
if (nVal.length) {
|
||||
this.initRoute(this.currRoute);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
/*每个页面公共css */
|
||||
@import url('/common/css/iconfont.css');
|
||||
@import '/common/css/common.scss';
|
||||
@import '/common/css/form.scss';
|
||||
|
||||
uni-toast .uni-toast__content {
|
||||
font-size: 0.16rem !important;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,24 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/**
|
||||
* 获取地址数据
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getAreaList(params) {
|
||||
return request.post('/cashier/storeapi/address/arealist', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过经纬度查询地址信息(地址名称)
|
||||
*/
|
||||
export function getTranAddressInfo(position) {
|
||||
return request.post('/cashier/storeapi/address/tranaddressinfo', {data: {latlng: position}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过地址名称查询详细地址信息(经纬度)
|
||||
* @param {Object} name
|
||||
*/
|
||||
export function getAddressByName(name) {
|
||||
return request.post('/cashier/storeapi/address/getaddressbyname', {data: {address: name}})
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/**
|
||||
* 获取卡项列表(分页)
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getCardList(params) {
|
||||
return request.post('/cashier/storeapi/card/page', {data: params})
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/************************************整体设置+系统权限相关*******************************/
|
||||
/**
|
||||
* 获取收款设置
|
||||
*/
|
||||
export function getCollectMoneyConfig() {
|
||||
return request.post('/cashier/storeapi/cashier/getcashiercollectmoneyconfig')
|
||||
}
|
||||
|
||||
/**
|
||||
* 收款设置
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function setCollectMoneyConfig(params) {
|
||||
return request.post('/cashier/storeapi/cashier/setcashiercollectmoneyconfig', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测页面是否有权限
|
||||
* @param {Object} page
|
||||
*/
|
||||
export function checkPageAuth(page) {
|
||||
return request.post('/cashier/storeapi/store/checkpageauth', {data: {page}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 检测是否有新版本
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function checkUpdate(params) {
|
||||
return request.post('/cashier/storeapi/appversion/checkupdate', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取插件是否存在
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getAddonIsExist(params) {
|
||||
return request.post('/storeapi/addon/addonisexit')
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取默认图
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getDefaultImg(params) {
|
||||
return request.post('/cashier/storeapi/cashier/defaultimg')
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置收银台主题风格配置
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function setThemeConfig(params) {
|
||||
return request.post('/cashier/storeapi/cashier/setThemeConfig', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取收银台主题风格配置
|
||||
*/
|
||||
export function getThemeConfig() {
|
||||
return request.post('/cashier/storeapi/config/getThemeConfig')
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取收银台主题风格列表
|
||||
*/
|
||||
export function getThemeList() {
|
||||
return request.post('/cashier/storeapi/cashier/getThemeList')
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置收银台会员搜索方式配置
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function setMemberSearchWayConfig(params) {
|
||||
return request.post('/cashier/storeapi/config/setMemberSearchWayConfig', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取收银台会员搜索方式配置
|
||||
*/
|
||||
export function getMemberSearchWayConfig() {
|
||||
return request.post('/cashier/storeapi/config/getMemberSearchWayConfig')
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取收银台订单消息推送-配置
|
||||
*/
|
||||
export function getOrderRemind() {
|
||||
return request.post('/cashier/storeapi/config/orderRemind')
|
||||
}
|
||||
|
||||
/**
|
||||
* 收银台消息推送-绑定门店
|
||||
*/
|
||||
export function pushBind(params) {
|
||||
return request.post('/cashier/storeapi/push/bind',{data:params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 收银台消息推送-更换绑定门店
|
||||
*/
|
||||
export function pushChangeBind(params) {
|
||||
return request.post('/cashier/storeapi/push/changebind',{data:params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 收银台消息推送-下线
|
||||
*/
|
||||
export function pushOffline() {
|
||||
return request.post('/cashier/storeapi/push/offline',{data:params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取收银台订单消息推送-服务状态
|
||||
*/
|
||||
export function getPushStatus() {
|
||||
return request.post('/cashier/storeapi/push/status')
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/**
|
||||
* 获取配送员列表
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getDeliverList(params) {
|
||||
return request.post('/cashier/storeapi/store/deliverlists', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取配送员详情
|
||||
* @param {Object} deliver_id
|
||||
*/
|
||||
export function getDeliverInfo(deliver_id) {
|
||||
return request.post('/cashier/storeapi/store/deliverinfo', {data: {deliver_id}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加配送员
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function addDeliver(params) {
|
||||
return request.post('/cashier/storeapi/store/adddeliver', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑配送员
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function editDeliver(params) {
|
||||
return request.post('/cashier/storeapi/store/editdeliver', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除配送员
|
||||
* @param {Object} deliver_id
|
||||
*/
|
||||
export function deleteDeliver(deliver_id) {
|
||||
return request.post('/cashier/storeapi/store/deletedeliver', {data: {deliver_id}})
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/**
|
||||
* 商品列表
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getGoodsList(params) {
|
||||
return request.post('/cashier/storeapi/goods/page', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品详情
|
||||
* @param {Object} goods_id
|
||||
*/
|
||||
export function getGoodsDetail(goods_id) {
|
||||
return request.post('/cashier/storeapi/goods/detail', {data: {goods_id}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑商品
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function editGoods(params) {
|
||||
return request.post('/cashier/storeapi/goods/editgoods', {data: params})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 编辑商品
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function setGoodsLocalRestrictions(params) {
|
||||
return request.post('/cashier/storeapi/goods/setGoodsLocalRestrictions', {data: params})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 通过扫码事件查询会员信息
|
||||
* @param {Object} sku_no
|
||||
*/
|
||||
export function getGoodsInfoByCode(sku_no) {
|
||||
return request.post('/cashier/storeapi/goods/skuinfo', {data: {sku_no}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置商品状态
|
||||
* @param {Object} params
|
||||
*{ goods_id: arr.toString(), status: status}
|
||||
*/
|
||||
export function setGoodsStatus(params) {
|
||||
return request.post('/cashier/storeapi/goods/setstatus', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品分类
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getGoodsCategory(params) {
|
||||
return request.post('/cashier/storeapi/goods/category', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品分类[库存]
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getManageGoodsCategory(params = {}) {
|
||||
return request.post('/stock/storeapi/manage/getGoodsCategory', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 项目分类
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getServiceCategory(params) {
|
||||
return request.post('/cashier/storeapi/service/category', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 项目列表
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getServiceList(params) {
|
||||
return request.post('/cashier/storeapi/service/page', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取商品项目多规格规格数据
|
||||
* @param {Object} goods_id
|
||||
*/
|
||||
export function getGoodsSkuList(goods_id) {
|
||||
return request.post('/cashier/storeapi/goods/skulist', {data: {goods_id}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取电子秤信息
|
||||
*/
|
||||
export function getElectronicScaleInformation() {
|
||||
return request.post('/scale/storeapi/scale/cashierscale')
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品搜索条件
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getGoodsSceen(params = {}) {
|
||||
return request.post('/cashier/storeapi/goods/screen', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 规格选择
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getSkuListBySelect(params = {}) {
|
||||
return request.post('/cashier/storeapi/goods/getSkuListBySelect', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出打印价格标签数据
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function exportPrintPriceTagData(params = {}) {
|
||||
return request.post('/cashier/storeapi/goods/exportPrintPriceTagData', {data: params})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/**
|
||||
* 获取验证码
|
||||
* @param captcha_id
|
||||
* @returns {*}
|
||||
*/
|
||||
export function getCaptcha(captcha_id) {
|
||||
return request.post('/storeapi/captcha/captcha', {data: {captcha_id}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 登录
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function login(params) {
|
||||
return request.post('/cashier/storeapi/login/login', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改密码
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function modifyPassword(params) {
|
||||
return request.post('/cashier/storeapi/user/modifypassword', {data: params})
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/************************************优惠券*******************************/
|
||||
/**
|
||||
* 优惠券详情
|
||||
* @param {Object} coupon_type_id
|
||||
*/
|
||||
export function getCouponDetail(coupon_type_id) {
|
||||
return request.post('/coupon/storeapi/coupon/detail', {data: {coupon_type_id}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 优惠券详情领取记录
|
||||
* @param {Object} coupon_type_id
|
||||
*/
|
||||
export function getReceiveCouponPageList(coupon_type_id) {
|
||||
return request.post('/coupon/storeapi/membercoupon/getReceiveCouponPageList', {data: {coupon_type_id}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增优惠券
|
||||
*/
|
||||
export function addCoupon(params) {
|
||||
return request.post('/coupon/storeapi/coupon/add', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑优惠券
|
||||
*/
|
||||
export function editCoupon(params) {
|
||||
return request.post('/coupon/storeapi/coupon/edit', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 关闭优惠券
|
||||
* @param {Object} coupon_type_id
|
||||
*/
|
||||
export function closeCoupon(coupon_type_id) {
|
||||
return request.post('/coupon/storeapi/coupon/close', {data: {coupon_type_id}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除优惠券
|
||||
* @param {Object} coupon_type_id
|
||||
*/
|
||||
export function deleteCoupon(coupon_type_id) {
|
||||
return request.post('/coupon/storeapi/coupon/delete', {data: {coupon_type_id}})
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/**
|
||||
* 获取会员信息
|
||||
* @param {Object} member_id
|
||||
*/
|
||||
export function getMemberInfoById(member_id) {
|
||||
return request.post('/cashier/storeapi/member/info', {data: {member_id}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取会员信息(通过search_text)
|
||||
* @param params
|
||||
* @returns {*}
|
||||
*/
|
||||
export function getMemberInfoBySearchMember(params) {
|
||||
return request.post('/cashier/storeapi/member/searchmember', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取会员列表
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getMemberList(params) {
|
||||
return request.post('/cashier/storeapi/member/lists', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取会员等级
|
||||
*/
|
||||
export function getMemberLevelList() {
|
||||
return request.post('/cashier/storeapi/memberlevel/lists')
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加会员
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function addMember(params) {
|
||||
return request.post('/cashier/storeapi/member/addmember', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑会员
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function editMember(params) {
|
||||
return request.post('/cashier/storeapi/member/editmember', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取会员卡包列表
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getMemberCardList(params) {
|
||||
return request.post('/cardservice/storeapi/membercard/lists', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取会员卡包详情
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getMemberCardDetail(params) {
|
||||
return request.post('/cardservice/storeapi/membercard/detail', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取可发放优惠券列表
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getCouponTypeList(params) {
|
||||
return request.post('/coupon/storeapi/coupon/getStoreCouponTypeList', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 发放优惠券
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function sendMemberCoupon(params) {
|
||||
return request.post('/cashier/storeapi/member/sendCoupon', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 调整会员积分
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function modifyMemberPoint(params) {
|
||||
return request.post('/cashier/storeapi/member/modifypoint', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 调整会员余额
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function modifyMemberBalance(params) {
|
||||
return request.post('/cashier/storeapi/member/modifybalance', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 调整会员成长值
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function modifyMemberGrowth(params) {
|
||||
return request.post('/cashier/storeapi/member/modifygrowth', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 办理会员卡
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function applyingMembershipCard(params) {
|
||||
return request.post('/cashier/storeapi/member/handleMember', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送短信验证码
|
||||
* @param {Object} member_id
|
||||
*/
|
||||
export function sendMemberVerifyCode(member_id) {
|
||||
return request.post('/cashier/storeapi/member/memberverifycode', {data: {member_id}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证短信验证码
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function checkMemberVerifyCode(params) {
|
||||
return request.post('/cashier/storeapi/member/checksmscode', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据手机号查询会员,支持模糊
|
||||
* @param params
|
||||
* @returns {*}
|
||||
*/
|
||||
export function searchMemberByMobile(params) {
|
||||
return request.post('/cashier/storeapi/member/searchMemberByMobile', {data: params})
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/**
|
||||
* 支付确认
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function cashierConfirm(params) {
|
||||
return request.post('/cashier/storeapi/cashierpay/confirm', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建支付单
|
||||
* @param {Object} out_trade_no
|
||||
*/
|
||||
export function addPayCashierPay(out_trade_no) {
|
||||
return request.post('/cashier/storeapi/cashierpay/createpay', {data: {out_trade_no}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取支付二维码
|
||||
* @param {Object} out_trade_no
|
||||
*/
|
||||
export function getPayQrcode(out_trade_no) {
|
||||
return request.post('/cashier/storeapi/cashierpay/payqrcode', {data: {out_trade_no}})
|
||||
}
|
||||
/**
|
||||
* 获取扫码枪配置
|
||||
* */
|
||||
export function getPayType() {
|
||||
return request.post('/cashier/storeapi/Cashierpay/payType')
|
||||
}
|
||||
|
||||
/**
|
||||
* 扫码枪支付
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function authCodepay(params) {
|
||||
return request.post('/pay/pay/authCodepay', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取支付信息
|
||||
* @param {Object} out_trade_no
|
||||
*/
|
||||
export function getCashierPayInfo(out_trade_no) {
|
||||
return request.post('/cashier/storeapi/cashierpay/info', {data: {out_trade_no}})
|
||||
}
|
||||
|
||||
/**
|
||||
* 账号余额支付确认
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function checkPaymentCode(params) {
|
||||
return request.post('/cashier/storeapi/member/checkpaymentcode', {data: params})
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
import request from '@/common/js/http'
|
||||
import util from '@/common/js/util'
|
||||
|
||||
/**
|
||||
* 订单列表
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getOrderList(params) {
|
||||
return request.post('/cashier/storeapi/cashierorder/lists', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getOrderDetail(params) {
|
||||
return request.post('/cashier/storeapi/cashierorder/detail', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取支付信息
|
||||
* @param {Object} order_id
|
||||
*/
|
||||
export function getOrderInfoById(order_id) {
|
||||
return request.post('/cashier/storeapi/order/info', {
|
||||
data: {order_id}
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单调价
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderAdjustPrice(params) {
|
||||
return request.post('/cashier/storeapi/cashierorder/adjustPrice', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单备注
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderRemark(params) {
|
||||
return request.post('/cashier/storeapi/cashierorder/orderRemark', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 提货
|
||||
* @param {Object} order_id
|
||||
*/
|
||||
export function orderStoreDelivery(order_id) {
|
||||
return request.post('/cashier/storeapi/order/storedelivery', {
|
||||
data: {order_id}
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 本地配送
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderLocalDelivery(params) {
|
||||
return request.post('/cashier/storeapi/order/localdelivery', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单关闭
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderClose(params) {
|
||||
return request.post('/cashier/storeapi/order/close', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 打印小票
|
||||
* @param order_id
|
||||
* @returns {*}
|
||||
*/
|
||||
export function orderPrintTicket(order_id) {
|
||||
let params = {order_id:order_id};
|
||||
//追加打印机数据
|
||||
let local_config = util.getLocalConfig();
|
||||
params.printer_ids = local_config.printerSelectType == 'all' ? 'all' : local_config.printerSelectIds.toString();
|
||||
return request.post('/cashier/storeapi/cashierorder/printticket', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取物流公司
|
||||
*/
|
||||
export function getExpressCompanyList() {
|
||||
return request.post('/cashier/storeapi/order/expresscompany')
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取配送员列表
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getOrderDeliverList(params) {
|
||||
return request.post('/cashier/storeapi/order/deliverlist', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单删除
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderExpressDelivery(params) {
|
||||
return request.post('/cashier/storeapi/order/expressdelivery', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取筛选条件
|
||||
*/
|
||||
export function getorderCondition() {
|
||||
return request.post('/cashier/storeapi/order/condition')
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/**
|
||||
* 开单(计算)
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function calculate(params) {
|
||||
return request.post('/cashier/storeapi/cashierordercreate/calculate', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 开单(订单创建)
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function create(params) {
|
||||
return request.post('/cashier/storeapi/cashierordercreate/create', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 售卡(计算)
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function cardCalculate(params) {
|
||||
return request.post('/cashier/storeapi/cashierordercreate/cardcalculate', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 售卡(订单创建)
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function cardCreate(params) {
|
||||
return request.post('/cashier/storeapi/cashierordercreate/cardcreate', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付(计算)
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function payCalculate(params) {
|
||||
return request.post('/cashier/storeapi/cashierpay/paycalculate', {data: params})
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
import request from '@/common/js/http'
|
||||
|
||||
/**
|
||||
* 订单退款申请数据
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getRefundApplyData(params) {
|
||||
return request.post('/cashier/storeapi/cashierorderrefund/getrefundapplydata', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单退款
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderRefund(params) {
|
||||
return request.post('/cashier/storeapi/cashierorderrefund/refund', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 转账
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderRefundComplete(params) {
|
||||
return request.post('/cashier/storeapi/cashierorderrefund/complete', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取订单列表
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getOrderRefundLists(params) {
|
||||
return request.post('/cashier/storeapi/cashierorderrefund/lists', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取订单详情
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function getOrderRefundDetail(params) {
|
||||
return request.post('/cashier/storeapi/cashierorderrefund/detail', {data: params})
|
||||
}
|
||||
|
||||
/**
|
||||
* 同意维权
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderRefundAgree(params) {
|
||||
return request.post('/cashier/storeapi/cashierorderrefund/agree', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 拒绝维权
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderRefundRefuse(params) {
|
||||
return request.post('/cashier/storeapi/cashierorderrefund/refuse', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 买家退货接收,维权收货
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderRefundReceive(params) {
|
||||
return request.post('/cashier/storeapi/cashierorderrefund/receive', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 关闭维权
|
||||
* @param {Object} params
|
||||
*/
|
||||
export function orderRefundClose(params) {
|
||||
return request.post('/cashier/storeapi/cashierorderrefund/close', {
|
||||
data: params
|
||||
})
|
||||
}
|
||||