@bee-hole/admin 1.25.70 → 1.25.71

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.
Files changed (87) hide show
  1. package/dist/css/chunk-096b580c.664d57bc.css +1 -0
  2. package/dist/css/chunk-096b580c.664d57bc.css.gz +0 -0
  3. package/dist/css/chunk-2995d93e.ead4c84d.css +1 -0
  4. package/dist/css/chunk-2995d93e.ead4c84d.css.gz +0 -0
  5. package/dist/css/chunk-709299b9.1f7978e0.css +1 -0
  6. package/dist/css/chunk-7c63f466.35394ae6.css +1 -0
  7. package/dist/css/chunk-d323928e.89fff6c2.css +1 -0
  8. package/dist/css/chunk-d323928e.89fff6c2.css.gz +0 -0
  9. package/dist/css/lang-zh-TW-service~f63b1681.6a8b5ed3.css +1 -0
  10. package/dist/css/lang-zh-TW-service~f63b1681.6a8b5ed3.css.gz +0 -0
  11. package/dist/index.html +1 -1
  12. package/dist/js/{app~f075b844.6441ab26.js → app~f075b844.908a9c7a.js} +1 -1
  13. package/dist/js/app~f075b844.908a9c7a.js.gz +0 -0
  14. package/dist/js/{chunk-03e1387e.276931a3.js → chunk-03e1387e.ec1b76aa.js} +1 -1
  15. package/dist/js/chunk-03e1387e.ec1b76aa.js.gz +0 -0
  16. package/dist/js/chunk-096b580c.286f9fe2.js +1 -0
  17. package/dist/js/chunk-096b580c.286f9fe2.js.gz +0 -0
  18. package/dist/js/chunk-2995d93e.5a29f876.js +1 -0
  19. package/dist/js/chunk-2995d93e.5a29f876.js.gz +0 -0
  20. package/dist/js/chunk-709299b9.82e9684a.js +1 -0
  21. package/dist/js/chunk-709299b9.82e9684a.js.gz +0 -0
  22. package/dist/js/{chunk-fa04ce72.8dca4792.js → chunk-7454876a.3bba909c.js} +1 -1
  23. package/dist/js/chunk-7454876a.3bba909c.js.gz +0 -0
  24. package/dist/js/chunk-7c63f466.d4ac8bd1.js +1 -0
  25. package/dist/js/chunk-7c63f466.d4ac8bd1.js.gz +0 -0
  26. package/dist/js/chunk-d323928e.63c500ef.js +1 -0
  27. package/dist/js/chunk-d323928e.63c500ef.js.gz +0 -0
  28. package/dist/js/{chunk-e093710c.a88ed5b7.js → chunk-dc085b74.8c105048.js} +1 -1
  29. package/dist/js/chunk-dc085b74.8c105048.js.gz +0 -0
  30. package/dist/js/lang-ar-EG~31ecd969.ce49043e.js +3 -0
  31. package/dist/js/lang-ar-EG~31ecd969.ce49043e.js.gz +0 -0
  32. package/dist/js/lang-bn-BD~ede72586.da8cbdf6.js +1 -0
  33. package/dist/js/lang-bn-BD~ede72586.da8cbdf6.js.gz +0 -0
  34. package/dist/js/lang-en-US~31ecd969.b23f2e6a.js +3 -0
  35. package/dist/js/lang-en-US~31ecd969.b23f2e6a.js.gz +0 -0
  36. package/dist/js/lang-ko-KR~31ecd969.e4ee3717.js +1 -0
  37. package/dist/js/lang-ko-KR~31ecd969.e4ee3717.js.gz +0 -0
  38. package/dist/js/lang-ms-MY~d756050e.85d7b612.js +1 -0
  39. package/dist/js/lang-ms-MY~d756050e.85d7b612.js.gz +0 -0
  40. package/dist/js/{lang-package~4e34e71e.c46c5825.js → lang-package~4e34e71e.4d311750.js} +3 -3
  41. package/dist/js/lang-package~4e34e71e.4d311750.js.gz +0 -0
  42. package/dist/js/lang-zh-TW-service~f63b1681.86739122.js +1 -0
  43. package/dist/js/lang-zh-TW-service~f63b1681.86739122.js.gz +0 -0
  44. package/dist/js/lang-zh-TW~31ecd969.9cab7082.js +1 -0
  45. package/dist/js/lang-zh-TW~31ecd969.9cab7082.js.gz +0 -0
  46. package/package.json +1 -1
  47. package/dist/css/chunk-07a0f50c.cab31655.css +0 -1
  48. package/dist/css/chunk-07a0f50c.cab31655.css.gz +0 -0
  49. package/dist/css/chunk-32dac439.a68e5fee.css +0 -1
  50. package/dist/css/chunk-32dac439.a68e5fee.css.gz +0 -0
  51. package/dist/css/chunk-48de0fec.1e09edd8.css +0 -1
  52. package/dist/css/chunk-48de0fec.1e09edd8.css.gz +0 -0
  53. package/dist/css/chunk-52cb3562.ef74bf62.css +0 -1
  54. package/dist/css/chunk-e4bf5c30.13706cf3.css +0 -1
  55. package/dist/css/lang-zh-TW-service~f63b1681.c64eee61.css +0 -1
  56. package/dist/css/lang-zh-TW-service~f63b1681.c64eee61.css.gz +0 -0
  57. package/dist/js/app~f075b844.6441ab26.js.gz +0 -0
  58. package/dist/js/chunk-03e1387e.276931a3.js.gz +0 -0
  59. package/dist/js/chunk-07a0f50c.689ae53d.js +0 -1
  60. package/dist/js/chunk-07a0f50c.689ae53d.js.gz +0 -0
  61. package/dist/js/chunk-32dac439.71af4fd9.js +0 -1
  62. package/dist/js/chunk-32dac439.71af4fd9.js.gz +0 -0
  63. package/dist/js/chunk-48de0fec.9b2ababd.js +0 -1
  64. package/dist/js/chunk-48de0fec.9b2ababd.js.gz +0 -0
  65. package/dist/js/chunk-52cb3562.9ddf4714.js +0 -1
  66. package/dist/js/chunk-52cb3562.9ddf4714.js.gz +0 -0
  67. package/dist/js/chunk-e093710c.a88ed5b7.js.gz +0 -0
  68. package/dist/js/chunk-e4bf5c30.9cf4e966.js +0 -1
  69. package/dist/js/chunk-e4bf5c30.9cf4e966.js.gz +0 -0
  70. package/dist/js/chunk-fa04ce72.8dca4792.js.gz +0 -0
  71. package/dist/js/lang-ar-EG~31ecd969.c469ba88.js +0 -3
  72. package/dist/js/lang-ar-EG~31ecd969.c469ba88.js.gz +0 -0
  73. package/dist/js/lang-bn-BD~ede72586.6193db8e.js +0 -1
  74. package/dist/js/lang-bn-BD~ede72586.6193db8e.js.gz +0 -0
  75. package/dist/js/lang-en-US~31ecd969.b658e6f1.js +0 -3
  76. package/dist/js/lang-en-US~31ecd969.b658e6f1.js.gz +0 -0
  77. package/dist/js/lang-ko-KR~31ecd969.d026b057.js +0 -1
  78. package/dist/js/lang-ko-KR~31ecd969.d026b057.js.gz +0 -0
  79. package/dist/js/lang-ms-MY~d756050e.797a9e52.js +0 -1
  80. package/dist/js/lang-ms-MY~d756050e.797a9e52.js.gz +0 -0
  81. package/dist/js/lang-package~4e34e71e.c46c5825.js.gz +0 -0
  82. package/dist/js/lang-zh-TW-service~f63b1681.1f3e02df.js +0 -1
  83. package/dist/js/lang-zh-TW-service~f63b1681.1f3e02df.js.gz +0 -0
  84. package/dist/js/lang-zh-TW~31ecd969.2b0593e0.js +0 -1
  85. package/dist/js/lang-zh-TW~31ecd969.2b0593e0.js.gz +0 -0
  86. /package/dist/css/{chunk-fa04ce72.3a09c127.css → chunk-7454876a.3a09c127.css} +0 -0
  87. /package/dist/css/{chunk-fa04ce72.3a09c127.css.gz → chunk-7454876a.3a09c127.css.gz} +0 -0
@@ -0,0 +1 @@
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-096b580c"],{"0a49":function(e,t,a){},"0ef6":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("div",{ref:"portaletDiv",staticClass:"module"},[e._m(0)])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-in"},[t("ul",{staticClass:"information02"},[t("li",[t("div",{staticClass:"sky"},[t("img",{attrs:{src:a("924b"),alt:""}})]),t("div",{staticClass:"information02-data"},[t("span",[e._v("50%")]),t("p",[e._v("压力仪表盘")])])]),t("li",[t("div",{staticClass:"sky"},[t("img",{attrs:{src:a("4781"),alt:""}})]),t("div",{staticClass:"information02-data"},[t("span",[e._v("28%")]),t("p",[e._v("完成率")])])])])])}],r={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},n=r,i=(a("d936"),a("2877")),c=Object(i["a"])(n,o,s,!1,null,"0c32075c",null);t["default"]=c.exports},"12b1":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-tabs",{attrs:{"tab-position":e.tabPosition},on:{change:e.changeTab},model:{value:e.activeKey,callback:function(t){e.activeKey=t},expression:"activeKey"}},e._l(e.list,(function(e){return t("a-tab-pane",{key:e.key,attrs:{tab:e.title}})})),1)},s=[],r={props:{defaultTabKey:{type:String,default:"title"},tabItems:{type:Array,default:function(){return[]}},platform:{type:String,default:"rakuten"}},data:function(){return{tabPosition:"left",list:[],tiktokList:[{key:"title",title:this.$t("view.item.list.itemTitle")},{key:"category",title:this.$t("view.attach.list.form.query3")},{key:"brand",title:this.$t("components.dyProduct.dyProduct.bran")},{key:"attribute",title:this.$t("components.dyProduct.dyProduct.attributes")},{key:"image",title:this.$t("view.item.list.itemImage")},{key:"itemInfo",title:this.$t("components.rakuten.tabOne.title")},{key:"sku",title:this.$t("view.bigcommerce.product.publish.table.skuInfo")},{key:"description",title:this.$t("view.alibaba.product.detail.sku.description")},{key:"sizeChart",title:this.$t("components.dyProduct.dyProduct.sizechart.image")},{key:"packageWeight",title:this.$t("components.dyProduct.package_weight.value")},{key:"packageSizeChart",title:this.$t("components.dyProduct.package_size_chart.value")},{key:"other",title:this.$t("components.rakuten.product.features")}],defaultList:[{key:"title",title:this.$t("view.item.list.itemTitle")},{key:"category",title:this.$t("view.attach.list.form.query3")},{key:"image",title:this.$t("view.item.list.itemImage")},{key:"itemInfo",title:this.$t("components.rakuten.tabOne.title")},{key:"sku",title:this.$t("view.bigcommerce.product.publish.table.skuInfo")},{key:"description",title:this.$t("view.alibaba.product.detail.sku.description")},{key:"other",title:this.$t("components.rakuten.product.features")}],activeKey:"title"}},created:function(){this.changeTab(this.defaultTabKey),this.tabItems.length>0?this.list=this.tabItems:"rakuten"===this.platform?this.list=this.defaultList:this.list=this.tiktokList},watch:{defaultTabKey:function(e,t){e&&e!==t&&this.changeTab(e)},tabItems:function(e,t){e&&e!==t&&(this.list=e)}},methods:{changeTab:function(e){this.activeKey=e,this.$emit("change",e)}}},n=r,i=a("2877"),c=Object(i["a"])(n,o,s,!1,null,null,null);t["default"]=c.exports},"191a":function(e,t,a){"use strict";a("bd92")},"1d24":function(e,t,a){"use strict";a("0a49")},2855:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-result",{attrs:{title:"该功能尚未开发!"},scopedSlots:e._u([{key:"icon",fn:function(){return[t("a-icon",{attrs:{type:"smile",theme:"twoTone"}})]},proxy:!0},{key:"extra",fn:function(){return[t("a-button",{attrs:{type:"primary"},on:{click:e.returnIndex}},[e._v(" 返回工作台 ")])]},proxy:!0}])})},s=[],r={name:"Build",components:{},data:function(){return{}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){},methods:{returnIndex:function(){this.$router.push({path:"/index"})}}},n=r,i=a("2877"),c=Object(i["a"])(n,o,s,!1,null,null,null);t["default"]=c.exports},4781:function(e,t,a){e.exports=a.p+"img/img02.9ac07e73.png"},"4a49":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-spin",{attrs:{spinning:e.loading,tip:"加载中..."}},[t("div",{style:"height:"+e.height},[t("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.src,frameborder:"no",scrolling:"auto"}})])])},s=[],r={name:"Swagger",components:{},data:function(){return{src:"/admin/swagger-ui.html",height:document.documentElement.clientHeight-120+"px;",loading:!0}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){var e=this;setTimeout((function(){e.loading=!1}),230);var t=this;window.onresize=function(){t.height=document.documentElement.clientHeight-94.5+"px;"}},methods:{}},n=r,i=a("2877"),c=Object(i["a"])(n,o,s,!1,null,null,null);t["default"]=c.exports},5194:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-spin",{attrs:{spinning:e.loading,tip:"加载中..."}},[t("div",{style:"height:"+e.height},[t("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.src,frameborder:"no",scrolling:"auto"}})])])},s=[],r={name:"Druid",components:{},data:function(){return{src:"/admin/druid/login.html",height:document.documentElement.clientHeight-124.5+"px;",loading:!0}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){var e=this;setTimeout((function(){e.loading=!1}),230);var t=this;window.onresize=function(){t.height=document.documentElement.clientHeight-94.5+"px;"}},methods:{}},n=r,i=a("2877"),c=Object(i["a"])(n,o,s,!1,null,null,null);t["default"]=c.exports},6393:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABjCAYAAABt56XsAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAGh0lEQVR42u2dTXPaOByHf5L8QoCQwCxtptNhD8llL7un/Qz7+XvZXJKL2+m0pQOJA/hd2gM266QhkRzbCNAzk5kQ/raDHvRiSZYIAMyW/Pc0E39CAofh03mPeTKxBX6QXYQJ/paJtRi5HvXojcr52yRMhOMH/B/J8GnHJl8GJ/SLTHAQ8wEFAJthBUAqEeIMw1XE+7IfIIh5P0zwXjLcsxkWNaZf7USJuJAMnVqM+LIyAODEoT4FgNMOnSr8T5NFJC7vV9nktUA/yC4eQnEJ4NXYgtMO/VZT2jVCnImhbOyoR/9VPb+1+YVilXLp4yZRCvx8yHquTeYWxeLEoQtgnSNSjn6UiGGYwIGCDEYRN5WQdSGEXJzDoPIl37AR0nXJVz8QXQBXksdOuACCWACA98PPAAAPoQAUJJTwei69rSvhdo3FiF/puOKXjk2TuxW/j1NxA3kpBVUElPEsimXHJtrnEFkshkpCaPnFeZd+JWQ3H2DUZ9q2rAqihDuysVWTkT79w2mH3kCyxVUT3uCEXrd4vcq4NpXOwSnHoMo1fhHSsUkyOGlNijc4odeHVFQVpFlNQoDWpHh9l9zumwzZoiipUwjwi5Q6xXjIZXRdqvVN4HPYFpnLxHEh3Ltldql6fvrSmx2bJO8G7JpRJKhHisco4ncD9mkfZQCARbHA+kv1GuM4w3gVcaWcIt0YWEW8GyTiQ8ZhQ71Z7FGCuGOT7/0OnTWfbM3yw8/+gnxTf+pamJ512Yv3WIuQj1exuFRunYWJsP2AX0FeinfaIbfFnfwhMF9mV0mGPxQOmVKCyLXJ1GZk2rFJBABRKtw0E4MwER8zDhfA2FI4KYB1MVbclctySDLWn4d4SSB6kM8l47xX42MAMS3S737FAWBcDlQWYgA6No3ny2yZZPCg3ksxfulNKnsWw2OGvWZ6FoyQN9B3yS3kWlzSGCFvoOvSRd1SjJA3UrcUI6QG6pRiWlk10XXpIkzE9TLiccbVRkrLGCE1kneUXj+E/CJMRDHcqyTGCGmAfKLGt0XIR6tYbUjb1CENUqXfzgjRDCNEM4wQzTBCNMMI0QwjRDOMEM0wQjTDCNEMI0QzjBDNMEI0wwjRDCNEM4yQBlF5wKfADFDVTJRwJ0oxilMxvA+E8lCuEVIDb5VQxgipSJ0SyhghCjQloYwR8gptSChglBghz9GmhBKea+GzEZKzIwkbCFnPUjlqIbuWUMLrOeQWOMI6RCMJQD4XuPxE8lEI0UwCkItwLTI/69JHE7QPVoiuEhglsWth69PIByVEVwkWI0vXwqznvj61dO+FHIKEMnspJEy4E2spAUvXIsoSyuyNkEJClIj3flB51bo68QDAXueEb3UtFaK1kGORUEY7IbpKcCwydxhmTS+ao4UQnSW4FmZtLg2yMyFGwvO0KkRHCYQADiNzZ4cSyrQixA/4hZEgRxtCJmEidi8BgGuT7zb7fxVuHdGiUm+IjQTHwqyjsMTrLjk0IXspocwhCPEoQVy0jlQWO9aRfRVyUBLK7IuQfCwBsc0OT0IZnYVsJDgWmeu+0Utd6CbkKCWU0UGI1NDmsbArIUbCFtoUsimOXOswlhxvgjaEeFXHl4+RxoUwiljnjSJ1wzzSphlGiGYYIZrRuBDZnTENa5Q2dLlbZh/iDGf5S+kNXQDAYZir7jJ9jEgJ8QM+DhPxW/5SdbujgnzGN+ZnXSNmG68K+fnAr7gQVfad2oZHAIwH7NOuP7yOvChk6md/5FVAXTIKjJQtbBXSoIwCI+UZnhXSgowCI+UJvzR7fz7wq5ZkAMBEAJiu9wU04IkQP+DjmitwGSYCwN0y2/XcLS14JCRv2rYpo2ASZxhGqVBezujQ2PT23q34hzhVuq32CNaTky2GhcXIAgDSTPTTDP04E0PFDU0my5Av0e5e7tqxERKn4gwKd98WxXLUf3Yvv1n+4+VblEpvvphy9HadILuGAsAi5OcKx3hdh3zeIuMRwx676bnkMxQ2y1qEfLTrRNklFFDKHZ5FsVQZfu25dOYwzCEnZRKnwghJOboywYQAMjnjKec95lFCpCa2HXuxpdT9nn/TK+FY1Y89JmiUCls22Gak8iQFm2EBybrkmJu/NG+aStUfjKLyfFqFh2QmxzyopVRkHeoEZ52gZN29KFVRryLer3qhMJEuhjyiNI55WFDXIolk7CTlqCwkycQIkjeIriXXIjtElIqsOBXDqheKU1Q+9pj4D0pHPWe2D9gsAAAAAElFTkSuQmCC"},"76f8":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticClass:"procureList",staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{ref:"search",staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.purchaseOrder.list.purchaseId"),labelCol:{md:3,sm:8,lg:5},wrapperCol:{lg:14}}},[t("a-input",{attrs:{"allow-clear":""},model:{value:e.queryParam.purchase_id,callback:function(t){e.$set(e.queryParam,"purchase_id",t)},expression:"queryParam.purchase_id"}})],1)],1),t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.order_id"),labelCol:{md:3,sm:8,lg:5},wrapperCol:{lg:14}}},[t("a-input",{attrs:{"allow-clear":""},model:{value:e.queryParam.order_id,callback:function(t){e.$set(e.queryParam,"order_id",t)},expression:"queryParam.order_id"}})],1)],1),"admin"==e.roles[0]?t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.shop.seller")}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("seller-list",{on:{changeuser:e.changeUser}})],1)])],1):e._e(),t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("procure.list.order.assoc_order_id"),labelCol:{md:3,sm:8,lg:5},wrapperCol:{lg:14}}},[t("a-input",{attrs:{"allow-clear":""},model:{value:e.queryParam.assoc_order_id,callback:function(t){e.$set(e.queryParam,"assoc_order_id",t)},expression:"queryParam.assoc_order_id"}})],1)],1),t("a-col",{attrs:{lg:11,xl:5,md:16}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.export.time_select_title"),labelCol:{md:3,sm:8,lg:3},wrapperCol:{lg:21}}},[t("a-range-picker",{staticStyle:{width:"auto"},attrs:{"show-time":""},model:{value:e.exportTime,callback:function(t){e.exportTime=t},expression:"exportTime"}},[t("template",{slot:"renderExtraFooter"})],2)],1)],1),t("a-col",{staticStyle:{"text-align":"right"},attrs:{lg:12,xl:8}},[t("span",{staticClass:"table-page-search-submitButtons buttonsTools"},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v(e._s(e.$t("view.order.list.query.btn"))+" ")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v(e._s(e.$t("view.order.list.reset.btn"))+" ")],1),t("purchaseUpload",{staticStyle:{"margin-left":"8px"},on:{uploadBack:function(t){return e.resetQuery()}}}),t("ExcelData",{attrs:{page:e.queryParam.page_no,pageSize:e.queryParam.page_size,total:e.total_count,loadData:e.changeSize,fileName:e.$t("app.menus.left.procure.procureOrder")}})],1)])],1)],1)],1)]),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e.showFaHuoModal?t("fa-huo",{ref:"fauho",attrs:{isEdit:!1},on:{ok:e.getList,close:function(t){e.showFaHuoModal=!1}}}):e._e(),e.orderDetailModal?t("order-detail",{ref:"OrderDetail",on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),t("advance-table",{attrs:{loading:e.loading,size:"middle","row-selection":null,"format-conditions":!1,columns:e.columns,"data-source":e.List,rowKey:"id",tableKey:"procure-order-table",expandedRowKeys:e.expandedRowKeys,pagination:{current:e.queryParam.page_no,pageSize:e.queryParam.page_size,total:e.total_count,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,showTotal:function(t,a){return e.$t("view.order.list.table.total",{num:a[0]+"-"+a[1],total:t})},onChange:e.changeSize,onShowSizeChange:e.onShowSizeChange},scroll:{x:"100%"},title:e.$t("view.order.list.list")},scopedSlots:e._u([{key:"purchase_id",fn:function(a){var o=a.text,s=a.record;return t("span",{},[t("div",[1===s.is_self_take&&1!==s.is_virtual?t("div",{staticStyle:{display:"flex","margin-bottom":"2px"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}}),t("a-tag",{attrs:{color:"green"}},[e._v(e._s(e.$t("view.procure.delivery.self_pickup")))])],1):e._e(),2===s.is_self_take&&1!==s.is_virtual?t("div",{staticStyle:{display:"flex","margin-bottom":"2px"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}}),t("a-tag",{attrs:{color:"green"}},[e._v(e._s(e.$t("view.procure.delivery.drop_shipping")))])],1):e._e(),3===s.is_self_take&&1!==s.is_virtual?t("div",{staticStyle:{display:"flex","margin-bottom":"2px"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}}),t("a-tag",{attrs:{color:"green"}},[e._v(e._s(e.$t("view.procure.delivery.hd")))])],1):e._e(),""!==s.assoc_order_id?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("procure.list.order.assoc_order_id"))+" ")]),t("a-tag",{staticStyle:{cursor:"pointer"},attrs:{color:"cyan"},on:{click:function(){return e.copyToClipboard(s.assoc_order_id)}}},[e._v(" "+e._s(s.assoc_order_id)+" ")])],1):e._e(),t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("view.purchaseOrder.list.purchaseId"))+" ")]),t("div",{staticStyle:{width:"240px"}},[e._v(" "+e._s(o)+" "),t("copyText",{attrs:{text:o,tooltipText:e.$t("view.order.list.purchase_id.copy")}})],1)]),1==e.shop_id&&s.main_shop_order?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("procure.list.order.order_id"))+" ")]),t("a",{staticStyle:{width:"240px"},on:{click:function(t){return e.handleOrderDetail(s)}}},[e._v(e._s(s.main_shop_order.order_id))]),t("copyText",{attrs:{text:s.main_shop_order.order_id,tooltipText:e.$t("view.order.list.order_id.copy")}})],1):e._e(),s.out_order_id&&s.sub_shop_id==e.shop_id?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("procure.list.order.order_id"))+" ")]),t("a",{staticStyle:{width:"240px"},on:{click:function(t){return e.handleOrderDetail(s)}}},[e._v(e._s(s.out_order_id))]),t("copyText",{attrs:{text:s.out_order_id,tooltipText:e.$t("view.order.list.order_id.copy")}})],1):e._e(),t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("procure.list.order.createTime"))+" ")]),e._v(" "+e._s(s.create_time)+" ")]),1===s.is_self_take&&""!==s.logistics_company?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("view.order.list.logistics_company"))+" ")]),e._v(" "+e._s(s.logistics_company)+" ")]):e._e(),1===s.is_self_take&&""!==s.logistics_number?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("view.order.list.tracking_number"))+" ")]),e._v(" "+e._s(s.logistics_number)+" ")]):e._e(),1===s.is_self_take&&""!==s.miandan_url?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("view.purchaseOrder.list.upload.voucher"))+" ")]),t("a",{attrs:{href:s.miandan_url,target:"_blank"}},[e._v(e._s(e.$t("view.purchaseOrder.list.upload.voucher.view")))])]):e._e(),1===e.shop_id?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("view.order.detail.ship_from"))+" ")]),s.sub_shop_id?t("div",[t("supply-info",{attrs:{shopId:s.sub_shop_id}})],1):e._e()]):e._e(),t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}}),t("div",[1===s.is_virtual?t("a-tag",{attrs:{color:"#f50"}},[e._v(" "+e._s(e.$t("view.lockstock.log.lock.is_virtual.title"))+" ")]):e._e(),3===s.is_virtual?t("a-tag",{attrs:{color:"#87d068"}},[e._v(" "+e._s(e.$t("view.lockstock.log.use.lock.is_virtual.title"))+" ")]):e._e()],1)])])])}},{key:"status",fn:function(a){var o=a.text,s=a.record;return t("span",{},[t("div",["UNPAID"!==o&&"AFTER_SALE"!==o&&"REFUNDED"!==o?t("a",{on:{click:function(t){return e.openFahuo(s)}}},[e._v(" "+e._s(e.$t(o))+" ")]):t("span",[e._v(e._s(e.$t(o)))])])])}},{key:"items",fn:function(a){var o=a.text,s=a.record;return t("span",{},[s.items&&s.items.length?t("div",e._l(s.items,(function(a,r){return t("div",{key:s.purchase_id+"_"+s.id+"_"+r+(a?a.sku_id+"":""),staticStyle:{display:"flex","margin-bottom":"10px"}},[t("div",[t("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url}})],1),t("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(a.title)+" ")])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(" "+e._s((s.currency||"")+" "+a.price)+" ")]),t("a-col",{staticStyle:{"padding-left":"10px"},attrs:{flex:3}},[t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(a.num)+" ")],1)],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},["string"==typeof a.sku_prop?t("span",[e._v(" "+e._s(a.sku_prop)+" ")]):t("span",e._l(a.sku_prop,(function(a,o){return t("div",{key:o},[t("span",[e._v(e._s(o)+":"+e._s(a))])])})),0)])],1),t("a-row",[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.barcode"))+" : "+e._s(a.barcode)+" ")]),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.out_id"))+" : "+e._s(a.out_id)+" ")]),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.purchaseOrder.list.items.totalfee"))+" : "+e._s(s.currency+" "+a.payment)+" ")])],1),r<o.length-1?t("a-divider"):e._e()],1)])})),0):e._e()])}},{key:"payment",fn:function(a){var o=a.text,s=a.record;return t("span",{},[t("div",[e._v(e._s((s.currency||"")+" "+o))])])}},{key:"post_fee",fn:function(a){var o=a.text,s=a.record;return t("span",{},[t("div",[e._v(e._s((s.currency||"")+" "+o))])])}},{key:"paymemberInfo",fn:function(a){var o=a.record;return t("span",{},[t("a-row",[o.last_name&&""!==o.last_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_last_name"))+" : "+e._s(o.last_name)+" ")]):e._e(),o.first_name&&""!==o.first_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_first_name"))+" : "+e._s(o.first_name)+" ")]):e._e(),o.phone&&""!=o.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(o.phone)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_country"))+" : "),t("fanyi-list",{attrs:{list:[o.country]}})],1),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(o.state)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(o.city)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(o.street)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(o.apartment)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(o.zip_code)+" ")]),t("a-col",{attrs:{lg:24}},[t("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===o.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(t){return e.handleModifyShipping(o)}}},[e._v(" "+e._s(e.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var o=a.record;return t("span",{},[e.shop_id!=o.sub_shop_id||"PAID"!=o.status&&"SHIPPED"!=o.status?e._e():t("procureApply",{attrs:{order:o},on:{okAftersale:e.getList}}),"UNPAID"==o.status&&e.shop_id==o.sub_shop_id?t("a-divider",{attrs:{type:"vertical"}}):e._e(),e.shop_id==o.sub_shop_id?t("complaint-form",{attrs:{refId:o.purchase_id,orderId:o.out_order_id&&o.sub_shop_id==e.shop_id?o.out_order_id:1==e.shop_id?o.main_shop_order.order_id:"",type:"procure"},on:{ok:e.handleQuery}}):e._e(),"UNPAID"==o.status&&e.shop_id==o.sub_shop_id?t("a-divider",{attrs:{type:"vertical"}}):e._e(),e.shop_id!=o.sub_shop_id||e.loading?e._e():t("complaintDetail",{attrs:{orderId:o.purchase_id,type:"procure"}}),"UNPAID"==o.status?t("a-divider",{attrs:{type:"vertical"}}):e._e(),"UNPAID"==o.status?t("a",{on:{click:function(t){return e.closeProcure(o)}}},[e._v(" "+e._s(e.$t("wechat.pay.setting.close"))+" ")]):e._e(),"AFTER_SALE"==o.status?t("a-divider",{attrs:{type:"vertical"}}):e._e(),"AFTER_SALE"==o.status?t("a",{on:{click:function(t){return e.cancelAfterSale(o)}}},[e._v(" "+e._s(e.$t("view.order.list.aftersale.cancel.btn"))+" ")]):e._e(),"UNPAID"==o.status?t("h5pay",{ref:"h5Pay"+o.purchase_id,attrs:{orderId:o.purchase_id},on:{paySuccess:e.getList}}):e._e(),1===o.is_self_take&&"PAID"==o.status?t("a-divider",{attrs:{type:"vertical"}}):e._e(),1!==o.is_self_take&&3!==o.is_self_take||"PAID"!=o.status?e._e():t("voucher-upload",{attrs:{"purchase-id":o.purchase_id,"shop-id":o.sub_shop_id},on:{success:e.getList}})],1)}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t("div",[1!==e.shop_id?t("autoPurchasePay"):e._e(),1!==e.shop_id?t("recharge-main-shop",{staticStyle:{"margin-right":"10px"},attrs:{rechargeVisible:!0}}):e._e(),1!==e.shop_id?t("procureAdd",{ref:"procureAdd",attrs:{type:"goods"},on:{backList:e.getList}}):e._e()],1)])])],1)],1)},s=[],r=a("5530"),n=a("bdcb"),i=Object(r["a"])({},n["default"]),c=i,d=(a("191a"),a("2877")),l=Object(d["a"])(c,o,s,!1,null,null,null);t["default"]=l.exports},"77c96":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticClass:"orderList",staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{ref:"search",staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:1,type:"flex"}},[t("a-col",{attrs:{xxl:6,xl:8,lg:8}},[t("a-form-item",{attrs:{label:e.$t("view.order.detail.item")}},[t("good-list",{staticStyle:{width:"100%"},attrs:{type:"radio"},on:{changeitem:e.changeItem}})],1)],1),t("a-col",{attrs:{xxl:6,xl:8,lg:8,md:16}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.export.time_select_title"),labelCol:{md:3,sm:8,lg:4},wrapperCol:{lg:20}}},[t("a-range-picker",{staticStyle:{width:"auto"},attrs:{"show-time":""},model:{value:e.exportTime,callback:function(t){e.exportTime=t},expression:"exportTime"}},[t("template",{slot:"renderExtraFooter"})],2)],1)],1),t("a-col",{attrs:{xxl:12,xl:7,lg:8}},[t("span",{staticClass:"table-page-search-submitButtons buttonsTools",staticStyle:{"justify-content":"end",display:"flex"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v(e._s(e.$t("view.order.list.query.btn"))+" ")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v(e._s(e.$t("view.order.list.reset.btn"))+" ")],1),t("ExcelData",{attrs:{page:e.queryParam.page,pageSize:e.queryParam.limit,total:e.total_count,loadData:e.changeSize,fileName:e.$t("app.menus.left.supply.supplyOrder")}})],1)])],1),t("a-row",{attrs:{gutter:1,type:"flex"}},[1===e.shopId?t("a-col",{attrs:{xxl:6,lg:8}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.shop.seller")}},[t("div",{staticStyle:{display:"flex","align-items":"center",width:"100%"}},[t("seller-list",{on:{changeuser:e.changeUser}})],1)])],1):e._e(),t("a-col",{attrs:{xxl:6,lg:8,md:16}},[1===e.shopId&&e.userId?t("a-form-item",{attrs:{label:e.$t("view.order.list.shop"),labelCol:{md:3,sm:8,lg:4},wrapperCol:{lg:20}}},[t("shop-select",{ref:"shopSelect",attrs:{userId:e.userId},on:{change:e.changeShop}})],1):e._e()],1),t("a-col",{attrs:{lg:8}})],1)],1)],1)]),t("div",[e.showReviewModal?t("review-list",{ref:"ReviewList",on:{close:function(t){e.showReviewModal=!1}}}):e._e(),e.orderDetailModal?t("order-detail",{ref:"OrderDetail",on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),e.showFaHuoModal?t("review-list2",{ref:"ReviewList2",attrs:{mailingMode:2},on:{ok:e.getList,close:function(t){e.showFaHuoModal=!1}}}):e._e(),e.showInsureModal?t("insure-list",{ref:"InsureList",on:{ok:e.getList,close:function(t){e.showInsureModal=!1}}}):e._e(),e.showModifyShipping?t("modify-shipping",{ref:"ModifyShipping",on:{ok:e.getList,close:function(t){e.showModifyShipping=!1}}}):e._e(),e.showGigab2bModal?t("gigab2b",{ref:"pushDajian",on:{ok:e.getList,close:function(t){e.showGigab2bModal=!1}}}):e._e()],1),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t("a-tabs",{staticClass:"loginTitle",on:{change:function(t){return e.orderQuery(t)}}},e._l(e.statusLists,(function(e){return t("a-tab-pane",{key:e.value,attrs:{tab:e.label}})})),1),t("advance-table",{attrs:{loading:e.loading,size:"middle","format-conditions":!1,columns:e.columns,"data-source":e.list,rowKey:"id",tableKey:"test-cat-catlist-table",expandedRowKeys:e.expandedRowKeys,pagination:{current:e.queryParam.page,pageSize:e.queryParam.limit,total:e.total_count,showSizeChanger:!0,showLessItems:!1,showQuickJumper:!1,showTotal:function(t,a){return e.$t("view.order.list.table.total",{num:a[0]+"-"+a[1],total:t})},onChange:e.changeSize,onShowSizeChange:e.onShowSizeChange},scroll:{x:"100%"},title:e.$t("view.order.list.list")},scopedSlots:e._u([{key:"order_id",fn:function(a){var o=a.text,s=a.record;return t("span",{},[1==e.shopId?t("a",{on:{click:function(t){return e.handleOrderDetail(s)}}},[e._v(" "+e._s(o)+" ")]):t("span",[e._v(" "+e._s(o)+" ")]),t("div",[e._v(e._s(s.create_time))]),t("dispath-note",{staticStyle:{display:"none"},attrs:{order:s}}),1===s.is_virtual?t("a-tag",{attrs:{color:"#f50"}},[e._v(" "+e._s(e.$t("view.lockstock.log.lock.is_virtual.title"))+" ")]):e._e()],1)}},{key:"shop_id",fn:function(e){var a=e.record;return t("span",{},[t("supply-info",{attrs:{shopId:a.shop_id}})],1)}},{key:"supply_order_item",fn:function(a){var o=a.text,s=a.record;return t("span",{},e._l(o,(function(a,r){var n,i,c,d;return o.length>0?t("div",{key:a.sku_id,staticStyle:{display:"flex","margin-bottom":"10px"}},[t("div",[t("a-avatar",{attrs:{shape:"square",size:85,src:a.main_img_url}}),t("div",{staticStyle:{"margin-top":"0.5rem"}},[t("a-tag",{attrs:{color:2==a.main_mailing_mode?"red":"green"}},[1===e.shopId?t("div",[2==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself"))+" ")]):e._e(),1==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):e._e(),0==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):e._e()]):e._e(),1!==e.shopId?t("div",[2==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself1"))+" ")]):e._e(),1==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):e._e(),0==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):e._e()]):e._e()]),t("div",{domProps:{innerHTML:e._s(e.viewShipping(a,s))}})],1)],1),t("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(a.main_title)+" ")])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},["string"==typeof a.main_sku_prop?t("span",[e._v(" "+e._s(a.main_sku_prop)+" "),t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(a.main_num)+" ")],1):t("span",e._l(a.main_sku_prop,(function(o,s){return t("div",{key:s},[t("span",[e._v(e._s(s)+":"+e._s(o))]),t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(a.main_num)+" ")],1)})),0)])],1),t("a-row",[null!==(n=s.order_info)&&void 0!==n&&n.currency||s.currency?t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.list.sale_price"))+" : "+e._s((null===(i=s.order_info)||void 0===i?void 0:i.currency)||s.currency)+e._s(a.main_sku_price)+" ")]):e._e(),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.barcode"))+" : "+e._s(a.main_barcode)+" ")]),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.out_id"))+" : "+e._s(a.main_out_id)+" ")])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(e._s(e.$t("view.order.list.deduction_ratio"))+":")]),t("a-col",[e._v(e._s(a.deduction_ratio)+"%")])],1),null!==(c=s.order_info)&&void 0!==c&&c.currency||s.currency?t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(e._s(e.$t("view.order.list.deduction_fee"))+":")]),t("a-col",[e._v(e._s((null===(d=s.order_info)||void 0===d?void 0:d.currency)||s.currency)+e._s(a.deduction_fee))])],1):e._e(),r<o.length-1?t("a-divider"):e._e()],1)]):e._e()})),0)}},{key:"post_fee",fn:function(a){var o,s,r,n=a.record;return t("span",{},[null!==(o=n.order_info)&&void 0!==o&&o.post_fee&&(null!==(s=n.order_info)&&void 0!==s&&s.currency||n.currency)?t("span",[e._v(e._s((null===(r=n.order_info)||void 0===r?void 0:r.currency)||n.currency)+e._s(n.order_info.post_fee))]):e._e()])}},{key:"deduction_fee",fn:function(a){var o,s,r=a.record;return t("span",{},[null!==(o=r.order_info)&&void 0!==o&&o.currency||r.currency?t("span",[e._v(e._s((null===(s=r.order_info)||void 0===s?void 0:s.currency)||r.currency)+e._s(r.deduction_fee))]):e._e()])}},{key:"deduction_status",fn:function(a){var o=a.record;return t("span",{},[1===o.deduction_status?t("span",[e._v(e._s(e.$t("ORDER_WAIT_PAYMENT")))]):e._e(),2===o.deduction_status?t("span",[e._v(e._s(e.$t("ORDER_PAID")))]):e._e(),3===o.deduction_status?t("span",[e._v(e._s(e.$t("ORDER_REFUNDED")))]):e._e()])}},{key:"payment",fn:function(a){var o=a.text,s=a.record;return t("span",{},[""===s.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.biaojiahuobi"))+e._s(e.shopQuoteCurrency)+" "+e._s(o)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.payhuobiprice"))+" : "+e._s(s.trans_currency)+e._s(s.trans_amount)+" ")])],1):e._e(),""!==s.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.shopQuoteCurrency)+" "+e._s(o)+" ")])],1):e._e()],1)}},{key:"status",fn:function(a){var o=a.text;return t("span",{},[e._v(" "+e._s(e.$t(o))+" ")])}},{key:"order_info",fn:function(a){var o=a.record;return t("span",{},[o.order_info?t("a-row",[o.order_info.last_name&&""!==o.order_info.last_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_last_name"))+" : "+e._s(o.order_info.last_name)+" ")]):e._e(),o.order_info.first_name&&""!==o.order_info.first_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_first_name"))+" : "+e._s(o.order_info.first_name)+" ")]):e._e(),o.order_info.phone&&""!=o.order_info.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(o.order_info.phone)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_country"))+" : "),t("fanyi-list",{attrs:{list:[o.order_info.country]}})],1),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(o.order_info.state)+" ")]),o.order_info.city?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(o.order_info.city)+" ")]):e._e(),o.order_info.street?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(o.order_info.street)+" ")]):e._e(),o.order_info.apartment?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(o.order_info.apartment)+" ")]):e._e(),o.order_info.zip_code?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(o.order_info.zip_code)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.memberNote"))+" : "+e._s(o.order_info.member_note)+" ")])],1):e._e()],1)}},{key:"paymemberInfo",fn:function(a){var o=a.record;return t("span",{},[t("a-row",[o.last_name&&""!==o.last_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_last_name"))+" : "+e._s(o.last_name)+" ")]):e._e(),o.first_name&&""!==o.first_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_first_name"))+" : "+e._s(o.first_name)+" ")]):e._e(),o.phone&&""!=o.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(o.phone)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_country"))+" : "+e._s(o.country)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(o.state)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(o.city)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(o.street)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(o.apartment)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(o.zip_code)+" ")]),t("a-col",{attrs:{lg:24}},[t("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===o.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(t){return e.handleModifyShipping(o)}}},[e._v(" "+e._s(e.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var o=a.record;return t("span",{},[t("div",[1==e.shopId?t("complaintForm",{attrs:{refId:o.order_id,type:"supply"},on:{ok:e.handleQuery}}):e._e(),1!=e.shopId||e.loading?e._e():t("complaintDetail",{attrs:{orderId:o.order_id,type:"supply"}}),t("a",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===o.status&&1!=e.shopId&&e.isShowFahuoBtn(o)&&1!==o.is_virtual,expression:"record.status === 'ORDER_WAIT_SHIP' && shopId != 1 && isShowFahuoBtn(record) && record.is_virtual !== 1"}],on:{click:function(t){return e.handleFaHuo(o)}}},[e._v(" "+e._s(e.$t("view.order.list.ship.btn"))+" ")]),"ORDER_WAIT_PAYMENT"!==o.status&&"ORDER_WAIT_SHIP"===o.status&&1!=e.shopId&&o.isDajian&&1!==o.is_virtual?t("a-divider",{attrs:{type:"vertical"}}):e._e(),"ORDER_WAIT_PAYMENT"!==o.status&&1!=e.shopId&&o.isDajian&&1!==o.is_virtual?t("a",{on:{click:function(t){return e.pushDaJian(o)}}},[e._v(e._s(e.$t("view.order.list.pushdajian")))]):e._e(),t("a",{directives:[{name:"show",rawName:"v-show",value:1===o.deduction_status&&1!=e.shopId&&o.deduction_fee>0,expression:"record.deduction_status === 1 && shopId != 1 && record.deduction_fee > 0"}],on:{click:function(t){return e.supplyOrderPay(o)}}},[e._v(e._s(e.$t("procure.pay.deduction_fee.title")))])],1)])}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t("div",[1!==e.shopId?t("recharge-main-shop",{staticStyle:{"margin-right":"10px"},attrs:{rechargeVisible:!0}}):e._e()],1)])])],1)],1)},s=[],r=a("5530"),n=a("dbc2"),i=Object(r["a"])({},n["default"]),c=i,d=(a("1d24"),a("2877")),l=Object(d["a"])(c,o,s,!1,null,null,null);t["default"]=l.exports},"924b":function(e,t,a){e.exports=a.p+"img/img01.319f61f4.png"},"92c5":function(e,t,a){},"945a":function(e,t,a){"use strict";a.r(t);a("a9e3"),a("b64b");var o=function(){var e=this,t=e._self._c;return t("span",[e.open?t("AntModal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:e.modalHeight,modalWidth:e.modalWidth,"confirm-loading":e.confirmNSLoading},on:{cancel:e.cancelModal,ok:e.okNetSeaGoodInfo}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",[t("div",[t("goodsIdList",{staticStyle:{display:"none"},attrs:{goodsIds:e.goodsIds,goodsList:e.goodList},on:{"update:goodsList":function(t){e.goodList=t},"update:goods-list":function(t){e.goodList=t},back:e.initNetsea}})],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[t("leftTabItem",{attrs:{defaultTabKey:e.formEditKey},on:{change:e.changeLeftTab}})],1),t("a-col",{style:{overflowY:"auto",overflowX:"hidden",height:.78*Number(e.modalHeight)+"px"},attrs:{flex:"1"}},[e._l(e.netseaGoodInfoList,(function(a,o){return t("div",{key:o,staticStyle:{"padding-bottom":"2rem"}},[t("div",{staticStyle:{"margin-bottom":"1rem"}},[t("kandengGoodsOne",{attrs:{goodsList:e.goodList,goodsId:o}})],1),t("a-collapse",{model:{value:e.plActicty,callback:function(t){e.plActicty=t},expression:"plActicty"}},[t("a-collapse-panel",{attrs:{header:o+e.$t("view.item.form.pl.form.params.label")}},[t("div",{staticStyle:{padding:"1rem 0"}},[t("a-form-model",e._b({ref:"netseaGoodInfoForm"+o,refInFor:!0,attrs:{model:a,rules:e.netseaGoodInfoRules}},"a-form-model",{labelCol:{span:3},wrapperCol:{span:20}},!1),["title"===e.formEditKey?t("div",[t("a-form-model-item",{ref:"product_name",refInFor:!0,attrs:{label:e.$t("view.item.list.itemTitle"),help:e.$t("components.netsea.product.catchcopy.limit"),prop:"product_name"}},[t("a-input",{attrs:{id:"product_name"+o},model:{value:a.product_name,callback:function(t){e.$set(a,"product_name",t)},expression:"netseaGoodInfo.product_name"}})],1)],1):e._e(),"category"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netesa.product.category")}},[t("a-input",{attrs:{disabled:""},model:{value:a.category_id,callback:function(t){e.$set(a,"category_id",t)},expression:"netseaGoodInfo.category_id"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netesa.product.category")}},[e.netseaGenereArray[o]&&e.netseaGenereArray[o].netseaGenereList?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,0,o)}},model:{value:e.firstCatId[o],callback:function(t){e.$set(e.firstCatId,o,t)},expression:"firstCatId[good_id]"}},e._l(e.netseaGenereArray[o].netseaGenereList,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.cat_id}},[e._v(" "+e._s(a.cat_name)+" ")])})),1):e._e(),e.netseaGenereArray[o]&&e.netseaGenereArray[o].netseaGenereList1.length?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,1,o)}},model:{value:e.secondCatId[o],callback:function(t){e.$set(e.secondCatId,o,t)},expression:"secondCatId[good_id]"}},e._l(e.netseaGenereArray[o].netseaGenereList1,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.cat_id}},[e._v(" "+e._s(a.cat_name)+" ")])})),1):e._e(),e.netseaGenereArray[o]&&e.netseaGenereArray[o].netseaGenereList2.length?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,2,o)}},model:{value:e.thirdCatId[o],callback:function(t){e.$set(e.thirdCatId,o,t)},expression:"thirdCatId[good_id]"}},e._l(e.netseaGenereArray[o].netseaGenereList2,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.cat_id}},[e._v(" "+e._s(a.cat_name)+" ")])})),1):e._e()],1)],1):e._e(),"itemInfo"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.manage.code")}},[t("a-input",{attrs:{placeholder:e.$t("components.netsea.product.manage.code.placeholder"),disabled:""},model:{value:a.product_id,callback:function(t){e.$set(a,"product_id",t)},expression:"netseaGoodInfo.product_id"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.status")}},[t("a-radio-group",{model:{value:a.sales_status_code,callback:function(t){e.$set(a,"sales_status_code",t)},expression:"netseaGoodInfo.sales_status_code"}},[t("a-radio",{attrs:{value:"on_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.on_sale"))+" ")]),t("a-radio",{attrs:{value:"end_of_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.end_of_sale"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.method")}},[t("a-radio-group",{model:{value:a.sales_method_code,callback:function(t){e.$set(a,"sales_method_code",t)},expression:"netseaGoodInfo.sales_method_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.normal"))+" ")]),t("a-radio",{attrs:{value:"reserve"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.reserve"))+" ")]),t("a-radio",{attrs:{value:"payment_only"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.payment_only"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.publish.date")}},[t("a-date-picker",{attrs:{"show-time":""},model:{value:a.publish_period_start,callback:function(t){e.$set(a,"publish_period_start",t)},expression:"netseaGoodInfo.publish_period_start"}}),t("a-date-picker",{attrs:{"show-time":""},model:{value:a.publish_period_end,callback:function(t){e.$set(a,"publish_period_end",t)},expression:"netseaGoodInfo.publish_period_end"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.price.closed.flag")}},[t("a-radio-group",{model:{value:a.price_closed_flag,callback:function(t){e.$set(a,"price_closed_flag",t)},expression:"netseaGoodInfo.price_closed_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.false"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.shipping.fee")}},[t("a-radio-group",{model:{value:a.product_ship_setting_code,callback:function(t){e.$set(a,"product_ship_setting_code",t)},expression:"netseaGoodInfo.product_ship_setting_code"}},[t("a-radio",{attrs:{value:"store"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.shop_setting"))+" ")]),t("a-radio",{attrs:{value:"product"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.product.one"))+" "),t("a-input",{staticStyle:{width:"200px"},model:{value:a.product_ship_fee,callback:function(t){e.$set(a,"product_ship_fee",t)},expression:"netseaGoodInfo.product_ship_fee"}})],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.product.discount_code")}},[t("a-radio-group",{on:{change:function(t){return e.discountSwitch(o)}},model:{value:e.netProductDiscountCodeList[o],callback:function(t){e.$set(e.netProductDiscountCodeList,o,t)},expression:"netProductDiscountCodeList[good_id]"}},[t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.false"))+" ")]),t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.true"))+" "),e.netProductDiscountCodeList[o]?t("a-input-number",{staticStyle:{width:"100px"},model:{value:a.product_discount.product_discount_rate,callback:function(t){e.$set(a.product_discount,"product_discount_rate",t)},expression:"netseaGoodInfo.product_discount.product_discount_rate"}}):e._e(),e._v(" % "),e.netProductDiscountCodeList[o]?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:a.product_discount.product_discount_period_start,callback:function(t){e.$set(a.product_discount,"product_discount_period_start",t)},expression:"netseaGoodInfo.product_discount.product_discount_period_start"}}):e._e(),e.netProductDiscountCodeList[o]?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:a.product_discount.product_discount_period_end,callback:function(t){e.$set(a.product_discount,"product_discount_period_end",t)},expression:"netseaGoodInfo.product_discount.product_discount_period_end"}}):e._e()],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.volume_discount"),help:e.$t("components.netsea.product.volume_discount.info")}},[t("a-radio-group",{model:{value:a.volume_discount_target_flag,callback:function(t){e.$set(a,"volume_discount_target_flag",t)},expression:"netseaGoodInfo.volume_discount_target_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.true")))]),t("a-radio",{attrs:{value:!1}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.false")))])],1)],1)],1):e._e(),"image"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.image.license")}},[t("a-radio-group",{model:{value:a.image_repost_flag,callback:function(t){e.$set(a,"image_repost_flag",t)},expression:"netseaGoodInfo.image_repost_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.image.license.true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.image.license.false"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("view.item.list.form.image_url"),help:e.$t("view.item.form.image.limit")}},[t("div",{staticStyle:{"margin-bottom":"10px"}},e._l(a.images,(function(a,s){return t("div",{directives:[{name:"show",rawName:"v-show",value:a.image_url,expression:"image.image_url"}],key:s,staticStyle:{"margin-bottom":"20px",width:"100px",height:"100px","margin-left":"10px",float:"left"}},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:a.image_url}}),t("br"),e.imageSizeArr&&Object.keys(e.imageSizeArr)?t("div",{style:{textAlign:"center",color:e.imageSizeArr[a.image_no]>500?"#f00":"#000"}},[e._v(" "+e._s(e.imageSizeArr[a.image_no])+"K "),t("a-icon",{attrs:{type:"delete"},on:{click:function(t){return e.deleteImage(a.image_no,o)}}})],1):e._e()])})),0)])],1):e._e(),"description"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.catchcopy"),help:e.$t("components.netsea.product.catchcopy.limit"),prop:"catchcopy"}},[t("a-input",{attrs:{placeholder:e.$t("components.netsea.product.catchcopy.placeholder"),id:"catchcopy"+o},model:{value:a.catchcopy,callback:function(t){e.$set(a,"catchcopy",t)},expression:"netseaGoodInfo.catchcopy"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.comment"),help:e.$t("components.netsea.product.comment.info"),prop:"comment"}},[t("a-textarea",{attrs:{id:"comment"+o},model:{value:a.comment,callback:function(t){e.$set(a,"comment",t)},expression:"netseaGoodInfo.comment"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.description"),help:e.$t("components.netsea.product.description.info"),prop:"description"}},[t("a-textarea",{attrs:{id:"description_for_consumer"+o},model:{value:a.description_for_consumer,callback:function(t){e.$set(a,"description_for_consumer",t)},expression:"netseaGoodInfo.description_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.size"),help:e.$t("components.netsea.product.size.info"),prop:"size"}},[t("a-textarea",{attrs:{id:"size"+o},model:{value:a.size,callback:function(t){e.$set(a,"size",t)},expression:"netseaGoodInfo.size"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.spec"),help:e.$t("components.netsea.product.spec.info"),prop:"spec"}},[t("a-textarea",{attrs:{id:"spec"+o},model:{value:a.spec,callback:function(t){e.$set(a,"spec",t)},expression:"netseaGoodInfo.spec"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.consumer"),help:e.$t("components.netsea.product.consumer.info"),prop:"spec_for_consumer"}},[t("a-textarea",{attrs:{id:"spec_for_consumer"+o},model:{value:a.spec_for_consumer,callback:function(t){e.$set(a,"spec_for_consumer",t)},expression:"netseaGoodInfo.spec_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.notes"),help:e.$t("components.netsea.product.notes.info"),prop:"notes"}},[t("a-textarea",{attrs:{id:"notes"+o},model:{value:a.notes,callback:function(t){e.$set(a,"notes",t)},expression:"netseaGoodInfo.notes"}})],1)],1):e._e(),"sku"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.product_set")}},[t("a-table",{attrs:{columns:e.productSetColumns,"data-source":a.product_set,"row-key":function(e){return e.set_no},pagination:!1},scopedSlots:e._u([{key:"set_branch_code",fn:function(a,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_branch_code"+o},model:{value:s.set_branch_code,callback:function(t){e.$set(s,"set_branch_code",t)},expression:"record.set_branch_code"}})],1)}},{key:"set_label",fn:function(a,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_label"+o},model:{value:s.set_label,callback:function(t){e.$set(s,"set_label",t)},expression:"record.set_label"}})],1)}},{key:"set_reference_price",fn:function(a,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_reference_price"+o},model:{value:s.set_reference_price,callback:function(t){e.$set(s,"set_reference_price",t)},expression:"record.set_reference_price"}})],1)}},{key:"set_price",fn:function(a,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_price"+o},model:{value:s.set_price,callback:function(t){e.$set(s,"set_price",t)},expression:"record.set_price"}})],1)}},{key:"set_sku_number",fn:function(a,o){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_sku_number"},model:{value:o.set_sku_number,callback:function(t){e.$set(o,"set_sku_number",t)},expression:"record.set_sku_number"}})],1)}},{key:"set_stock_number",fn:function(a,o){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_stock_number"},model:{value:o.set_stock_number,callback:function(t){e.$set(o,"set_stock_number",t)},expression:"record.set_stock_number"}})],1)}}],null,!0)})],1)],1):e._e(),"other"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.delivery_terms"),help:e.$t("components.netsea.product.delivery_terms.info"),prop:"delivery_terms"}},[t("a-textarea",{attrs:{id:"delivery_terms"+o},model:{value:a.delivery_terms,callback:function(t){e.$set(a,"delivery_terms",t)},expression:"netseaGoodInfo.delivery_terms"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.return_setting_code")}},[t("a-radio-group",{model:{value:a.return_setting_code,callback:function(t){e.$set(a,"return_setting_code",t)},expression:"netseaGoodInfo.return_setting_code"}},[t("a-radio",{attrs:{value:"allow"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.allow")))]),t("a-radio",{attrs:{value:"deny"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.deny")))]),t("a-radio",{attrs:{value:"negotiable"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.negotiable")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.none")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.search_tag"),help:e.$t("components.netsea.product.search_tag.info")}},e._l(a.search_tags,(function(a,s){return t("div",{key:s,staticStyle:{"margin-bottom":"10px"}},[e._v(" "+e._s(e.$t("components.netsea.product.search_tag"))+e._s(s+1)+": "),t("a-input",{staticStyle:{width:"200px"},attrs:{name:"search_tag_text"+o},model:{value:a.search_tag_text,callback:function(t){e.$set(a,"search_tag_text",t)},expression:"tag.search_tag_text"}})],1)})),0),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.chartlet")}},[t("a-radio-group",{model:{value:a.stamp_id,callback:function(t){e.$set(a,"stamp_id",t)},expression:"netseaGoodInfo.stamp_id"}},[t("a-radio",{attrs:{value:0}},[e._v(e._s(e.$t("components.netsea.product.chartlet.0")))]),t("a-radio",{attrs:{value:1}},[e._v(e._s(e.$t("components.netsea.product.chartlet.1")))]),t("a-radio",{attrs:{value:3}},[e._v(e._s(e.$t("components.netsea.product.chartlet.3")))]),t("a-radio",{attrs:{value:4}},[e._v(e._s(e.$t("components.netsea.product.chartlet.4")))]),t("a-radio",{attrs:{value:5}},[e._v(e._s(e.$t("components.netsea.product.chartlet.5")))]),t("a-radio",{attrs:{value:6}},[e._v(e._s(e.$t("components.netsea.product.chartlet.6")))]),t("a-radio",{attrs:{value:7}},[e._v(e._s(e.$t("components.netsea.product.chartlet.7")))]),t("a-radio",{attrs:{value:8}},[e._v(e._s(e.$t("components.netsea.product.chartlet.8")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.jan_code"),help:e.$t("components.netsea.product.jan_code.info"),prop:"jan_code"}},[t("a-input",{attrs:{id:"jan_code"+o},model:{value:a.jan_code,callback:function(t){e.$set(a,"jan_code",t)},expression:"netseaGoodInfo.jan_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.maker_code"),help:e.$t("components.netsea.product.maker_code.info"),prop:"maker_code"}},[t("a-input",{attrs:{id:"maker_code"+o},model:{value:a.maker_code,callback:function(t){e.$set(a,"maker_code",t)},expression:"netseaGoodInfo.maker_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.reference_price")}},[t("a-select",{model:{value:a.reference_price_type_code,callback:function(t){e.$set(a,"reference_price_type_code",t)},expression:"netseaGoodInfo.reference_price_type_code"}},[t("a-select-option",{attrs:{value:"open_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.open_price"))+" ")]),t("a-select-option",{attrs:{value:"maker_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.maker_price"))+" ")]),t("a-select-option",{attrs:{value:"catalog_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.catalog_price"))+" ")]),t("a-select-option",{attrs:{value:"setting_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.setting_price"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.tax_rate")}},[t("a-radio-group",{model:{value:a.consumption_tax_type_code,callback:function(t){e.$set(a,"consumption_tax_type_code",t)},expression:"netseaGoodInfo.consumption_tax_type_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.normal")))]),t("a-radio",{attrs:{value:"reduced"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.reduced")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.none")))])],1)],1)],1):e._e()])],1)])],1)],1)})),t("div",[e.plDataFields[e.formEditKey]?t("div",[e._v(e._s(e.$t("view.item.form.pl.params.label")))]):e._e(),t("a-form-model",e._b({ref:"TemplateDataForm",attrs:{model:e.TemplateData,rules:e.netseaGoodInfoRules}},"a-form-model",{labelCol:{span:3},wrapperCol:{span:20}},!1),["description"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.catchcopy"),help:e.$t("components.netsea.product.catchcopy.limit"),prop:"catchcopy"}},[t("a-input",{attrs:{placeholder:e.$t("components.netsea.product.catchcopy.placeholder")},model:{value:e.TemplateData.catchcopy,callback:function(t){e.$set(e.TemplateData,"catchcopy",t)},expression:"TemplateData.catchcopy"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.comment"),help:e.$t("components.netsea.product.comment.info"),prop:"comment"}},[t("a-textarea",{attrs:{id:"comment"},model:{value:e.TemplateData.comment,callback:function(t){e.$set(e.TemplateData,"comment",t)},expression:"TemplateData.comment"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.description"),help:e.$t("components.netsea.product.description.info"),prop:"description"}},[t("a-textarea",{attrs:{id:"description_for_consumer"},model:{value:e.TemplateData.description_for_consumer,callback:function(t){e.$set(e.TemplateData,"description_for_consumer",t)},expression:"TemplateData.description_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.size"),help:e.$t("components.netsea.product.size.info"),prop:"size"}},[t("a-textarea",{attrs:{id:"size"},model:{value:e.TemplateData.size,callback:function(t){e.$set(e.TemplateData,"size",t)},expression:"TemplateData.size"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.spec"),help:e.$t("components.netsea.product.spec.info"),prop:"spec"}},[t("a-textarea",{attrs:{id:"spec"},model:{value:e.TemplateData.spec,callback:function(t){e.$set(e.TemplateData,"spec",t)},expression:"TemplateData.spec"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.consumer"),help:e.$t("components.netsea.product.consumer.info"),prop:"spec_for_consumer"}},[t("a-textarea",{attrs:{id:"spec_for_consumer"},model:{value:e.TemplateData.spec_for_consumer,callback:function(t){e.$set(e.TemplateData,"spec_for_consumer",t)},expression:"TemplateData.spec_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.notes"),help:e.$t("components.netsea.product.notes.info"),prop:"notes"}},[t("a-textarea",{attrs:{id:"notes"},model:{value:e.TemplateData.notes,callback:function(t){e.$set(e.TemplateData,"notes",t)},expression:"TemplateData.notes"}})],1)],1):e._e(),"itemInfo"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.status")}},[t("a-radio-group",{model:{value:e.TemplateData.sales_status_code,callback:function(t){e.$set(e.TemplateData,"sales_status_code",t)},expression:"TemplateData.sales_status_code"}},[t("a-radio",{attrs:{value:"on_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.on_sale"))+" ")]),t("a-radio",{attrs:{value:"end_of_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.end_of_sale"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.method")}},[t("a-radio-group",{model:{value:e.TemplateData.sales_method_code,callback:function(t){e.$set(e.TemplateData,"sales_method_code",t)},expression:"TemplateData.sales_method_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.normal"))+" ")]),t("a-radio",{attrs:{value:"reserve"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.reserve"))+" ")]),t("a-radio",{attrs:{value:"payment_only"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.payment_only"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.publish.date")}},[t("a-date-picker",{attrs:{"show-time":""},model:{value:e.TemplateData.publish_period_start,callback:function(t){e.$set(e.TemplateData,"publish_period_start",t)},expression:"TemplateData.publish_period_start"}}),t("a-date-picker",{attrs:{"show-time":""},model:{value:e.TemplateData.publish_period_end,callback:function(t){e.$set(e.TemplateData,"publish_period_end",t)},expression:"TemplateData.publish_period_end"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.price.closed.flag")}},[t("a-radio-group",{model:{value:e.TemplateData.price_closed_flag,callback:function(t){e.$set(e.TemplateData,"price_closed_flag",t)},expression:"TemplateData.price_closed_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.false"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.shipping.fee")}},[t("a-radio-group",{model:{value:e.TemplateData.product_ship_setting_code,callback:function(t){e.$set(e.TemplateData,"product_ship_setting_code",t)},expression:"TemplateData.product_ship_setting_code"}},[t("a-radio",{attrs:{value:"store"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.shop_setting"))+" ")]),t("a-radio",{attrs:{value:"product"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.product.one"))+" "),t("a-input",{staticStyle:{width:"200px"},model:{value:e.TemplateData.product_ship_fee,callback:function(t){e.$set(e.TemplateData,"product_ship_fee",t)},expression:"TemplateData.product_ship_fee"}})],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.product.discount_code")}},[t("a-radio-group",{model:{value:e.TemplateData.netProductDiscountCode,callback:function(t){e.$set(e.TemplateData,"netProductDiscountCode",t)},expression:"TemplateData.netProductDiscountCode"}},[t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.false"))+" ")]),t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.true"))+" "),e.TemplateData.netProductDiscountCode?t("a-input-number",{staticStyle:{width:"100px"},model:{value:e.TemplateData.product_discount.product_discount_rate,callback:function(t){e.$set(e.TemplateData.product_discount,"product_discount_rate",t)},expression:"TemplateData.product_discount.product_discount_rate"}}):e._e(),e._v(" % "),e.TemplateData.netProductDiscountCode?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:e.TemplateData.product_discount.product_discount_period_start,callback:function(t){e.$set(e.TemplateData.product_discount,"product_discount_period_start",t)},expression:"TemplateData.product_discount.product_discount_period_start"}}):e._e(),e.TemplateData.netProductDiscountCode?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:e.TemplateData.product_discount.product_discount_period_end,callback:function(t){e.$set(e.TemplateData.product_discount,"product_discount_period_end",t)},expression:"TemplateData.product_discount.product_discount_period_end"}}):e._e()],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.volume_discount"),help:e.$t("components.netsea.product.volume_discount.info")}},[t("a-radio-group",{model:{value:e.TemplateData.volume_discount_target_flag,callback:function(t){e.$set(e.TemplateData,"volume_discount_target_flag",t)},expression:"TemplateData.volume_discount_target_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.true")))]),t("a-radio",{attrs:{value:!1}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.false")))])],1)],1)],1):e._e(),"other"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.delivery_terms"),help:e.$t("components.netsea.product.delivery_terms.info"),prop:"delivery_terms"}},[t("a-textarea",{attrs:{id:"delivery_terms"},model:{value:e.TemplateData.delivery_terms,callback:function(t){e.$set(e.TemplateData,"delivery_terms",t)},expression:"TemplateData.delivery_terms"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.return_setting_code")}},[t("a-radio-group",{model:{value:e.TemplateData.return_setting_code,callback:function(t){e.$set(e.TemplateData,"return_setting_code",t)},expression:"TemplateData.return_setting_code"}},[t("a-radio",{attrs:{value:"allow"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.allow")))]),t("a-radio",{attrs:{value:"deny"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.deny")))]),t("a-radio",{attrs:{value:"negotiable"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.negotiable")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.none")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.search_tag"),help:e.$t("components.netsea.product.search_tag.info")}},e._l(e.TemplateData.search_tags,(function(a,o){return t("div",{key:o,staticStyle:{"margin-bottom":"10px"}},[e._v(" "+e._s(e.$t("components.netsea.product.search_tag"))+e._s(o+1)+": "),t("a-input",{staticStyle:{width:"200px"},attrs:{name:"search_tag_text"},model:{value:a.search_tag_text,callback:function(t){e.$set(a,"search_tag_text",t)},expression:"tag.search_tag_text"}})],1)})),0),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.chartlet")}},[t("a-radio-group",{model:{value:e.TemplateData.stamp_id,callback:function(t){e.$set(e.TemplateData,"stamp_id",t)},expression:"TemplateData.stamp_id"}},[t("a-radio",{attrs:{value:0}},[e._v(e._s(e.$t("components.netsea.product.chartlet.0")))]),t("a-radio",{attrs:{value:1}},[e._v(e._s(e.$t("components.netsea.product.chartlet.1")))]),t("a-radio",{attrs:{value:3}},[e._v(e._s(e.$t("components.netsea.product.chartlet.3")))]),t("a-radio",{attrs:{value:4}},[e._v(e._s(e.$t("components.netsea.product.chartlet.4")))]),t("a-radio",{attrs:{value:5}},[e._v(e._s(e.$t("components.netsea.product.chartlet.5")))]),t("a-radio",{attrs:{value:6}},[e._v(e._s(e.$t("components.netsea.product.chartlet.6")))]),t("a-radio",{attrs:{value:7}},[e._v(e._s(e.$t("components.netsea.product.chartlet.7")))]),t("a-radio",{attrs:{value:8}},[e._v(e._s(e.$t("components.netsea.product.chartlet.8")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.jan_code"),help:e.$t("components.netsea.product.jan_code.info"),prop:"jan_code"}},[t("a-input",{attrs:{id:"jan_code"},model:{value:e.TemplateData.jan_code,callback:function(t){e.$set(e.TemplateData,"jan_code",t)},expression:"TemplateData.jan_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.maker_code"),help:e.$t("components.netsea.product.maker_code.info"),prop:"maker_code"}},[t("a-input",{attrs:{id:"maker_code"},model:{value:e.TemplateData.maker_code,callback:function(t){e.$set(e.TemplateData,"maker_code",t)},expression:"TemplateData.maker_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.reference_price")}},[t("a-select",{model:{value:e.TemplateData.reference_price_type_code,callback:function(t){e.$set(e.TemplateData,"reference_price_type_code",t)},expression:"TemplateData.reference_price_type_code"}},[t("a-select-option",{attrs:{value:"open_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.open_price"))+" ")]),t("a-select-option",{attrs:{value:"maker_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.maker_price"))+" ")]),t("a-select-option",{attrs:{value:"catalog_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.catalog_price"))+" ")]),t("a-select-option",{attrs:{value:"setting_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.setting_price"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.tax_rate")}},[t("a-radio-group",{model:{value:e.TemplateData.consumption_tax_type_code,callback:function(t){e.$set(e.TemplateData,"consumption_tax_type_code",t)},expression:"TemplateData.consumption_tax_type_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.normal")))]),t("a-radio",{attrs:{value:"reduced"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.reduced")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.none")))])],1)],1)],1):e._e(),t("div",{staticStyle:{"margin-bottom":"1rem"}},[t("a-button",{on:{click:function(t){return e.piCopyData(e.formEditKey)}}},[e._v(e._s(e.$t("view.item.form.pl.params.save")))])],1)])],1)],2)],1)],1)]),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("a-button",{on:{click:e.cancelModal}},[e._v(e._s(e.$t("components.imagetext.translation.confirm.cancel")))]),t("a-button",{attrs:{type:"primary",loading:e.confirmNSLoading},on:{click:e.okNetSeaGoodInfo}},[e._v(e._s(e.$t("view.item.form.pl.save.button")))]),t("a-button",{attrs:{type:"success",loading:e.confirmNSLoading},on:{click:e.okFabu}},[e._v(e._s(e.$t("view.item.form.pl.fabu.button")))])],1)]):e._e()],1)},s=[],r=a("5530"),n=a("c7eb"),i=a("1da1"),c=(a("d3b7"),a("3ca3"),a("ddb0"),a("25f0"),a("b680"),a("d81d"),a("fb6a"),a("159b"),a("7db0"),a("a026")),d=a("c1df"),l=a.n(d),p=a("8caa"),_=Object(c["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),u=Object(c["b"])((function(){return a.e("chunk-2995d93e").then(a.bind(null,"16f2"))})),m=Object(c["b"])((function(){return a.e("chunk-096b580c").then(a.bind(null,"12b1"))})),f=Object(c["b"])((function(){return a.e("chunk-2995d93e").then(a.bind(null,"5f19"))})),h={name:"rakutenAddProduct",props:{goodsIds:{type:Array,default:function(){return[]}}},data:function(){return{formTitle:this.$t("components.dyProduct.dyProduct.title"),formEditKey:"title",open:!1,modalWidth:"1350",modalHeight:"680",goodList:[],netseaGoodInfoList:{},netseaShop:null,imageSizeArr:{},netProductDiscountCodeList:{},netseaGenereArray:{},netseaGoodInfoRules:{product_name:[{required:!0,message:this.$t("view.item.list.form.placeholder.title"),trigger:"blur"},{max:50,message:this.$t("view.item.form.item_name.maxlength"),trigger:"change"}],catchcopy:[{max:50,message:this.$t("view.item.form.catchcopy.maxlength"),trigger:"change"}],comment:[{max:1e3,message:this.$t("view.item.form.comment.maxlength"),trigger:"change"}],description:[{max:5e3,message:this.$t("view.item.form.description_for_consumer.maxlength"),trigger:"change"}],size:[{max:1e3,message:this.$t("view.item.form.size.maxlength"),trigger:"change"}],spec:[{max:1e3,message:this.$t("view.item.form.spec.maxlength"),trigger:"change"}],spec_for_consumer:[{max:5e3,message:this.$t("view.item.form.spec_for_consumer.maxlength"),trigger:"change"}],notes:[{max:1e3,message:this.$t("view.item.form.notes.maxlength"),trigger:"change"}],delivery_terms:[{max:50,message:this.$t("view.item.form.delivery_terms.maxlength"),trigger:"change"}],jan_code:[{max:13,message:this.$t("view.item.form.jan_code.maxlength"),trigger:"change"}],maker_code:[{max:30,message:this.$t("view.item.form.maker_code.maxlength"),trigger:"change"}]},categoryHierarchyList:{},firstCatId:{},secondCatId:{},thirdCatId:{},productSetColumns:[{title:this.$t("components.netsea.product.product_set.set_no"),dataIndex:"set_no",key:"set_no"},{title:this.$t("components.netsea.product.set_branch_code"),dataIndex:"set_branch_code",key:"set_branch_code",scopedSlots:{customRender:"set_branch_code"}},{title:this.$t("components.netsea.product.product_set.set_label"),dataIndex:"set_label",key:"set_label",scopedSlots:{customRender:"set_label"}},{title:this.$t("components.netsea.product.product_set.set_reference_price"),dataIndex:"set_reference_price",key:"set_reference_price",scopedSlots:{customRender:"set_reference_price"}},{title:this.$t("components.netsea.product.product_set.set_price"),dataIndex:"set_price",key:"set_price",scopedSlots:{customRender:"set_price"}},{title:this.$t("components.netsea.product.product_set.set_sku_number"),dataIndex:"set_sku_number",key:"set_sku_number",scopedSlots:{customRender:"set_sku_number"}},{title:this.$t("components.netsea.product.product_set.set_stock_number"),dataIndex:"set_stock_number",key:"set_stock_number",scopedSlots:{customRender:"set_stock_number"}}],confirmNSLoading:!1,plDataFields:{description:["catchcopy","comment","description_for_consumer","size","spec","spec_for_consumer","notes"],itemInfo:["sales_status_code","sales_method_code","publish_period_start","publish_period_end","product_ship_setting_code","product_ship_fee"],other:["delivery_terms","return_setting_code","search_tags","stamp_id","jan_code","maker_code","reference_price_type_code","consumption_tax_type_code"]},TemplateData:{product_discount:{product_discount_rate:"",product_discount_period_start:"",product_discount_period_end:""},search_tags:[{search_tag_no:1,search_tag_text:""},{search_tag_no:2,search_tag_text:""},{search_tag_no:3,search_tag_text:""},{search_tag_no:4,search_tag_text:""},{search_tag_no:5,search_tag_text:""}]},plActicty:[]}},methods:{changeLeftTab:function(e){this.formEditKey=e},cancelModal:function(){this.open=!1},openModal:function(){this.modalHeight=(.9*window.innerHeight).toFixed(0).toString(),this.modalWidth=(.8*window.innerWidth).toFixed(0).toString(),this.open=!0},initLoad:function(e){e&&(this.netseaGoodInfoList={},this.netseaShop=e,this.openModal())},initNetsea:function(e){var t=this;Promise.all(this._.map(e,(function(e,a){return t.netseaPublication(e)}))).then((function(e){t.$message.destroy()}))},netseaPublication:function(e,t){var a=this,o=this,s={};return s.good_id=e.good_id,s.app_key=this.netseaShop.app_key,o.netseaGenereArray[e.good_id]={netseaGenereList:[],netseaGenereList1:[],netseaGenereList2:[]},Object(p["d"])(s).then((function(t){if(0===t.code){o.netseaGoodInfoList[e.good_id]=t.product_info,o.getParentCategory(o.netseaGoodInfoList[e.good_id].category_id,e.good_id),o.imageSizeArr={};var s=[];return o.netseaGoodInfoList[e.good_id].images&&o.netseaGoodInfoList[e.good_id].images.map((function(e){e.image_url&&s.push(o.getImageSizeInKB(e.image_url).then((function(t){return o.imageSizeArr[e.image_no]=t.toFixed(2),t})))})),Promise.all(s).then((function(){o.imageSizeArr=Object.assign({},o.imageSizeArr)})),o.netseaGoodInfoList[e.good_id].publish_period_start&&(o.netseaGoodInfoList[e.good_id].publish_period_start=new Date(1e3*o.netseaGoodInfoList[e.good_id].publish_period_start).toISOString().slice(0,19)),o.netseaGoodInfoList[e.good_id].publish_period_end&&(o.netseaGoodInfoList[e.good_id].publish_period_end=new Date(1e3*o.netseaGoodInfoList[e.good_id].publish_period_end).toISOString().slice(0,19)),o.netseaGoodInfoList[e.good_id].product_discout?(o.netProductDiscountCodeList[e.good_id]=!0,o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start=o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start?new Date(1e3*o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start).toISOString().slice(0,19):"",o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end=o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end?new Date(1e3*o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end).toISOString().slice(0,19):""):(o.netProductDiscountCodeList[e.good_id]=!1,o.netseaGoodInfoList[e.good_id].product_discount={product_discount_rate:"",product_discount_period_start:"",product_discount_period_end:""}),o.app_key=a.netseaShop.app_key,o.getNetSeaGenere(0,0,e.good_id),o.$set(a,"netseaGoodInfoList",Object.assign({},o.netseaGoodInfoList)),a.netseaShop.loading=!1,t}}))},getParentCategory:function(e,t){var a=this,o=this;this.categoryHierarchyList[t]||(this.categoryHierarchyList[t]={level1:{},level2:{},level3:{}}),Object(p["b"])({cat_id:e}).then((function(e){0===e.code&&(e.data.forEach((function(o){if(0===o.p_cat_id)a.categoryHierarchyList[t].level1=o;else{var s=e.data.find((function(e){return e.cat_id===o.p_cat_id}));s&&0===s.p_cat_id?a.categoryHierarchyList[t].level2=o:a.categoryHierarchyList[t].level3=o}})),a.firstCatId[t]=a.categoryHierarchyList[t].level1.cat_id,a.secondCatId[t]=a.categoryHierarchyList[t].level2.cat_id,o.getNetSeaGenere(a.firstCatId[t],1,t),a.thirdCatId[t]=a.categoryHierarchyList[t].level3.cat_id,o.getNetSeaGenere(a.secondCatId[t],2,t),a.$set(a,"categoryHierarchyList",Object.assign({},a.categoryHierarchyList)),a.$set(a,"firstCatId",Object.assign({},a.firstCatId)),a.$set(a,"secondCatId",Object.assign({},a.secondCatId)),a.$set(a,"thirdCatId",Object.assign({},a.thirdCatId)))}))},getNetSeaGenere:function(e,t,a){var o=this,s=this,r={};return r.cat_id=e,Object(p["a"])(r).then((function(e){if(0===e.code)switch(t){case 0:s.netseaGenereArray[a].netseaGenereList=e.data;break;case 1:s.netseaGenereArray[a].netseaGenereList1=e.data;break;case 2:s.netseaGenereArray[a].netseaGenereList2=e.data;break}return o.$set(o,"netseaGenereArray",Object.assign({},o.netseaGenereArray)),e}))},selectNetSeaGenre:function(e,t,a){var o=this,s={};switch(t){case 0:o.netseaGenereArray[a].netseaGenereList1=[],o.netseaGenereArray[a].netseaGenereList2=[],o.netseaGenereArray[a].netseaGenereList3=[],o.secondCatId[a]=0,o.thirdCatId[a]=0,s=o.netseaGenereArray[a].netseaGenereList.find((function(t){return t.cat_id===e}));break;case 1:o.netseaGenereArray[a].netseaGenereList2=[],o.netseaGenereArray[a].netseaGenereList3=[],o.thirdCatId[a]=0,s=o.netseaGenereArray[a].netseaGenereList1.find((function(t){return t.cat_id===e}));break;case 2:o.netseaGenereArray[a].netseaGenereList3=[],s=o.netseaGenereArray[a].netseaGenereList2.find((function(t){return t.cat_id===e}));break}s&&(0===s.p_cat_id?o.getNetSeaGenere(s.cat_id,1,a).then((function(e){o.netseaGenereArray[a].netseaGenereList&&(o.secondCatId[a]=o.netseaGenereArray[a].netseaGenereList1[0].cat_id,o.getNetSeaGenere(o.secondCatId[a],2,a).then((function(e){o.netseaGenereArray[a].netseaGenereList1&&(o.thirdCatId[a]=o.netseaGenereArray[a].netseaGenereList2[0].cat_id,o.netseaGoodInfoList[a].category_id=o.thirdCatId[a])})))})):s.p_cat_id===o.firstCatId[a]?o.getNetSeaGenere(s.cat_id,2,a).then((function(e){o.netseaGenereArray[a].netseaGenereList2&&(o.thirdCatId[a]=o.netseaGenereArray[a].netseaGenereList2[0].cat_id,o.netseaGoodInfoList[a].category_id=o.thirdCatId[a])})):s.p_cat_id===o.secondCatId[a]&&(o.thirdCatId[a]=s.cat_id,o.secondCatId[a]&&(o.netseaGoodInfoList[a].category_id=o.thirdCatId[a])))},discountSwitch:function(e){this.$set(this,"netProductDiscountCodeList",Object.assign({},this.netProductDiscountCodeList))},getImageSizeInKB:function(e){return Object(i["a"])(Object(n["a"])().mark((function t(){return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.abrupt("return",Object(p["c"])({url:e}).then((function(e){if(e.volume)return e.volume})));case 4:t.prev=4,t.t0=t["catch"](0);case 6:case"end":return t.stop()}}),t,null,[[0,4]])})))()},okNetSeaGoodInfo:function(){var e=this,t=this;t.confirmNSLoading=!0;var a=[];this.goodsIds.map((function(e,o){t.$refs["netseaGoodInfoForm"+e]&&t.$refs["netseaGoodInfoForm"+e][0]&&a.push(new Promise((function(a,o){try{t.$refs["netseaGoodInfoForm"+e][0].validate((function(s,r){s?a("success"):Object.keys(r)&&Object.keys(r)[0]&&o(new Error(t.$t("view.item.list.good_id")+e+r[Object.keys(r)[0]][0].message))}))}catch(s){o(new Error(s))}})))})),Promise.all(a).then((function(a){var o=[],s=e._.map(e.netseaGoodInfoList,(function(a,s){var r={};if(r.data=JSON.parse(JSON.stringify(a)),a.publish_period_start&&(r.data.publish_period_start=new Date(l()(r.data.publish_period_start).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),a.publish_period_end&&(r.data.publish_period_end=new Date(l()(r.data.publish_period_end).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),t.netProductDiscountCodeList[s]){if(!r.data.product_discount.product_discount_rate)return t.$message.error(t.$t("view.item.form.product_discount_rate.notnull")),"itemInfo";try{r.data.product_discount.product_discount_period_start=new Date(l()(r.data.product_discout.product_discount_period_start).format("YYYY-MM-DD HH:00:00")).getTime()/1e3,r.data.product_discount.product_discount_period_end=new Date(l()(r.data.product_discout.product_discount_period_end).format("YYYY-MM-DD HH:00:00")).getTime()/1e3}catch(c){}}else delete r.data.product_discount;if(r.data.good_id=s,!r.data.product_name)return t.$message.error(t.$t("view.item.form.item_name.notnull")),t.confirmNSLoading=!1,"title";if(!e.isWithinMaxLength(r.data.product_name,50))return t.$message.error(t.$t("view.item.form.item_name.maxlength")),document.getElementById("product_name"+s)&&document.getElementById("product_name"+s).focus(),t.confirmNSLoading=!1,"title";if(r.data.catchcopy&&!e.isWithinMaxLength(r.data.catchcopy,50))return t.$message.error(t.$t("view.item.form.catchcopy.maxlength")),document.getElementById("catchcopy"+s)&&document.getElementById("catchcopy"+s).focus(),t.confirmNSLoading=!1,"category";if(r.data.comment&&!e.isWithinMaxLength(r.data.comment,1e3))return t.$message.error(t.$t("view.item.form.comment.maxlength")),document.getElementById("comment"+s)&&document.getElementById("comment"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.description_for_consumer&&!e.isWithinMaxLength(r.data.description_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.description_for_consumer.maxlength")),document.getElementById("description_for_consumer"+s)&&document.getElementById("description_for_consumer"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.size&&!e.isWithinMaxLength(r.data.size,1e3))return t.$message.error(t.$t("view.item.form.size.maxlength")),document.getElementById("size"+s)&&document.getElementById("size"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.spec&&!e.isWithinMaxLength(r.data.spec,1e3))return t.$message.error(t.$t("view.item.form.spec.maxlength")),document.getElementById("spec"+s)&&document.getElementById("spec"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.spec_for_consumer&&!e.isWithinMaxLength(r.data.spec_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.spec_for_consumer.maxlength")),document.getElementById("spec_for_consumer"+s)&&document.getElementById("spec_for_consumer"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.notes&&!e.isWithinMaxLength(r.data.notes,5e3))return t.$message.error(t.$t("view.item.form.notes.maxlength")),document.getElementById("notes"+s)&&document.getElementById("notes"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.delivery_terms&&!e.isWithinMaxLength(r.data.delivery_terms,50))return t.$message.error(t.$t("view.item.form.delivery_terms.maxlength")),document.getElementById("delivery_terms"+s)&&document.getElementById("delivery_terms"+s).focus(),t.confirmNSLoading=!1,"other";if(r.data.search_tags.length>0)for(var n=0;n<r.data.search_tags.length;n++)if(!e.isWithinMaxLength(r.data.search_tags[n].search_tag_text,10))return t.$message.error(t.$t("view.item.form.search_tags.maxlength")),document.getElementsByName("search_tag_text"+s)[n]&&document.getElementsByName("search_tag_text"+s)[n].focus(),t.confirmNSLoading=!1,"other";if(r.data.jan_code&&!e.isWithinMaxLength(r.data.jan_code,13))return t.$message.error(t.$t("view.item.form.jan_code.maxlength")),document.getElementById("jan_code"+s)&&document.getElementById("jan_code"+s).focus(),t.confirmNSLoading=!1,"other";if(r.data.maker_code&&!e.isWithinMaxLength(r.data.maker_code,30))return t.$message.error(t.$t("view.item.form.maker_code.maxlength")),document.getElementById("maker_code"+s)&&document.getElementById("maker_code"+s).focus(),t.confirmNSLoading=!1,"other";if(r.data.product_set.length>0)for(var i=0;i<r.data.product_set.length;i++){if(!e.isWithinMaxLength(r.data.product_set[i].set_branch_code,20))return t.$message.error(t.$t("view.item.form.set_branch_code.maxlength")),document.getElementsByName("set_branch_code"+s)[i]&&document.getElementsByName("set_branch_code"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(!e.isWithinMaxLength(r.data.product_set[i].set_label,30))return t.$message.error(t.$t("view.item.form.set_label.maxlength")),document.getElementsByName("set_label"+s)[i]&&document.getElementsByName("set_label"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(!r.data.product_set[i].set_reference_price)return t.$message.error(t.$t("view.item.form.set_reference_price.notnull")),document.getElementsByName("set_reference_price"+s)[i]&&document.getElementsByName("set_reference_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(r.data.product_set[i].set_reference_price))return t.$message.error(t.$t("view.item.form.set_reference_price.number")),document.getElementsByName("set_reference_price"+s)[i]&&document.getElementsByName("set_reference_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(!r.data.product_set[i].set_price)return t.$message.error(t.$t("view.item.form.set_price.notnull")),document.getElementsByName("set_price"+s)[i]&&document.getElementsByName("set_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(r.data.product_set[i].set_price))return t.$message.error(t.$t("view.item.form.set_price.number")),document.getElementsByName("set_price"+s)[i]&&document.getElementsByName("set_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku"}o.push(r.data)}));s=t._.compact(s),o.length>0&&0===s.length?Object(p["f"])({data:o,app_key:t.netseaShop.app_key}).then((function(e){0===e.code?(t.confirmNSLoading=!1,t.$message.success(e.message)):(t.confirmNSLoading=!1,t.$message.error(e.message))})).catch((function(e){t.confirmNSLoading=!1,t.$message.error(e)})):s.length>0&&(t.confirmNSLoading=!1,e.formEditKey=s[0])})).catch((function(e){t.confirmNSLoading=!1,t.$message.error(e)}))},isWithinMaxLength:function(e,t){for(var a=0,o=0;o<e.length;o++)a+=1;return a<=t},deleteImage:function(e,t){this.netseaGoodInfoList[t].images.map((function(t){t.image_no===e&&(t.image_url="")})),this.$set(this,"netseaGoodInfoList",Object.assign({},this.netseaGoodInfoList))},okFabu:function(){var e=this;this.confirmNSLoading=!0,Object(p["e"])({good_ids:this.goodsIds,app_key:this.netseaShop.app_key}).then((function(t){0===t.code?e.$message.success(t.message):e.$message.error(t.message),e.confirmNSLoading=!1})).catch((function(t){e.confirmNSLoading=!1,e.$message.error(t)}))},piCopyData:function(e){var t=this,a=this;this._.map(this.netseaGoodInfoList,(function(o,s){"itemInfo"===e&&t.TemplateData["product_ship_setting_code"]&&(a.netProductDiscountCodeList[s]=!0,a.netseaGoodInfoList[s].product_discount=a.TemplateData.product_discount),a.plDataFields[e].map((function(e){a.netseaGoodInfoList[s][e]=a.TemplateData[e]}))})),this.$set(this,"netseaGoodInfoList",Object.assign({},this.netseaGoodInfoList))}},components:{AntModal:_,goodsIdList:u,leftTabItem:m,kandengGoodsOne:f}},g=Object(r["a"])({},h),v=g,y=a("2877"),b=Object(y["a"])(v,o,s,!1,null,null,null);t["default"]=b.exports},aee6:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("span",[t("a-tabs",{on:{change:e.changeTabGoods},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},e._l(e.list,(function(e){return t("a-tab-pane",{key:e.good_id,attrs:{tab:e.title}})})),1)],1)},s=[],r=a("5530"),n=a("c7eb"),i=a("1da1"),c=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("aabf")),d={name:"GoodsListTab",props:{goodsIdList:{type:Array,default:function(){return[]}}},data:function(){return{activeTab:0,list:{}}},watch:{goodsIdList:function(e,t){e!==t&&this.getGoodsList()}},created:function(){this.getGoodsList()},methods:{changeTab:function(e){},getGoodsList:function(){var e=this;return Object(i["a"])(Object(n["a"])().mark((function t(){return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(e.goodsIdList.map(function(){var t=Object(i["a"])(Object(n["a"])().mark((function t(a,o){var s;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s={good_id:a},t.next=3,Object(c["p"])(s);case 3:e.list[a]=t.sent;case 4:case"end":return t.stop()}}),t)})));return function(e,a){return t.apply(this,arguments)}}()));case 2:e._.size(e.list)>1&&(e.activeTab=e.list[e.goodsIdList[0]].good_id,e.$emit("change",e.list[e.goodsIdList[0]]));case 3:case"end":return t.stop()}}),t)})))()},changeTabGoods:function(e){this.activeTab=e,this.$emit("change",this.list[e])}}},l=Object(r["a"])({},d),p=l,_=a("2877"),u=Object(_["a"])(p,o,s,!1,null,null,null);t["default"]=u.exports},bd92:function(e,t,a){},d936:function(e,t,a){"use strict";a("92c5")}}]);
@@ -0,0 +1 @@
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2995d93e"],{"0280":function(t,e,a){"use strict";a.r(e);a("b0c0");var o=function(){var t=this,e=t._self._c;return e("span",{staticClass:"yahooPath"},[e("a-icon",{attrs:{type:"plus"},on:{click:t.openPathList}}),e("ant-modal",{attrs:{visible:t.show,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:t.isMobile?"80vh":"680",modalWidth:t.isMobile?"100vw":"900"},on:{cancel:t.cancelPathList,ok:t.cancelPathList}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",[e("a-button",{on:{click:t.openFormInit}},[t._v(t._s(t.$t("components.yahooPathAdd.addbtn")))])],1),t.pathList?e("a-tree",{attrs:{replaceFields:{title:"name",key:"page_key",slot:"title",display:"display",hidden_page_flag:"hidden_page_flag",parentName:"parentName",parent_page_key:"parent_page_key"},treeData:t.pathList,loadedKeys:t.loadKeys,blockNode:!0,loadData:t.loadPath},on:{expand:t.expandNode},scopedSlots:t._u([{key:"title",fn:function(a,o){return[e("div",{staticClass:"pageKeyItem",staticStyle:{color:"#000",display:"flex","align-items":"center"}},[t._v(" "+t._s(a.name)+" "),e("a-icon",{staticStyle:{"margin-left":"15px"},attrs:{type:"edit"},on:{click:function(e){return t.handleUpdate({page_key:a.page_key,name:a.name,display:a.display,parent_page_key:a.parent_page_key,hidden_flag:a.hidden_page_flag,parentName:a.parentName},a,o)}}})],1)]}}],null,!1,2555784184)}):t._e()],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancelPathList}},[t._v(t._s(t.$t("view.test.list.form.button.cancel")))])],1)]),e("ant-modal",{attrs:{visible:t.open,"modal-title":t.formTitle1,"adjust-size":!0,modalHeight:t.isMobile?"80vh":"680",modalWidth:t.isMobile?"100vw":"900"},on:{cancel:t.cancelForm,ok:t.ok}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("a-form",[e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.name")}},[e("a-input",{attrs:{placeholder:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.display")}},[e("a-select",{model:{value:t.form.display,callback:function(e){t.$set(t.form,"display",e)},expression:"form.display"}},[e("a-select-option",{attrs:{value:"0"}},[t._v("私有")]),e("a-select-option",{attrs:{value:"1"}},[t._v("共有")])],1)],1),e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.hiddenFlag")}},[e("a-select",{model:{value:t.form.hidden_flag,callback:function(e){t.$set(t.form,"hidden_flag",e)},expression:"form.hidden_flag"}},[e("a-select-option",{attrs:{value:"0"}},[t._v("普通页面")]),e("a-select-option",{attrs:{value:"1"}},[t._v("隐藏页面")])],1)],1),e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.parentPageKey")}},[e("div",{attrs:{color:{color:t.form.page_key?"#ccc":"#000"}},on:{click:t.openPathSelect}},[e("a-icon",{attrs:{type:"plus"}}),t._v(t._s(t.parentName)+" ")],1)])],1)],1)]),e("ant-modal",{attrs:{visible:t.visable,"modal-title":t.formTitle2,"adjust-size":!0,modalHeight:t.isMobile?"80vh":"680",modalWidth:t.isMobile?"100vw":"900"},on:{cancel:t.cancelPathSelect,ok:t.cancelPathSelect}},[e("div",{attrs:{slot:"content"},slot:"content"},[t.pathList?e("a-tree",{attrs:{replaceFields:{title:"name",key:"page_key",slot:"title"},treeData:t.pathList,loadedKeys:t.loadKeys,loadData:t.loadPath,checkable:"",checkStrictly:!0,checkedKeys:t.pathKeys},on:{check:t.onCheck},scopedSlots:t._u([{key:"title",fn:function(a){var o=a.name;return[e("div",{staticClass:"pageKeyItem",staticStyle:{color:"#000",display:"flex","align-items":"center"}},[t._v(" "+t._s(o)+" ")])]}}],null,!1,1425135114)}):t._e()],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancelPathSelect}},[t._v(t._s(t.$t("view.test.list.form.button.cancel")))])],1)])],1)},n=[],i=a("5530"),r=a("c7eb"),s=a("1da1"),l=a("2909"),c=(a("d81d"),a("99af"),a("2dd7")),d=a("dcb0"),u=a("2f62"),m={name:"yahooPathAdd",components:{AntModal:c["default"]},data:function(){return{open:!1,pathList:[],form:{},visable:!1,show:!1,pathKeys:[],loadKeys:[],parentName:""}},computed:Object(i["a"])({},Object(u["c"])(["shopId","isMobile"])),props:{sellerId:{type:String,default:""}},created:function(){this.formTitle=this.$t("components.yahooPathAdd.form.name"),this.formTitle1=this.$t("components.yahooPathAdd.form.name.add.title"),this.formTitle2=this.$t("components.yahooPathAdd.form.name.select.title"),this.getPathList()},methods:{openAddForm:function(){this.open=!0},cancelForm:function(){this.open=!1},openPathList:function(){this.show=!0},cancelPathList:function(){this.show=!1},getPathList:function(t,e){var a=this,o={seller_id:this.sellerId};return t&&(o.page_key=t),Object(d["j"])(o).then((function(o){return o.data.results&&o.data.results.length>0?o.data.results?(o.data.results.map((function(a){a.title&&(a.label=a.name,a.isLeaf=!1),a.isLeaf=!1,a.label=a.name,a.parentName=e,t&&(a.parent_page_key=t)})),"0"!==o.data.total_results_available?t?o.data.results:(a.pathList=Object(l["a"])(o.data.results),a.pathList):[]):void 0:null}))},loadPath:function(t,e){var a=this;return Object(s["a"])(Object(r["a"])().mark((function e(){var o;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a.loadKeys.push(t.eventKey),a.parentName=t.label,e.next=4,a.getPathList(t.eventKey,t.label);case 4:o=e.sent,o&&o.length&&(t.dataRef.children=o),a.pathList=Object(l["a"])(a.pathList);case 7:case"end":return e.stop()}}),e)})))()},loadEvent:function(t){},onCheck:function(t,e){t.checked.length?this.pathKeys=[t.checked[t.checked.length-1]]:this.pathKeys=[],this.pathKeys.length?this.form.parent_page_key=this.pathKeys[0]:this.form.parent_page_key="",this.parentName=e.node.label},handleUpdate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.form=t,this.pathKeys=[],this.parentName=t.parentName,this.formTitle1=this.$t("components.yahooPathAdd.form.name.edit.title",{name:t.name}),this.openAddForm()},expandNode:function(t){var e=[];t.map((function(t){e.push(t)})),this.loadKeys=[].concat(e)},ok:function(){var t=this;this.form.seller_id=this.sellerId,Object(d["h"])(this.form).then((function(e){0===e.code&&(t.$message.success(t.$t("components.yahooPathAdd.success")),t.$emit("ok"),t.loadKeys=[],t.pathKeys=[],t.getPathList())}))},openPathSelect:function(){this.form.page_key||(this.visable=!0)},cancelPathSelect:function(){this.visable=!1},openFormInit:function(){this.parentName="",this.form=Object.assign({},{seller_id:this.sellerId}),this.pathKeys=[],this.formTitle1=this.$t("components.yahooPathAdd.form.name.add.title"),this.openAddForm()}}},p=Object(i["a"])({},m),h=p,f=(a("5ea1"),a("2877")),g=Object(f["a"])(h,o,n,!1,null,null,null);e["default"]=g.exports},"09e9e":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"primary"},on:{click:t.openModal}},[t._v(t._s(t.$t("components.videoTrans.selectVideo.btn")))]),e("ant-modal",{attrs:{"modal-title":t.title,visible:t.open,modalWidth:t.isMobile?"100vw":"1000",modalHeight:"750",modalCancelText:t.$t("component.artilce.close.button")},on:{ok:t.ok,cancel:t.close}},[e("template",{slot:"content"},[e("videoList",{on:{ok:t.back}})],1)],2)],1)},n=[],i=a("5530"),r=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),s=a("2dd7"),l=a("2f62"),c=Object(r["b"])((function(){return a.e("chunk-2995d93e").then(a.bind(null,"c06f"))})),d={name:"SelectVideo",data:function(){return{open:!1,title:this.$t("components.videoTrans.selectVideo.modal.title"),videoUrl:""}},props:{url:{type:String,default:""}},computed:Object(i["a"])({},Object(l["c"])(["isMobile"])),methods:{openModal:function(){this.open=!0},close:function(){this.open=!1},back:function(t){this.videoUrl=t},ok:function(){this.videoUrl&&this.$emit("ok",this.videoUrl),this.close()}},components:{AntModal:s["default"],videoList:c}},u=d,m=a("2877"),p=Object(m["a"])(u,o,n,!1,null,null,null);e["default"]=p.exports},"0c6d":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[t.complaint?e("a-button",{attrs:{type:"link"},on:{click:t.openModal}},[t._v(t._s(t.workOrderId?t.$t("view.workOrder.handle.button"):t.$t("components.complaint.detail.btn")))]):t._e(),e("ant-modal",{attrs:{visible:t.open,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:t.isMobile?"500":"580",modalWidth:t.isMobile?"600":"800"},on:{cancel:t.cancel}},[t.complaint&&t.open?e("div",{attrs:{slot:"content"},slot:"content"},[t.orderDetailModal?e("order-detail",{ref:"OrderDetail",on:{close:function(e){t.orderDetailModal=!1}}}):t._e(),e("previewImg",{attrs:{previewVisible:t.previewImgShow,previewImage:t.preImg},on:{"update:previewVisible":function(e){t.previewImgShow=e},"update:preview-visible":function(e){t.previewImgShow=e}}}),e("a-form",{attrs:{"label-col":t.labelCol,"wrapper-col":t.wrapperCol},model:{value:t.complaint,callback:function(e){t.complaint=e},expression:"complaint"}},[t.workOrderList&&t.workOrderList.length>1?e("a-form-item",{attrs:{label:t.$t("components.complaint.detail.currentWorkOrder"),prop:"work_order_id"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{"default-value":t.complaint.work_order_id},on:{change:t.switchWorkOrder}},t._l(t.workOrderList,(function(a){return e("a-select-option",{key:a.work_order_id,attrs:{value:a.work_order_id}},[t._v(t._s(a.details))])})),1)],1):t._e(),2==t.complaint.work_order_type&&t.complaint.complaint_ref_id&&1==t.shop_id?e("a-form-item",{attrs:{label:t.$t("procure.list.order.order_id"),prop:"faq_id"}},[e("a",{on:{click:function(e){return t.handleOrderDetail()}}},[t._v(t._s(t.complaint.complaint_ref_id))])]):t._e(),3==t.complaint.work_order_type&&t.complaint.complaint_ref_id&&1==t.shop_id?e("a-form-item",{attrs:{label:t.$t("view.supply.list.order.id"),prop:"faq_id"}},[e("a",{on:{click:function(e){return t.handleOrderDetail()}}},[t._v(t._s(t.complaint.complaint_ref_id))])]):t._e(),e("a-form-item",{attrs:{label:t.$t("components.complaint.faqId"),prop:"faq_id"}},[e("faqType",{attrs:{value:t.complaint.faq_id,disabled:""},on:{"update:value":function(e){return t.$set(t.complaint,"faq_id",e)}}})],1),e("a-form-item",{attrs:{label:t.$t("components.complaint.detailImages"),prop:"detail_images"}},[e("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[t.complaint.detail_image_1?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_1},on:{click:function(e){return t.previewImage(t.complaint.detail_image_1)}}}):t._e(),t.complaint.detail_image_2?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_2},on:{click:function(e){return t.previewImage(t.complaint.detail_image_2)}}}):t._e(),t.complaint.detail_image_3?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_3},on:{click:function(e){return t.previewImage(t.complaint.detail_image_3)}}}):t._e(),t.complaint.detail_image_4?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_4},on:{click:function(e){return t.previewImage(t.complaint.detail_image_4)}}}):t._e(),t.complaint.detail_image_5?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_5},on:{click:function(e){return t.previewImage(t.complaint.detail_image_5)}}}):t._e()])]),e("a-form-item",{attrs:{label:t.$t("components.complaint.details"),prop:"details"}},[e("div",{staticStyle:{width:"100%"}},[e("div",{staticStyle:{"min-height":"32px","word-break":"break-word",display:"flex","align-content":"center","align-items":"center","flex-wrap":"wrap"}},[t._v(" "+t._s(t.complaint.details)+" ")])])]),t.complaint.results?e("div",{staticStyle:{"margin-bottom":"20px"}},[e("a-list",{attrs:{"item-layout":"horizontal","data-source":t.complaint.results},scopedSlots:t._u([{key:"renderItem",fn:function(a,o){return e("a-list-item",{},[e("a-list-item-meta",[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{key:o,style:{display:"flex",justifyContent:"space-between",paddingTop:"15px",borderTop:0===o?" 1px solid #e8e8e8":"0"}},[e("div",[e("supply-info",{attrs:{shopId:a.shop_id===t.complaint.executor_shop_id?t.complaint.executor_shop_id:t.complaint.executee_shop_id}})],1),e("div",[e("div",[t._v(t._s(a.create_time))])])])]),e("div",{attrs:{slot:"description"},slot:"description"},[e("div",{domProps:{innerHTML:t._s(a.execution_result)}})])])],1)}}],null,!1,2466928742)})],1):t._e(),t.complaint&&t.complaint.status?e("a-form-item",{attrs:{label:t.$t("components.complaint.status"),prop:"status"}},[e("div",{staticStyle:{"text-align":"right","margin-bottom":"10px","min-height":"32px","word-break":"break-word",display:"flex","align-content":"center","align-items":"center","flex-wrap":"wrap"}},[e("span",{staticStyle:{"margin-right":"10px"}},[t._v(" "+t._s(t.$t("WorkOrder."+t.complaint.status)))]),"FINISHED"!=t.complaint.status?e("endingWorkOrder",{attrs:{workOrderId:t.complaint.work_order_id},on:{refresh:t.openModal}}):t._e()],1)]):t._e(),t.complaint&&"FINISHED"!=t.complaint.status?e("div",[e("commitWorkOrder",{ref:"commitWorkOrder",attrs:{isFormBtn:!1,workOrderId:t.complaint.work_order_id},on:{ok:t.openModal}})],1):t._e()],1)],1):t._e(),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancel}},[t._v(t._s(t.$t("components.complaint.detail.cancel")))]),t.complaint&&"FINISHED"!=t.complaint.status?e("a-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v(t._s(t.$t("view.workorder.handle.submit")))]):t._e()],1)])],1)},n=[],i=a("5530"),r=(a("d3b7"),a("3ca3"),a("ddb0"),a("4de4"),a("255f")),s=a("2dd7"),l=a("2f62"),c=a("a026"),d=a("8eb3"),u=a("0a56"),m=Object(c["b"])((function(){return a.e("chunk-03e1387e").then(a.bind(null,"7bb9"))})),p=Object(c["b"])((function(){return a.e("chunk-2995d93e").then(a.bind(null,"95fb"))})),h=Object(c["b"])((function(){return Promise.all([a.e("lang-package~4e34e71e"),a.e("chunk-7454876a")]).then(a.bind(null,"c03e"))})),f=Object(c["b"])((function(){return a.e("chunk-2995d93e").then(a.bind(null,"dc25"))})),g={name:"ComplaintDetail",data:function(){return{complaint:null,open:!1,formTitle:"",labelCol:{span:24},wrapperCol:{span:20},workOrderList:[],previewImgShow:!1,preImg:"",orderDetailModal:!1}},props:{orderId:{type:String,default:""},workOrderId:{type:String,default:""}},created:function(){this.formTitle=this.$t("components.complaint.detail.modal.title"),this.workOrderId?this.getWorkOrder():this.getComplaint()},watch:{orderId:function(t,e){this.getComplaint()}},methods:{getComplaint:function(){var t=this;Object(r["f"])({complaint_ref_id:this.orderId}).then((function(e){e.list&&e.list.length>0&&(t.workOrderList=e.list,t.complaint=e.list[e.list.length-1])}))},getWorkOrder:function(){var t=this;Object(r["c"])({work_order_id:this.workOrderId}).then((function(e){t.complaint=e}))},cancel:function(){this.open=!1},openModal:function(){this.open=!0,this.workOrderId?this.getWorkOrder():this.getComplaint()},switchWorkOrder:function(t){var e=this.workOrderList.filter((function(e){if(e.work_order_id===t)return e}));e&&e.length>0&&(this.complaint=Object.assign({},e[0]))},previewImage:function(t){this.preImg=t,this.previewImgShow=!0},submit:function(){this.$refs.commitWorkOrder.backChecked()},handleOrderDetail:function(){var t=this,e={};this.complaint.work_order_type,e.order_id=this.complaint.complaint_ref_id,this.orderDetailModal=!0,this.$nextTick((function(){return t.$refs.OrderDetail.handleOrderDetail(e)}))}},computed:Object(i["a"])({},Object(l["c"])(["shopId","isMobile"])),components:{AntModal:s["default"],faqType:m,endingWorkOrder:p,commitWorkOrder:h,supplyInfo:d["default"],previewImg:f,OrderDetail:u["default"]}},v=Object(i["a"])({},g),_=v,b=a("2877"),y=Object(b["a"])(_,o,n,!1,null,null,null);e["default"]=y.exports},"16f2":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[e("AdvanceTable",{attrs:{columns:t.Columns,"data-source":t.list,rowKey:"good_id"},scopedSlots:t._u([{key:"title",fn:function(){return[e("div")]},proxy:!0},{key:"image",fn:function(t){t.text;var a=t.record;return e("span",{},[e("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:a.image_url}})])}}])})],1)},n=[],i=a("5530"),r=a("c7eb"),s=a("1da1"),l=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("aabf")),c=a("5d9e"),d={name:"goodsIdList",props:{goodsIds:{type:Array,default:function(){return[]}},goodsList:{type:Array,default:function(){return[]}}},data:function(){return{activeTab:0,list:[],Columns:[{title:this.$t("view.item.list.good_id"),dataIndex:"good_id",width:"80px"},{title:this.$t("view.item.list.form.title"),dataIndex:"title",width:"200px"},{title:this.$t("view.item.list.itemImage"),dataIndex:"image",width:"200px",scopedSlots:{customRender:"image"}}]}},watch:{goodsIds:function(t,e){t!==e&&this.getGoodsList()}},created:function(){this.getGoodsList()},methods:{getGoodsList:function(){var t=this;return Object(s["a"])(Object(r["a"])().mark((function e(){return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.list=[],e.next=3,Promise.all(t.goodsIds.map(function(){var e=Object(s["a"])(Object(r["a"])().mark((function e(a,o){var n,i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={good_id:a},e.next=3,Object(l["p"])(n);case 3:i=e.sent,t.list.push(i);case 5:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}()));case 3:return t._.size(t.list),t.$emit("back",t.list),t.$emit("update:goodsList",t.list),e.abrupt("return",t.list);case 7:case"end":return e.stop()}}),e)})))()}},components:{AdvanceTable:c["default"]}},u=Object(i["a"])({},d),m=u,p=a("2877"),h=Object(p["a"])(m,o,n,!1,null,null,null);e["default"]=h.exports},"23bd":function(t,e,a){},"2ab0":function(t,e,a){},3713:function(t,e,a){"use strict";a("adee")},5881:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("a-drawer",{attrs:{width:"750px",placement:"right",closable:!1,visible:t.openView},on:{close:t.onCloseView}},[e("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"操作信息",layout:"vertical",column:3,bordered:""}},[e("a-descriptions-item",{attrs:{label:"操作模块"}},[t._v(" "+t._s(t.form.module)+" ")]),e("a-descriptions-item",{attrs:{label:"登录信息"}},[t._v(" #"+t._s(t.form.member_id)+" / "+t._s(t.form.member_name)+" / "+t._s(t.form.ip)+" / "+t._s(t.form.region)+" ")]),e("a-descriptions-item",{attrs:{label:"请求方式"}},[t._v(" "+t._s(t.form.method)+" ")]),e("a-descriptions-item",{attrs:{label:"请求地址"}},[t._v(" "+t._s(t.form.url)+" ")]),e("a-descriptions-item",{attrs:{label:"操作方法",span:2}},[e("div",{staticStyle:{"word-break":"break-all"}},[t._v(t._s(t.form.method))])])],1),e("a-divider"),e("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"接口信息",layout:"vertical",column:3,bordered:""}},[e("a-descriptions-item",{attrs:{label:"请求头部",span:3}},[t._v(" "+t._s(t.form.header_data)+" ")]),e("a-descriptions-item",{attrs:{label:"GET参数",span:3}},[t._v(" "+t._s(t.form.get_data)+" ")]),e("a-descriptions-item",{attrs:{label:"POST参数",span:3}},[t._v(" "+t._s(t.form.post_data)+" ")]),e("a-descriptions-item",{attrs:{label:"操作状态"}},[0===t.form.error_code?e("a-badge",{attrs:{status:"processing",text:"正常"}}):t._e(),0!==t.form.error_code?e("a-badge",{attrs:{status:"error",text:"失败"}}):t._e()],1),e("a-descriptions-item",{attrs:{label:"操作时间"}},[t._v(" "+t._s(t.parseTime(t.form.created_at))+" ")]),e("a-descriptions-item",{attrs:{label:"耗时"}},[t._v(" "+t._s(t.form.take_up_time)+"毫秒 ")]),e("a-descriptions-item",{attrs:{label:"回复信息"}},[t._v(" "+t._s(t.form.error_msg)+" ")]),0!==t.form.error_code?e("a-descriptions-item",{attrs:{label:"报错日志"}},[t._v(" "+t._s(t.form.error_data)+" ")]):t._e()],1),null!==t.form.logContent?e("a-divider"):t._e(),null!==t.form.logContent?e("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"变更记录",layout:"vertical",column:3,bordered:""}},[e("a-descriptions-item",{attrs:{label:"请求ID",span:3}},[t._v(" "+t._s(t.form.req_id)+" ")]),e("a-descriptions-item",{attrs:{label:"变更情况",span:3}},[t._v(" 无 ")])],1):t._e()],1)},n=[],i={name:"ViewForm",props:{},data:function(){return{form:{},openView:!1}},filters:{},created:function(){},computed:{},watch:{},methods:{handleView:function(t){this.openView=!0,this.form=t},onCloseView:function(){this.openView=!1}}},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);e["default"]=l.exports},"58f6":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("a-select",{staticStyle:{width:"auto","min-width":"100px"},attrs:{value:t.value,disabled:t.disabled},on:{change:t.handleChange}},[e("a-select-option",{attrs:{value:1}},[t._v(t._s(t.$t("components.warehouseRule.warehouseMode.pricemin")))]),e("a-select-option",{attrs:{value:2}},[t._v(t._s(t.$t("components.warehouseRule.warehouseMode.time")))])],1)},n=[],i=(a("a9e3"),{name:"PriceCompareMethod",model:{prop:"value",event:"input"},props:{value:{type:Number,default:1},disabled:{type:Boolean,default:!1}},methods:{handleChange:function(t){this.$emit("input",t),this.$emit("change",t)}}}),r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,"c2b8b322",null);e["default"]=l.exports},"5ea1":function(t,e,a){"use strict";a("a4d4")},"5f19":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("view.item.list.good_id")))]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("view.item.list.itemImage")))]),e("a-col",{attrs:{lg:12}},[t._v(t._s(t.$t("view.item.list.itemTitle")))])],1),e("div",{staticStyle:{"margin-top":"2px",border:"1px solid #ccc",padding:"5px"}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:3}},[t._v(t._s(t.goodInfo.good_id))]),e("a-col",{attrs:{lg:3}},[t.getGoodInfo()?e("div",[e("img",{staticStyle:{width:"80px",height:"80px"},attrs:{src:t.goodInfo.image_url}})]):t._e()]),e("a-col",{staticStyle:{"line-height":"40px"},attrs:{lg:12}},[t.getGoodInfo()?e("div",[t._v(t._s(t.goodInfo.title))]):t._e()])],1)],1)],1)},n=[],i=(a("7db0"),a("d3b7"),{name:"GoodsIdOne",props:{goodsList:{type:Array,default:function(){return[]}},goodsId:{type:String,default:""}},computed:{goodInfo:function(){var t,e=this;return null===(t=this.goodsList)||void 0===t?void 0:t.find((function(t){return t.good_id+""===e.goodsId+""}))}},methods:{getGoodInfo:function(){var t,e=this;return null===(t=this.goodsList)||void 0===t?void 0:t.find((function(t){return t.good_id+""===e.goodsId+""}))}}}),r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);e["default"]=l.exports},6947:function(t,e,a){"use strict";a("b6ad")},"78f8":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{display:"inline-block"}},t._l(t.list,(function(a,o){return e("span",{key:a},[t._v(t._s(t.$t(a))+" "),o>0&&o!=t.list.length-1?e("span",[t._v(",")]):t._e()])})),0)},n=[],i={name:"FanYiList",props:{list:{type:Array,default:function(){return[]}}}},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);e["default"]=l.exports},8220:function(t,e,a){"use strict";a.r(e);var o,n,i={template:'\n <svg t="1598838771152" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2725" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M511.573333 85.333333C276.053333 85.333333 85.333333 276.48 85.333333 512s190.72 426.666667 426.24 426.666667C747.52 938.666667 938.666667 747.52 938.666667 512S747.52 85.333333 511.573333 85.333333zM693.333333 689.066667 469.333333 554.666667 469.333333 298.666667l64 0 0 224 192 113.92L693.333333 689.066667z" p-id="2726"></path></svg>'},r={name:"MtimeIcon",template:'\n <a-icon :component="MtimeSvg" />\n ',data:function(){return{MtimeSvg:i}}},s=r,l=a("2877"),c=Object(l["a"])(s,o,n,!1,null,null,null);e["default"]=c.exports},"8b78":function(t,e,a){"use strict";a.r(e);a("99af");var o=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:48}},[e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"操作模块"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"操作模块","allow-clear":""},model:{value:t.queryParam.module,callback:function(e){t.$set(t.queryParam,"module",e)},expression:"queryParam.module"}},t._l(t.moduleOptions,(function(a,o){return e("a-select-option",{key:o,attrs:{value:a.value}},[t._v(t._s(a.label))])})),1)],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"操作人员"}},[e("a-input",{attrs:{placeholder:"请输入操作人员ID","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.member_id,callback:function(e){t.$set(t.queryParam,"member_id",e)},expression:"queryParam.member_id"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"访问路径"}},[e("a-input",{attrs:{placeholder:"请输入访问路径","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.url,callback:function(e){t.$set(t.queryParam,"url",e)},expression:"queryParam.url"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"访问IP"}},[e("a-input",{attrs:{placeholder:"请输入IP地址","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.ip,callback:function(e){t.$set(t.queryParam,"ip",e)},expression:"queryParam.ip"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"请求方式"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请求方式","allow-clear":""},model:{value:t.queryParam.method,callback:function(e){t.$set(t.queryParam,"method",e)},expression:"queryParam.method"}},t._l(t.methodOptions,(function(a,o){return e("a-select-option",{key:o,attrs:{value:a.value}},[t._v(t._s(a.label))])})),1)],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"耗时"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"耗时","allow-clear":""},model:{value:t.queryParam.take_up_time,callback:function(e){t.$set(t.queryParam,"take_up_time",e)},expression:"queryParam.take_up_time"}},t._l(t.takeTimeOptions,(function(a,o){return e("a-select-option",{key:o,attrs:{value:a.value}},[t._v(t._s(a.label))])})),1)],1)],1),t.advanced?e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"状态码"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"响应状态码","allow-clear":""},model:{value:t.queryParam.error_code,callback:function(e){t.$set(t.queryParam,"error_code",e)},expression:"queryParam.error_code"}},t._l(t.errorCodeOptions,(function(a,o){return e("a-select-option",{key:o,attrs:{value:a.value}},[t._v(t._s(a.label))])})),1)],1)],1):t._e(),t.advanced?e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"操作时间"}},[e("a-range-picker",{staticStyle:{width:"100%"},attrs:{valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD","allow-clear":""},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1)],1):t._e(),e("a-col",[e("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[e("a-button",{attrs:{type:"primary"},on:{click:t.handleQuery}},[e("a-icon",{attrs:{type:"search"}}),t._v("查询")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v("重置")],1),e("a",{staticStyle:{"margin-left":"8px"},on:{click:t.toggleAdvanced}},[t._v(" "+t._s(t.advanced?"收起":"展开")+" "),e("a-icon",{attrs:{type:t.advanced?"up":"down"}})],1)],1)])],1)],1)],1)]),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e("view-form",{ref:"viewForm"}),e("advance-table",{attrs:{columns:t.columns,"data-source":t.list,title:"系统参数",loading:t.loading,rowKey:"id",tableKey:"monitor-operlog-Operlog-table",isTableConfig:!1,isShowSetBtn:!1,size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},pagination:{current:t.queryParam.page,limit:t.queryParam.limit,total:t.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(t,e){return"第 ".concat(e[0],"-").concat(e[1]," 条,总计 ").concat(t," 条")},onChange:t.changeSize,onShowSizeChange:t.onSizeChange}},on:{refresh:t.getList},scopedSlots:t._u([{key:"method",fn:function(a){var o=a.text,n=a.record;return e("span",{},[e("a-tag",{attrs:{color:t._f("operMethodFilter")(o)}},[t._v(" "+t._s(t.methodFormat(n))+" ")])],1)}},{key:"module",fn:function(a){var o=a.text,n=a.record;return e("span",{},[e("a-tag",{attrs:{color:t._f("operModuleFilter")(o)}},[t._v(" "+t._s(t.moduleFormat(n))+" ")])],1)}},{key:"error_code",fn:function(a){var o=a.text,n=a.record;return e("span",{},[e("a-tag",{attrs:{color:t._f("operErrorCodeFilter")(o)}},[t._v(" "+t._s(t.errorCodeFormat(n))+" ")])],1)}},{key:"take_up_time",fn:function(a){var o=a.text,n=a.record;return e("span",{},[e("a-tag",{attrs:{color:t._f("operTakeTimeFilter")(o)}},[t._v(" "+t._s(t.takeTimeFormat(n))+" ")])],1)}},{key:"operation",fn:function(a){a.text;var o=a.record;return e("span",{},[e("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:query"],expression:"['monitor:operlog:query']"}],on:{click:function(e){return t.$refs.viewForm.handleView(o)}}},[e("a-icon",{attrs:{type:"eye",theme:"twoTone"}}),t._v("详细 ")],1)])}},{key:"member_name",fn:function(a){a.text;var o=a.record;return e("span",{},[e("span",[t._v(t._s(t.memberNameFormat(o)))])])}}])},[e("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t.multiple?t._e():e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:remove"],expression:"['monitor:operlog:remove']"}],attrs:{type:"danger",disabled:t.multiple},on:{click:t.handleDelete}},[e("a-icon",{attrs:{type:"delete"}}),t._v("删除 ")],1),e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:remove"],expression:"['monitor:operlog:remove']"}],attrs:{type:"danger"},on:{click:t.handleClean}},[e("a-icon",{attrs:{type:"delete"}}),t._v("清空 ")],1),e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:export"],expression:"['system:config:export']"}],on:{click:t.handleExport}},[e("a-icon",{attrs:{type:"download"}}),t._v("导出 ")],1)],1)])],1)],1)},n=[],i=(a("d81d"),a("b775"));function r(t){return Object(i["b"])({url:"/log/list",method:"get",params:t})}function s(t){return Object(i["b"])({url:"/monitor/operlog/"+t,method:"delete"})}function l(){return Object(i["b"])({url:"/log/clear",method:"post"})}var c=a("5881"),d=a("5d9e"),u=a("028d"),m={name:"Operlog",components:{ViewForm:c["default"],AdvanceTable:d["default"]},data:function(){return{list:[],selectedRowKeys:[],selectedRows:[],advanced:!1,single:!0,multiple:!0,ids:[],loading:!1,sunloading:!1,total:0,errorCodeOptions:[],takeTimeOptions:[],moduleOptions:[],methodOptions:[],labelCol:{span:6},wrapperCol:{span:18},dateRange:[],queryParam:{page:1,limit:10,module:void 0,member_id:void 0,method:void 0,url:void 0,error_code:void 0,take_up_time:void 0,ip:void 0},addModalRefName:"addModal",columns:[{title:"应用端口",dataIndex:"app_id",align:"center"},{title:"操作人员",dataIndex:"member_name",scopedSlots:{customRender:"member_name"},align:"center"},{title:"操作模块",dataIndex:"module",scopedSlots:{customRender:"module"},align:"center"},{title:"请求方式",dataIndex:"method",align:"center"},{title:"请求路径",dataIndex:"url",align:"center"},{title:"访问IP",dataIndex:"ip",align:"center"},{title:"IP地区",dataIndex:"region",align:"center"},{title:"状态码",dataIndex:"error_code",scopedSlots:{customRender:"error_code"},align:"center"},{title:"耗时",dataIndex:"take_up_time",scopedSlots:{customRender:"take_up_time"},align:"center"},{title:"操作日期",dataIndex:"created_at",align:"center"},{title:"操作",dataIndex:"operation",scopedSlots:{customRender:"operation"},align:"center"}]}},filters:{operTypeFilter:function(t){var e="blue";return 3!==t&&7!==t&&9!==t||(e="orange"),e},operModuleFilter:function(t){var e="blue";return"api"===t&&(e="orange"),e},operMethodFilter:function(t){var e="blue";return"POST"===t&&(e="orange"),e},operErrorCodeFilter:function(t){var e="orange";return 0!==t&&(e="red"),e},operTakeTimeFilter:function(){return"magenta"}},created:function(){var t=this;this.getList(),this.getDicts("req_code").then((function(e){t.errorCodeOptions=e})),this.getDicts("req_take_up_time").then((function(e){t.takeTimeOptions=e})),this.getDicts("sys_oper_module").then((function(e){t.moduleOptions=e})),this.getDicts("sys_oper_method").then((function(e){t.methodOptions=e}))},computed:{},watch:{},methods:{onSizeChange:function(t,e){this.queryParam.page=1,this.queryParam.limit=e,this.getList()},getList:function(){var t=this;this.loading=!0,r(this.addDateRange(this.queryParam,this.dateRange)).then((function(e){t.list=e.list,t.total=e.total_count,t.loading=!1}))},errorCodeFormat:function(t,e){return this.selectDictLabel(this.errorCodeOptions,t.error_code)},takeTimeFormat:function(t,e){return t.take_up_time+"ms"},moduleFormat:function(t,e){return this.selectDictLabel(this.moduleOptions,t.module)},methodFormat:function(t,e){return this.selectDictLabel(this.methodOptions,t.method)},memberNameFormat:function(t){return t.member_id<=0?"":"(#"+t.member_id+")"+t.member_name},handleQuery:function(){this.queryParam.page=1,this.getList()},resetQuery:function(){this.dateRange=[],this.queryParam={page:1,limit:10,module:void 0,member_id:void 0,method:void 0,url:void 0,error_code:void 0,take_up_time:void 0,ip:void 0},this.handleQuery()},onShowSizeChange:function(t,e){this.queryParam.limit=e,this.getList()},changeSize:function(t,e){this.queryParam.page=t,this.queryParam.limit=e,this.getList()},onSelectChange:function(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.ids=this.selectedRows.map((function(t){return t.id})),this.multiple=!t.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleDelete:function(t){var e=this,a=t.id||this.ids;this.$confirm({title:"确认删除所选中数据?",content:"当前选中编号为"+a+"的数据",onOk:function(){return s(a).then((function(){e.onSelectChange([],[]),e.getList(),e.$message.success("删除成功",3)}))},onCancel:function(){}})},handleClean:function(){var t=this;this.$confirm({title:"是否确认清空?",content:"此操作将会清空所有操作日志数据项",onOk:function(){return l().then((function(){t.onSelectChange([],[]),t.getList(),t.$message.success("清空成功",3)}))},onCancel:function(){}})},handleExport:function(){var t=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return Object(u["g"])("/log/export",t.queryParam)},onCancel:function(){}})}}},p=m,h=a("2877"),f=Object(h["a"])(p,o,n,!1,null,null,null);e["default"]=f.exports},"8cdb":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("div")},n=[],i={name:"404"},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,"206078e4",null);e["default"]=l.exports},"8faf":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"primary"},on:{click:t.openLoginModal}},[t._v(t._s(t.$t("view.user.syn.register.tab1")))]),e("a-modal",{attrs:{visible:t.visible,title:t.formTitle,zIndex:9999},on:{cancel:t.Cencel}},[e("div",[e("a-form-model",{ref:"form",staticClass:"user-layout-login",attrs:{id:"formLogin",model:t.formData,rules:t.rules}},[e("a-form-model-item",{attrs:{prop:"username"}},[e("a-input",{attrs:{size:"large",placeholder:t.$t("view.config.email.add.username.label")},model:{value:t.formData.username,callback:function(e){t.$set(t.formData,"username",e)},expression:"formData.username"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),e("a-form-model-item",{attrs:{prop:"password"}},[e("a-input-password",{attrs:{size:"large",placeholder:t.$t("view.login.email.add.password.label")},model:{value:t.formData.password,callback:function(e){t.$set(t.formData,"password",e)},expression:"formData.password"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),e("a-form-model-item",{attrs:{prop:"realname"}},[e("a-input",{attrs:{size:"large",placeholder:t.$t("view.config.email.add.realname.label")},model:{value:t.formData.realname,callback:function(e){t.$set(t.formData,"realname",e)},expression:"formData.realname"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),e("a-form-model-item",{attrs:{prop:"mobile"}},[e("a-input",{attrs:{size:"large",placeholder:t.$t("view.config.email.add.mobile.label")},model:{value:t.formData.mobile,callback:function(e){t.$set(t.formData,"mobile",e)},expression:"formData.mobile"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"phone"},slot:"prefix"})],1)],1),e("a-form-model-item",{attrs:{prop:"email"}},[e("a-input",{attrs:{size:"large",placeholder:t.$t("view.config.email.add.email.label")},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),e("a-row",{attrs:{gutter:16}},[e("a-col",{staticClass:"gutter-row",attrs:{lg:18,sm:18,md:18,xs:16}},[e("a-form-model-item",{attrs:{prop:"code"}},[e("a-input",{attrs:{size:"large",type:"text",autocomplete:"off",placeholder:t.$t("view.modal.email.code.placeholder")},model:{value:t.formData.code,callback:function(e){t.$set(t.formData,"code",e)},expression:"formData.code"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"security-scan"},slot:"prefix"})],1)],1)],1),e("a-col",{staticClass:"gutter-row",attrs:{lg:6,sm:6,md:6,xs:8}},[e("a-button",{staticClass:"login-button",staticStyle:{padding:"0 0px"},attrs:{type:"primary",loading:t.codeLoading,size:"large"},on:{click:t.getEmailCode}},[t._v(t._s(t.codeLoading?t.$t("view.modal.code.time",{time:t.currentCodeTime}):t.$t("view.modal.email.code")))])],1)],1),e("a-form-model-item",{attrs:{prop:"distribution_code"}},[e("a-input",{attrs:{size:"large",placeholder:t.$t("view.config.add.code.label")},model:{value:t.formData.distribution_code,callback:function(e){t.$set(t.formData,"distribution_code",e)},expression:"formData.distribution_code"}},[e("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"security-scan"},slot:"prefix"})],1)],1)],1)],1),e("template",{slot:"footer"},[e("a-button",{key:"back",on:{click:t.Cencel}},[t._v(" "+t._s(t.$t("view.service.message.modal.cancelText"))+" ")]),e("a-button",{key:"submit",attrs:{type:"primary",loading:t.loading},on:{click:t.register}},[t._v(" "+t._s(t.$t("view.user.register"))+" ")])],1)],2)],1)},n=[],i=a("5530"),r=(a("d3b7"),a("a9e3"),a("25f0"),a("c0c7")),s=a("56cd"),l=a("bc3a"),c=a.n(l),d=a("ca00"),u={name:"PlatformRegiset",data:function(){return{formData:{},visible:!1,formTitle:"",loading:!1,codeLoading:!1,codeUrl:"",rules:{username:[{required:!0,message:this.$t("view.config.email.add.username.placeholder"),trigger:"blur"}],password:[{required:!0,message:this.$t("view.config.email.add.password.placeholder"),trigger:"blur"}],realname:[{required:!1,message:this.$t("view.config.email.add.realname.placeholder"),trigger:"blur"}],mobile:[{required:!1,message:this.$t("view.config.email.add.mobile.placeholder"),trigger:"blur"}],email:[{required:!1,message:this.$t("view.config.email.add.email.placeholder"),trigger:"blur"}],code:[{required:!0,message:this.$t("login.modal.code.relue"),trigger:"blur"}],cid:[{required:!0,message:"验证码ID不能为空",trigger:"blur"}]},currentCodeTime:0}},props:{role:{type:String,required:!0},registerUrl:{type:String,required:!0},showConfigList:{type:Boolean,default:!1},title:{type:String,required:!0}},created:function(){this.formTitle=this.title+this.$t("view.user.syn.register.tab1"),this.initData()},methods:{emilCode:function(t){return c.a.defaults.withCredentials=!0,fetch(this.registerUrl+"/admin/member/email/verify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((function(t){return t.json()})).then((function(t){return t}))},memberRegister:function(t){var e=JSON.parse(JSON.stringify(t));return e.role=Number(this.role),fetch(this.registerUrl+"/admin/member/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(t){return t.json()})).then((function(t){return 0!==t.code&&s["a"].error({message:t.message,description:t.message}),t})).catch((function(t){}))},getEmailCode:function(){var t=this;this.codeLoading||this.$refs.form.validateField("email",(function(e){e||t.emilCode({email:t.formData.email}).then((function(e){0===e.code&&(t.codeLoading=!0,t.getCodeTime(),t.$message.success(t.$t("view.modal.code.succes")))}))}))},getCodeTime:function(){var t=this,e=30;this.currentCodeTime=e,this.CodeTime=setInterval((function(){e--,t.currentCodeTime=e,e<=0&&(t.codeLoading=!1,clearInterval(t.CodeTime))}),1e3)},initData:function(){var t=this;Object(r["j"])().then((function(e){e.user&&(t.formData={realname:e.user.realname,email:e.user.email,mobile:e.user.mobile,username:e.user.username,password:Object(d["g"])(6)})}))},register:function(){var t=this;this.$refs.form.validate((function(e){e&&(t.loading=!0,t.formData.remark="蜂洞客户",t.memberRegister(t.formData).then((function(e){t.loading=!1,0===e.code&&(t.$message.success(t.$t("view.modal.register.succes")),t.formData.huoyuan_name=t.title,t.formData.huoyuan_url=t.registerUrl,t.$emit("registerSuccess",t.formData),t.Cencel())})).catch((function(e){t.loading=!1,s["a"].error({message:e.toString(),description:e.toString()})})))}))},setConfig:function(){var t=this;this.showConfigList&&this.$refs.platfConfigRef.openModal(),setTimeout((function(){var e=t.formData;t.$refs.platfConfigRef.showModal({syntype:"beehole",api_url:t.registerUrl,app_key:e.username,app_secret:e.password,beehole_login_type:2})}),500)},openLoginModal:function(){this.visible=!0},Cencel:function(){this.visible=!1}},components:{}},m=Object(i["a"])({},u),p=m,h=(a("6947"),a("2877")),f=Object(h["a"])(p,o,n,!1,null,"21b00a37",null);e["default"]=f.exports},"95fb":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"link",disabled:t.disabled},on:{click:t.endingWorkOrder}},[t._v(t._s(t.$t("components.complaint.enddingWork.btn")))])],1)},n=[],i=a("c7eb"),r=a("1da1"),s=a("255f"),l={name:"EndingWorkOrder",props:{disabled:{type:Boolean,default:!1},workOrderId:null},methods:{endingWorkOrder:function(){var t=this;return Object(r["a"])(Object(i["a"])().mark((function e(){return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$confirm({title:t.$t("components.complaint.EndingWorkOrder.confirm.title"),content:t.$t("components.complaint.EndingWorkOrder.confirm.content"),okText:t.$t("components.complaint.EndingWorkOrder.confirm.okText"),onOk:function(){var e=Object(r["a"])(Object(i["a"])().mark((function e(){return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(s["e"])({work_order_id:t.workOrderId});case 3:t.$message.success(t.$t("components.complaint.EndingWorkOrder.confirm.success")),t.$emit("refresh"),e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](0),t.$message.error(e.t0.message);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));function a(){return e.apply(this,arguments)}return a}()});case 1:case"end":return e.stop()}}),e)})))()}}},c=l,d=a("2877"),u=Object(d["a"])(c,o,n,!1,null,null,null);e["default"]=u.exports},a4d4:function(t,e,a){},abd6:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"primary"},on:{click:t.handleClick}},[t._v(t._s(t.$t("view.warehouse.form.stocks.update")))]),e("ant-modal",{attrs:{visible:t.visable,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:"600",modalWidth:"800"},on:{cancel:function(e){return t.closeModal()}}},[e("div",{staticClass:"orderDetail",attrs:{slot:"content"},slot:"content"},[e("a-form-model",t._b({ref:"form",attrs:{model:t.stockForm}},"a-form-model",t.itemLayout,!1),[e("a-form-model-item",{attrs:{"has-feedback":"",label:""}},[e("div",{staticStyle:{display:"flex"}},[e("div",[t._v(t._s(t.$t("view.warehouse.list.name"))+":")]),t.visable?e("wareHouseInfo",{attrs:{warehouseId:t.wareHouseId}}):t._e()],1)]),e("a-form-model-item",{attrs:{"has-feedback":"",label:"",prop:"shipment_id"}},[e("div",[t._v(t._s(t.$t("view.warehouse.list.stock.list.label")))]),e("a-textarea",{attrs:{rows:10,placeholder:t.$t("view.warehouse.list.stock.list.placeholder")},model:{value:t.stockForm.stockRow,callback:function(e){t.$set(t.stockForm,"stockRow",e)},expression:"stockForm.stockRow"}})],1)],1),e("a-form-model-item",{attrs:{"has-feedback":""}},[e("a-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("component.artilce.save.button"))+" ")])],1)],1),e("template",{slot:"footer"},[e("a-button",{on:{click:t.closeModal}},[t._v(t._s(t.$t("component.artilce.close.button")))])],1)],2)],1)},n=[],i=a("5530"),r=(a("d3b7"),a("3ca3"),a("ddb0"),a("a9e3"),a("d81d"),a("2dd7")),s=a("89f8"),l=a("a026"),c=Object(l["b"])((function(){return Promise.resolve().then(a.bind(null,"f2b2"))})),d={name:"ordersShips",data:function(){return{visable:!1,formTitle:"",forms:[],itemLayout:{labelCol:{lg:2},wrapperCol:{lg:22}},stockForm:{stockRow:"",warehouse_id:""}}},props:{orders:{type:Array,default:function(){return[]}},wareHouseId:{type:Number,default:0}},components:{AntModal:r["default"],WareHouseInfo:c},methods:{closeModal:function(){this.visable=!1},handleClick:function(){this.formTitle=this.$t("view.warehouse.form.stocks.update"),this.visable=!0},handleChange1:function(t){this.stockForm.warehouse_id=t},handleChange:function(t,e){this.forms[e].warehouse_id=t},submitForm:function(){var t=this,e=[],a=this.stockForm.stockRow.split("\n");a.map((function(a){var o=a.split(",");e.push({out_id:o[0],stock_quantity:o[1],warehouse_id:t.wareHouseId})})),e&&e.length>0&&Object(s["b"])({stock_details:e}).then((function(e){0===e.code&&(t.$message.success(t.$t("view.warehouse.list.stock.list.success")),t.visable=!1,t.$emit("ok"))}))}}},u=Object(i["a"])({},d),m=u,p=a("2877"),h=Object(p["a"])(m,o,n,!1,null,null,null);e["default"]=h.exports},adee:function(t,e,a){},b129:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[e("a-tooltip",[e("template",{slot:"title"},[t._v(" "+t._s(t.tooltipText)+" ")]),e("a-icon",{style:{fontSize:"14px"},attrs:{type:"copy"},on:{click:t.copy}})],2)],1)},n=[],i=a("ca00"),r=a("1b6c"),s={name:"CopyText",props:{text:{type:String,default:""},tooltipText:{type:String,default:Object(r["b"])("components.copyText.copy")}},methods:{copy:function(){Object(i["b"])(this.text)}}},l=s,c=a("2877"),d=Object(c["a"])(l,o,n,!1,null,null,null);e["default"]=d.exports},b6ad:function(t,e,a){},c06f:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[e("a-table",{attrs:{columns:t.columns,"row-selection":{type:"radio",selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},"data-source":t.list,rowkey:"id",pagination:{current:t.query.page,pageSize:t.query.limit,total:t.total,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,onChange:t.changeSize,hideOnSinglePage:!0}},scopedSlots:t._u([{key:"source_lang",fn:function(a,o){return e("span",{},[t._v(" "+t._s(t.$t(t.langLabel[o.source_lang]))+" ")])}},{key:"target_lang",fn:function(a,o){return e("span",{},[t._v(" "+t._s(t.$t(t.langLabel[o.target_lang]))+" ")])}},{key:"video_url",fn:function(a,o){return e("span",{},[e("div",[e("div",{style:{width:"150px",height:"150px"}},[o.video_url?e("video",{ref:"sfGalleryBigImage",staticStyle:{"object-position":"top","max-height":"150px"},attrs:{autoplay:!1,muted:"",preload:"load",loop:"",src:o.video_url,width:"100%",height:"100%",controls:"controls",playsinline:""},domProps:{muted:!0}},[e("source",{attrs:{src:o.video_url,type:"video/*"}})]):t._e()]),e("div",[t._v(t._s(o.video_url))])])])}}])})],1)},n=[],i=a("3726"),r={name:"VideoList",props:{url:{type:String,default:""},hiddenIcon:{type:Boolean,default:!1}},data:function(){var t=this,e=this.$createElement;return{list:[],query:{page:1,limit:10},total:0,columns:[{title:this.$t("components.imagetext.translation.sourceLang"),dataIndex:"source_lang",key:"source_lang",scopedSlots:{customRender:"source_lang"}},{title:this.$t("components.imagetext.translation.targetLang"),dataIndex:"target_lang",key:"target_lang",scopedSlots:{customRender:"target_lang"}},{title:function(){return e("span",[t.$t("components.videoList.table.video"),e("a-tooltip",{attrs:{title:t.$t("view.item.skulist.btn.refresh")}},[e("a-icon",{on:{click:t.getList},class:"action",attrs:{type:t.loading?"loading":"reload"}})])])},dataIndex:"video_url",key:"video_url",scopedSlots:{customRender:"video_url"}}],langLabel:{zh:"zh-CN",en:"en-US",fr:"fr-FR",es:"es-ES",ar:"ar-EG",hi:"hi-IN",pt:"pt-PT",ru:"ru-RU",it:"it-IT",de:"de-DE",ja:"ja-JP",th:"th-TH",ko:"ko-KR",bn:"bn-BD",id:"id-ID",vi:"vi-VN",ms:"ms-MY"},selectedRowKeys:[],loading:!1}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.loading=!0,Object(i["g"])({page:this.query.page,limit:this.query.limit}).then((function(e){0===e.code&&(t.list=e.list,t.total=e.total),t.loading=!1})).catch((function(){t.loading=!1}))},changeSize:function(t){this.query.page=t,this.getList()},onSelectChange:function(t,e){this.selectedRowKeys=t,this.$emit("ok",e[0].video_url)}}},s=r,l=a("2877"),c=Object(l["a"])(s,o,n,!1,null,null,null);e["default"]=c.exports},cc89:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("div")},n=[],i={name:"Exception404",methods:{toHome:function(){this.$router.push({path:"/"})}}},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);e["default"]=l.exports},d916:function(t,e,a){},dc25:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("div",[e("a-modal",{attrs:{visible:t.Visible,zIndex:1e21,footer:null},on:{cancel:t.handleCancel}},[t.isVideo?e("video",{staticStyle:{width:"100%"},attrs:{controls:"",src:t.previewImage}},[e("source",{attrs:{src:t.previewImage,type:"video/*",autoplay:!0,muted:"",preload:"load",loop:""}})]):e("img",{staticStyle:{width:"100%"},attrs:{alt:"example",src:t.previewImage}})])],1)},n=[],i={props:{previewVisible:{type:Boolean,default:!1},previewImage:{type:String,default:""},isVideo:{type:Boolean,default:!1}},computed:{Visible:function(){return this.visable||this.previewVisible}},data:function(){return{visable:!1}},methods:{openPreivewModal:function(){this.visable=!0},handleCancel:function(){this.visable=!1,this.$emit("cancel"),this.$emit("update:previewVisible",!1)}}},r=i,s=a("2877"),l=Object(s["a"])(r,o,n,!1,null,null,null);e["default"]=l.exports},de6c:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticStyle:{display:"flex","flex-wrap":"wrap","align-items":"center",gap:"5px"}},[t.stockData&&t.stockData.warehouse_country_list?e("div",[e("a-select",{staticStyle:{"min-width":"100px"},on:{change:t.changeCountry},model:{value:t.countryName,callback:function(e){t.countryName=e},expression:"countryName"}},t._l(t.stockData.warehouse_country_list,(function(a){return e("a-select-option",{key:a},[t._v(t._s(t.$t(a)))])})),1)],1):t._e(),t.stockData&&void 0!==t.stockData.available_stock?e("a",[e("a-tag",{attrs:{color:t.getRgb(t.warehouseId)}},[e("div",{staticStyle:{display:"flex","flex-wrap":"wrap",gap:"5px"}},[e("div",[t._v(t._s(t.$t("view.skuStockDescribe.availableStock"))+" "+t._s(t.stockData.available_stock)+" = ")]),e("div",[t._v(t._s(t.$t("view.skuStockDescribe.physicalStock"))+" "+t._s(t.stockData.physical_stock)+" - ")]),e("div",[t._v(t._s(t.$t("view.skuStockDescribe.lockStock"))+" "+t._s(t.stockData.lock_stock)+" -")]),e("div",[t._v(t._s(t.$t("view.skuStockDescribe.reservedStock"))+" "+t._s(t.stockData.reserved_stock))])])])],1):t._e()]),e("ant-modal",{attrs:{visible:t.open,"modal-title":t.$t("view.skuStockDescribe.modalTitle")},on:{cancel:t.close}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("a-row",[e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(t.$t("view.skuStockDescribe.availableStock"))+": "+t._s(t.stockData.available_stock)+" ")]),e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(t.$t("view.skuStockDescribe.lockStock"))+": "+t._s(t.stockData.lock_stock)+" ")]),e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(t.$t("view.skuStockDescribe.physicalStock"))+": "+t._s(t.stockData.physical_stock)+" ")]),e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(t.$t("view.skuStockDescribe.reservedStock"))+": "+t._s(t.stockData.reserved_stock)+" ")])],1)],1)])],1)},n=[],i=(a("99af"),a("89f8")),r=a("2dd7"),s=a("ca00"),l={data:function(){return{open:!1,stockData:{},countryName:""}},props:{warehouseId:null,outId:null,country:null},created:function(){this.fetchStockData(!0)},methods:{openModal:function(){this.open=!0,this.fetchStockData()},close:function(){this.open=!1},changeCountry:function(){this.fetchStockData()},fetchStockData:function(t){var e=this,a={warehouse_id:this.warehouseId,out_id:this.outId,country:this.country};this.countryName&&(a.country=this.countryName),Object(i["a"])(a).then((function(a){var o;0===a.code&&(e.stockData=Object.assign({},a),e.stockData.warehouse_country_list&&e.stockData.warehouse_country_list.length>0&&t&&(e.countryName=null===(o=e.stockData.warehouse_country_list)||void 0===o?void 0:o[0]))}))},getRgb:function(t){var e=Object(s["i"])(t);return e?"rgb(".concat(e[0],", ").concat(e[1],", ").concat(e[2],")"):"rgb(255, 255, 0)"}},components:{AntModal:r["default"]}},c=l,d=(a("3713"),a("2877")),u=Object(d["a"])(c,o,n,!1,null,"a9009144",null);e["default"]=u.exports},de96:function(t,e,a){"use strict";a.r(e);a("99af");var o=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:48}},[e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"登录地址"}},[e("a-input",{attrs:{placeholder:"请输入登录地址","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.ipaddr,callback:function(e){t.$set(t.queryParam,"ipaddr",e)},expression:"queryParam.ipaddr"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"操作信息"}},[e("a-input",{attrs:{placeholder:"请输入操作信息","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.msg,callback:function(e){t.$set(t.queryParam,"msg",e)},expression:"queryParam.msg"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"使用状态"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择状态","allow-clear":""},model:{value:t.queryParam.status,callback:function(e){t.$set(t.queryParam,"status",e)},expression:"queryParam.status"}},t._l(t.statusOptions,(function(a,o){return e("a-select-option",{key:o,attrs:{value:a.dictValue}},[t._v(t._s(a.dictLabel))])})),1)],1)],1),t.advanced?e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"登录名称"}},[e("a-input",{staticStyle:{width:"100%"},attrs:{"allow-clear":""},model:{value:t.queryParam.loginName,callback:function(e){t.$set(t.queryParam,"loginName",e)},expression:"queryParam.loginName"}})],1)],1):t._e(),t.advanced?e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"登陆时间"}},[e("a-range-picker",{staticStyle:{width:"100%"},attrs:{valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD","allow-clear":""},model:{value:t.dateRange,callback:function(e){t.dateRange=e},expression:"dateRange"}})],1)],1):t._e(),e("a-col",[e("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[e("a-button",{attrs:{type:"primary"},on:{click:t.handleQuery}},[e("a-icon",{attrs:{type:"search"}}),t._v("查询")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v("重置")],1),e("a",{staticStyle:{"margin-left":"8px"},on:{click:t.toggleAdvanced}},[t._v(" "+t._s(t.advanced?"收起":"展开")+" "),e("a-icon",{attrs:{type:t.advanced?"up":"down"}})],1)],1)])],1)],1)],1)]),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e("advance-table",{attrs:{columns:t.columns,"data-source":t.list,title:"登录日志",loading:t.loading,rowKey:"id",tableKey:"monitor-logininfo-Logininfo-table",isTableConfig:!1,isShowSetBtn:!1,size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},pagination:{current:t.queryParam.pageNum,pageSize:t.queryParam.pageSize,total:t.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(t,e){return"第 ".concat(e[0],"-").concat(e[1]," 条,总计 ").concat(t," 条")},onChange:t.changeSize,onShowSizeChange:t.onSizeChange}},on:{refresh:t.getList},scopedSlots:t._u([{key:"status",fn:function(a){a.text;var o=a.record;return e("span",{},[e("a-badge",{attrs:{status:"0"==o.status?"processing":"error",text:t.statusFormat(o)}})],1)}}])},[e("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t.multiple?t._e():e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:LoginLog:remove"],expression:"['monitor:LoginLog:remove']"}],attrs:{type:"danger",disabled:t.multiple},on:{click:t.handleDelete}},[e("a-icon",{attrs:{type:"delete"}}),t._v("删除 ")],1),e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:LoginLog:remove"],expression:"['monitor:LoginLog:remove']"}],attrs:{type:"danger"},on:{click:t.handleClean}},[e("a-icon",{attrs:{type:"delete"}}),t._v("清空 ")],1),e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:LoginLog:export"],expression:"['system:LoginLog:export']"}],on:{click:t.handleExport}},[e("a-icon",{attrs:{type:"download"}}),t._v("导出 ")],1)],1)])],1)],1)},n=[],i=(a("d81d"),a("b775"));function r(t){return Object(i["b"])({url:"/monitor/loginLog/page",method:"get",params:t})}function s(t){return Object(i["b"])({url:"/monitor/loginLog/"+t,method:"delete"})}function l(){return Object(i["b"])({url:"/monitor/loginLog/clean",method:"delete"})}function c(t){return Object(i["b"])({url:"/monitor/loginLog/export",method:"get",params:t})}var d=a("5d9e"),u={name:"LoginLog",components:{AdvanceTable:d["default"]},data:function(){return{list:[],selectedRowKeys:[],selectedRows:[],advanced:!1,single:!0,multiple:!0,ids:[],loading:!1,sunloading:!1,total:0,statusOptions:[],dateRange:[],labelCol:{span:6},wrapperCol:{span:18},queryParam:{pageNum:1,pageSize:10,ipaddr:null,userName:void 0,status:void 0},addModalRefName:"addModal",columns:[{title:"用户名称",dataIndex:"userName",align:"center"},{title:"登录地址",dataIndex:"ipaddr",align:"center"},{title:"登录地点",dataIndex:"loginLocation",align:"center"},{title:"浏览器",dataIndex:"browser",align:"center"},{title:"操作系统",dataIndex:"os",align:"center"},{title:"状态",dataIndex:"status",scopedSlots:{customRender:"status"},align:"center"},{title:"操作信息",dataIndex:"msg",align:"center"},{title:"登录时间",dataIndex:"loginTime",align:"center"}]}},filters:{},created:function(){var t=this;this.getList(),this.getDicts("sys_common_status").then((function(e){t.statusOptions=e.data}))},computed:{},watch:{},methods:{onSizeChange:function(t,e){this.queryParam.pageNum=1,this.queryParam.pageSize=e,this.getList()},getList:function(){var t=this;this.loading=!0,r(this.addDateRange(this.queryParam,this.dateRange)).then((function(e){t.list=e.data.list,t.total=e.data.total,t.loading=!1}))},statusFormat:function(t){return this.selectDictLabel(this.statusOptions,t.status)},handleQuery:function(){this.queryParam.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.queryParam={pageNum:1,pageSize:10,ipaddr:null,userName:void 0,status:void 0},this.handleQuery()},onShowSizeChange:function(t,e){this.queryParam.pageSize=e,this.getList()},changeSize:function(t,e){this.queryParam.pageNum=t,this.queryParam.pageSize=e,this.getList()},onSelectChange:function(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.ids=this.selectedRows.map((function(t){return t.id})),this.multiple=!t.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleDelete:function(t){var e=this,a=t.id||this.ids;this.$confirm({title:"确认删除所选中数据?",onOk:function(){return s(a).then((function(){e.onSelectChange([],[]),e.getList(),e.$message.success("删除成功",3)}))},onCancel:function(){}})},handleClean:function(){var t=this;this.$confirm({title:"是否确认清空?",content:"此操作将会清空所有登录日志数据项",onOk:function(){return l().then((function(){t.onSelectChange([],[]),t.getList(),t.$message.success("清空成功",3)}))},onCancel:function(){}})},handleExport:function(){var t=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return c(t.queryParam).then((function(e){t.download(e.msg),t.$message.success("导出成功",3)}))},onCancel:function(){}})}}},m=u,p=a("2877"),h=Object(p["a"])(m,o,n,!1,null,null,null);e["default"]=h.exports},e52f:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("div",t._l(t.countryList,(function(a){return 0==a.status?e("div",{key:a.country_code,staticStyle:{"margin-right":"5px",display:"inline-block"}},[t._v(" "+t._s(t.$t(a.country_code))+" ")]):t._e()})),0)},n=[],i=(a("d81d"),a("4dc7")),r={name:"WarehouseCountryList",data:function(){return{countryList:[]}},props:{wareaHouseId:null},created:function(){this.getCountryList()},methods:{getCountryList:function(){var t=this;Object(i["c"])().then((function(e){var a=[];e.list&&e.list.length&&e.list.map((function(e){e.warehouse_id===t.wareaHouseId&&a.push(e)})),t.countryList=a}))}}},s=r,l=a("2877"),c=Object(l["a"])(s,o,n,!1,null,null,null);e["default"]=c.exports},eb30:function(t,e,a){"use strict";a.r(e);a("b0c0"),a("a9e3");var o=function(){var t=this,e=t._self._c;return e("span",[t.hiddenIcon?t._e():e("a-tooltip",[e("template",{slot:"title"},[t._v(" "+t._s(t.$t("components.imagetext.translation"))+" ")]),e("a-icon",{attrs:{type:"file-image"},on:{click:t.openModal}})],2),e("AntModal",{attrs:{visible:t.visible,title:t.modelTitle,modalWidth:"800",modalHeight:"650","adjust-size":!0},on:{cancel:t.close},scopedSlots:t._u([{key:"footer",fn:function(){return[e("recharge",{ref:"yueref",attrs:{showYue:!0}}),e("a-button",{staticStyle:{"margin-left":"5px"},on:{click:t.close}},[t._v(t._s(t.$t("components.imagetext.translation.close")))]),e("a-button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v(t._s(t.$t("components.imagetext.translation.ok")))])]},proxy:!0}])},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("div",{staticStyle:{width:"290px"}},[e("div",[t._v(t._s(t.$t("components.imagetext.translation.before")))]),e("div",{staticStyle:{width:"290px",height:"290px"}},[e("img",{staticStyle:{width:"290px",height:"290px","object-fit":"contain"},attrs:{src:t.img}})]),e("div",{staticStyle:{"margin-top":"1rem"}},[t._v(" "+t._s(t.$t("components.imagetext.translation.sourceLang"))+": "),t.langSource?e("a-select",{staticStyle:{width:"60%"},on:{change:t.changeCurrentLang},model:{value:t.currentLang,callback:function(e){t.currentLang=e},expression:"currentLang"}},t._l(t.langSource.sourceLanguage,(function(a){return e("a-select-option",{key:a.code,attrs:{value:a.code}},[t._v(" "+t._s(a.name)+" ")])})),1):t._e()],1)]),e("div",{staticStyle:{flex:"1","text-align":"center"}},[e("div",{staticStyle:{height:"311px","align-items":"center","justify-content":"center",display:"flex"}},[e("a-icon",{staticStyle:{"font-size":"2rem"},attrs:{type:"arrow-right"}})],1),e("a-select",{staticStyle:{width:"100%","margin-top":"1rem"},on:{change:t.changeTranEngData},model:{value:t.transEngineData,callback:function(e){t.transEngineData=e},expression:"transEngineData"}},t._l(t.langSource.transEngine,(function(a){return e("a-select-option",{key:a.code},[t._v(t._s(a.name)+" "),e("defaultCurrency",{attrs:{currency:"CNY",isFuhao:!0}}),t._v(" "+t._s(Number(Number(a.unitPrice)/100))+" ")],1)})),1)],1),e("div",{staticStyle:{width:"290px"}},[e("div",[t._v(t._s(t.$t("components.imagetext.translation.after")))]),e("div",{style:{width:"290px",height:"290px",border:t.newImg?"":"1px solid #ccc"}},[t.newImg?e("img",{staticStyle:{width:"290px",height:"290px","object-fit":"contain"},attrs:{src:t.newImg}}):t._e()]),e("div",{staticStyle:{"margin-top":"1rem","text-align":"right"}},[t._v(" "+t._s(t.$t("components.imagetext.translation.targetLang"))+": "),t.langSource?e("a-select",{staticStyle:{width:"60%"},on:{change:t.changeTransLang},model:{value:t.transLang,callback:function(e){t.transLang=e},expression:"transLang"}},t._l(t.langSource.targetLanguage,(function(a){return e("a-select-option",{key:a.code,attrs:{value:a.code}},[t._v(" "+t._s(a.name)+" ")])})),1):t._e()],1)])]),e("div",{staticStyle:{"margin-top":"1rem","text-align":"center"}},[e("a-button",{attrs:{type:"primary"},on:{click:t.transImg}},[t._v(t._s(t.$t("components.imagetext.translation.translate")))])],1)])])],1)},n=[],i=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),r=a("3726"),s=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),l=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"b89c"))})),c=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"34c3"))})),d="ImageTs-TranEngMode",u="ImageTs-CurrentLang",m="ImageTs-TransLang",p={name:"ImageTextTs",props:{img:{type:String,default:""},hiddenIcon:{type:Boolean,default:!1}},data:function(){return{visible:!1,modelTitle:this.$t("components.imagetext.translation.modaltitle"),newImg:"",langSource:[],currentLang:"",transLang:"",transEngineData:""}},methods:{getLangList:function(){var t=this;Object(r["c"])().then((function(e){0===e.code&&(t.langSource=JSON.parse(e.lang),sessionStorage.getItem(d)?t.transEngineData=sessionStorage.getItem(d):t.langSource.transEngine.length>0&&(t.transEngineData=t.langSource.transEngine[0].code,sessionStorage.setItem(d,t.transEngineData)),sessionStorage.getItem(u)&&(t.currentLang=sessionStorage.getItem(u)),sessionStorage.getItem(m)&&(t.transLang=sessionStorage.getItem(m)))}))},openModal:function(){if(this.newImg="",!this.img)return this.$message.error(this.$t("components.imagetext.translation.image.null")),!1;this.getLangList(),this.visible=!0},close:function(){this.visible=!1},ok:function(){var t=this;this.$confirm({title:this.$t("components.imagetext.translation.confirm.title"),content:this.$t("components.imagetext.translation.confirm.content"),okText:this.$t("components.imagetext.translation.confirm.ok"),cancelText:this.$t("components.imagetext.translation.confirm.cancel"),onOk:function(){t.$emit("update:img",t.newImg),t.$emit("ok",t.newImg),t.close()},onCancel:function(){}})},transImg:function(){var t=this;return this.transEngineData?this.currentLang?this.transLang?(this.$message.loading({content:this.$t("components.imagetext.translation.transImageLoading"),duration:0}),void Object(r["a"])({imgUrl:this.img,sourceLanguage:this.currentLang,targetLanguage:this.transLang,transEngine:this.transEngineData}).then((function(e){t.newImg=e.url+"?t="+(new Date).getTime(),t.$refs.yueref.getAmount(),t.$message.destroy()})).catch((function(e){t.$message.destroy()}))):(this.$message.error(this.$t("components.imagetext.translation.targetLang.null")),!1):(this.$message.error(this.$t("components.imagetext.translation.sourceLang.null")),!1):(this.$message.error(this.$t("components.imagetext.translation.engine.null")),!1)},changeTranEngData:function(t){sessionStorage.setItem(d,t)},changeCurrentLang:function(t){sessionStorage.setItem(u,t)},changeTransLang:function(t){sessionStorage.setItem(m,t)}},components:{AntModal:s,recharge:l,defaultCurrency:c}},h=p,f=a("2877"),g=Object(f["a"])(h,o,n,!1,null,null,null);e["default"]=g.exports},ee66:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{display:"inline","margin-right":"10px"}},[t._v(" "+t._s(t.$t("purchase.auto.purchase.order.title"))+": "),e("a-switch",{attrs:{"checked-children":t.$t("view.shopview.open.label"),"un-checked-children":t.$t("view.shopview.close.label")},on:{change:t.handleAutoPurchaseChange},model:{value:t.autoPurchaseEnabled,callback:function(e){t.autoPurchaseEnabled=e},expression:"autoPurchaseEnabled"}})],1)},n=[],i=a("5530"),r=a("2f62"),s=a("d047"),l={components:{},computed:Object(i["a"])({},Object(r["c"])({shop_id:"shopId"})),data:function(){return{autoPurchaseEnabled:!1}},created:function(){this.getAutoPurchaseConfig()},methods:{handleAutoPurchaseChange:function(t){var e=this,a={data:t?1:0,name:"mall_auto_purchase_config"};Object(s["g"])(a).then((function(a){0===a.code?e.$message.success(e.$t("api.info.operation")):(e.autoPurchaseEnabled=!t,e.$message.error(a.msg||e.$t("view.item.component.item.syn.operation.add.error.info")))}))},getAutoPurchaseConfig:function(){var t=this,e={shop_id:this.shop_id,name:"mall_auto_purchase_config"};Object(s["d"])(e).then((function(e){0===e.code&&(t.autoPurchaseEnabled="1"===e.data)}))}}},c=Object(i["a"])({},l),d=c,u=a("2877"),m=Object(u["a"])(d,o,n,!1,null,null,null);e["default"]=m.exports},f7f8:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t._self._c;return e("span",[t.hiddenIcon?t._e():e("a-tooltip",[e("template",{slot:"title"},[t._v(" "+t._s(t.$t("components.videoTrans.btn"))+" ")]),e("a-icon",{attrs:{type:"file-image"},on:{click:t.openModal}})],2),t.hiddenIcon?e("a-button",{attrs:{type:t.btnType,loading:t.loading},on:{click:t.openModal}},[t._v(t._s(t.$t("components.videoTrans.btn")))]):t._e(),e("AntModal",{attrs:{visible:t.visible,title:t.modelTitle,modalWidth:"800",modalHeight:"650","adjust-size":!0},on:{cancel:t.close},scopedSlots:t._u([{key:"footer",fn:function(){return[e("recharge",{ref:"yueref",attrs:{showYue:!0}}),e("a-button",{staticStyle:{"margin-left":"5px"},on:{click:t.close}},[t._v(t._s(t.$t("components.videoTrans.translation.close")))]),t.hiddenConfirm?t._e():e("a-button",{attrs:{type:"primary"},on:{click:t.ok}},[t._v(t._s(t.$t("components.imagetext.translation.ok")))])]},proxy:!0}])},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("div",{staticStyle:{width:"290px"}},[e("div",[t._v(t._s(t.$t("components.imagetext.translation.before")))]),e("div",{staticStyle:{width:"290px",height:"290px"}},[e("video",{ref:"sfGalleryBigImage",staticStyle:{"object-position":"top","max-height":"290px"},attrs:{autoplay:!1,muted:"",preload:"load",loop:"",src:t.url,width:"100%",height:"100%",controls:"controls",playsinline:""},domProps:{muted:!0}},[e("source",{attrs:{src:t.url,type:"video/*"}})])]),e("div",{staticStyle:{"margin-top":"1rem"}},[t._v(" "+t._s(t.$t("components.imagetext.translation.sourceLang"))+": "),e("a-select",{staticStyle:{width:"60%"},on:{change:t.changeCurrentLang},model:{value:t.currentLang,callback:function(e){t.currentLang=e},expression:"currentLang"}},t._l(t.langLabel,(function(a,o){return e("a-select-option",{key:o,attrs:{value:o}},[t._v(" "+t._s(t.$t(a))+" ")])})),1)],1)]),e("div",{staticStyle:{flex:"1","text-align":"center"}},[e("div",{staticStyle:{height:"311px","align-items":"center","justify-content":"center",display:"flex"}},[e("a-icon",{staticStyle:{"font-size":"2rem"},attrs:{type:"arrow-right"}})],1)]),e("div",{staticStyle:{width:"290px"}},[e("div",[t._v(t._s(t.$t("components.imagetext.translation.after")))]),e("div",{style:{width:"290px",height:"290px",border:t.newUrl?"":"1px solid #ccc"}},[t.newUrl?e("video",{ref:"sfGalleryBigImage",staticStyle:{"object-position":"top","max-height":"290px"},attrs:{autoplay:!1,muted:"",preload:"load",loop:"",src:t.newUrl,width:"100%",height:"100%",controls:"controls",playsinline:""},domProps:{muted:!0}},[e("source",{attrs:{src:t.newUrl,type:"video/*"}})]):t._e()]),e("div",{staticStyle:{"margin-top":"1rem","text-align":"right"}},[t._v(" "+t._s(t.$t("components.imagetext.translation.targetLang"))+": "),e("a-select",{staticStyle:{width:"60%"},on:{change:t.changeTransLang},model:{value:t.transLang,callback:function(e){t.transLang=e},expression:"transLang"}},t._l(t.langLabel,(function(a,o){return e("a-select-option",{key:o,attrs:{value:o}},[t._v(" "+t._s(t.$t(a))+" ")])})),1)],1)])]),e("div"),e("div",{staticStyle:{"margin-top":"1rem","text-align":"center"}},[e("a-button",{attrs:{type:"primary"},on:{click:t.transImg}},[t._v(t._s(t.$t("components.imagetext.translation.translate")))]),e("selectVideo",{ref:"selectVideo",staticStyle:{"margin-left":"0.5rem"},on:{ok:function(e){return t.newUrl=e}}})],1)])])],1)},n=[],i=(a("d3b7"),a("3ca3"),a("ddb0"),a("ac1f"),a("5319"),a("a026")),r=a("3726"),s=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),l=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"b89c"))})),c=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"34c3"))})),d=Object(i["b"])((function(){return a.e("chunk-2995d93e").then(a.bind(null,"09e9e"))})),u="videoTs-TranEngMode",m="videoTs-CurrentLang",p="videoTs-TransLang",h={name:"VideoTrans",props:{url:{type:String,default:""},hiddenIcon:{type:Boolean,default:!1},btnType:{type:String,default:"primary"},hiddenConfirm:{type:Boolean,default:!1}},data:function(){return{visible:!1,modelTitle:this.$t("components.imagetext.translation.modaltitle"),newUrl:"",langSource:[],langLabel:{zh:"zh-CN",en:"en-US",fr:"fr-FR",es:"es-ES",ar:"ar-EG",hi:"hi-IN",pt:"pt-PT",ru:"ru-RU",it:"it-IT",de:"de-DE",ja:"ja-JP",th:"th-TH",ko:"ko-KR",bn:"bn-BD",id:"id-ID",vi:"vi-VN",ms:"ms-MY"},currentLang:"",transLang:"",transEngineData:"",loading:!1}},methods:{getLangList:function(){sessionStorage.getItem(m)&&(this.currentLang=sessionStorage.getItem(m)),sessionStorage.getItem(p)&&(this.transLang=sessionStorage.getItem(p))},openModal:function(){if(this.newUrl="",!this.url)return this.$message.error(this.$t("components.imagetext.translation.image.null")),!1;this.getLangList(),this.visible=!0},close:function(){this.visible=!1},ok:function(){var t=this;this.$confirm({title:this.$t("components.imagetext.translation.confirm.title"),content:this.$t("components.imagetext.translation.confirm.content"),okText:this.$t("components.imagetext.translation.confirm.ok"),cancelText:this.$t("components.imagetext.translation.confirm.cancel"),onOk:function(){t.$emit("update:url",t.newUrl),t.$emit("ok",t.newUrl),t.close()},onCancel:function(){}})},transImg:function(){var t=this,e=(new Date).toLocaleDateString().replace(/\//g,"");Object(r["f"])({source_url:this.url,source_lang:this.currentLang,target_lang:this.transLang,project_name:e}).then((function(e){t.newUrl=e.video_url+"?t="+(new Date).getTime(),t.$refs.yueref.getAmount(),t.$message.success(t.$t("components.videoTrans.aivideo.loding"),2),setTimeout((function(){t.$refs.selectVideo&&t.$refs.selectVideo.openModal()}),2e3)})).catch((function(t){}))},changeTranEngData:function(t){sessionStorage.setItem(u,t)},changeCurrentLang:function(t){sessionStorage.setItem(m,t)},changeTransLang:function(t){sessionStorage.setItem(p,t)}},components:{AntModal:s,recharge:l,defaultCurrency:c,selectVideo:d}},f=h,g=a("2877"),v=Object(g["a"])(f,o,n,!1,null,null,null);e["default"]=v.exports},f9ea:function(t,e,a){"use strict";a.r(e);a("a9e3");var o=function(){var t=this,e=t._self._c;return e("span",[t.isA?e("a",{on:{click:t.openModal}},[t._v(t._s(t.$t("view.order.detail.warehouse.update")))]):e("a-button",{attrs:{type:"primary"},on:{click:t.openModal}},[t._v(t._s(t.$t("view.order.detail.warehouse.update")))]),e("ant-modal",{attrs:{visible:t.visable,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:"600",modalWidth:"1200"},on:{cancel:function(e){return t.closeModal()}},scopedSlots:t._u([{key:"footer",fn:function(){return[e("a-button",{on:{click:t.closeModal}},[t._v(t._s(t.$t("view.test.list.form.button.cancel")))])]},proxy:!0}])},[t.order?e("div",{staticClass:"orderDetail",attrs:{slot:"content"},slot:"content"},[e("a-row",[e("a-col",{attrs:{span:24}},[e("div",[e("div",[t._v(" "+t._s(t.$t("order.switch.warehouse.koujian.stock.title"))+" :"),e("wareHouseInfo",{attrs:{warehouseId:t.order.order_item[0].stock_log?Number(t.order.order_item[0].stock_log.warehouse_id):0}})],1),e("div",[t._v(" "+t._s(t.$t("order.switch.warehouse.koujian.stock.reset.title"))+":"),t.order.order_item?e("wareHouseSelect",{staticStyle:{width:"200px",display:"inline-block","margin-right":"10px"},attrs:{wareHouseId:t.order.order_item[0].stock_log?Number(t.order.order_item[0].stock_log.warehouse_id):0},on:{change:t.changeWareHouseId}}):t._e(),e("a-button",{attrs:{type:"primary"},on:{click:t.saveWareHouse}},[t._v(t._s(t.$t("view.order.detail.warehouse.update")))])],1)])])],1),e("a-table",{attrs:{columns:t.columns,"data-source":t.order.order_item,pagination:!1},scopedSlots:t._u([{key:"img_url",fn:function(t){return[e("a-avatar",{attrs:{shape:"square",size:85,src:t}})]}},{key:"Title",fn:function(a,o){return[e("div",[e("div",[t._v(t._s(o.title))]),e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{flex:3}},["string"==typeof o.sku_prop?e("span",[t._v(" "+t._s(o.sku_prop)+" ")]):e("span",t._l(o.sku_prop,(function(a,o){return e("div",{key:o},[e("span",[t._v(t._s(o)+":"+t._s(a))])])})),0)])],1),e("div",[t._v(t._s(t.$t("view.order.detial.item.outid"))+" "+t._s(o.out_id))]),e("div",[t._v(t._s(t.$t("view.order.detial.item.barcode"))+" "+t._s(o.barcode))]),o.stock_log?e("div",[t._v(" "+t._s(t.$t("view.item.sku.wareHouse"))+" "),e("wareHouseInfo",{attrs:{warehouseId:o.stock_log.warehouse_id}})],1):t._e()],1)]}},{key:"price",fn:function(a){return[e("div",[t._v(t._s(t.shopQuoteCurrency)+" "+t._s(a))])]}},{key:"discount",fn:function(a){return[e("div",[t._v(t._s(t.shopQuoteCurrency)+" "+t._s(a))])]}},{key:"tax_fee",fn:function(a){return[e("div",[t._v(t._s(t.shopQuoteCurrency)+" "+t._s(a))])]}},{key:"amount",fn:function(a){return[e("div",[t._v(t._s(t.shopQuoteCurrency)+" "+t._s(a))])]}}],null,!1,3588468014)})],1):t._e()])],1)},n=[],i=a("5530"),r=a("3a10"),s=a("2dd7"),l=a("d7eec"),c=a("2f62"),d=a("f2b2"),u={name:"switchWareHouse",data:function(){return{order:null,visable:!1,formTitle:"",wareHouseId:0,columns:[{title:this.$t("view.order.detail.item"),dataIndex:"img_url",key:"img_url",width:"110px",scopedSlots:{customRender:"img_url"}},{title:this.$t("view.order.detail.itemTitle"),dataIndex:"Title",key:"Title",width:"200px",scopedSlots:{customRender:"Title"}},{title:this.$t("view.order.detail.itemNum"),dataIndex:"num",key:"num"},{title:this.$t("view.order.detail.itemPrice"),key:"price",dataIndex:"price",scopedSlots:{customRender:"price"}},{title:this.$t("view.order.detail.discount"),key:"discount",dataIndex:"discount",scopedSlots:{customRender:"discount"}},{title:this.$t("view.order.detail.tax"),key:"tax_fee",dataIndex:"tax_fee",scopedSlots:{customRender:"tax_fee"}},{title:this.$t("view.order.detail.amount"),key:"amount",dataIndex:"total_payment",scopedSlots:{customRender:"amount"}}]}},computed:Object(i["a"])({},Object(c["c"])(["shopQuoteCurrency","isMobile","domain"])),components:{AntModal:s["default"],wareHouseSelect:l["a"],wareHouseInfo:d["default"]},props:{orderId:{type:String,default:0},isA:{type:Boolean,default:!0},note:{type:String,default:""},skuId:null},methods:{openModal:function(){this.formTitle=this.$t("view.order.detail.warehouse.modal.title",{orderNo:this.orderId}),this.visable=!0,this.getOrder()},closeModal:function(){this.visable=!1},getOrder:function(){var t=this,e=[];this.orderId&&e.push({field:"order_id",operator:"eq",value:this.orderId});var a={};a.conditions=e,Object(r["y"])(a).then((function(e){var a;if(t.order=null===(a=e.list)||void 0===a?void 0:a[0],null==t.order)return t.$notification.error({message:t.$t("view.order.list.order.null"),duration:5}),!1}))},changeWareHouseId:function(t){this.wareHouseId=t},saveWareHouse:function(){var t=this;this.$confirm({title:this.$t("view.order.detail.warehouse.modal.confirm.title"),content:this.$t("view.order.detail.warehouse.modal.confirm.content"),onOk:function(){var e,a,o,n;Object(r["D"])({order_id:t.orderId,switch_info:[{to_warehouse_id:t.wareHouseId,sku_id:null===(e=t.order.order_item)||void 0===e||null===(a=e[0])||void 0===a?void 0:a.sku_id,out_id:null===(o=t.order.order_item)||void 0===o||null===(n=o[0])||void 0===n?void 0:n.out_id}],warehouse_id:t.wareHouseId}).then((function(e){0===e.code&&(t.$notification.success({message:t.$t("view.order.detail.warehouse.update.success"),duration:5}),t.$emit("ok"),t.getOrder())}))},onCancel:function(){}})}}},m=Object(i["a"])({},u),p=m,h=a("2877"),f=Object(h["a"])(p,o,n,!1,null,null,null);e["default"]=f.exports}}]);