@inksyun/webcomp 1.0.1 → 1.0.2

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 CHANGED
@@ -1,2 +1,13 @@
1
1
  # webcomp
2
2
 
3
+ #### 组件
4
+
5
+ ##### autocomplete查询
6
+ - D01M01B1Auto 客户
7
+ - D01M01B2Auto 供应商
8
+ - D91M01BAuto 货品
9
+
10
+ 参数:
11
+ (1) value
12
+ (2) @setRow
13
+ (3) @autoclear
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inksyun/webcomp",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "web组件 @inksyun/webcomp",
5
5
  "main": "webcomp.umd.min.js",
6
6
  "scripts": {
package/webcomp.css CHANGED
@@ -1 +1 @@
1
- .groupnameSty[data-v-2a3ab805],.groupnameSty[data-v-3f1a282a],.groupnameSty[data-v-3905457c]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-wrap:break-word;width:75%;display:inline-block;line-height:12px}
1
+ .groupnameSty[data-v-5fc3c244],.groupnameSty[data-v-47f12597],.groupnameSty[data-v-5353eb34]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-wrap:break-word;width:75%;display:inline-block;line-height:12px}
@@ -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 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}))},"05b0":function(t,e,n){"use strict";n("6dea")},"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"}}},"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,h=r("".slice),v=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("===h(p(e),0,7)&&(e="["+v(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}})},"158d":function(t,e,n){"use strict";n("64a1")},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,h=t.target,v=t.global,g=t.stat;if(f=v?r:g?r[h]||u(h,{}):(r[h]||{}).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(v?l:h+(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}},"64a1":function(t,e,n){},"668f":function(t,e,n){},"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",h=u.TypeError,v=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 h("Incompatible receiver, "+t+" required");return n}};if(i||l.state){var m=l.state||(l.state=new v);m.get=m.get,m.has=m.has,m.set=m.set,r=function(t,e){if(m.has(t))throw h(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 h(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}},"6dea":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"),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")}},"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},"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}},9018:function(t,e,n){"use strict";n("668f")},"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}},"93ba":function(t,e,n){"use strict";n("f890")},"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},"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]}},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)}},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)}},ec25:function(t,e,n){},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))}},f890:function(t,e,n){},fb15:function(t,e,n){"use strict";if(n.r(e),n.d(e,"custautocomplete",(function(){return l})),n.d(e,"suppautocomplete",(function(){return g})),n.d(e,"goodsautocomplete",(function(){return O})),"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:"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 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(),this.$emit("autoclear")}}}),c=u;n("fbc1"),n("9018");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,"5353eb34",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:"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 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(),this.$emit("autoclear")}}},h=b,v=(n("93ba"),s(h,d,p,!1,null,"5fc3c244",null)),g=v.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:"goodsautocomplete",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(),this.$emit("autoclear")}}},S=x,w=(n("158d"),n("05b0"),s(S,y,m,!1,null,"47f12597",null)),O=w.exports;const P=[l,g,O],j=function(t){P.forEach(e=>{t.component(e.name,e)})};let _={};P.forEach(t=>{_[t.name]=t});var T=j;e["default"]=T},fbc1:function(t,e,n){"use strict";n("ec25")},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}})}));
2
2
  //# sourceMappingURL=webcomptest.umd.min.js.map