@inksyun/webcomp 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/demo.html +1 -1
- package/package.json +1 -1
- package/webcomp.css +1 -1
- package/webcomp.umd.min.js +1 -1
package/README.md
CHANGED
package/demo.html
CHANGED
package/package.json
CHANGED
package/webcomp.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.groupnameSty[data-v-
|
|
1
|
+
.groupnameSty[data-v-60bd52e2],.groupnameSty[data-v-528c3b3e],.groupnameSty[data-v-4507f206]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-wrap:break-word;width:75%;display:inline-block;line-height:12px}.desc .desc-title[data-v-742eb9a7]{margin-bottom:10px;color:#333;font-weight:700;font-size:16px;line-height:1.5715}.desc .desc-row[data-v-742eb9a7]{display:flex;flex-wrap:wrap;border-radius:2px;border:1px solid #ebeef5;border-bottom:0;border-right:0;width:100%}.desc-item[data-v-3cbc933e]{border-right:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.desc-item .desc-item-content[data-v-3cbc933e]{display:flex;justify-content:flex-start;align-items:center;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;width:100%;background-color:#fafafa;height:100%}.desc-item .desc-item-content .desc-item-label[data-v-3cbc933e]{border-right:1px solid #ebeef5;display:inline-block;padding:12px 16px;flex-grow:0;flex-shrink:0;color:rgba(0,0,0,.6);font-weight:400;font-size:14px;line-height:1.5;height:100%;display:flex;align-items:center;text-align:center}.desc-item .desc-item-content .desc-item-value[data-v-3cbc933e]{background:#fff;padding:12px 16px;flex-grow:1;overflow:hidden;word-break:break-all;height:100%;display:flex;align-items:center;color:#444}.desc-item .desc-item-content .desc-item-value span[data-v-3cbc933e]{color:#aaa}.desc-item .desc-item-content.small .desc-item-label[data-v-3cbc933e],.desc-item .desc-item-content.small .desc-item-value[data-v-3cbc933e]{padding:10px 14px}
|
package/webcomp.umd.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["webcomptest"]=e():t["webcomptest"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"04f8":function(t,e,n){var r=n("2d00"),o=n("d039"),a=n("da84"),i=a.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"06cf":function(t,e,n){var r=n("83ab"),o=n("c65b"),a=n("d1e7"),i=n("5c6c"),u=n("fc6a"),c=n("a04b"),s=n("1a2d"),f=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=u(t),e=c(e),f)try{return l(t,e)}catch(n){}if(s(t,e))return i(!o(a.f,t,e),t[e])}},"07fa":function(t,e,n){var r=n("50c4");t.exports=function(t){return r(t.length)}},"0cfb":function(t,e,n){var r=n("83ab"),o=n("d039"),a=n("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"13a5":function(t,e,n){},"13d2":function(t,e,n){var r=n("e330"),o=n("d039"),a=n("1626"),i=n("1a2d"),u=n("83ab"),c=n("5e77").CONFIGURABLE,s=n("8925"),f=n("69f3"),l=f.enforce,d=f.get,p=String,b=Object.defineProperty,v=r("".slice),h=r("".replace),g=r([].join),y=u&&!o((function(){return 8!==b((function(){}),"length",{value:8}).length})),m=String(String).split("String"),x=t.exports=function(t,e,n){"Symbol("===v(p(e),0,7)&&(e="["+h(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||c&&t.name!==e)&&(u?b(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&i(n,"arity")&&t.length!==n.arity&&b(t,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?u&&b(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=l(t);return i(r,"source")||(r.source=g(m,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return a(this)&&d(this).source||s(this)}),"toString")},"14d9":function(t,e,n){"use strict";var r=n("23e7"),o=n("7b0b"),a=n("07fa"),i=n("3a34"),u=n("3511"),c=n("d039"),s=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},l=s||!f();r({target:"Array",proto:!0,arity:1,forced:l},{push:function(t){var e=o(this),n=a(e),r=arguments.length;u(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return i(e,n),n}})},1626:function(t,e,n){var r=n("8ea1"),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},"1a2d":function(t,e,n){var r=n("e330"),o=n("7b0b"),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(o(t),e)}},"1d80":function(t,e,n){var r=n("7234"),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},"23cb":function(t,e,n){var r=n("5926"),o=Math.max,a=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):a(n,e)}},"23e7":function(t,e,n){var r=n("da84"),o=n("06cf").f,a=n("9112"),i=n("cb2d"),u=n("6374"),c=n("e893"),s=n("94ca");t.exports=function(t,e){var n,f,l,d,p,b,v=t.target,h=t.global,g=t.stat;if(f=h?r:g?r[v]||u(v,{}):(r[v]||{}).prototype,f)for(l in e){if(p=e[l],t.dontCallGetSet?(b=o(f,l),d=b&&b.value):d=f[l],n=s(h?l:v+(g?".":"#")+l,t.forced),!n&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(t.sham||d&&d.sham)&&a(p,"sham",!0),i(f,l,p,t)}}},"241c":function(t,e,n){var r=n("ca84"),o=n("7839"),a=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},"2d00":function(t,e,n){var r,o,a=n("da84"),i=n("342f"),u=a.process,c=a.Deno,s=u&&u.versions||c&&c.version,f=s&&s.v8;f&&(r=f.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},"342f":function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3511:function(t,e){var n=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw n("Maximum allowed index exceeded");return t}},"3a34":function(t,e,n){"use strict";var r=n("83ab"),o=n("e8b5"),a=TypeError,i=Object.getOwnPropertyDescriptor,u=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,e){if(o(t)&&!i(t,"length").writable)throw a("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"3a9b":function(t,e,n){var r=n("e330");t.exports=r({}.isPrototypeOf)},"40d5":function(t,e,n){var r=n("d039");t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"44ad":function(t,e,n){var r=n("e330"),o=n("d039"),a=n("c6b6"),i=Object,u=r("".split);t.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?u(t,""):i(t)}:i},"485a":function(t,e,n){var r=n("c65b"),o=n("1626"),a=n("861d"),i=TypeError;t.exports=function(t,e){var n,u;if("string"===e&&o(n=t.toString)&&!a(u=r(n,t)))return u;if(o(n=t.valueOf)&&!a(u=r(n,t)))return u;if("string"!==e&&o(n=t.toString)&&!a(u=r(n,t)))return u;throw i("Can't convert object to primitive value")}},"4d64":function(t,e,n){var r=n("fc6a"),o=n("23cb"),a=n("07fa"),i=function(t){return function(e,n,i){var u,c=r(e),s=a(c),f=o(i,s);if(t&&n!=n){while(s>f)if(u=c[f++],u!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}},"50c4":function(t,e,n){var r=n("5926"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5692:function(t,e,n){var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,n){var r=n("d066"),o=n("e330"),a=n("241c"),i=n("7418"),u=n("825a"),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=a.f(u(t)),n=i.f;return n?c(e,n(t)):e}},5926:function(t,e,n){var r=n("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},"59ed":function(t,e,n){var r=n("1626"),o=n("0d51"),a=TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not a function")}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,n){var r=n("83ab"),o=n("1a2d"),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,u=o(a,"name"),c=u&&"something"===function(){}.name,s=u&&(!r||r&&i(a,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},6374:function(t,e,n){var r=n("da84"),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},"69f3":function(t,e,n){var r,o,a,i=n("cdce"),u=n("da84"),c=n("861d"),s=n("9112"),f=n("1a2d"),l=n("c6cd"),d=n("f772"),p=n("d012"),b="Object already initialized",v=u.TypeError,h=u.WeakMap,g=function(t){return a(t)?o(t):r(t,{})},y=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}};if(i||l.state){var m=l.state||(l.state=new h);m.get=m.get,m.has=m.has,m.set=m.set,r=function(t,e){if(m.has(t))throw v(b);return e.facade=t,m.set(t,e),e},o=function(t){return m.get(t)||{}},a=function(t){return m.has(t)}}else{var x=d("state");p[x]=!0,r=function(t,e){if(f(t,x))throw v(b);return e.facade=t,s(t,x,e),e},o=function(t){return f(t,x)?t[x]:{}},a=function(t){return f(t,x)}}t.exports={set:r,get:o,has:a,enforce:g,getterFor:y}},7234:function(t,e){t.exports=function(t){return null===t||void 0===t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80"),o=Object;t.exports=function(t){return o(r(t))}},"825a":function(t,e,n){var r=n("861d"),o=String,a=TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not an object")}},8353:function(t,e,n){},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e,n){var r=n("1626"),o=n("8ea1"),a=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===a}:function(t){return"object"==typeof t?null!==t:r(t)}},8925:function(t,e,n){var r=n("e330"),o=n("1626"),a=n("c6cd"),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(t){return i(t)}),t.exports=a.inspectSource},"8a08":function(t,e,n){},"8ea1":function(t,e){var n="object"==typeof document&&document.all,r="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},"8f07":function(t,e,n){"use strict";n("13a5")},"90e3":function(t,e,n){var r=n("e330"),o=0,a=Math.random(),i=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++o+a,36)}},9112:function(t,e,n){var r=n("83ab"),o=n("9bf2"),a=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){var r=n("d039"),o=n("1626"),a=/#|\.prototype\./,i=function(t,e){var n=c[u(t)];return n==f||n!=s&&(o(e)?r(e):!!e)},u=i.normalize=function(t){return String(t).replace(a,".").toLowerCase()},c=i.data={},s=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},"964d":function(t,e,n){"use strict";n("8353")},"996e":function(t,e,n){"use strict";n("df65")},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),a=n("aed9"),i=n("825a"),u=n("a04b"),c=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",d="configurable",p="writable";e.f=r?a?function(t,e,n){if(i(t),e=u(e),i(n),"function"===typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=f(t,e);r&&r[p]&&(t[e]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:l in n?n[l]:r[l],writable:!1})}return s(t,e,n)}:s:function(t,e,n){if(i(t),e=u(e),i(n),o)try{return s(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},a04b:function(t,e,n){var r=n("c04e"),o=n("d9b5");t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},aed9:function(t,e,n){var r=n("83ab"),o=n("d039");t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b42e:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),a=n("1a2d"),i=n("90e3"),u=n("04f8"),c=n("fdbf"),s=r.Symbol,f=o("wks"),l=c?s["for"]||s:s&&s.withoutSetter||i;t.exports=function(t){return a(f,t)||(f[t]=u&&a(s,t)?s[t]:l("Symbol."+t)),f[t]}},b6ab:function(t,e,n){"use strict";n("8a08")},bd5e:function(t,e,n){},c04e:function(t,e,n){var r=n("c65b"),o=n("861d"),a=n("d9b5"),i=n("dc4a"),u=n("485a"),c=n("b622"),s=TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!o(t)||a(t))return t;var n,c=i(t,f);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||a(n))return n;throw s("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},c430:function(t,e){t.exports=!1},c65b:function(t,e,n){var r=n("40d5"),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(t,e,n){var r=n("e330"),o=r({}.toString),a=r("".slice);t.exports=function(t){return a(o(t),8,-1)}},c6cd:function(t,e,n){var r=n("da84"),o=n("6374"),a="__core-js_shared__",i=r[a]||o(a,{});t.exports=i},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("e330"),o=n("1a2d"),a=n("fc6a"),i=n("4d64").indexOf,u=n("d012"),c=r([].push);t.exports=function(t,e){var n,r=a(t),s=0,f=[];for(n in r)!o(u,n)&&o(r,n)&&c(f,n);while(e.length>s)o(r,n=e[s++])&&(~i(f,n)||c(f,n));return f}},cb2d:function(t,e,n){var r=n("1626"),o=n("9bf2"),a=n("13d2"),i=n("6374");t.exports=function(t,e,n,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:e;if(r(n)&&a(n,s,u),u.global)c?t[e]=n:i(e,n);else{try{u.unsafe?t[e]&&(c=!0):delete t[e]}catch(f){}c?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),a=r.document,i=o(a)&&o(a.createElement);t.exports=function(t){return i?a.createElement(t):{}}},cdce:function(t,e,n){var r=n("da84"),o=n("1626"),a=r.WeakMap;t.exports=o(a)&&/native code/.test(String(a))},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),o=n("1626"),a=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!r.call({1:2},1);e.f=a?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},d9b5:function(t,e,n){var r=n("d066"),o=n("1626"),a=n("3a9b"),i=n("fdbf"),u=Object;t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&a(e.prototype,u(t))}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||this||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(t,e,n){var r=n("59ed"),o=n("7234");t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},df65:function(t,e,n){},e330:function(t,e,n){var r=n("40d5"),o=Function.prototype,a=o.call,i=r&&o.bind.bind(a,a);t.exports=r?i:function(t){return function(){return a.apply(t,arguments)}}},e893:function(t,e,n){var r=n("1a2d"),o=n("56ef"),a=n("06cf"),i=n("9bf2");t.exports=function(t,e,n){for(var u=o(e),c=i.f,s=a.f,f=0;f<u.length;f++){var l=u[f];r(t,l)||n&&r(n,l)||c(t,l,s(e,l))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},f5b3:function(t,e,n){"use strict";n("bd5e")},f772:function(t,e,n){var r=n("5692"),o=n("90e3"),a=r("keys");t.exports=function(t){return a[t]||(a[t]=o(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var r=window.document.currentScript,o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a=function(){var t=this,e=t._self._c;return e("div",[e("el-autocomplete",{staticStyle:{width:"100%"},attrs:{size:"small","fetch-suggestions":t.querySearchAsync,"trigger-on-focus":!0,placeholder:"请选择客户","value-key":"name",clearable:"",disabled:t.isdisabled},on:{select:t.handleSelect,focus:function(t){return t.currentTarget.select()},clear:function(e){return t.blurForBug()}},scopedSlots:t._u([{key:"default",fn:function({item:n}){return[e("div",[e("span",{staticClass:"groupnameSty"},[t._v(" "+t._s(n.name))]),e("span",{staticClass:"selectSpan",staticStyle:{float:"right","text-align":"right",color:"#8492a6","font-size":"13px"}},[t._v(t._s(n.groupuid))])])]}}]),model:{value:t.itemVal,callback:function(e){t.itemVal="string"===typeof e?e.trim():e},expression:"itemVal"}})],1)},i=[],u=(n("14d9"),{name:"D01M01B1Auto",components:{},props:{value:{type:String,default:""},isdisabled:{type:Boolean,default:!1}},data(){return{title:"客户信息",lst:[],itemVal:"",queryParams:{PageNum:1,PageSize:20,OrderType:1,SearchType:1}}},mounted(){this.$nextTick(()=>{this.itemVal=this.value,this.$forceUpdate()})},methods:{querySearchAsync(t,e){""!=t?this.queryParams.SearchPojo={groupuid:t,groupname:t,abbreviate:t}:this.$delete(this.queryParams,"SearchPojo");var n=[],r="/sale/D01M01B1/getOnlinePageList";this.$request.post(r,JSON.stringify(this.queryParams)).then(t=>{if(console.log(t),200==t.data.code){this.lst=t.data.data.list;for(var r=0;r<t.data.data.list.length;r++){var o=t.data.data.list[r],a={value:o.id,name:o.groupname,abbreviate:o.abbreviate,groupuid:o.groupuid,groupname:o.groupname};n.push(a)}}e(n)}).catch(t=>{e([])})},handleSelect(t){var e=this.lst.findIndex(e=>t.value==e.id);-1!=e&&this.$emit("setRow",this.lst[e])},blurForBug(){document.activeElement.blur()}}}),c=u;n("b6ab"),n("964d");function s(t,e,n,r,o,a,i,u){var c,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),a&&(s._scopeId="data-v-"+a),i?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},s._ssrRegister=c):o&&(c=u?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(s.functional){s._injectStyles=c;var f=s.render;s.render=function(t,e){return c.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:s}}var f=s(c,a,i,!1,null,"3f1a282a",null),l=f.exports,d=function(){var t=this,e=t._self._c;return e("div",[e("el-autocomplete",{staticStyle:{width:"100%"},attrs:{size:"small","fetch-suggestions":t.querySearchAsync,"trigger-on-focus":!0,placeholder:"请选择供应商","value-key":"name",clearable:"",disabled:t.isdisabled},on:{select:t.handleSelect,focus:function(t){return t.currentTarget.select()},clear:function(e){return t.blurForBug()}},scopedSlots:t._u([{key:"default",fn:function({item:n}){return[e("div",[e("span",{staticClass:"groupnameSty"},[t._v(" "+t._s(n.name))]),e("span",{staticClass:"selectSpan",staticStyle:{float:"right","text-align":"right",color:"#8492a6","font-size":"13px"}},[t._v(t._s(n.groupuid))])])]}}]),model:{value:t.itemVal,callback:function(e){t.itemVal="string"===typeof e?e.trim():e},expression:"itemVal"}})],1)},p=[],b={name:"D01M01B2Auto",components:{},props:{value:{type:String,default:""},isdisabled:{type:Boolean,default:!1}},data(){return{title:"供应商信息",lst:[],itemVal:"",queryParams:{PageNum:1,PageSize:20,OrderType:1,SearchType:1}}},mounted(){this.$nextTick(()=>{this.itemVal=this.value,this.$forceUpdate()})},methods:{querySearchAsync(t,e){""!=t?this.queryParams.SearchPojo={groupuid:t,groupname:t,abbreviate:t}:this.$delete(this.queryParams,"SearchPojo");var n=[],r="/sale/D01M01B2/getOnlinePageList";this.$request.post(r,JSON.stringify(this.queryParams)).then(t=>{if(200==t.data.code){this.lst=t.data.data.list;for(var r=0;r<t.data.data.list.length;r++){var o=t.data.data.list[r],a={value:o.id,name:o.groupname,abbreviate:o.abbreviate,groupuid:o.groupuid,groupname:o.groupname};n.push(a)}}e(n)}).catch(t=>{e([])})},handleSelect(t){var e=this.lst.findIndex(e=>t.value==e.id);-1!=e&&this.$emit("setRow",this.lst[e])},blurForBug(){document.activeElement.blur()}}},v=b,h=(n("996e"),s(v,d,p,!1,null,"3905457c",null)),g=h.exports,y=function(){var t=this,e=t._self._c;return e("div",[e("el-autocomplete",{staticStyle:{width:"100%"},attrs:{"popper-class":"goodsautocomplete",size:"small","fetch-suggestions":t.querySearchAsync,"trigger-on-focus":!0,placeholder:"请选择货品","value-key":"name",clearable:"",disabled:t.isdisabled},on:{select:t.handleSelect,focus:function(t){return t.currentTarget.select()},clear:function(e){return t.blurForBug()}},scopedSlots:t._u([{key:"default",fn:function({item:n}){return[e("div",[e("span",{staticClass:"groupnameSty"},[t._v(" "+t._s(n.goodsuid)+" "+t._s(n.goodsname)+" "+t._s(n.goodsspec)+" ")]),e("span",{staticClass:"selectSpan",staticStyle:{float:"right","text-align":"right",color:"#8492a6","font-size":"13px"}},[t._v(t._s(n.goodsstate))])])]}}]),model:{value:t.itemVal,callback:function(e){t.itemVal="string"===typeof e?e.trim():e},expression:"itemVal"}})],1)},m=[],x={name:"D91M01B1Auto",components:{},props:{value:{type:String,default:""},isdisabled:{type:Boolean,default:!1},baseUrl:{type:String,default:""}},data(){return{title:"货品信息",lst:[],itemVal:"",queryParams:{PageNum:1,PageSize:20,OrderType:1,SearchType:1}}},mounted(){this.$nextTick(()=>{this.itemVal=this.value,this.$forceUpdate()})},methods:{querySearchAsync(t,e){""!=t?this.queryParams.SearchPojo={goodsname:t,goodsuid:t,goodsspec:t}:this.$delete(this.queryParams,"SearchPojo");var n=[],r="/goods/D91M01B1/getOnlinePageList";this.baseurl&&(r=this.baseurl),this.$request.post(r,JSON.stringify(this.queryParams)).then(t=>{if(console.log(t),200==t.data.code){this.lst=t.data.data.list;for(var r=0;r<t.data.data.list.length;r++){var o=t.data.data.list[r],a={value:o.id,name:o.goodsname,goodsname:o.goodsname,goodsuid:o.goodsuid,goodsspec:o.goodsspec,goodsunit:o.goodsunit,partid:o.partid,goodsstate:o.goodsstate};n.push(a)}}e(n)}).catch(t=>{e([])})},handleSelect(t){var e=this.lst.findIndex(e=>t.value==e.id);-1!=e&&this.$emit("setRow",this.lst[e])},blurForBug(){document.activeElement.blur()}}},S=x,w=(n("8f07"),n("f5b3"),s(S,y,m,!1,null,"2a3ab805",null)),O=w.exports;const P=[l,g,O],j=function(t){P.forEach(e=>{t.component(e.name,e)})};var _=j;e["default"]=_},fc6a:function(t,e,n){var r=n("44ad"),o=n("1d80");t.exports=function(t){return r(o(t))}},fdbf:function(t,e,n){var r=n("04f8");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}));
|
|
1
|
+
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["webcomptest"]=e():t["webcomptest"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"04f8":function(t,e,n){var r=n("2d00"),i=n("d039"),o=n("da84"),a=o.String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"06cf":function(t,e,n){var r=n("83ab"),i=n("c65b"),o=n("d1e7"),a=n("5c6c"),s=n("fc6a"),c=n("a04b"),l=n("1a2d"),u=n("0cfb"),d=Object.getOwnPropertyDescriptor;e.f=r?d:function(t,e){if(t=s(t),e=c(e),u)try{return d(t,e)}catch(n){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},"07fa":function(t,e,n){var r=n("50c4");t.exports=function(t){return r(t.length)}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"13d2":function(t,e,n){var r=n("e330"),i=n("d039"),o=n("1626"),a=n("1a2d"),s=n("83ab"),c=n("5e77").CONFIGURABLE,l=n("8925"),u=n("69f3"),d=u.enforce,p=u.get,f=String,h=Object.defineProperty,m=r("".slice),v=r("".replace),b=r([].join),g=s&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),y=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===m(f(e),0,7)&&(e="["+v(f(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||c&&t.name!==e)&&(s?h(t,"name",{value:e,configurable:!0}):t.name=e),g&&n&&a(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var r=d(t);return a(r,"source")||(r.source=b(y,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&p(this).source||l(this)}),"toString")},"14d9":function(t,e,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),a=n("3a34"),s=n("3511"),c=n("d039"),l=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},d=l||!u();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(t){var e=i(this),n=o(e),r=arguments.length;s(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return a(e,n),n}})},1626:function(t,e,n){var r=n("8ea1"),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},"1a2d":function(t,e,n){var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},"1d80":function(t,e,n){var r=n("7234"),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},"23cb":function(t,e,n){var r=n("5926"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("cb2d"),s=n("6374"),c=n("e893"),l=n("94ca");t.exports=function(t,e){var n,u,d,p,f,h,m=t.target,v=t.global,b=t.stat;if(u=v?r:b?r[m]||s(m,{}):(r[m]||{}).prototype,u)for(d in e){if(f=e[d],t.dontCallGetSet?(h=i(u,d),p=h&&h.value):p=u[d],n=l(v?d:m+(b?".":"#")+d,t.forced),!n&&void 0!==p){if(typeof f==typeof p)continue;c(f,p)}(t.sham||p&&p.sham)&&o(f,"sham",!0),a(u,d,f,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"2b4c":function(t,e,n){},"2d00":function(t,e,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,c=o.Deno,l=s&&s.versions||c&&c.version,u=l&&l.v8;u&&(r=u.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},"342f":function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3511:function(t,e){var n=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw n("Maximum allowed index exceeded");return t}},"3a34":function(t,e,n){"use strict";var r=n("83ab"),i=n("e8b5"),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"3a9b":function(t,e,n){var r=n("e330");t.exports=r({}.isPrototypeOf)},"3ce2":function(t,e,n){"use strict";n("c6b64")},"40d5":function(t,e,n){var r=n("d039");t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"44ad":function(t,e,n){var r=n("e330"),i=n("d039"),o=n("c6b6"),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},"485a":function(t,e,n){var r=n("c65b"),i=n("1626"),o=n("861d"),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},"4d64":function(t,e,n){var r=n("fc6a"),i=n("23cb"),o=n("07fa"),a=function(t){return function(e,n,a){var s,c=r(e),l=o(c),u=i(a,l);if(t&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(t,e,n){var r=n("5926"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"52d9":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__["a"]={name:"EditGroupBtns",props:{showcontent:{type:Array,default:()=>["save","approval","print","operate","process"]},formdata:{type:Object},operateBar:{type:Array},processBar:{type:Array},formstate:{type:Number,default:0},submitting:{type:Number,default:0}},data(){return{}},methods:{returnEval(data,itrue){return itrue?eval(data):data},clickMethods(t,e){var n={meth:t,param:e};this.$emit("clickMethods",n)}}}},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,n){var r=n("d066"),i=n("e330"),o=n("241c"),a=n("7418"),s=n("825a"),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?c(e,n(t)):e}},"58c0":function(t,e,n){},"58e9":function(t,e,n){"use strict";n("fbc3")},5926:function(t,e,n){var r=n("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},"59ed":function(t,e,n){var r=n("1626"),i=n("0d51"),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e77":function(t,e,n){var r=n("83ab"),i=n("1a2d"),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&"something"===function(){}.name,l=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},6374:function(t,e,n){var r=n("da84"),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},6382:function(t,e,n){"use strict";n("2b4c")},"657c":function(t,e,n){"use strict";n("b33a")},"68be":function(t,e,n){},"69f3":function(t,e,n){var r,i,o,a=n("cdce"),s=n("da84"),c=n("861d"),l=n("9112"),u=n("1a2d"),d=n("c6cd"),p=n("f772"),f=n("d012"),h="Object already initialized",m=s.TypeError,v=s.WeakMap,b=function(t){return o(t)?i(t):r(t,{})},g=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}};if(a||d.state){var y=d.state||(d.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,r=function(t,e){if(y.has(t))throw m(h);return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var w=p("state");f[w]=!0,r=function(t,e){if(u(t,w))throw m(h);return e.facade=t,l(t,w,e),e},i=function(t){return u(t,w)?t[w]:{}},o=function(t){return u(t,w)}}t.exports={set:r,get:i,has:o,enforce:b,getterFor:g}},"6d70":function(t,e,n){},7234:function(t,e){t.exports=function(t){return null===t||void 0===t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80"),i=Object;t.exports=function(t){return i(r(t))}},"825a":function(t,e,n){var r=n("861d"),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e,n){var r=n("1626"),i=n("8ea1"),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}},8925:function(t,e,n){var r=n("e330"),i=n("1626"),o=n("c6cd"),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},"8ea1":function(t,e){var n="object"==typeof document&&document.all,r="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},"90e3":function(t,e,n){var r=n("e330"),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9334:function(t,e,n){"use strict";n("6d70")},"94ca":function(t,e,n){var r=n("d039"),i=n("1626"),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==u||n!=l&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},"9bf2":function(t,e,n){var r=n("83ab"),i=n("0cfb"),o=n("aed9"),a=n("825a"),s=n("a04b"),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&f in n&&!n[f]){var r=u(t,e);r&&r[f]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:d in n?n[d]:r[d],writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return l(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},a04b:function(t,e,n){var r=n("c04e"),i=n("d9b5");t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},aed9:function(t,e,n){var r=n("83ab"),i=n("d039");t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b33a:function(t,e,n){},b42e:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("1a2d"),a=n("90e3"),s=n("04f8"),c=n("fdbf"),l=r.Symbol,u=i("wks"),d=c?l["for"]||l:l&&l.withoutSetter||a;t.exports=function(t){return o(u,t)||(u[t]=s&&o(l,t)?l[t]:d("Symbol."+t)),u[t]}},c04e:function(t,e,n){var r=n("c65b"),i=n("861d"),o=n("d9b5"),a=n("dc4a"),s=n("485a"),c=n("b622"),l=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=a(t,u);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},c18d:function(t,e,n){"use strict";n("58c0")},c430:function(t,e){t.exports=!1},c65b:function(t,e,n){var r=n("40d5"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},c6b6:function(t,e,n){var r=n("e330"),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},c6b64:function(t,e,n){},c6cd:function(t,e,n){var r=n("da84"),i=n("6374"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("e330"),i=n("1a2d"),o=n("fc6a"),a=n("4d64").indexOf,s=n("d012"),c=r([].push);t.exports=function(t,e){var n,r=o(t),l=0,u=[];for(n in r)!i(s,n)&&i(r,n)&&c(u,n);while(e.length>l)i(r,n=e[l++])&&(~a(u,n)||c(u,n));return u}},cb2d:function(t,e,n){var r=n("1626"),i=n("9bf2"),o=n("13d2"),a=n("6374");t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:e;if(r(n)&&o(n,l,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(u){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cdce:function(t,e,n){var r=n("da84"),i=n("1626"),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),i=n("1626"),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d9b5:function(t,e,n){var r=n("d066"),i=n("1626"),o=n("3a9b"),a=n("fdbf"),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||this||Function("return this")()}).call(this,n("c8ba"))},dc4a:function(t,e,n){var r=n("59ed"),i=n("7234");t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},e30d:function(t,e,n){"use strict";n("68be")},e330:function(t,e,n){var r=n("40d5"),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(t){return function(){return o.apply(t,arguments)}}},e893:function(t,e,n){var r=n("1a2d"),i=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e,n){for(var s=i(e),c=a.f,l=o.f,u=0;u<s.length;u++){var d=s[u];r(t,d)||n&&r(n,d)||c(t,d,l(e,d))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),n.d(e,"CustAutoComplete",(function(){return d})),n.d(e,"SuppAutoComplete",(function(){return b})),n.d(e,"GoodsaAutoComplete",(function(){return _})),n.d(e,"EditGroupBtns",(function(){return $})),n.d(e,"ItemGroupBtns",(function(){return $})),n.d(e,"ToExamine",(function(){return q})),n.d(e,"PrintServer",(function(){return L})),"undefined"!==typeof window){var r=window.document.currentScript,i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var o=function(){var t=this,e=t._self._c;return e("div",[e("el-autocomplete",{staticStyle:{width:"100%"},attrs:{size:"small","fetch-suggestions":t.querySearchAsync,"trigger-on-focus":!0,placeholder:"请选择客户","value-key":"name",clearable:"",disabled:t.isdisabled},on:{select:t.handleSelect,focus:function(t){return t.currentTarget.select()},clear:function(e){return t.blurForBug()}},scopedSlots:t._u([{key:"default",fn:function({item:n}){return[e("div",[e("span",{staticClass:"groupnameSty"},[t._v(" "+t._s(n.name))]),e("span",{staticClass:"selectSpan",staticStyle:{float:"right","text-align":"right",color:"#8492a6","font-size":"13px"}},[t._v(t._s(n.groupuid))])])]}}]),model:{value:t.itemVal,callback:function(e){t.itemVal="string"===typeof e?e.trim():e},expression:"itemVal"}})],1)},a=[],s=(n("14d9"),{name:"CustAutoComplete",components:{},props:{value:{type:String,default:""},isdisabled:{type:Boolean,default:!1}},data(){return{title:"客户信息",lst:[],itemVal:"",queryParams:{PageNum:1,PageSize:20,OrderType:1,SearchType:1}}},mounted(){this.$nextTick(()=>{this.itemVal=this.value,this.$forceUpdate()})},methods:{querySearchAsync(t,e){""!=t?this.queryParams.SearchPojo={groupuid:t,groupname:t,abbreviate:t}:this.$delete(this.queryParams,"SearchPojo");var n=[],r="/sale/D01M01B1/getOnlinePageList";this.$request.post(r,JSON.stringify(this.queryParams)).then(t=>{if(console.log(t),200==t.data.code){this.lst=t.data.data.list;for(var r=0;r<t.data.data.list.length;r++){var i=t.data.data.list[r],o={value:i.id,name:i.groupname,abbreviate:i.abbreviate,groupuid:i.groupuid,groupname:i.groupname};n.push(o)}}e(n)}).catch(t=>{e([])})},handleSelect(t){var e=this.lst.findIndex(e=>t.value==e.id);-1!=e&&this.$emit("setRow",this.lst[e])},blurForBug(){document.activeElement.blur(),this.$emit("autoclear")}}}),c=s;n("58e9"),n("3ce2");function l(t,e,n,r,i,o,a,s){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:l}}var u=l(c,o,a,!1,null,"4507f206",null),d=u.exports,p=function(){var t=this,e=t._self._c;return e("div",[e("el-autocomplete",{staticStyle:{width:"100%"},attrs:{size:"small","fetch-suggestions":t.querySearchAsync,"trigger-on-focus":!0,placeholder:"请选择供应商","value-key":"name",clearable:"",disabled:t.isdisabled},on:{select:t.handleSelect,focus:function(t){return t.currentTarget.select()},clear:function(e){return t.blurForBug()}},scopedSlots:t._u([{key:"default",fn:function({item:n}){return[e("div",[e("span",{staticClass:"groupnameSty"},[t._v(" "+t._s(n.name))]),e("span",{staticClass:"selectSpan",staticStyle:{float:"right","text-align":"right",color:"#8492a6","font-size":"13px"}},[t._v(t._s(n.groupuid))])])]}}]),model:{value:t.itemVal,callback:function(e){t.itemVal="string"===typeof e?e.trim():e},expression:"itemVal"}})],1)},f=[],h={name:"SuppAutoComplete",components:{},props:{value:{type:String,default:""},isdisabled:{type:Boolean,default:!1}},data(){return{title:"供应商信息",lst:[],itemVal:"",queryParams:{PageNum:1,PageSize:20,OrderType:1,SearchType:1}}},mounted(){this.$nextTick(()=>{this.itemVal=this.value,this.$forceUpdate()})},methods:{querySearchAsync(t,e){""!=t?this.queryParams.SearchPojo={groupuid:t,groupname:t,abbreviate:t}:this.$delete(this.queryParams,"SearchPojo");var n=[],r="/sale/D01M01B2/getOnlinePageList";this.$request.post(r,JSON.stringify(this.queryParams)).then(t=>{if(200==t.data.code){this.lst=t.data.data.list;for(var r=0;r<t.data.data.list.length;r++){var i=t.data.data.list[r],o={value:i.id,name:i.groupname,abbreviate:i.abbreviate,groupuid:i.groupuid,groupname:i.groupname};n.push(o)}}e(n)}).catch(t=>{e([])})},handleSelect(t){var e=this.lst.findIndex(e=>t.value==e.id);-1!=e&&this.$emit("setRow",this.lst[e])},blurForBug(){document.activeElement.blur(),this.$emit("autoclear")}}},m=h,v=(n("e30d"),l(m,p,f,!1,null,"528c3b3e",null)),b=v.exports,g=function(){var t=this,e=t._self._c;return e("div",[e("el-autocomplete",{staticStyle:{width:"100%"},attrs:{"popper-class":"goodsautocomplete",size:"small","fetch-suggestions":t.querySearchAsync,"trigger-on-focus":!0,placeholder:"请选择货品","value-key":"name",clearable:"",disabled:t.isdisabled},on:{select:t.handleSelect,focus:function(t){return t.currentTarget.select()},clear:function(e){return t.blurForBug()}},scopedSlots:t._u([{key:"default",fn:function({item:n}){return[e("div",[e("span",{staticClass:"groupnameSty"},[t._v(" "+t._s(n.goodsuid)+" "+t._s(n.goodsname)+" "+t._s(n.goodsspec)+" ")]),e("span",{staticClass:"selectSpan",staticStyle:{float:"right","text-align":"right",color:"#8492a6","font-size":"13px"}},[t._v(t._s(n.goodsstate))])])]}}]),model:{value:t.itemVal,callback:function(e){t.itemVal="string"===typeof e?e.trim():e},expression:"itemVal"}})],1)},y=[],w={name:"GoodsaAutoComplete",components:{},props:{value:{type:String,default:""},isdisabled:{type:Boolean,default:!1},baseUrl:{type:String,default:""}},data(){return{title:"货品信息",lst:[],itemVal:"",queryParams:{PageNum:1,PageSize:20,OrderType:1,SearchType:1}}},mounted(){this.$nextTick(()=>{this.itemVal=this.value,this.$forceUpdate()})},methods:{querySearchAsync(t,e){""!=t?this.queryParams.SearchPojo={goodsname:t,goodsuid:t,goodsspec:t}:this.$delete(this.queryParams,"SearchPojo");var n=[],r="/goods/D91M01B1/getOnlinePageList";this.baseurl&&(r=this.baseurl),this.$request.post(r,JSON.stringify(this.queryParams)).then(t=>{if(console.log(t),200==t.data.code){this.lst=t.data.data.list;for(var r=0;r<t.data.data.list.length;r++){var i=t.data.data.list[r],o={value:i.id,name:i.goodsname,goodsname:i.goodsname,goodsuid:i.goodsuid,goodsspec:i.goodsspec,goodsunit:i.goodsunit,partid:i.partid,goodsstate:i.goodsstate};n.push(o)}}e(n)}).catch(t=>{e([])})},handleSelect(t){var e=this.lst.findIndex(e=>t.value==e.id);-1!=e&&this.$emit("setRow",this.lst[e])},blurForBug(){document.activeElement.blur(),this.$emit("autoclear")}}},x=w,S=(n("6382"),n("9334"),l(x,g,y,!1,null,"60bd52e2",null)),_=S.exports,O=function(){var t=this,e=t._self._c;return e("div",[e("el-button",{directives:[{name:"show",rawName:"v-show",value:t.showcontent.includes("save"),expression:"showcontent.includes('save')"}],attrs:{type:"primary",size:"small",disabled:2==t.formstate||1==t.submitting},nativeOn:{click:function(e){return t.$emit("submitForm","formdata")}}},[t._v(" 保 存")]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:t.showcontent.includes("approval"),expression:"showcontent.includes('approval')"}],staticStyle:{"margin-left":"10px"},attrs:{size:"small",type:"primary",disabled:0==t.formstate||1==t.submitting||!!t.formdata.oaflowmark},on:{click:function(e){return t.$emit("Approval")}}},[t._v(" "+t._s(t.formdata.assessor?"反审核":"审核"))]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:t.showcontent.includes("print"),expression:"showcontent.includes('print')"}],staticStyle:{"margin-left":"10px"},attrs:{disabled:0==t.formstate||1==t.submitting,type:"primary",size:"small"},nativeOn:{click:function(e){return t.$emit("printButton")}}},[t._v("打 印")]),e("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:t.showcontent.includes("print"),expression:"showcontent.includes('print')"}],staticStyle:{"margin-left":"10px"},attrs:{trigger:"click",placement:"bottom","hide-on-click":!1}},[e("el-button",{attrs:{size:"small"}},[t._v("操作"),e("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t._l(t.operateBar,(function(n,r){return[e("div",{key:r},[0==n.children.length?e("div",[e("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:n.show,expression:"o.show"}],attrs:{divided:n.divided,disabled:t.returnEval(n.disabled,1)},nativeOn:{click:function(e){return t.clickMethods(n.methods,n.param)}}},[n.icon.includes("el-icon")&&n.icon?e("i",{class:n.icon}):n.icon?e("svg-icon",{style:{"font-size":"14px"},attrs:{"icon-class":n.icon}}):t._e(),t._v(" "+t._s(t.returnEval(n.label,n.ieval)))],1)],1):e("div",[e("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:n.show,expression:"o.show"}],attrs:{divided:n.divided}},[e("el-dropdown",{attrs:{trigger:"click",placement:"left-start"}},[e("span",[n.icon.includes("el-icon")&&n.icon?e("i",{class:n.icon}):n.icon?e("svg-icon",{style:{"font-size":"14px"},attrs:{"icon-class":n.icon}}):t._e(),t._v(" "+t._s(t.returnEval(n.label,n.ieval))+" ")],1),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t._l(n.children,(function(r,i){return[e("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:r.show,expression:"oitem.show"}],key:i,attrs:{divided:r.divided,disabled:0==t.formstate},nativeOn:{click:function(e){return t.clickMethods(r.methods,r.param)}}},[r.icon.includes("el-icon")&&r.icon?e("i",{class:n.icon}):r.icon?e("svg-icon",{style:{"font-size":"14px"},attrs:{"icon-class":r.icon}}):t._e(),t._v(" "+t._s(t.returnEval(r.label,r.ieval)))],1)]}))],2)],1)],1)],1)])]}))],2)],1),e("el-dropdown",{directives:[{name:"show",rawName:"v-show",value:t.showcontent.includes("process"),expression:"showcontent.includes('process')"}],staticStyle:{"margin-left":"10px"},attrs:{trigger:"click",placement:"bottom"}},[e("el-button",{attrs:{size:"small"}},[t._v("过程"),e("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[[t._l(t.processBar,(function(n,r){return[e("div",{key:r},[0==n.children.length?e("div",[e("el-dropdown-item",{attrs:{divided:n.divided,disabled:t.returnEval(n.disabled,1)},nativeOn:{click:function(e){return t.clickMethods(n.methods,n.param)}}},[n.icon.includes("el-icon")&&n.icon?e("i",{class:n.icon}):n.icon?e("svg-icon",{style:{"font-size":"14px"},attrs:{"icon-class":n.icon}}):t._e(),t._v(" "+t._s(t.returnEval(n.label,n.ieval)))],1)],1):e("div",[e("el-dropdown-item",{attrs:{divided:n.divided}},[e("el-dropdown",{attrs:{trigger:"click",placement:"left-start"}},[e("span",[n.icon.includes("el-icon")&&n.icon?e("i",{class:n.icon}):n.icon?e("svg-icon",{style:{"font-size":"14px"},attrs:{"icon-class":n.icon}}):t._e(),t._v(" "+t._s(t.returnEval(n.label,n.ieval))+" ")],1),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t._l(n.children,(function(r,i){return[e("el-dropdown-item",{key:i,attrs:{divided:r.divided,disabled:0==t.formstate},nativeOn:{click:function(e){return t.clickMethods(r.methods,r.param)}}},[r.icon.includes("el-icon")&&r.icon?e("i",{class:n.icon}):r.icon?e("svg-icon",{style:{"font-size":"14px"},attrs:{"icon-class":r.icon}}):t._e(),t._v(" "+t._s(t.returnEval(r.label,r.ieval)))],1)]}))],2)],1)],1)],1)])]}))]],2)],1),e("el-button",{staticStyle:{"margin-left":"10px"},attrs:{size:"small"},nativeOn:{click:function(e){return t.$emit("formclose")}}},[t._v(" 关 闭")])],1)},E=[],k=n("52d9"),P=k["a"],T=l(P,O,E,!1,null,null,null),$=T.exports,M=function(){var t=this,e=t._self._c;return e("div",[t.ExamineVisible?e("el-dialog",{attrs:{title:"审批模板",width:"400px",visible:t.ExamineVisible,"append-to-body":!0},on:{"update:visible":function(e){t.ExamineVisible=e}}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择审批模板"},on:{change:t.changeExamineModel},model:{value:t.ExamineModel,callback:function(e){t.ExamineModel=e},expression:"ExamineModel"}},t._l(t.ExamineData,(function(n){return e("el-option",{key:n.id,attrs:{label:n.apprname,value:n.id}},[e("span",{staticStyle:{float:"left"}},[t._v(t._s(n.apprname))]),e("span",{staticClass:"selectSpan",staticStyle:{float:"right","text-align":"right",color:"#8492a6","font-size":"13px"}},[t._v(t._s("wxe"==n.sendType?"企业微信":"钉钉"))])])})),1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary",size:"small"},on:{click:t.submitExamine}},[t._v("确 定")]),e("el-button",{attrs:{size:"small"},on:{click:function(e){t.ExamineVisible=!1}}},[t._v("取 消")])],1)],1):t._e()],1)},j=[],C={name:"ToExamine",props:["examinecode","examineurl","formdata"],data(){return{sendType:"wxe",ExamineVisible:!1,ExamineData:[],ExamineModel:""}},methods:{async ToExamine(){this.ExamineData=[];try{var t=this.$store.getters.userinfo.configs,e="",n="";(t["system.wxe.apprstart"]||t["system.oms.apprstart"]||t["system.ding.apprstart"])&&(JSON.parse(t["system.wxe.apprstart"])?(e="/utils/D96M13B1/getListByModuleCode?code="+this.examinecode,n="wxe"):JSON.parse(t["system.ding.apprstart"])?(e="/utils/D96M13B2/getListByModuleCode?code="+this.examinecode,n="ding"):JSON.parse(t["system.oms.apprstart"])&&(e="/utils/D96M17B1/getListByModuleCode?code="+this.examinecode,n="oms"),this.$request.get(e).then(t=>{for(var e=0;e<t.data.data.length;e++){var r=t.data.data[e];r.sendType=n,this.ExamineData.push(r),this.$nextTick(()=>{0!=this.ExamineData.length&&(this.ExamineModel=this.ExamineData[0].id,this.sendType=this.ExamineData[0].sendType),this.ExamineVisible=!0})}}))}catch(r){return console.log(r),void this.$message.warning("获取审批模板失败")}this.$nextTick(()=>{0!=this.ExamineData.length&&(this.ExamineModel=this.ExamineData[0].id,this.sendType=this.ExamineData[0].sendType),this.ExamineVisible=!0})},changeExamineModel(t){this.ExamineData.forEach(e=>{e.id==t&&(this.sendType=e.sendType,this.ExamineModel=e.id)})},submitExamine(){""!=this.ExamineModel?this.$request.get(this.examineurl+"?key="+this.formdata.id+"&apprid="+this.ExamineModel+"&type="+this.sendType).then(t=>{200==t.data.code?(this.$message.success("通知发送成功"),this.ExamineVisible=!1,this.$emit("BindData")):this.$message.warning(t.data.msg||"通知发送失败")}):this.$message.warning("审批模板不能为空!")}}},D=C,R=l(D,M,j,!1,null,null,null),q=R.exports,z=function(){var t=this,e=t._self._c;return e("div",[e("el-dialog",{attrs:{title:t.printTitle?t.printTitle:"打印模板","append-to-body":!0,width:"400px",visible:t.ReportVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.ReportVisible=e}}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择打印模板"},on:{change:t.changeReport},model:{value:t.reportModel,callback:function(e){t.reportModel=e},expression:"reportModel"}},t._l(t.ReportData,(function(t){return e("el-option",{key:t.id,attrs:{label:t.rptname,value:t.id}})})),1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button-group",{staticStyle:{float:"left"}},[e("el-button",{attrs:{type:"print"==t.printType?"primary":"default",disabled:t.hasgrfdata,size:"small"},nativeOn:{click:function(e){t.printType="print",t.submitRemoteReport()}}},[t._v("云打印")]),e("el-button",{attrs:{type:"preview"==t.printType?"primary":"default",disabled:t.hasgrfdata,size:"small"},nativeOn:{click:function(e){t.printType="preview",t.submitRemoteReport()}}},[t._v("云预览")])],1),e("el-button",{attrs:{type:"primary",size:"small",disabled:t.hasrptdata},on:{click:t.submitReport}},[t._v("打印")]),e("el-button",{attrs:{size:"small"},on:{click:function(e){t.ReportVisible=!1}}},[t._v("取 消")])],1)],1),e("el-dialog",{staticClass:"pdfDialog",attrs:{"append-to-body":!0,width:"80%",visible:t.isViewPdf20,top:"2vh","close-on-click-modal":!1},on:{"update:visible":function(e){t.isViewPdf20=e}}},[e("iframe",{staticStyle:{width:"100%",height:"90vh"},attrs:{src:t.pdfUrl,frameborder:"0"}})])],1)},V=[],N={name:"PrintServer",props:["formdata","printcode","commonurl","weburl","queryParams","printTitle","selectList"],data(){return{ReportVisible:!1,ReportData:[],reportModel:"",pdfUrl:"",isViewPdf20:!1,printType:"print",hasgrfdata:!0,hasrptdata:!0,printway:0}},methods:{printButton(t){if(t){if(this.printway=t,0==this.formdata.length)return void this.$message.warning("没有单据内容可打印")}else this.printway=0;this.$request.get("/system/SYSM07B3/getListByModuleCode?code="+this.printcode).then(t=>{this.ReportData=t.data.data,0!=this.ReportData.length&&(this.reportModel=this.ReportData[0].id,this.hasgrfdata=!this.ReportData[0].grfdata,this.hasrptdata=!this.ReportData[0].rptdata),this.ReportVisible=!0})},changeReport(t){for(var e=0;e<this.ReportData.length;e++)t==this.ReportData[e].id&&(this.hasgrfdata=!this.ReportData[e].grfdata,this.hasrptdata=!this.ReportData[e].rptdata);this.$forceUpdate()},submitReport(){if(""!=this.reportModel){var t=null;if(1==this.printway)this.queryParams.DateRange||(this.queryParams.DateRange={StartDate:getDate()[0],EndDate:getDate()[1]}),t=this.$request.post(this.commonurl+"?ptid="+this.reportModel,JSON.stringify(this.queryParams),{responseType:"blob"});else if(2==this.printway){for(var e=[],n=0;n<this.formdata.length;n++){var r=this.formdata[n];e.push(r.id)}t=this.$request.post(this.commonurl+"?ptid="+this.reportModel,JSON.stringify(e),{responseType:"blob"})}else if(3==this.printway){for(e={ids:""},n=0;n<this.selectList.length;n++)e.ids+=`'${this.selectList[n].id}',`;var i=/,$/gi;e.ids=e.ids.replace(i,""),t=this.$request.post(this.commonurl+"?key="+this.formdata.id+"&ptid="+this.reportModel,JSON.stringify(e),{responseType:"blob"})}else t=this.$request.get(this.commonurl+"?key="+this.formdata.id+"&ptid="+this.reportModel,{responseType:"blob"});t.then(t=>{0==this.printway&&(this.formdata.printcount+=1),this.ReportVisible=!1;const e=[];e.push(t.data);const n=window.URL.createObjectURL(new Blob(e,{type:"application/pdf"}));this.pdfUrl=n,this.isViewPdf20=!0})}else this.$message.warning("打印模板不能为空!")},submitRemoteReport(){if(""!=this.reportModel){var t="",e=null;if(1==this.printway)t=this.weburl+"?ptid="+this.reportModel+"&redis=1","preview"==this.printType&&(t+="&cmd=1"),e=this.$request.post(t,JSON.stringify(this.queryParams));else if(2==this.printway){t=this.weburl+"?ptid="+this.reportModel+"&redis=1","preview"==this.printType&&(t+="&cmd=1");for(var n=[],r=0;r<this.formdata.length;r++){var i=this.formdata[r];n.push(i.id)}e=this.$request.post(t,JSON.stringify(n))}else if(3==this.printway){for(n={ids:""},r=0;r<this.selectList.length;r++)n.ids+=`'${this.selectList[r].id}',`;var o=/,$/gi;n.ids=n.ids.replace(o,""),t=this.weburl+"?key="+this.formdata.id+"&ptid="+this.reportModel+"&redis=1","preview"==this.printType&&(t+="&cmd=1"),e=this.$request.post(t,JSON.stringify(n))}else t=this.weburl+"?key="+this.formdata.id+"&ptid="+this.reportModel+"&redis=1","preview"==this.printType&&(t+="&cmd=1"),e=this.$request.get(t);e.then(t=>{200==t.data.code?null==t.data.data||""==t.data.data?this.$message.warning(t.data.msg||"打印失败"):"连接成功"!=this.$store.state.webSocketMsg.webSocketState?(this.$setWs.initWebSocket("ws://127.0.0.1:18800"),setTimeout(()=>{this.remoteprinting(t.data.data)},500)):setTimeout(()=>{this.remoteprinting(t.data.data)},100):this.$message.warning(t.data.msg||"打印失败")})}else this.$message.warning("打印模板不能为空!")},remoteprinting(t){"连接成功"==this.$store.state.webSocketMsg.webSocketState?(0==this.printway&&(this.formdata.printcount+=1),this.$setWs.wsSend(t),this.ReportVisible=!1):this.$message.warning("连接打印服务器失败")}},destroyed(){this.$setWs.wsClose()}},B=N,A=l(B,z,V,!1,null,null,null),L=A.exports,I=function(){var t=this,e=t._self._c;return e("div",{staticClass:"desc",style:{margin:t.margin}},[t.title?e("h1",{staticClass:"desc-title",domProps:{innerHTML:t._s(t.title)}}):t._e(),e("el-row",{staticClass:"desc-row"},[t._t("default")],2)],1)},F=[],U={name:"EDesc",provide(){return{labelWidth:this.labelWidth,column:this.column,size:this.size}},props:{data:{type:Object,required:!0,default(){return{}}},title:{type:String,default:""},margin:{type:String,default:"0"},labelWidth:{type:String,default:"120px"},column:{type:[Number,String],default:3},size:{type:String,default:""}},watch:{data:{handler(){this.$nextTick(()=>{const t=this.$slots.default,e=[];t.forEach(t=>{t.componentOptions&&"e-desc-item"===t.componentOptions.tag&&e.push(t.componentInstance)});let n=this.column;const r=e.length;e.forEach((t,i)=>{const o=n<=(t.span||1),a=i<r-1&&e[i+1].span>=n,s=i===r-1;o||a||s?(t.selfSpan=n,n=this.column):n-=t.span||1})})},deep:!0,immediate:!0}}},J=U,W=(n("657c"),l(J,I,F,!1,null,"742eb9a7",null)),G=W.exports,H=function(){var t=this,e=t._self._c;return e("el-col",{staticClass:"desc-item",attrs:{span:t.computedSpan}},[e("div",{staticClass:"desc-item-content",class:t.size},[e("label",{staticClass:"desc-item-label",style:{width:t.labelWidth}},[e("span",{staticStyle:{"text-align":"center",width:"100%"},domProps:{innerHTML:t._s(t.label)}})]),t.$slots?e("div",{staticClass:"desc-item-value"},[t.$slots.default&&t.$slots.default[0].text?t._t("default"):t.$slots.content?t._t("content"):e("span",[t._v("暂无数据")])],2):t._e()])])},X=[],Y={name:"EDescItem",inject:["labelWidth","column","size"],props:{span:{type:[Number,String],required:!1,default:0},label:{type:String,required:!1,default:""}},data(){return{selfSpan:0}},computed:{computedSpan(){return this.selfSpan?24/this.column*this.selfSpan:this.span?24/this.column*this.span:24/this.column}}},K=Y,Q=(n("c18d"),l(K,H,X,!1,null,"3cbc933e",null)),Z=Q.exports;const tt=[d,b,_,$,$,q,L,G,Z],et=function(t){tt.forEach(e=>{t.component(e.name,e)})};var nt=et;e["default"]=nt},fbc3:function(t,e,n){},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fdbf:function(t,e,n){var r=n("04f8");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}));
|
|
2
2
|
//# sourceMappingURL=webcomptest.umd.min.js.map
|