@bee-hole/admin 1.25.68 → 1.25.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/chunk-07a0f50c.cab31655.css +1 -0
- package/dist/css/chunk-07a0f50c.cab31655.css.gz +0 -0
- package/dist/css/chunk-32dac439.a68e5fee.css +1 -0
- package/dist/css/chunk-32dac439.a68e5fee.css.gz +0 -0
- package/dist/css/chunk-48de0fec.1e09edd8.css +1 -0
- package/dist/css/chunk-48de0fec.1e09edd8.css.gz +0 -0
- package/dist/css/chunk-52cb3562.ef74bf62.css +1 -0
- package/dist/css/chunk-e4bf5c30.13706cf3.css +1 -0
- package/dist/css/{lang-package~4e34e71e.4df3652b.css → lang-package~4e34e71e.41f8c51d.css} +1 -1
- package/dist/css/{lang-package~4e34e71e.4df3652b.css.gz → lang-package~4e34e71e.41f8c51d.css.gz} +0 -0
- package/dist/css/lang-zh-TW-service~f63b1681.c64eee61.css +1 -0
- package/dist/css/lang-zh-TW-service~f63b1681.c64eee61.css.gz +0 -0
- package/dist/index.html +1 -1
- package/dist/js/app~f075b844.6441ab26.js +1 -0
- package/dist/js/app~f075b844.6441ab26.js.gz +0 -0
- package/dist/js/{chunk-03e1387e.c1841282.js → chunk-03e1387e.276931a3.js} +1 -1
- package/dist/js/chunk-03e1387e.276931a3.js.gz +0 -0
- package/dist/js/chunk-07a0f50c.689ae53d.js +1 -0
- package/dist/js/chunk-07a0f50c.689ae53d.js.gz +0 -0
- package/dist/js/chunk-32dac439.71af4fd9.js +1 -0
- package/dist/js/chunk-32dac439.71af4fd9.js.gz +0 -0
- package/dist/js/chunk-48de0fec.9b2ababd.js +1 -0
- package/dist/js/chunk-48de0fec.9b2ababd.js.gz +0 -0
- package/dist/js/chunk-52cb3562.9ddf4714.js +1 -0
- package/dist/js/chunk-52cb3562.9ddf4714.js.gz +0 -0
- package/dist/js/{chunk-dc085b74.8c105048.js → chunk-e093710c.a88ed5b7.js} +1 -1
- package/dist/js/chunk-e093710c.a88ed5b7.js.gz +0 -0
- package/dist/js/chunk-e4bf5c30.9cf4e966.js +1 -0
- package/dist/js/chunk-e4bf5c30.9cf4e966.js.gz +0 -0
- package/dist/js/{chunk-7454876a.3bba909c.js → chunk-fa04ce72.8dca4792.js} +1 -1
- package/dist/js/chunk-fa04ce72.8dca4792.js.gz +0 -0
- package/dist/js/{lang-package~4e34e71e.67837520.js → lang-package~4e34e71e.c46c5825.js} +3 -3
- package/dist/js/lang-package~4e34e71e.c46c5825.js.gz +0 -0
- package/dist/js/lang-zh-TW-service~f63b1681.1f3e02df.js +1 -0
- package/dist/js/lang-zh-TW-service~f63b1681.1f3e02df.js.gz +0 -0
- package/package.json +1 -1
- package/dist/css/chunk-2632938e.be4b42c5.css +0 -1
- package/dist/css/chunk-2632938e.be4b42c5.css.gz +0 -0
- package/dist/css/chunk-458b8d3f.d6e9a16a.css +0 -1
- package/dist/css/chunk-75d4a000.69b8b761.css +0 -1
- package/dist/css/chunk-75d4a000.69b8b761.css.gz +0 -0
- package/dist/css/chunk-917b8bb0.54c1d8d8.css +0 -1
- package/dist/css/chunk-d323928e.2dc7f70e.css +0 -1
- package/dist/css/chunk-d323928e.2dc7f70e.css.gz +0 -0
- package/dist/css/lang-zh-TW-service~f63b1681.926866c5.css +0 -1
- package/dist/css/lang-zh-TW-service~f63b1681.926866c5.css.gz +0 -0
- package/dist/js/app~f075b844.fb583a95.js +0 -1
- package/dist/js/app~f075b844.fb583a95.js.gz +0 -0
- package/dist/js/chunk-03e1387e.c1841282.js.gz +0 -0
- package/dist/js/chunk-2632938e.d0b63928.js +0 -1
- package/dist/js/chunk-2632938e.d0b63928.js.gz +0 -0
- package/dist/js/chunk-458b8d3f.8cbf9c40.js +0 -1
- package/dist/js/chunk-458b8d3f.8cbf9c40.js.gz +0 -0
- package/dist/js/chunk-7454876a.3bba909c.js.gz +0 -0
- package/dist/js/chunk-75d4a000.4c7d3eb8.js +0 -1
- package/dist/js/chunk-75d4a000.4c7d3eb8.js.gz +0 -0
- package/dist/js/chunk-917b8bb0.9e8210ff.js +0 -1
- package/dist/js/chunk-917b8bb0.9e8210ff.js.gz +0 -0
- package/dist/js/chunk-d323928e.90f83bb3.js +0 -1
- package/dist/js/chunk-d323928e.90f83bb3.js.gz +0 -0
- package/dist/js/chunk-dc085b74.8c105048.js.gz +0 -0
- package/dist/js/lang-package~4e34e71e.67837520.js.gz +0 -0
- package/dist/js/lang-zh-TW-service~f63b1681.2a6156e4.js +0 -1
- package/dist/js/lang-zh-TW-service~f63b1681.2a6156e4.js.gz +0 -0
- /package/dist/css/{chunk-7454876a.3a09c127.css → chunk-fa04ce72.3a09c127.css} +0 -0
- /package/dist/css/{chunk-7454876a.3a09c127.css.gz → chunk-fa04ce72.3a09c127.css.gz} +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2632938e"],{"0a49":function(e,t,o){},"0ef6":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{ref:"portaletDiv",staticClass:"module"},[e._m(0)])},n=[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:o("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:o("4781"),alt:""}})]),t("div",{staticClass:"information02-data"},[t("span",[e._v("28%")]),t("p",[e._v("完成率")])])])])])}],s={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},r=s,i=(o("d936"),o("2877")),c=Object(i["a"])(r,a,n,!1,null,"0c32075c",null);t["default"]=c.exports},"1d24":function(e,t,o){"use strict";o("0a49")},"23bd":function(e,t,o){},2855:function(e,t,o){"use strict";o.r(t);var a=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}])})},n=[],s={name:"Build",components:{},data:function(){return{}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){},methods:{returnIndex:function(){this.$router.push({path:"/index"})}}},r=s,i=o("2877"),c=Object(i["a"])(r,a,n,!1,null,null,null);t["default"]=c.exports},4781:function(e,t,o){e.exports=o.p+"img/img02.9ac07e73.png"},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"},"77c96":function(e,t,o){"use strict";o.r(t);var a=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,o){return e.$t("view.order.list.table.total",{num:o[0]+"-"+o[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(o){var a=o.text,n=o.record;return t("span",{},[1==e.shopId?t("a",{on:{click:function(t){return e.handleOrderDetail(n)}}},[e._v(" "+e._s(a)+" ")]):t("span",[e._v(" "+e._s(a)+" ")]),t("div",[e._v(e._s(n.create_time))]),t("dispath-note",{staticStyle:{display:"none"},attrs:{order:n}}),1===n.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 o=e.record;return t("span",{},[t("supply-info",{attrs:{shopId:o.shop_id}})],1)}},{key:"supply_order_item",fn:function(o){var a=o.text,n=o.record;return t("span",{},e._l(a,(function(o,s){var r,i,c,d;return a.length>0?t("div",{key:o.sku_id,staticStyle:{display:"flex","margin-bottom":"10px"}},[t("div",[t("a-avatar",{attrs:{shape:"square",size:85,src:o.main_img_url}}),t("div",{staticStyle:{"margin-top":"0.5rem"}},[t("a-tag",{attrs:{color:2==o.main_mailing_mode?"red":"green"}},[1===e.shopId?t("div",[2==o.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself"))+" ")]):e._e(),1==o.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):e._e(),0==o.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==o.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself1"))+" ")]):e._e(),1==o.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):e._e(),0==o.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(o,n))}})],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(o.main_title)+" ")])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},["string"==typeof o.main_sku_prop?t("span",[e._v(" "+e._s(o.main_sku_prop)+" "),t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(o.main_num)+" ")],1):t("span",e._l(o.main_sku_prop,(function(a,n){return t("div",{key:n},[t("span",[e._v(e._s(n)+":"+e._s(a))]),t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(o.main_num)+" ")],1)})),0)])],1),t("a-row",[null!==(r=n.order_info)&&void 0!==r&&r.currency||n.currency?t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.list.sale_price"))+" : "+e._s((null===(i=n.order_info)||void 0===i?void 0:i.currency)||n.currency)+e._s(o.main_sku_price)+" ")]):e._e(),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.barcode"))+" : "+e._s(o.main_barcode)+" ")]),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.out_id"))+" : "+e._s(o.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(o.deduction_ratio)+"%")])],1),null!==(c=n.order_info)&&void 0!==c&&c.currency||n.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=n.order_info)||void 0===d?void 0:d.currency)||n.currency)+e._s(o.deduction_fee))])],1):e._e(),s<a.length-1?t("a-divider"):e._e()],1)]):e._e()})),0)}},{key:"post_fee",fn:function(o){var a,n,s,r=o.record;return t("span",{},[null!==(a=r.order_info)&&void 0!==a&&a.post_fee&&(null!==(n=r.order_info)&&void 0!==n&&n.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.order_info.post_fee))]):e._e()])}},{key:"deduction_fee",fn:function(o){var a,n,s=o.record;return t("span",{},[null!==(a=s.order_info)&&void 0!==a&&a.currency||s.currency?t("span",[e._v(e._s((null===(n=s.order_info)||void 0===n?void 0:n.currency)||s.currency)+e._s(s.deduction_fee))]):e._e()])}},{key:"deduction_status",fn:function(o){var a=o.record;return t("span",{},[1===a.deduction_status?t("span",[e._v(e._s(e.$t("ORDER_WAIT_PAYMENT")))]):e._e(),2===a.deduction_status?t("span",[e._v(e._s(e.$t("ORDER_PAID")))]):e._e(),3===a.deduction_status?t("span",[e._v(e._s(e.$t("ORDER_REFUNDED")))]):e._e()])}},{key:"payment",fn:function(o){var a=o.text,n=o.record;return t("span",{},[""===n.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(a)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.payhuobiprice"))+" : "+e._s(n.trans_currency)+e._s(n.trans_amount)+" ")])],1):e._e(),""!==n.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.shopQuoteCurrency)+" "+e._s(a)+" ")])],1):e._e()],1)}},{key:"status",fn:function(o){var a=o.text;return t("span",{},[e._v(" "+e._s(e.$t(a))+" ")])}},{key:"order_info",fn:function(o){var a=o.record;return t("span",{},[a.order_info?t("a-row",[a.order_info.last_name&&""!==a.order_info.last_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_last_name"))+" : "+e._s(a.order_info.last_name)+" ")]):e._e(),a.order_info.first_name&&""!==a.order_info.first_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_first_name"))+" : "+e._s(a.order_info.first_name)+" ")]):e._e(),a.order_info.phone&&""!=a.order_info.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(a.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:[a.order_info.country]}})],1),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(a.order_info.state)+" ")]),a.order_info.city?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(a.order_info.city)+" ")]):e._e(),a.order_info.street?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(a.order_info.street)+" ")]):e._e(),a.order_info.apartment?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(a.order_info.apartment)+" ")]):e._e(),a.order_info.zip_code?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(a.order_info.zip_code)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.memberNote"))+" : "+e._s(a.order_info.member_note)+" ")])],1):e._e()],1)}},{key:"paymemberInfo",fn:function(o){var a=o.record;return t("span",{},[t("a-row",[a.last_name&&""!==a.last_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_last_name"))+" : "+e._s(a.last_name)+" ")]):e._e(),a.first_name&&""!==a.first_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_first_name"))+" : "+e._s(a.first_name)+" ")]):e._e(),a.phone&&""!=a.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(a.phone)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_country"))+" : "+e._s(a.country)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(a.state)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(a.city)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(a.street)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(a.apartment)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(a.zip_code)+" ")]),t("a-col",{attrs:{lg:24}},[t("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===a.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(t){return e.handleModifyShipping(a)}}},[e._v(" "+e._s(e.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(o){var a=o.record;return t("span",{},[t("div",[1==e.shopId?t("complaintForm",{attrs:{refId:a.order_id,type:"supply"},on:{ok:e.handleQuery}}):e._e(),1!=e.shopId||e.loading?e._e():t("complaintDetail",{attrs:{orderId:a.order_id,type:"supply"}}),t("a",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===a.status&&1!=e.shopId&&e.isShowFahuoBtn(a)&&1!==a.is_virtual,expression:"record.status === 'ORDER_WAIT_SHIP' && shopId != 1 && isShowFahuoBtn(record) && record.is_virtual !== 1"}],on:{click:function(t){return e.handleFaHuo(a)}}},[e._v(" "+e._s(e.$t("view.order.list.ship.btn"))+" ")]),"ORDER_WAIT_PAYMENT"!==a.status&&"ORDER_WAIT_SHIP"===a.status&&1!=e.shopId&&a.isDajian&&1!==a.is_virtual?t("a-divider",{attrs:{type:"vertical"}}):e._e(),"ORDER_WAIT_PAYMENT"!==a.status&&1!=e.shopId&&a.isDajian&&1!==a.is_virtual?t("a",{on:{click:function(t){return e.pushDaJian(a)}}},[e._v(e._s(e.$t("view.order.list.pushdajian")))]):e._e(),t("a",{directives:[{name:"show",rawName:"v-show",value:1===a.deduction_status&&1!=e.shopId&&a.deduction_fee>0,expression:"record.deduction_status === 1 && shopId != 1 && record.deduction_fee > 0"}],on:{click:function(t){return e.supplyOrderPay(a)}}},[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)},n=[],s=o("5530"),r=o("dbc2"),i=Object(s["a"])({},r["default"]),c=i,d=(o("1d24"),o("2877")),l=Object(d["a"])(c,a,n,!1,null,null,null);t["default"]=l.exports},"8cdb":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("div")},n=[],s={name:"404"},r=s,i=o("2877"),c=Object(i["a"])(r,a,n,!1,null,"206078e4",null);t["default"]=c.exports},"924b":function(e,t,o){e.exports=o.p+"img/img01.319f61f4.png"},"92c5":function(e,t,o){},"945a":function(e,t,o){"use strict";o.r(t);o("a9e3"),o("b64b");var a=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(o,a){return t("div",{key:a,staticStyle:{"padding-bottom":"2rem"}},[t("div",{staticStyle:{"margin-bottom":"1rem"}},[t("kandengGoodsOne",{attrs:{goodsList:e.goodList,goodsId:a}})],1),t("a-collapse",{model:{value:e.plActicty,callback:function(t){e.plActicty=t},expression:"plActicty"}},[t("a-collapse-panel",{attrs:{header:a+e.$t("view.item.form.pl.form.params.label")}},[t("div",{staticStyle:{padding:"1rem 0"}},[t("a-form-model",e._b({ref:"netseaGoodInfoForm"+a,refInFor:!0,attrs:{model:o,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"+a},model:{value:o.product_name,callback:function(t){e.$set(o,"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:o.category_id,callback:function(t){e.$set(o,"category_id",t)},expression:"netseaGoodInfo.category_id"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netesa.product.category")}},[e.netseaGenereArray[a]&&e.netseaGenereArray[a].netseaGenereList?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,0,a)}},model:{value:e.firstCatId[a],callback:function(t){e.$set(e.firstCatId,a,t)},expression:"firstCatId[good_id]"}},e._l(e.netseaGenereArray[a].netseaGenereList,(function(o,a){return t("a-select-option",{key:a,attrs:{value:o.cat_id}},[e._v(" "+e._s(o.cat_name)+" ")])})),1):e._e(),e.netseaGenereArray[a]&&e.netseaGenereArray[a].netseaGenereList1.length?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,1,a)}},model:{value:e.secondCatId[a],callback:function(t){e.$set(e.secondCatId,a,t)},expression:"secondCatId[good_id]"}},e._l(e.netseaGenereArray[a].netseaGenereList1,(function(o,a){return t("a-select-option",{key:a,attrs:{value:o.cat_id}},[e._v(" "+e._s(o.cat_name)+" ")])})),1):e._e(),e.netseaGenereArray[a]&&e.netseaGenereArray[a].netseaGenereList2.length?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,2,a)}},model:{value:e.thirdCatId[a],callback:function(t){e.$set(e.thirdCatId,a,t)},expression:"thirdCatId[good_id]"}},e._l(e.netseaGenereArray[a].netseaGenereList2,(function(o,a){return t("a-select-option",{key:a,attrs:{value:o.cat_id}},[e._v(" "+e._s(o.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:o.product_id,callback:function(t){e.$set(o,"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:o.sales_status_code,callback:function(t){e.$set(o,"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:o.sales_method_code,callback:function(t){e.$set(o,"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:o.publish_period_start,callback:function(t){e.$set(o,"publish_period_start",t)},expression:"netseaGoodInfo.publish_period_start"}}),t("a-date-picker",{attrs:{"show-time":""},model:{value:o.publish_period_end,callback:function(t){e.$set(o,"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:o.price_closed_flag,callback:function(t){e.$set(o,"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:o.product_ship_setting_code,callback:function(t){e.$set(o,"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:o.product_ship_fee,callback:function(t){e.$set(o,"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(a)}},model:{value:e.netProductDiscountCodeList[a],callback:function(t){e.$set(e.netProductDiscountCodeList,a,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[a]?t("a-input-number",{staticStyle:{width:"100px"},model:{value:o.product_discount.product_discount_rate,callback:function(t){e.$set(o.product_discount,"product_discount_rate",t)},expression:"netseaGoodInfo.product_discount.product_discount_rate"}}):e._e(),e._v(" % "),e.netProductDiscountCodeList[a]?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:o.product_discount.product_discount_period_start,callback:function(t){e.$set(o.product_discount,"product_discount_period_start",t)},expression:"netseaGoodInfo.product_discount.product_discount_period_start"}}):e._e(),e.netProductDiscountCodeList[a]?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:o.product_discount.product_discount_period_end,callback:function(t){e.$set(o.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:o.volume_discount_target_flag,callback:function(t){e.$set(o,"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:o.image_repost_flag,callback:function(t){e.$set(o,"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(o.images,(function(o,n){return t("div",{directives:[{name:"show",rawName:"v-show",value:o.image_url,expression:"image.image_url"}],key:n,staticStyle:{"margin-bottom":"20px",width:"100px",height:"100px","margin-left":"10px",float:"left"}},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:o.image_url}}),t("br"),e.imageSizeArr&&Object.keys(e.imageSizeArr)?t("div",{style:{textAlign:"center",color:e.imageSizeArr[o.image_no]>500?"#f00":"#000"}},[e._v(" "+e._s(e.imageSizeArr[o.image_no])+"K "),t("a-icon",{attrs:{type:"delete"},on:{click:function(t){return e.deleteImage(o.image_no,a)}}})],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"+a},model:{value:o.catchcopy,callback:function(t){e.$set(o,"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"+a},model:{value:o.comment,callback:function(t){e.$set(o,"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"+a},model:{value:o.description_for_consumer,callback:function(t){e.$set(o,"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"+a},model:{value:o.size,callback:function(t){e.$set(o,"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"+a},model:{value:o.spec,callback:function(t){e.$set(o,"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"+a},model:{value:o.spec_for_consumer,callback:function(t){e.$set(o,"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"+a},model:{value:o.notes,callback:function(t){e.$set(o,"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":o.product_set,"row-key":function(e){return e.set_no},pagination:!1},scopedSlots:e._u([{key:"set_branch_code",fn:function(o,n){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_branch_code"+a},model:{value:n.set_branch_code,callback:function(t){e.$set(n,"set_branch_code",t)},expression:"record.set_branch_code"}})],1)}},{key:"set_label",fn:function(o,n){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_label"+a},model:{value:n.set_label,callback:function(t){e.$set(n,"set_label",t)},expression:"record.set_label"}})],1)}},{key:"set_reference_price",fn:function(o,n){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_reference_price"+a},model:{value:n.set_reference_price,callback:function(t){e.$set(n,"set_reference_price",t)},expression:"record.set_reference_price"}})],1)}},{key:"set_price",fn:function(o,n){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_price"+a},model:{value:n.set_price,callback:function(t){e.$set(n,"set_price",t)},expression:"record.set_price"}})],1)}},{key:"set_sku_number",fn:function(o,a){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_sku_number"},model:{value:a.set_sku_number,callback:function(t){e.$set(a,"set_sku_number",t)},expression:"record.set_sku_number"}})],1)}},{key:"set_stock_number",fn:function(o,a){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_stock_number"},model:{value:a.set_stock_number,callback:function(t){e.$set(a,"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"+a},model:{value:o.delivery_terms,callback:function(t){e.$set(o,"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:o.return_setting_code,callback:function(t){e.$set(o,"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(o.search_tags,(function(o,n){return t("div",{key:n,staticStyle:{"margin-bottom":"10px"}},[e._v(" "+e._s(e.$t("components.netsea.product.search_tag"))+e._s(n+1)+": "),t("a-input",{staticStyle:{width:"200px"},attrs:{name:"search_tag_text"+a},model:{value:o.search_tag_text,callback:function(t){e.$set(o,"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:o.stamp_id,callback:function(t){e.$set(o,"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"+a},model:{value:o.jan_code,callback:function(t){e.$set(o,"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"+a},model:{value:o.maker_code,callback:function(t){e.$set(o,"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:o.reference_price_type_code,callback:function(t){e.$set(o,"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:o.consumption_tax_type_code,callback:function(t){e.$set(o,"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(o,a){return t("div",{key:a,staticStyle:{"margin-bottom":"10px"}},[e._v(" "+e._s(e.$t("components.netsea.product.search_tag"))+e._s(a+1)+": "),t("a-input",{staticStyle:{width:"200px"},attrs:{name:"search_tag_text"},model:{value:o.search_tag_text,callback:function(t){e.$set(o,"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)},n=[],s=o("5530"),r=o("c7eb"),i=o("1da1"),c=(o("d3b7"),o("3ca3"),o("ddb0"),o("25f0"),o("b680"),o("d81d"),o("fb6a"),o("159b"),o("7db0"),o("a026")),d=o("c1df"),l=o.n(d),p=o("8caa"),u=Object(c["b"])((function(){return Promise.resolve().then(o.bind(null,"2dd7"))})),m=Object(c["b"])((function(){return o.e("chunk-458b8d3f").then(o.bind(null,"16f2"))})),_=Object(c["b"])((function(){return o.e("chunk-458b8d3f").then(o.bind(null,"12b1"))})),f=Object(c["b"])((function(){return o.e("lang-zh-TW-service~f63b1681").then(o.bind(null,"5f19"))})),g={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,o){return t.netseaPublication(e)}))).then((function(e){t.$message.destroy()}))},netseaPublication:function(e,t){var o=this,a=this,n={};return n.good_id=e.good_id,n.app_key=this.netseaShop.app_key,a.netseaGenereArray[e.good_id]={netseaGenereList:[],netseaGenereList1:[],netseaGenereList2:[]},Object(p["d"])(n).then((function(t){if(0===t.code){a.netseaGoodInfoList[e.good_id]=t.product_info,a.getParentCategory(a.netseaGoodInfoList[e.good_id].category_id,e.good_id),a.imageSizeArr={};var n=[];return a.netseaGoodInfoList[e.good_id].images&&a.netseaGoodInfoList[e.good_id].images.map((function(e){e.image_url&&n.push(a.getImageSizeInKB(e.image_url).then((function(t){return a.imageSizeArr[e.image_no]=t.toFixed(2),t})))})),Promise.all(n).then((function(){a.imageSizeArr=Object.assign({},a.imageSizeArr)})),a.netseaGoodInfoList[e.good_id].publish_period_start&&(a.netseaGoodInfoList[e.good_id].publish_period_start=new Date(1e3*a.netseaGoodInfoList[e.good_id].publish_period_start).toISOString().slice(0,19)),a.netseaGoodInfoList[e.good_id].publish_period_end&&(a.netseaGoodInfoList[e.good_id].publish_period_end=new Date(1e3*a.netseaGoodInfoList[e.good_id].publish_period_end).toISOString().slice(0,19)),a.netseaGoodInfoList[e.good_id].product_discout?(a.netProductDiscountCodeList[e.good_id]=!0,a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start=a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start?new Date(1e3*a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start).toISOString().slice(0,19):"",a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end=a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end?new Date(1e3*a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end).toISOString().slice(0,19):""):(a.netProductDiscountCodeList[e.good_id]=!1,a.netseaGoodInfoList[e.good_id].product_discount={product_discount_rate:"",product_discount_period_start:"",product_discount_period_end:""}),a.app_key=o.netseaShop.app_key,a.getNetSeaGenere(0,0,e.good_id),a.$set(o,"netseaGoodInfoList",Object.assign({},a.netseaGoodInfoList)),o.netseaShop.loading=!1,t}}))},getParentCategory:function(e,t){var o=this,a=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(a){if(0===a.p_cat_id)o.categoryHierarchyList[t].level1=a;else{var n=e.data.find((function(e){return e.cat_id===a.p_cat_id}));n&&0===n.p_cat_id?o.categoryHierarchyList[t].level2=a:o.categoryHierarchyList[t].level3=a}})),o.firstCatId[t]=o.categoryHierarchyList[t].level1.cat_id,o.secondCatId[t]=o.categoryHierarchyList[t].level2.cat_id,a.getNetSeaGenere(o.firstCatId[t],1,t),o.thirdCatId[t]=o.categoryHierarchyList[t].level3.cat_id,a.getNetSeaGenere(o.secondCatId[t],2,t),o.$set(o,"categoryHierarchyList",Object.assign({},o.categoryHierarchyList)),o.$set(o,"firstCatId",Object.assign({},o.firstCatId)),o.$set(o,"secondCatId",Object.assign({},o.secondCatId)),o.$set(o,"thirdCatId",Object.assign({},o.thirdCatId)))}))},getNetSeaGenere:function(e,t,o){var a=this,n=this,s={};return s.cat_id=e,Object(p["a"])(s).then((function(e){if(0===e.code)switch(t){case 0:n.netseaGenereArray[o].netseaGenereList=e.data;break;case 1:n.netseaGenereArray[o].netseaGenereList1=e.data;break;case 2:n.netseaGenereArray[o].netseaGenereList2=e.data;break}return a.$set(a,"netseaGenereArray",Object.assign({},a.netseaGenereArray)),e}))},selectNetSeaGenre:function(e,t,o){var a=this,n={};switch(t){case 0:a.netseaGenereArray[o].netseaGenereList1=[],a.netseaGenereArray[o].netseaGenereList2=[],a.netseaGenereArray[o].netseaGenereList3=[],a.secondCatId[o]=0,a.thirdCatId[o]=0,n=a.netseaGenereArray[o].netseaGenereList.find((function(t){return t.cat_id===e}));break;case 1:a.netseaGenereArray[o].netseaGenereList2=[],a.netseaGenereArray[o].netseaGenereList3=[],a.thirdCatId[o]=0,n=a.netseaGenereArray[o].netseaGenereList1.find((function(t){return t.cat_id===e}));break;case 2:a.netseaGenereArray[o].netseaGenereList3=[],n=a.netseaGenereArray[o].netseaGenereList2.find((function(t){return t.cat_id===e}));break}n&&(0===n.p_cat_id?a.getNetSeaGenere(n.cat_id,1,o).then((function(e){a.netseaGenereArray[o].netseaGenereList&&(a.secondCatId[o]=a.netseaGenereArray[o].netseaGenereList1[0].cat_id,a.getNetSeaGenere(a.secondCatId[o],2,o).then((function(e){a.netseaGenereArray[o].netseaGenereList1&&(a.thirdCatId[o]=a.netseaGenereArray[o].netseaGenereList2[0].cat_id,a.netseaGoodInfoList[o].category_id=a.thirdCatId[o])})))})):n.p_cat_id===a.firstCatId[o]?a.getNetSeaGenere(n.cat_id,2,o).then((function(e){a.netseaGenereArray[o].netseaGenereList2&&(a.thirdCatId[o]=a.netseaGenereArray[o].netseaGenereList2[0].cat_id,a.netseaGoodInfoList[o].category_id=a.thirdCatId[o])})):n.p_cat_id===a.secondCatId[o]&&(a.thirdCatId[o]=n.cat_id,a.secondCatId[o]&&(a.netseaGoodInfoList[o].category_id=a.thirdCatId[o])))},discountSwitch:function(e){this.$set(this,"netProductDiscountCodeList",Object.assign({},this.netProductDiscountCodeList))},getImageSizeInKB:function(e){return Object(i["a"])(Object(r["a"])().mark((function t(){return Object(r["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 o=[];this.goodsIds.map((function(e,a){t.$refs["netseaGoodInfoForm"+e]&&t.$refs["netseaGoodInfoForm"+e][0]&&o.push(new Promise((function(o,a){try{t.$refs["netseaGoodInfoForm"+e][0].validate((function(n,s){n?o("success"):Object.keys(s)&&Object.keys(s)[0]&&a(new Error(t.$t("view.item.list.good_id")+e+s[Object.keys(s)[0]][0].message))}))}catch(n){a(new Error(n))}})))})),Promise.all(o).then((function(o){var a=[],n=e._.map(e.netseaGoodInfoList,(function(o,n){var s={};if(s.data=JSON.parse(JSON.stringify(o)),o.publish_period_start&&(s.data.publish_period_start=new Date(l()(s.data.publish_period_start).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),o.publish_period_end&&(s.data.publish_period_end=new Date(l()(s.data.publish_period_end).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),t.netProductDiscountCodeList[n]){if(!s.data.product_discount.product_discount_rate)return t.$message.error(t.$t("view.item.form.product_discount_rate.notnull")),"itemInfo";try{s.data.product_discount.product_discount_period_start=new Date(l()(s.data.product_discout.product_discount_period_start).format("YYYY-MM-DD HH:00:00")).getTime()/1e3,s.data.product_discount.product_discount_period_end=new Date(l()(s.data.product_discout.product_discount_period_end).format("YYYY-MM-DD HH:00:00")).getTime()/1e3}catch(c){}}else delete s.data.product_discount;if(s.data.good_id=n,!s.data.product_name)return t.$message.error(t.$t("view.item.form.item_name.notnull")),t.confirmNSLoading=!1,"title";if(!e.isWithinMaxLength(s.data.product_name,50))return t.$message.error(t.$t("view.item.form.item_name.maxlength")),document.getElementById("product_name"+n)&&document.getElementById("product_name"+n).focus(),t.confirmNSLoading=!1,"title";if(s.data.catchcopy&&!e.isWithinMaxLength(s.data.catchcopy,50))return t.$message.error(t.$t("view.item.form.catchcopy.maxlength")),document.getElementById("catchcopy"+n)&&document.getElementById("catchcopy"+n).focus(),t.confirmNSLoading=!1,"category";if(s.data.comment&&!e.isWithinMaxLength(s.data.comment,1e3))return t.$message.error(t.$t("view.item.form.comment.maxlength")),document.getElementById("comment"+n)&&document.getElementById("comment"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.description_for_consumer&&!e.isWithinMaxLength(s.data.description_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.description_for_consumer.maxlength")),document.getElementById("description_for_consumer"+n)&&document.getElementById("description_for_consumer"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.size&&!e.isWithinMaxLength(s.data.size,1e3))return t.$message.error(t.$t("view.item.form.size.maxlength")),document.getElementById("size"+n)&&document.getElementById("size"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.spec&&!e.isWithinMaxLength(s.data.spec,1e3))return t.$message.error(t.$t("view.item.form.spec.maxlength")),document.getElementById("spec"+n)&&document.getElementById("spec"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.spec_for_consumer&&!e.isWithinMaxLength(s.data.spec_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.spec_for_consumer.maxlength")),document.getElementById("spec_for_consumer"+n)&&document.getElementById("spec_for_consumer"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.notes&&!e.isWithinMaxLength(s.data.notes,5e3))return t.$message.error(t.$t("view.item.form.notes.maxlength")),document.getElementById("notes"+n)&&document.getElementById("notes"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.delivery_terms&&!e.isWithinMaxLength(s.data.delivery_terms,50))return t.$message.error(t.$t("view.item.form.delivery_terms.maxlength")),document.getElementById("delivery_terms"+n)&&document.getElementById("delivery_terms"+n).focus(),t.confirmNSLoading=!1,"other";if(s.data.search_tags.length>0)for(var r=0;r<s.data.search_tags.length;r++)if(!e.isWithinMaxLength(s.data.search_tags[r].search_tag_text,10))return t.$message.error(t.$t("view.item.form.search_tags.maxlength")),document.getElementsByName("search_tag_text"+n)[r]&&document.getElementsByName("search_tag_text"+n)[r].focus(),t.confirmNSLoading=!1,"other";if(s.data.jan_code&&!e.isWithinMaxLength(s.data.jan_code,13))return t.$message.error(t.$t("view.item.form.jan_code.maxlength")),document.getElementById("jan_code"+n)&&document.getElementById("jan_code"+n).focus(),t.confirmNSLoading=!1,"other";if(s.data.maker_code&&!e.isWithinMaxLength(s.data.maker_code,30))return t.$message.error(t.$t("view.item.form.maker_code.maxlength")),document.getElementById("maker_code"+n)&&document.getElementById("maker_code"+n).focus(),t.confirmNSLoading=!1,"other";if(s.data.product_set.length>0)for(var i=0;i<s.data.product_set.length;i++){if(!e.isWithinMaxLength(s.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"+n)[i]&&document.getElementsByName("set_branch_code"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(!e.isWithinMaxLength(s.data.product_set[i].set_label,30))return t.$message.error(t.$t("view.item.form.set_label.maxlength")),document.getElementsByName("set_label"+n)[i]&&document.getElementsByName("set_label"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(!s.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"+n)[i]&&document.getElementsByName("set_reference_price"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(s.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"+n)[i]&&document.getElementsByName("set_reference_price"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(!s.data.product_set[i].set_price)return t.$message.error(t.$t("view.item.form.set_price.notnull")),document.getElementsByName("set_price"+n)[i]&&document.getElementsByName("set_price"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(s.data.product_set[i].set_price))return t.$message.error(t.$t("view.item.form.set_price.number")),document.getElementsByName("set_price"+n)[i]&&document.getElementsByName("set_price"+n)[i].focus(),t.confirmNSLoading=!1,"sku"}a.push(s.data)}));n=t._.compact(n),a.length>0&&0===n.length?Object(p["f"])({data:a,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)})):n.length>0&&(t.confirmNSLoading=!1,e.formEditKey=n[0])})).catch((function(e){t.confirmNSLoading=!1,t.$message.error(e)}))},isWithinMaxLength:function(e,t){for(var o=0,a=0;a<e.length;a++)o+=1;return o<=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,o=this;this._.map(this.netseaGoodInfoList,(function(a,n){"itemInfo"===e&&t.TemplateData["product_ship_setting_code"]&&(o.netProductDiscountCodeList[n]=!0,o.netseaGoodInfoList[n].product_discount=o.TemplateData.product_discount),o.plDataFields[e].map((function(e){o.netseaGoodInfoList[n][e]=o.TemplateData[e]}))})),this.$set(this,"netseaGoodInfoList",Object.assign({},this.netseaGoodInfoList))}},components:{AntModal:u,goodsIdList:m,leftTabItem:_,kandengGoodsOne:f}},h=Object(s["a"])({},g),v=h,y=o("2877"),b=Object(y["a"])(v,a,n,!1,null,null,null);t["default"]=b.exports},abd6:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("span",[t("a-button",{attrs:{type:"primary"},on:{click:e.handleClick}},[e._v(e._s(e.$t("view.warehouse.form.stocks.update")))]),t("ant-modal",{attrs:{visible:e.visable,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:"600",modalWidth:"800"},on:{cancel:function(t){return e.closeModal()}}},[t("div",{staticClass:"orderDetail",attrs:{slot:"content"},slot:"content"},[t("a-form-model",e._b({ref:"form",attrs:{model:e.stockForm}},"a-form-model",e.itemLayout,!1),[t("a-form-model-item",{attrs:{"has-feedback":"",label:""}},[t("div",{staticStyle:{display:"flex"}},[t("div",[e._v(e._s(e.$t("view.warehouse.list.name"))+":")]),e.visable?t("wareHouseInfo",{attrs:{warehouseId:e.wareHouseId}}):e._e()],1)]),t("a-form-model-item",{attrs:{"has-feedback":"",label:"",prop:"shipment_id"}},[t("div",[e._v(e._s(e.$t("view.warehouse.list.stock.list.label")))]),t("a-textarea",{attrs:{rows:10,placeholder:e.$t("view.warehouse.list.stock.list.placeholder")},model:{value:e.stockForm.stockRow,callback:function(t){e.$set(e.stockForm,"stockRow",t)},expression:"stockForm.stockRow"}})],1)],1),t("a-form-model-item",{attrs:{"has-feedback":""}},[t("a-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v(" "+e._s(e.$t("component.artilce.save.button"))+" ")])],1)],1),t("template",{slot:"footer"},[t("a-button",{on:{click:e.closeModal}},[e._v(e._s(e.$t("component.artilce.close.button")))])],1)],2)],1)},n=[],s=o("5530"),r=(o("d3b7"),o("3ca3"),o("ddb0"),o("a9e3"),o("d81d"),o("2dd7")),i=o("89f8"),c=o("a026"),d=Object(c["b"])((function(){return Promise.resolve().then(o.bind(null,"f2b2"))})),l={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:d},methods:{closeModal:function(){this.visable=!1},handleClick:function(){this.formTitle=this.$t("view.warehouse.form.stocks.update"),this.visable=!0},handleChange1:function(e){this.stockForm.warehouse_id=e},handleChange:function(e,t){this.forms[t].warehouse_id=e},submitForm:function(){var e=this,t=[],o=this.stockForm.stockRow.split("\n");o.map((function(o){var a=o.split(",");t.push({out_id:a[0],stock_quantity:a[1],warehouse_id:e.wareHouseId})})),t&&t.length>0&&Object(i["b"])({stock_details:t}).then((function(t){0===t.code&&(e.$message.success(e.$t("view.warehouse.list.stock.list.success")),e.visable=!1,e.$emit("ok"))}))}}},p=Object(s["a"])({},l),u=p,m=o("2877"),_=Object(m["a"])(u,a,n,!1,null,null,null);t["default"]=_.exports},aee6:function(e,t,o){"use strict";o.r(t);var a=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)},n=[],s=o("5530"),r=o("c7eb"),i=o("1da1"),c=(o("d3b7"),o("3ca3"),o("ddb0"),o("d81d"),o("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(r["a"])().mark((function t(){return Object(r["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(r["a"])().mark((function t(o,a){var n;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={good_id:o},t.next=3,Object(c["p"])(n);case 3:e.list[o]=t.sent;case 4:case"end":return t.stop()}}),t)})));return function(e,o){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(s["a"])({},d),p=l,u=o("2877"),m=Object(u["a"])(p,a,n,!1,null,null,null);t["default"]=m.exports},d936:function(e,t,o){"use strict";o("92c5")},dc25:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("a-modal",{attrs:{visible:e.Visible,zIndex:1e21,footer:null},on:{cancel:e.handleCancel}},[e.isVideo?t("video",{staticStyle:{width:"100%"},attrs:{controls:"",src:e.previewImage}},[t("source",{attrs:{src:e.previewImage,type:"video/*",autoplay:!0,muted:"",preload:"load",loop:""}})]):t("img",{staticStyle:{width:"100%"},attrs:{alt:"example",src:e.previewImage}})])],1)},n=[],s={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=s,i=o("2877"),c=Object(i["a"])(r,a,n,!1,null,null,null);t["default"]=c.exports},e46b:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{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:0}},[t("a-col",{attrs:{md:6,sm:24,lg:8}},[t("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:e.$t("view.order.list.orderno")}},[t("a-input",{attrs:{placeholder:e.$t("view.order.list.inputorderno"),"allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.order_id,callback:function(t){e.order_id=t},expression:"order_id"}})],1)],1),t("a-col",{attrs:{md:6,sm:24,lg:8}},[t("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:e.$t("view.purchaseOrder.list.purchaseId")}},[t("a-input",{attrs:{placeholder:e.$t("view.purchaseOrder.list.purchaseId"),"allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.purchase_id,callback:function(t){e.purchase_id=t},expression:"purchase_id"}})],1)],1),t("a-col",[t("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[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.order.afterorder")}})],1)])],1)],1)],1)]),e.orderDetailModal?t("order-detail",{ref:"OrderDetail",on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t("advance-table",{attrs:{loading:e.loading,size:"middle","row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},"format-conditions":!1,columns:e.columns,"data-source":e.list,rowKey:"after_sale_id",tableKey:"test-cat-catlist-table",expandedRowKeys:e.expandedRowKeys,pagination:{current:e.queryParam.page_no,pageSize:e.queryParam.limit,total:e.total_count,showSizeChanger:!0,showLessItems:!1,showQuickJumper:!1,showTotal:function(t,o){return e.$t("view.order.list.table.total",{num:o[0]+"-"+o[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(o){var a=o.text,n=o.record;return t("span",{},[t("a",{on:{click:function(t){return e.handleOrderDetail(n)}}},[e._v(" "+e._s(a)+" ")])])}},{key:"refund_amt",fn:function(o){var a=o.record;return t("span",{},[e._v(" "+e._s(a.currency+a.refund_amt)+" ")])}},{key:"after_sale_type",fn:function(o){var a=o.record;return t("span",{},[t("div",[0===a.after_sale_type?t("div",[e._v(e._s(e.$t("app.menus.left.order")))]):e._e(),1===a.after_sale_type?t("div",[e._v(e._s(e.$t("app.menus.left.supply.supplyOrder")))]):e._e()])])}},{key:"after_sale_item",fn:function(o){var a=o.text;return t("span",{},e._l(a,(function(o){return t("a-row",{key:o.sku_id,attrs:{type:"flex"}},[t("a-col",[t("a-avatar",{attrs:{shape:"square",size:85,src:o.img_url}})],1),t("a-col",{staticStyle:{"margin-left":"10px"},attrs:{flex:3}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(o.title)+" ")])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(" "+e._s(o.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(o.num)+" ")],1)],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},["string"==typeof o.sku_prop?t("span",[e._v(" "+e._s(o.sku_prop)+" ")]):t("span",e._l(o.sku_prop,(function(o,a){return t("div",{key:a},[t("span",[e._v(e._s(a)+":"+e._s(o))])])})),0)])],1)],1)],1)})),1)}},{key:"status",fn:function(o){var a=o.text;return t("span",{},[e._v(" "+e._s(e.$t(a))+" ")])}},{key:"operation",fn:function(o){var a=o.record;return t("span",{},["processing"===a.status?t("a",{on:{click:function(t){return e.handleRefund(a)}}},[e._v(" "+e._s(e.$t("view.order.after_sale.list.returnfull_btn"))+" ")]):e._e()])}}])})],1)],1)},n=[],s=o("5530"),r=o("8d52"),i=Object(s["a"])({},r["default"]),c=i,d=o("2877"),l=Object(d["a"])(c,a,n,!1,null,null,null);t["default"]=l.exports},f7f8:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("span",[e.hiddenIcon?e._e():t("a-tooltip",[t("template",{slot:"title"},[e._v(" "+e._s(e.$t("components.videoTrans.btn"))+" ")]),t("a-icon",{attrs:{type:"file-image"},on:{click:e.openModal}})],2),e.hiddenIcon?t("a-button",{attrs:{type:e.btnType,loading:e.loading},on:{click:e.openModal}},[e._v(e._s(e.$t("components.videoTrans.btn")))]):e._e(),t("AntModal",{attrs:{visible:e.visible,title:e.modelTitle,modalWidth:"800",modalHeight:"650","adjust-size":!0},on:{cancel:e.close},scopedSlots:e._u([{key:"footer",fn:function(){return[t("recharge",{ref:"yueref",attrs:{showYue:!0}}),t("a-button",{staticStyle:{"margin-left":"5px"},on:{click:e.close}},[e._v(e._s(e.$t("components.videoTrans.translation.close")))]),e.hiddenConfirm?e._e():t("a-button",{attrs:{type:"primary"},on:{click:e.ok}},[e._v(e._s(e.$t("components.imagetext.translation.ok")))])]},proxy:!0}])},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"290px"}},[t("div",[e._v(e._s(e.$t("components.imagetext.translation.before")))]),t("div",{staticStyle:{width:"290px",height:"290px"}},[t("video",{ref:"sfGalleryBigImage",staticStyle:{"object-position":"top","max-height":"290px"},attrs:{autoplay:!1,muted:"",preload:"load",loop:"",src:e.url,width:"100%",height:"100%",controls:"controls",playsinline:""},domProps:{muted:!0}},[t("source",{attrs:{src:e.url,type:"video/*"}})])]),t("div",{staticStyle:{"margin-top":"1rem"}},[e._v(" "+e._s(e.$t("components.imagetext.translation.sourceLang"))+": "),t("a-select",{staticStyle:{width:"60%"},on:{change:e.changeCurrentLang},model:{value:e.currentLang,callback:function(t){e.currentLang=t},expression:"currentLang"}},e._l(e.langLabel,(function(o,a){return t("a-select-option",{key:a,attrs:{value:a}},[e._v(" "+e._s(e.$t(o))+" ")])})),1)],1)]),t("div",{staticStyle:{flex:"1","text-align":"center"}},[t("div",{staticStyle:{height:"311px","align-items":"center","justify-content":"center",display:"flex"}},[t("a-icon",{staticStyle:{"font-size":"2rem"},attrs:{type:"arrow-right"}})],1)]),t("div",{staticStyle:{width:"290px"}},[t("div",[e._v(e._s(e.$t("components.imagetext.translation.after")))]),t("div",{style:{width:"290px",height:"290px",border:e.newUrl?"":"1px solid #ccc"}},[e.newUrl?t("video",{ref:"sfGalleryBigImage",staticStyle:{"object-position":"top","max-height":"290px"},attrs:{autoplay:!1,muted:"",preload:"load",loop:"",src:e.newUrl,width:"100%",height:"100%",controls:"controls",playsinline:""},domProps:{muted:!0}},[t("source",{attrs:{src:e.newUrl,type:"video/*"}})]):e._e()]),t("div",{staticStyle:{"margin-top":"1rem","text-align":"right"}},[e._v(" "+e._s(e.$t("components.imagetext.translation.targetLang"))+": "),t("a-select",{staticStyle:{width:"60%"},on:{change:e.changeTransLang},model:{value:e.transLang,callback:function(t){e.transLang=t},expression:"transLang"}},e._l(e.langLabel,(function(o,a){return t("a-select-option",{key:a,attrs:{value:a}},[e._v(" "+e._s(e.$t(o))+" ")])})),1)],1)])]),t("div"),t("div",{staticStyle:{"margin-top":"1rem","text-align":"center"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.transImg}},[e._v(e._s(e.$t("components.imagetext.translation.translate")))]),t("selectVideo",{ref:"selectVideo",staticStyle:{"margin-left":"0.5rem"},on:{ok:function(t){return e.newUrl=t}}})],1)])])],1)},n=[],s=(o("d3b7"),o("3ca3"),o("ddb0"),o("ac1f"),o("5319"),o("a026")),r=o("3726"),i=Object(s["b"])((function(){return Promise.resolve().then(o.bind(null,"2dd7"))})),c=Object(s["b"])((function(){return Promise.resolve().then(o.bind(null,"b89c"))})),d=Object(s["b"])((function(){return Promise.resolve().then(o.bind(null,"34c3"))})),l=Object(s["b"])((function(){return o.e("chunk-458b8d3f").then(o.bind(null,"09e9e"))})),p="videoTs-TranEngMode",u="videoTs-CurrentLang",m="videoTs-TransLang",_={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(u)&&(this.currentLang=sessionStorage.getItem(u)),sessionStorage.getItem(m)&&(this.transLang=sessionStorage.getItem(m))},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 e=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(){e.$emit("update:url",e.newUrl),e.$emit("ok",e.newUrl),e.close()},onCancel:function(){}})},transImg:function(){var e=this,t=(new Date).toLocaleDateString().replace(/\//g,"");Object(r["f"])({source_url:this.url,source_lang:this.currentLang,target_lang:this.transLang,project_name:t}).then((function(t){e.newUrl=t.video_url+"?t="+(new Date).getTime(),e.$refs.yueref.getAmount(),e.$message.success(e.$t("components.videoTrans.aivideo.loding"),2),setTimeout((function(){e.$refs.selectVideo&&e.$refs.selectVideo.openModal()}),2e3)})).catch((function(e){}))},changeTranEngData:function(e){sessionStorage.setItem(p,e)},changeCurrentLang:function(e){sessionStorage.setItem(u,e)},changeTransLang:function(e){sessionStorage.setItem(m,e)}},components:{AntModal:i,recharge:c,defaultCurrency:d,selectVideo:l}},f=_,g=o("2877"),h=Object(g["a"])(f,a,n,!1,null,null,null);t["default"]=h.exports}}]);
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-458b8d3f"],{"09e9e":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("span",[t("a-button",{attrs:{type:"primary"},on:{click:e.openModal}},[e._v(e._s(e.$t("components.videoTrans.selectVideo.btn")))]),t("ant-modal",{attrs:{"modal-title":e.title,visible:e.open,modalWidth:e.isMobile?"100vw":"1000",modalHeight:"750",modalCancelText:e.$t("component.artilce.close.button")},on:{ok:e.ok,cancel:e.close}},[t("template",{slot:"content"},[t("videoList",{on:{ok:e.back}})],1)],2)],1)},r=[],o=a("5530"),n=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),s=a("2dd7"),l=a("2f62"),c=Object(n["b"])((function(){return a.e("chunk-458b8d3f").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(o["a"])({},Object(l["c"])(["isMobile"])),methods:{openModal:function(){this.open=!0},close:function(){this.open=!1},back:function(e){this.videoUrl=e},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,i,r,!1,null,null,null);t["default"]=p.exports},"0c6d":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("span",[e.complaint?t("a-button",{attrs:{type:"link"},on:{click:e.openModal}},[e._v(e._s(e.workOrderId?e.$t("view.workOrder.handle.button"):e.$t("components.complaint.detail.btn")))]):e._e(),t("ant-modal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:e.isMobile?"500":"580",modalWidth:e.isMobile?"600":"800"},on:{cancel:e.cancel}},[e.complaint&&e.open?t("div",{attrs:{slot:"content"},slot:"content"},[e.orderDetailModal?t("order-detail",{ref:"OrderDetail",on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),t("previewImg",{attrs:{previewVisible:e.previewImgShow,previewImage:e.preImg},on:{"update:previewVisible":function(t){e.previewImgShow=t},"update:preview-visible":function(t){e.previewImgShow=t}}}),t("a-form",{attrs:{"label-col":e.labelCol,"wrapper-col":e.wrapperCol},model:{value:e.complaint,callback:function(t){e.complaint=t},expression:"complaint"}},[e.workOrderList&&e.workOrderList.length>1?t("a-form-item",{attrs:{label:e.$t("components.complaint.detail.currentWorkOrder"),prop:"work_order_id"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{"default-value":e.complaint.work_order_id},on:{change:e.switchWorkOrder}},e._l(e.workOrderList,(function(a){return t("a-select-option",{key:a.work_order_id,attrs:{value:a.work_order_id}},[e._v(e._s(a.details))])})),1)],1):e._e(),2==e.complaint.work_order_type&&e.complaint.complaint_ref_id&&1==e.shop_id?t("a-form-item",{attrs:{label:e.$t("procure.list.order.order_id"),prop:"faq_id"}},[t("a",{on:{click:function(t){return e.handleOrderDetail()}}},[e._v(e._s(e.complaint.complaint_ref_id))])]):e._e(),3==e.complaint.work_order_type&&e.complaint.complaint_ref_id&&1==e.shop_id?t("a-form-item",{attrs:{label:e.$t("view.supply.list.order.id"),prop:"faq_id"}},[t("a",{on:{click:function(t){return e.handleOrderDetail()}}},[e._v(e._s(e.complaint.complaint_ref_id))])]):e._e(),t("a-form-item",{attrs:{label:e.$t("components.complaint.faqId"),prop:"faq_id"}},[t("faqType",{attrs:{value:e.complaint.faq_id,disabled:""},on:{"update:value":function(t){return e.$set(e.complaint,"faq_id",t)}}})],1),t("a-form-item",{attrs:{label:e.$t("components.complaint.detailImages"),prop:"detail_images"}},[t("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[e.complaint.detail_image_1?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_1},on:{click:function(t){return e.previewImage(e.complaint.detail_image_1)}}}):e._e(),e.complaint.detail_image_2?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_2},on:{click:function(t){return e.previewImage(e.complaint.detail_image_2)}}}):e._e(),e.complaint.detail_image_3?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_3},on:{click:function(t){return e.previewImage(e.complaint.detail_image_3)}}}):e._e(),e.complaint.detail_image_4?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_4},on:{click:function(t){return e.previewImage(e.complaint.detail_image_4)}}}):e._e(),e.complaint.detail_image_5?t("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:e.complaint.detail_image_5},on:{click:function(t){return e.previewImage(e.complaint.detail_image_5)}}}):e._e()])]),t("a-form-item",{attrs:{label:e.$t("components.complaint.details"),prop:"details"}},[t("div",{staticStyle:{width:"100%"}},[t("div",{staticStyle:{"min-height":"32px","word-break":"break-word",display:"flex","align-content":"center","align-items":"center","flex-wrap":"wrap"}},[e._v(" "+e._s(e.complaint.details)+" ")])])]),e.complaint.results?t("div",{staticStyle:{"margin-bottom":"20px"}},[t("a-list",{attrs:{"item-layout":"horizontal","data-source":e.complaint.results},scopedSlots:e._u([{key:"renderItem",fn:function(a,i){return t("a-list-item",{},[t("a-list-item-meta",[t("div",{attrs:{slot:"title"},slot:"title"},[t("div",{key:i,style:{display:"flex",justifyContent:"space-between",paddingTop:"15px",borderTop:0===i?" 1px solid #e8e8e8":"0"}},[t("div",[t("supply-info",{attrs:{shopId:a.shop_id===e.complaint.executor_shop_id?e.complaint.executor_shop_id:e.complaint.executee_shop_id}})],1),t("div",[t("div",[e._v(e._s(a.create_time))])])])]),t("div",{attrs:{slot:"description"},slot:"description"},[t("div",{domProps:{innerHTML:e._s(a.execution_result)}})])])],1)}}],null,!1,2466928742)})],1):e._e(),e.complaint&&e.complaint.status?t("a-form-item",{attrs:{label:e.$t("components.complaint.status"),prop:"status"}},[t("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"}},[t("span",{staticStyle:{"margin-right":"10px"}},[e._v(" "+e._s(e.$t("WorkOrder."+e.complaint.status)))]),"FINISHED"!=e.complaint.status?t("endingWorkOrder",{attrs:{workOrderId:e.complaint.work_order_id},on:{refresh:e.openModal}}):e._e()],1)]):e._e(),e.complaint&&"FINISHED"!=e.complaint.status?t("div",[t("commitWorkOrder",{ref:"commitWorkOrder",attrs:{isFormBtn:!1,workOrderId:e.complaint.work_order_id},on:{ok:e.openModal}})],1):e._e()],1)],1):e._e(),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("a-button",{on:{click:e.cancel}},[e._v(e._s(e.$t("components.complaint.detail.cancel")))]),e.complaint&&"FINISHED"!=e.complaint.status?t("a-button",{attrs:{type:"primary"},on:{click:e.submit}},[e._v(e._s(e.$t("view.workorder.handle.submit")))]):e._e()],1)])],1)},r=[],o=a("5530"),n=(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-458b8d3f").then(a.bind(null,"95fb"))})),f=Object(c["b"])((function(){return Promise.all([a.e("lang-package~4e34e71e"),a.e("chunk-7454876a")]).then(a.bind(null,"c03e"))})),h=Object(c["b"])((function(){return a.e("chunk-2632938e").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(e,t){this.getComplaint()}},methods:{getComplaint:function(){var e=this;Object(n["f"])({complaint_ref_id:this.orderId}).then((function(t){t.list&&t.list.length>0&&(e.workOrderList=t.list,e.complaint=t.list[t.list.length-1])}))},getWorkOrder:function(){var e=this;Object(n["c"])({work_order_id:this.workOrderId}).then((function(t){e.complaint=t}))},cancel:function(){this.open=!1},openModal:function(){this.open=!0,this.workOrderId?this.getWorkOrder():this.getComplaint()},switchWorkOrder:function(e){var t=this.workOrderList.filter((function(t){if(t.work_order_id===e)return t}));t&&t.length>0&&(this.complaint=Object.assign({},t[0]))},previewImage:function(e){this.preImg=e,this.previewImgShow=!0},submit:function(){this.$refs.commitWorkOrder.backChecked()},handleOrderDetail:function(){var e=this,t={};this.complaint.work_order_type,t.order_id=this.complaint.complaint_ref_id,this.orderDetailModal=!0,this.$nextTick((function(){return e.$refs.OrderDetail.handleOrderDetail(t)}))}},computed:Object(o["a"])({},Object(l["c"])(["shopId","isMobile"])),components:{AntModal:s["default"],faqType:m,endingWorkOrder:p,commitWorkOrder:f,supplyInfo:d["default"],previewImg:h,OrderDetail:u["default"]}},v=Object(o["a"])({},g),_=v,y=a("2877"),b=Object(y["a"])(_,i,r,!1,null,null,null);t["default"]=b.exports},"12b1":function(e,t,a){"use strict";a.r(t);var i=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)},r=[],o={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=o,s=a("2877"),l=Object(s["a"])(n,i,r,!1,null,null,null);t["default"]=l.exports},"16f2":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("span",[t("AdvanceTable",{attrs:{columns:e.Columns,"data-source":e.list,rowKey:"good_id"},scopedSlots:e._u([{key:"title",fn:function(){return[t("div")]},proxy:!0},{key:"image",fn:function(e){e.text;var a=e.record;return t("span",{},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:a.image_url}})])}}])})],1)},r=[],o=a("5530"),n=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(e,t){e!==t&&this.getGoodsList()}},created:function(){this.getGoodsList()},methods:{getGoodsList:function(){var e=this;return Object(s["a"])(Object(n["a"])().mark((function t(){return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.list=[],t.next=3,Promise.all(e.goodsIds.map(function(){var t=Object(s["a"])(Object(n["a"])().mark((function t(a,i){var r,o;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={good_id:a},t.next=3,Object(l["p"])(r);case 3:o=t.sent,e.list.push(o);case 5:case"end":return t.stop()}}),t)})));return function(e,a){return t.apply(this,arguments)}}()));case 3:return e._.size(e.list),e.$emit("back",e.list),e.$emit("update:goodsList",e.list),t.abrupt("return",e.list);case 7:case"end":return t.stop()}}),t)})))()}},components:{AdvanceTable:c["default"]}},u=Object(o["a"])({},d),m=u,p=a("2877"),f=Object(p["a"])(m,i,r,!1,null,null,null);t["default"]=f.exports},"1fc7":function(e,t,a){"use strict";a.r(t);var i=a("c0c3"),r=a("2dd7");t["default"]={name:"CreateForm",props:{typeOptions:{type:Array,required:!0}},components:{AntModal:r["default"]},data:function(){return{loading:!1,formTitle:"",form:{id:void 0,configName:void 0,configKey:void 0,configValue:void 0,configType:"Y",remark:void 0},open:!1,rules:{configName:[{required:!0,message:"参数名称不能为空",trigger:"blur"}],configKey:[{required:!0,message:"参数编码不能为空",trigger:"blur"},{validator:this.checkConfigKeyUnique}],configValue:[{required:!0,message:"参数值不能为空",trigger:"blur"}]}}},filters:{},created:function(){},computed:{},watch:{},methods:{cancel:function(){this.open=!1,this.$emit("close")},reset:function(){void 0!==this.$refs.form&&this.$refs.form.resetFields()},handleAdd:function(){this.open=!0,this.formTitle="添加参数"},handleUpdate:function(e,t){var a=this,r=e?e.id:t;Object(i["e"])(r).then((function(e){a.form=e.data,a.open=!0,a.formTitle="修改参数"}))},submitForm:function(){var e=this;this.$refs.form.validate((function(t){if(!t)return!1;void 0!==e.form.id?Object(i["i"])(e.form).then((function(t){e.$message.success("修改成功",3),e.open=!1,e.$emit("ok")})):Object(i["i"])(e.form).then((function(t){e.$message.success("新增成功",3),e.open=!1,e.$emit("ok")}))}))},checkConfigKeyUnique:function(e,t,a){var r="参数编码已存在";if(""===t)a();else{var o={configKey:t,id:void 0!==this.form.id?this.form.id:""};Object(i["a"])(o).then((function(e){"1"===e.data.code?a():a(r)}))}}}}},"270e":function(e,t,a){"use strict";a.r(t);a("b0c0");var i=function(){var e=this,t=e._self._c;return t("div",["rakuten"!==e.platform?t("div",["tiktok"==e.platform?t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.please_select_delivery"),prop:"please_select_delivery"}},[t("a-select",{attrs:{placeholder:e.$t("view.order.list.please_select_delivery")},on:{change:e.selectShippingProviders},model:{value:e.form.delivery_option_id,callback:function(t){e.$set(e.form,"delivery_option_id",t)},expression:"form.delivery_option_id"}},e._l(e.shops_delivery,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.id}},[e._v(" "+e._s(a.name)+" - "+e._s(a.type)+" ")])})),1)],1):e._e(),"tiktok"==e.platform?t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.please_select_delivery_option"),prop:"please_select_delivery_option"}},[t("a-select",{attrs:{placeholder:e.$t("view.order.list.please_select_delivery_option")},on:{change:e.selectShopsDeliveryOption}},e._l(e.shops_delivery_option,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.id}},[e._v(" "+e._s(a.id)+" - "+e._s(a.name)+" ")])})),1)],1):e._e(),"tiktok"!=e.platform?t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.ship.list.logistics_company"),prop:"logistics_name"}},["netsea"!=e.platform&&"yahoo"!=e.platform?t("a-select",{staticStyle:{width:"100%"},attrs:{"show-search":""},on:{change:e.handleChange},model:{value:e.form.logistics_name,callback:function(t){e.$set(e.form,"logistics_name",t)},expression:"form.logistics_name"}},e._l(e.options,(function(a,i){return t("a-select-opt-group",{key:i},[t("span",{attrs:{slot:"label"},slot:"label"},[t("a-icon",{attrs:{type:"user"}}),e._v(e._s(a.key))],1),e._l(a.option,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.key}},[e._v(" "+e._s(a.value)+" ")])}))],2)})),1):e._e(),"yahoo"==e.platform?t("a-select",{staticStyle:{width:"100%"},on:{change:e.handleChange},model:{value:e.form.logistics_name,callback:function(t){e.$set(e.form,"logistics_name",t)},expression:"form.logistics_name"}},e._l(e.rakutenDeliveryCompany,(function(a,i){return"yahoo"==e.platform&&"1028"!=a.value?t("a-select-option",{key:i,attrs:{value:a.value}},[e._v(" "+e._s(a.name)+" ")]):e._e()})),1):e._e(),"netsea"==e.platform?t("a-select",{staticStyle:{width:"100%"},on:{change:e.handleChange},model:{value:e.form.logistics_name,callback:function(t){e.$set(e.form,"logistics_name",t)},expression:"form.logistics_name"}},e._l(e.netseaDeliveryCompany,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.value}},[e._v(" "+e._s(a.name)+" ")])})),1):e._e()],1):e._e(),t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.ship.list.logistics_number"),prop:"shipment_id"}},[t("a-input",{attrs:{placeholder:e.$t("view.order.list.ship.list.input.logistics_number")},model:{value:e.form.shipment_id,callback:function(t){e.$set(e.form,"shipment_id",t)},expression:"form.shipment_id"}})],1)],1):e._e(),"rakuten"===e.platform?t("div",[e.isEdit?t("a-form-model",e._b({ref:"form",attrs:{model:e.form,rules:e.rules}},"a-form-model",e.itemLayout,!1),[t("a-form-model-item",{attrs:{"has-feedback":"",prop:"ship_units"}},[t("a-row",{staticClass:"ant-upload-list ant-upload-list-picture-card"},[t("table",{staticClass:"qgg-table"},[t("thead",[t("tr",[t("th",[e._v(e._s(e.$t("view.order.list.rakuten.basket_id")))]),t("th",[e._v(e._s(e.$t("table.mall_goods")))])])]),t("tbody",e._l(e.rakutenSdataSkuList,(function(a,i){return e.rakutenSdataSkuList?t("tr",{key:i},[t("td",[e._v(" "+e._s(a.basketId)+" "),t("table",{staticClass:"qgg-table"},[t("tbody",[t("tr",[t("td",{staticStyle:{width:"100px"}},[e._v(e._s(e.$t("view.order.detail.shipping_corp")))]),t("td",{staticStyle:{"text-align":"left"}},[t("a-select",{staticStyle:{width:"200px"},on:{change:e.selectRakutenDeliveryCompanyName},model:{value:a.delivery_company,callback:function(t){e.$set(a,"delivery_company",t)},expression:"item.delivery_company"}},e._l(e.rakutenDeliveryCompany,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.value}},[e._v(e._s(a.name))])})),1)],1)]),t("tr",[t("td",{staticStyle:{width:"100px"}},[e._v(e._s(e.$t("view.order.detail.shipping_code")))]),t("td",{staticStyle:{"text-align":"left"}},[t("a-input",{staticStyle:{width:"200px"},on:{change:e.inputRakutenDeliveryCompanyCode},model:{value:a.shipping_number,callback:function(t){e.$set(a,"shipping_number",t)},expression:"item.shipping_number"}})],1)])])])]),t("td",e._l(a.item,(function(i,r){return a.item?t("a-row",{key:r},[t("a-col",{staticStyle:{"text-align":"left"}},[e._v(e._s(i.title))]),t("a-col",{staticStyle:{"text-align":"left","margin-top":"5px"}},[e._v(e._s(i.sku_prop)+" X "+e._s(i.shipping_num))])],1):e._e()})),1)]):e._e()})),0)])])],1)],1):e._e()],1):e._e()])},r=[],o=(a("a9e3"),a("d3b7"),a("159b"),a("7db0"),a("296e")),n=a("1b6c"),s=a("3a10"),l={data:function(){return{rakutenSdataSkuList:[],itemLayout:{labelCol:{lg:2},wrapperCol:{lg:18}},rules:{logistics_name:[{required:!0,trigger:"change"}],shipment_id:[{required:!0,trigger:"change"}]},shops_delivery:[],shops_delivery_option:[],rakutenDeliveryCompany:[{name:"その他",value:"1000"},{name:"ヤマト運輸",value:"1001"},{name:"佐川急便",value:"1002"},{name:"日本郵便",value:"1003"},{name:"西濃運輸",value:"1004"},{name:"セイノースーパーエクスプレス",value:"1005"},{name:"福山通運",value:"1006"},{name:"名鉄運輸",value:"1007"},{name:"トナミ運輸",value:"1008"},{name:"第一貨物",value:"1009"},{name:"新潟運輸",value:"1010"},{name:"中越運送",value:"1011"},{name:"岡山県貨物運送",value:"1012"},{name:"久留米運送",value:"1013"},{name:"山陽自動車運送",value:"1014"},{name:"NXトランスポート",value:"1015"},{name:"エコ配",value:"1016"},{name:"EMS",value:"1017"},{name:"DHL",value:"1018"},{name:"FedEx",value:"1019"},{name:"UPS",value:"1020"},{name:"日本通運",value:"1021"},{name:"TNT",value:"1022"},{name:"OCS",value:"1023"},{name:"USPS",value:"1024"},{name:"SFエクスプレス",value:"1025"},{name:"Aramex",value:"1026"},{name:"SGHグローバル・ジャパン",value:"1027"},{name:"Rakuten EXPRESS",value:"1028"}],netseaDeliveryCompany:[{name:"ヤマト運輸",value:"YA"},{name:"佐川急便",value:"SA"},{name:"日本郵便",value:"NY"},{name:"西濃運輸",value:"SE"},{name:"福山通運",value:"FU"},{name:"名鉄運輸",value:"ME"},{name:"トナミ運輸",value:"TO"},{name:"第一貨物",value:"DA"},{name:"その他",value:"OT"},{name:"日本通運",value:"NT"}]}},props:{form:{type:Object,default:function(){return{shipment_id:"",logistics_name:""}}},options:{type:Array,default:function(){return[{key:Object(n["b"])("view.express.foreign_express1"),label:"GJWL",option:[{key:"SFGJ",value:"顺丰国际"},{key:"DHWL",value:"ヤマト運輸"},{key:"ZCJB",value:"佐川急便"},{key:"RBYZ",value:"日本郵便"}]},{key:Object(n["b"])("view.express.foreign_express2"),label:"GNWL",option:[{key:"SFEXPRESS",value:"顺丰"},{key:"STO",value:"申通"},{key:"YTO",value:"申通"},{key:"ZTO",value:"申通"},{key:"HTKY",value:"百世快递"},{key:"BSKY",value:"百世快运"},{key:"YUNDA",value:"韵达"},{key:"JD",value:"京东"},{key:"EMS",value:"EMS"},{key:"ZTO56",value:"中通快运"},{key:"AAEWEB",value:"AAE"},{key:"ARAMEX",value:"Aramex"},{key:"DHL",value:"内件DHL"},{key:"DPEX",value:"DPEX"},{key:"DEXP",value:"D速"},{key:"EWE",value:"EWE"},{key:"FEDEX",value:"FedEx"},{key:"PCA",value:"PCA"},{key:"TNT",value:"TNT"},{key:"UPS",value:"UPS"},{key:"ANJELEX",value:"安捷"},{key:"ANE",value:"安能"},{key:"ANEEX",value:"安能快递"},{key:"ANXINDA",value:"安信达"},{key:"EES",value:"百福东方"},{key:"FLYWAYEX",value:"程光"},{key:"DTW",value:"大田"},{key:"DEPPON",value:"德邦"},{key:"GCE",value:"飞洋"},{key:"PHOENIXEXP",value:"凤凰"},{key:"FTD",value:"富腾达"},{key:"GSD",value:"共速达"},{key:"GTO",value:"国通"},{key:"BLACKDOG",value:"黑狗"},{key:"HENGLU",value:"恒路"},{key:"HYE",value:"鸿远"},{key:"HQKY",value:"华企"},{key:"JOUST",value:"急先达"},{key:"TMS",value:"加运美"},{key:"JIAJI",value:"佳吉"},{key:"JIAYI",value:"佳怡"},{key:"KERRY",value:"嘉里物流"},{key:"HREX",value:"锦程快递"},{key:"PEWKEE",value:"晋越"},{key:"KKE",value:"京广"},{key:"JIUYESCM",value:"九曳"},{key:"KYEXPRESS",value:"跨越速运"},{key:"FASTEXPRESS",value:"快捷"},{key:"LTS",value:"联昊通"},{key:"LBEX",value:"龙邦"},{key:"YIMIDIDA",value:"壹米滴答"},{key:"RRS",value:"日日顺物流"},{key:"YXWL",value:"宇鑫物流"},{key:"DJ56",value:"东骏快捷"},{key:"AYCA",value:"澳邮专线"},{key:"CITY100",value:"城市100"},{key:"D4PX",value:"递四方速递"},{key:"GTSD",value:"广通"},{key:"JTKD",value:"捷特快递"},{key:"MB",value:"民邦快递"},{key:"MLWL",value:"明亮物流"},{key:"PANEX",value:"泛捷快递"},{key:"QXT",value:"全信通"},{key:"SAD",value:'赛澳递"'},{key:"SDWL",value:"上大物流"},{key:"STWL",value:"速腾快递"},{key:"WJK",value:"万家康"},{key:"ZENY",value:"增益快递"},{key:"CAE",value:"民航"},{key:"ND56",value:"能达"},{key:"EFSPOST",value:"平安快递"},{key:"CHINZ56",value:"秦远物流"},{key:"QCKD",value:"全晨"},{key:"QFKD",value:"全峰"},{key:"APEX",value:"全一"},{key:"RFD",value:"如风达"},{key:"SFC",value:"三态"},{key:"SFWL",value:"盛丰"},{key:"SHENGHUI",value:"盛辉"},{key:"SDEX",value:"顺达快递"},{key:"SUNING",value:"苏宁"},{key:"SURE",value:"速尔"},{key:"HOAU",value:"天地华宇"},{key:"TTKDEX",value:"天天"},{key:"VANGEN",value:"万庚"},{key:"WANJIA",value:"万家物流"},{key:"EWINSHINE",value:"万象"},{key:"GZWENJIE",value:"文捷航空"},{key:"XBWL",value:"新邦"},{key:"XFEXPRESS",value:"信丰"},{key:"BROADASIA",value:"亚风"},{key:"YIEXPRESS",value:"宜送"},{key:"QEXPRESS",value:"易达通"},{key:"ETD",value:"易通达"},{key:"UC56",value:"优速"},{key:"CHINAPOST",value:"邮政包裹"},{key:"YFHEX",value:"原飞航"},{key:"YADEX",value:"源安达"},{key:"YCGWL",value:"远成"},{key:"YFEXPRESS",value:"越丰"},{key:"YTEXPRESS",value:"运通"},{key:"ZJS",value:"宅急送"},{key:"ZMKMEX",value:"芝麻开门"},{key:"COE",value:"中国东方"},{key:"CRE",value:"中铁快运"},{key:"ZTKY",value:"中铁物流"},{key:"CNPL",value:"中邮"},{key:"PEISI",value:"配思航宇"},{key:"BDT",value:"八达通"},{key:"CJKD",value:"城际快递"},{key:"FKD",value:"飞康达"},{key:"HQSY",value:"环球速运"},{key:"JAD",value:"捷安达"},{key:"JGWL",value:"景光物流"},{key:"MK",value:"美快"},{key:"PADTF",value:"平安达腾飞快递"},{key:"QRT",value:"全日通速递"},{key:"RFEX",value:"瑞丰速递"},{key:"SAWL",value:"圣安物流"},{key:"ST",value:"速通物流"},{key:"SUBIDA",value:"速必达物流"},{key:"XJ",value:"新洁物流"},{key:"ZYWL",value:"中邮物流"}]}]}},order:null,platform:{type:String,default:""},isEdit:{type:Boolean,default:!0},mailingMode:{type:Number,default:1}},created:function(){var e,t,a;switch(this.platform){case"tiktok":"string"===typeof this.order.sdata&&""!==this.order.sdata&&(this.order.sdata=JSON.parse(this.order.sdata)),(null===(e=this.order.sdata)||void 0===e||null===(t=e.packages)||void 0===t?void 0:t.length)>0&&(this.order.package_id=this.order.sdata.packages[0].id),null!==(a=this.order.sdata)&&void 0!==a&&a.warehouse_id&&(this.order.warehouse_id=this.order.sdata.warehouse_id),this.shopSelect(this.order.from_shop_id);break;case"rakuten":var i=JSON.parse(this.order.sdata),r=[];i.PackageModelList.forEach((function(e){var t={};t.basketId=e.basketId,t.item=[],e.ItemModelList.forEach((function(e){if(e.SkuModelList.length)var a=e.SkuModelList[0].variantId;t.item.push({title:e.itemName,sku_prop:a,price:e.price,shipping_num:e.units,delivery_company:"",Shipping_number:""})})),r.push(t)})),this.rakutenSdataSkuList=r;break}this.getOption()},methods:{getOption:function(){var e=this,t={};Object(s["i"])({page:1,limit:150}).then((function(a){for(var i=a.list,r=0;r<i.length;r++){var o=i[r],n=o.foreign_express;t[n]||(t[n]=[]),t[n].push({key:o.logistics_code,value:o.logistics_name})}return e.options[0].option=t[2],e.options[1].option=t[1],e.options}))},submit:function(){switch(this.platform){case"tiktok":this.form.package_id=this.form.package_id,this.form.logistics_name=this.form.tracking_name,this.form.body={shipping_provider_id:this.form.shipping_providers_id,tracking_number:this.form.shipment_id};break;case"rakuten":var e=[];this.rakutenSdataSkuList.forEach((function(t){var a={basketId:"",ShippingModelList:[]};a.basketId=t.basketId,a.ShippingModelList.push({deliveryCompany:t.delivery_company,shippingNumber:t.shipping_number}),e.push(a)}));var t={};t.orderNumber=this.order.order_id,t.BasketidModelList=e,this.form.logistics_name=this.form.tracking_name,this.form.body=t;break}this.$emit("update:form",this.form)},handleChange:function(e){this.form.logistics_name=e},shopSelect:function(e){var t=this;t.form.shops=[];var a={};a.tiktok_shop_id=e,Object(o["d"])(a).then((function(e){0===e.code&&(t.form.shop_cipher=e.shop_cipher,"US"===e.shop_region&&(t.isUs=!0),t.selectDelivery())}))},selectDelivery:function(){var e=this;e.shops_delivery=[],Object(o["g"])({ware_house_id:this.order.warehouse_id,shop_cipher:e.form.shop_cipher}).then((function(t){var a,i;0===t.code&&((null===(a=t.data)||void 0===a||null===(i=a.delivery_options)||void 0===i?void 0:i.length)>0&&(e.shops_delivery=t.data.delivery_options))}))},selectShippingProviders:function(){var e=this;e.shops_delivery_option=[],Object(o["A"])({delivery_option_id:e.form.delivery_option_id,shop_cipher:e.form.shop_cipher}).then((function(t){var a,i;0===t.code&&((null===(a=t.data)||void 0===a||null===(i=a.shipping_providers)||void 0===i?void 0:i.length)>0&&(e.shops_delivery_option=t.data.shipping_providers))}))},selectShopsDeliveryOption:function(e,t){var a=this.shops_delivery_option.find((function(t){return t.id===e}));this.form.shipping_providers_id=a.id,this.form.tracking_name=a.name},selectRakutenDeliveryCompanyName:function(e){var t=this.rakutenDeliveryCompany.find((function(t){return t.value===e}));t&&(this.form.tracking_name=t.name)},inputRakutenDeliveryCompanyCode:function(e){this.form.shipment_id=e.target._value}}},c=l,d=(a("5d54"),a("2877")),u=Object(d["a"])(c,i,r,!1,null,null,null);t["default"]=u.exports},"4a49":function(e,t,a){"use strict";a.r(t);var i=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"}})])])},r=[],o={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=o,s=a("2877"),l=Object(s["a"])(n,i,r,!1,null,null,null);t["default"]=l.exports},5194:function(e,t,a){"use strict";a.r(t);var i=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"}})])])},r=[],o={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=o,s=a("2877"),l=Object(s["a"])(n,i,r,!1,null,null,null);t["default"]=l.exports},5703:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("a-drawer",{attrs:{width:"45%",title:e.formTitle,"label-col":4,"wrapper-col":14,visible:e.open,"body-style":{height:"calc(100vh - 100px)",overflow:"auto"}},on:{close:e.cancel}},[t("a-form-model",{ref:"form",attrs:{model:e.form,rules:e.rules,layout:"vertical"}},[t("a-form-model-item",{attrs:{label:"参数编码",prop:"configKey"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configKey,callback:function(t){e.$set(e.form,"configKey",t)},expression:"form.configKey"}})],1),t("a-form-model-item",{attrs:{label:"参数名称",prop:"configName"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configName,callback:function(t){e.$set(e.form,"configName",t)},expression:"form.configName"}})],1),t("a-form-model-item",{attrs:{label:"参数值",prop:"configValue"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configValue,callback:function(t){e.$set(e.form,"configValue",t)},expression:"form.configValue"}})],1),t("a-form-model-item",{attrs:{label:"是否内置参数",prop:"configType"}},[t("a-radio-group",{attrs:{"button-style":"solid"},model:{value:e.form.configType,callback:function(t){e.$set(e.form,"configType",t)},expression:"form.configType"}},e._l(e.typeOptions,(function(a,i){return t("a-radio-button",{key:i,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1),t("a-form-model-item",{attrs:{label:"备注",prop:"remark"}},[t("a-input",{attrs:{placeholder:"请输入备注",type:"textarea","allow-clear":""},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1),t("div",{staticClass:"bottom-control"},[t("a-space",[t("a-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v(" 保存 ")]),t("a-button",{on:{click:e.cancel}},[e._v(" 取消 ")])],1)],1)],1)],1)},r=[],o=a("5530"),n=a("1fc7"),s=Object(o["a"])({},n["default"]),l=s,c=a("2877"),d=Object(c["a"])(l,i,r,!1,null,null,null);t["default"]=d.exports},5881:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("a-drawer",{attrs:{width:"750px",placement:"right",closable:!1,visible:e.openView},on:{close:e.onCloseView}},[t("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"操作信息",layout:"vertical",column:3,bordered:""}},[t("a-descriptions-item",{attrs:{label:"操作模块"}},[e._v(" "+e._s(e.form.module)+" ")]),t("a-descriptions-item",{attrs:{label:"登录信息"}},[e._v(" #"+e._s(e.form.member_id)+" / "+e._s(e.form.member_name)+" / "+e._s(e.form.ip)+" / "+e._s(e.form.region)+" ")]),t("a-descriptions-item",{attrs:{label:"请求方式"}},[e._v(" "+e._s(e.form.method)+" ")]),t("a-descriptions-item",{attrs:{label:"请求地址"}},[e._v(" "+e._s(e.form.url)+" ")]),t("a-descriptions-item",{attrs:{label:"操作方法",span:2}},[t("div",{staticStyle:{"word-break":"break-all"}},[e._v(e._s(e.form.method))])])],1),t("a-divider"),t("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"接口信息",layout:"vertical",column:3,bordered:""}},[t("a-descriptions-item",{attrs:{label:"请求头部",span:3}},[e._v(" "+e._s(e.form.header_data)+" ")]),t("a-descriptions-item",{attrs:{label:"GET参数",span:3}},[e._v(" "+e._s(e.form.get_data)+" ")]),t("a-descriptions-item",{attrs:{label:"POST参数",span:3}},[e._v(" "+e._s(e.form.post_data)+" ")]),t("a-descriptions-item",{attrs:{label:"操作状态"}},[0===e.form.error_code?t("a-badge",{attrs:{status:"processing",text:"正常"}}):e._e(),0!==e.form.error_code?t("a-badge",{attrs:{status:"error",text:"失败"}}):e._e()],1),t("a-descriptions-item",{attrs:{label:"操作时间"}},[e._v(" "+e._s(e.parseTime(e.form.created_at))+" ")]),t("a-descriptions-item",{attrs:{label:"耗时"}},[e._v(" "+e._s(e.form.take_up_time)+"毫秒 ")]),t("a-descriptions-item",{attrs:{label:"回复信息"}},[e._v(" "+e._s(e.form.error_msg)+" ")]),0!==e.form.error_code?t("a-descriptions-item",{attrs:{label:"报错日志"}},[e._v(" "+e._s(e.form.error_data)+" ")]):e._e()],1),null!==e.form.logContent?t("a-divider"):e._e(),null!==e.form.logContent?t("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"变更记录",layout:"vertical",column:3,bordered:""}},[t("a-descriptions-item",{attrs:{label:"请求ID",span:3}},[e._v(" "+e._s(e.form.req_id)+" ")]),t("a-descriptions-item",{attrs:{label:"变更情况",span:3}},[e._v(" 无 ")])],1):e._e()],1)},r=[],o={name:"ViewForm",props:{},data:function(){return{form:{},openView:!1}},filters:{},created:function(){},computed:{},watch:{},methods:{handleView:function(e){this.openView=!0,this.form=e},onCloseView:function(){this.openView=!1}}},n=o,s=a("2877"),l=Object(s["a"])(n,i,r,!1,null,null,null);t["default"]=l.exports},"58f6":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("a-select",{staticStyle:{width:"auto","min-width":"100px"},attrs:{value:e.value,disabled:e.disabled},on:{change:e.handleChange}},[t("a-select-option",{attrs:{value:1}},[e._v(e._s(e.$t("components.warehouseRule.warehouseMode.pricemin")))]),t("a-select-option",{attrs:{value:2}},[e._v(e._s(e.$t("components.warehouseRule.warehouseMode.time")))])],1)},r=[],o=(a("a9e3"),{name:"PriceCompareMethod",model:{prop:"value",event:"input"},props:{value:{type:Number,default:1},disabled:{type:Boolean,default:!1}},methods:{handleChange:function(e){this.$emit("input",e),this.$emit("change",e)}}}),n=o,s=a("2877"),l=Object(s["a"])(n,i,r,!1,null,"c2b8b322",null);t["default"]=l.exports},"5af5":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("ant-modal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalWidth:"640",modalHeight:"420"},on:{cancel:e.cancel}},[t("a-form-model",{ref:"form",attrs:{slot:"content",model:e.form,rules:e.rules,layout:"vertical"},slot:"content"},[t("a-row",{staticClass:"form-row",attrs:{gutter:32}},[t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"参数编码",prop:"configKey"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configKey,callback:function(t){e.$set(e.form,"configKey",t)},expression:"form.configKey"}})],1)],1),t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"参数名称",prop:"configName"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configName,callback:function(t){e.$set(e.form,"configName",t)},expression:"form.configName"}})],1)],1),t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"参数值",prop:"configValue"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configValue,callback:function(t){e.$set(e.form,"configValue",t)},expression:"form.configValue"}})],1)],1),t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"是否内置参数",prop:"configType"}},[t("a-radio-group",{attrs:{"button-style":"solid"},model:{value:e.form.configType,callback:function(t){e.$set(e.form,"configType",t)},expression:"form.configType"}},e._l(e.typeOptions,(function(a,i){return t("a-radio-button",{key:i,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1)],1),t("a-col",{attrs:{lg:24,md:24,sm:24,span:24}},[t("a-form-model-item",{attrs:{label:"备注",prop:"remark"}},[t("a-input",{attrs:{placeholder:"请输入备注",type:"textarea","allow-clear":""},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1)],1)],1),t("template",{slot:"footer"},[t("a-button",{on:{click:e.cancel}},[e._v(" 取消 ")]),t("a-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v(" 保存 ")])],1)],2)},r=[],o=a("5530"),n=a("1fc7"),s=Object(o["a"])({},n["default"]),l=s,c=a("2877"),d=Object(c["a"])(l,i,r,!1,null,null,null);t["default"]=d.exports},"5d54":function(e,t,a){"use strict";a("a32b")},6947:function(e,t,a){"use strict";a("b6ad")},"76f8":function(e,t,a){"use strict";a.r(t);var i=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 i=a.text,r=a.record;return t("span",{},[t("div",[1===r.is_self_take&&1!==r.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===r.is_self_take&&1!==r.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===r.is_self_take&&1!==r.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(),""!==r.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(r.assoc_order_id)}}},[e._v(" "+e._s(r.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(i)+" "),t("copyText",{attrs:{text:i,tooltipText:e.$t("view.order.list.purchase_id.copy")}})],1)]),1==e.shop_id&&r.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(r)}}},[e._v(e._s(r.main_shop_order.order_id))]),t("copyText",{attrs:{text:r.main_shop_order.order_id,tooltipText:e.$t("view.order.list.order_id.copy")}})],1):e._e(),r.out_order_id&&r.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(r)}}},[e._v(e._s(r.out_order_id))]),t("copyText",{attrs:{text:r.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(r.create_time)+" ")]),1===r.is_self_take&&""!==r.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(r.logistics_company)+" ")]):e._e(),1===r.is_self_take&&""!==r.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(r.logistics_number)+" ")]):e._e(),1===r.is_self_take&&""!==r.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:r.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"))+" ")]),r.sub_shop_id?t("div",[t("supply-info",{attrs:{shopId:r.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===r.is_virtual?t("a-tag",{attrs:{color:"#f50"}},[e._v(" "+e._s(e.$t("view.lockstock.log.lock.is_virtual.title"))+" ")]):e._e(),3===r.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 i=a.text,r=a.record;return t("span",{},[t("div",["UNPAID"!==i&&"AFTER_SALE"!==i&&"REFUNDED"!==i?t("a",{on:{click:function(t){return e.openFahuo(r)}}},[e._v(" "+e._s(e.$t(i))+" ")]):t("span",[e._v(e._s(e.$t(i)))])])])}},{key:"items",fn:function(a){var i=a.text,r=a.record;return t("span",{},[r.items&&r.items.length?t("div",e._l(r.items,(function(a,o){return t("div",{key:r.purchase_id+"_"+r.id+"_"+o+(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((r.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,i){return t("div",{key:i},[t("span",[e._v(e._s(i)+":"+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(r.currency+" "+a.payment)+" ")])],1),o<i.length-1?t("a-divider"):e._e()],1)])})),0):e._e()])}},{key:"payment",fn:function(a){var i=a.text,r=a.record;return t("span",{},[t("div",[e._v(e._s((r.currency||"")+" "+i))])])}},{key:"post_fee",fn:function(a){var i=a.text,r=a.record;return t("span",{},[t("div",[e._v(e._s((r.currency||"")+" "+i))])])}},{key:"paymemberInfo",fn:function(a){var i=a.record;return t("span",{},[t("a-row",[i.last_name&&""!==i.last_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_last_name"))+" : "+e._s(i.last_name)+" ")]):e._e(),i.first_name&&""!==i.first_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_first_name"))+" : "+e._s(i.first_name)+" ")]):e._e(),i.phone&&""!=i.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(i.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:[i.country]}})],1),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(i.state)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(i.city)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(i.street)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(i.apartment)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(i.zip_code)+" ")]),t("a-col",{attrs:{lg:24}},[t("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===i.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(t){return e.handleModifyShipping(i)}}},[e._v(" "+e._s(e.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var i=a.record;return t("span",{},[e.shop_id!=i.sub_shop_id||"PAID"!=i.status&&"SHIPPED"!=i.status?e._e():t("procureApply",{attrs:{order:i},on:{okAftersale:e.getList}}),"UNPAID"==i.status&&e.shop_id==i.sub_shop_id?t("a-divider",{attrs:{type:"vertical"}}):e._e(),e.shop_id==i.sub_shop_id?t("complaint-form",{attrs:{refId:i.purchase_id,orderId:i.out_order_id&&i.sub_shop_id==e.shop_id?i.out_order_id:1==e.shop_id?i.main_shop_order.order_id:"",type:"procure"},on:{ok:e.handleQuery}}):e._e(),"UNPAID"==i.status&&e.shop_id==i.sub_shop_id?t("a-divider",{attrs:{type:"vertical"}}):e._e(),e.shop_id!=i.sub_shop_id||e.loading?e._e():t("complaintDetail",{attrs:{orderId:i.purchase_id,type:"procure"}}),"UNPAID"==i.status?t("a-divider",{attrs:{type:"vertical"}}):e._e(),"UNPAID"==i.status?t("a",{on:{click:function(t){return e.closeProcure(i)}}},[e._v(" "+e._s(e.$t("wechat.pay.setting.close"))+" ")]):e._e(),"AFTER_SALE"==i.status?t("a-divider",{attrs:{type:"vertical"}}):e._e(),"AFTER_SALE"==i.status?t("a",{on:{click:function(t){return e.cancelAfterSale(i)}}},[e._v(" "+e._s(e.$t("view.order.list.aftersale.cancel.btn"))+" ")]):e._e(),"UNPAID"==i.status?t("h5pay",{ref:"h5Pay"+i.purchase_id,attrs:{orderId:i.purchase_id},on:{paySuccess:e.getList}}):e._e(),1===i.is_self_take&&"PAID"==i.status?t("a-divider",{attrs:{type:"vertical"}}):e._e(),1===i.is_self_take&&"PAID"==i.status?t("voucher-upload",{attrs:{"purchase-id":i.purchase_id,"shop-id":i.sub_shop_id},on:{success:e.getList}}):e._e()],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)},r=[],o=a("5530"),n=a("bdcb"),s=Object(o["a"])({},n["default"]),l=s,c=(a("c691"),a("2877")),d=Object(c["a"])(l,i,r,!1,null,null,null);t["default"]=d.exports},"78f8":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"inline-block"}},e._l(e.list,(function(a,i){return t("span",{key:a},[e._v(e._s(e.$t(a))+" "),i>0&&i!=e.list.length-1?t("span",[e._v(",")]):e._e()])})),0)},r=[],o={name:"FanYiList",props:{list:{type:Array,default:function(){return[]}}}},n=o,s=a("2877"),l=Object(s["a"])(n,i,r,!1,null,null,null);t["default"]=l.exports},8220:function(e,t,a){"use strict";a.r(t);var i,r,o={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>'},n={name:"MtimeIcon",template:'\n <a-icon :component="MtimeSvg" />\n ',data:function(){return{MtimeSvg:o}}},s=n,l=a("2877"),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},"8b78":function(e,t,a){"use strict";a.r(t);a("99af");var i=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:48}},[t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"操作模块"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"操作模块","allow-clear":""},model:{value:e.queryParam.module,callback:function(t){e.$set(e.queryParam,"module",t)},expression:"queryParam.module"}},e._l(e.moduleOptions,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.value}},[e._v(e._s(a.label))])})),1)],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"操作人员"}},[t("a-input",{attrs:{placeholder:"请输入操作人员ID","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.member_id,callback:function(t){e.$set(e.queryParam,"member_id",t)},expression:"queryParam.member_id"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"访问路径"}},[t("a-input",{attrs:{placeholder:"请输入访问路径","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.url,callback:function(t){e.$set(e.queryParam,"url",t)},expression:"queryParam.url"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"访问IP"}},[t("a-input",{attrs:{placeholder:"请输入IP地址","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.ip,callback:function(t){e.$set(e.queryParam,"ip",t)},expression:"queryParam.ip"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"请求方式"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请求方式","allow-clear":""},model:{value:e.queryParam.method,callback:function(t){e.$set(e.queryParam,"method",t)},expression:"queryParam.method"}},e._l(e.methodOptions,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.value}},[e._v(e._s(a.label))])})),1)],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"耗时"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"耗时","allow-clear":""},model:{value:e.queryParam.take_up_time,callback:function(t){e.$set(e.queryParam,"take_up_time",t)},expression:"queryParam.take_up_time"}},e._l(e.takeTimeOptions,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.value}},[e._v(e._s(a.label))])})),1)],1)],1),e.advanced?t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"状态码"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"响应状态码","allow-clear":""},model:{value:e.queryParam.error_code,callback:function(t){e.$set(e.queryParam,"error_code",t)},expression:"queryParam.error_code"}},e._l(e.errorCodeOptions,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.value}},[e._v(e._s(a.label))])})),1)],1)],1):e._e(),e.advanced?t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"操作时间"}},[t("a-range-picker",{staticStyle:{width:"100%"},attrs:{valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD","allow-clear":""},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1)],1):e._e(),t("a-col",[t("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v("查询")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v("重置")],1),t("a",{staticStyle:{"margin-left":"8px"},on:{click:e.toggleAdvanced}},[e._v(" "+e._s(e.advanced?"收起":"展开")+" "),t("a-icon",{attrs:{type:e.advanced?"up":"down"}})],1)],1)])],1)],1)],1)]),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t("view-form",{ref:"viewForm"}),t("advance-table",{attrs:{columns:e.columns,"data-source":e.list,title:"系统参数",loading:e.loading,rowKey:"id",tableKey:"monitor-operlog-Operlog-table",isTableConfig:!1,isShowSetBtn:!1,size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},pagination:{current:e.queryParam.page,limit:e.queryParam.limit,total:e.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(e,t){return"第 ".concat(t[0],"-").concat(t[1]," 条,总计 ").concat(e," 条")},onChange:e.changeSize,onShowSizeChange:e.onSizeChange}},on:{refresh:e.getList},scopedSlots:e._u([{key:"method",fn:function(a){var i=a.text,r=a.record;return t("span",{},[t("a-tag",{attrs:{color:e._f("operMethodFilter")(i)}},[e._v(" "+e._s(e.methodFormat(r))+" ")])],1)}},{key:"module",fn:function(a){var i=a.text,r=a.record;return t("span",{},[t("a-tag",{attrs:{color:e._f("operModuleFilter")(i)}},[e._v(" "+e._s(e.moduleFormat(r))+" ")])],1)}},{key:"error_code",fn:function(a){var i=a.text,r=a.record;return t("span",{},[t("a-tag",{attrs:{color:e._f("operErrorCodeFilter")(i)}},[e._v(" "+e._s(e.errorCodeFormat(r))+" ")])],1)}},{key:"take_up_time",fn:function(a){var i=a.text,r=a.record;return t("span",{},[t("a-tag",{attrs:{color:e._f("operTakeTimeFilter")(i)}},[e._v(" "+e._s(e.takeTimeFormat(r))+" ")])],1)}},{key:"operation",fn:function(a){a.text;var i=a.record;return t("span",{},[t("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:query"],expression:"['monitor:operlog:query']"}],on:{click:function(t){return e.$refs.viewForm.handleView(i)}}},[t("a-icon",{attrs:{type:"eye",theme:"twoTone"}}),e._v("详细 ")],1)])}},{key:"member_name",fn:function(a){a.text;var i=a.record;return t("span",{},[t("span",[e._v(e._s(e.memberNameFormat(i)))])])}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[e.multiple?e._e():t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:remove"],expression:"['monitor:operlog:remove']"}],attrs:{type:"danger",disabled:e.multiple},on:{click:e.handleDelete}},[t("a-icon",{attrs:{type:"delete"}}),e._v("删除 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:operlog:remove"],expression:"['monitor:operlog:remove']"}],attrs:{type:"danger"},on:{click:e.handleClean}},[t("a-icon",{attrs:{type:"delete"}}),e._v("清空 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:export"],expression:"['system:config:export']"}],on:{click:e.handleExport}},[t("a-icon",{attrs:{type:"download"}}),e._v("导出 ")],1)],1)])],1)],1)},r=[],o=(a("d81d"),a("b775"));function n(e){return Object(o["b"])({url:"/log/list",method:"get",params:e})}function s(e){return Object(o["b"])({url:"/monitor/operlog/"+e,method:"delete"})}function l(){return Object(o["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(e){var t="blue";return 3!==e&&7!==e&&9!==e||(t="orange"),t},operModuleFilter:function(e){var t="blue";return"api"===e&&(t="orange"),t},operMethodFilter:function(e){var t="blue";return"POST"===e&&(t="orange"),t},operErrorCodeFilter:function(e){var t="orange";return 0!==e&&(t="red"),t},operTakeTimeFilter:function(){return"magenta"}},created:function(){var e=this;this.getList(),this.getDicts("req_code").then((function(t){e.errorCodeOptions=t})),this.getDicts("req_take_up_time").then((function(t){e.takeTimeOptions=t})),this.getDicts("sys_oper_module").then((function(t){e.moduleOptions=t})),this.getDicts("sys_oper_method").then((function(t){e.methodOptions=t}))},computed:{},watch:{},methods:{onSizeChange:function(e,t){this.queryParam.page=1,this.queryParam.limit=t,this.getList()},getList:function(){var e=this;this.loading=!0,n(this.addDateRange(this.queryParam,this.dateRange)).then((function(t){e.list=t.list,e.total=t.total_count,e.loading=!1}))},errorCodeFormat:function(e,t){return this.selectDictLabel(this.errorCodeOptions,e.error_code)},takeTimeFormat:function(e,t){return e.take_up_time+"ms"},moduleFormat:function(e,t){return this.selectDictLabel(this.moduleOptions,e.module)},methodFormat:function(e,t){return this.selectDictLabel(this.methodOptions,e.method)},memberNameFormat:function(e){return e.member_id<=0?"":"(#"+e.member_id+")"+e.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(e,t){this.queryParam.limit=t,this.getList()},changeSize:function(e,t){this.queryParam.page=e,this.queryParam.limit=t,this.getList()},onSelectChange:function(e,t){this.selectedRowKeys=e,this.selectedRows=t,this.ids=this.selectedRows.map((function(e){return e.id})),this.multiple=!e.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleDelete:function(e){var t=this,a=e.id||this.ids;this.$confirm({title:"确认删除所选中数据?",content:"当前选中编号为"+a+"的数据",onOk:function(){return s(a).then((function(){t.onSelectChange([],[]),t.getList(),t.$message.success("删除成功",3)}))},onCancel:function(){}})},handleClean:function(){var e=this;this.$confirm({title:"是否确认清空?",content:"此操作将会清空所有操作日志数据项",onOk:function(){return l().then((function(){e.onSelectChange([],[]),e.getList(),e.$message.success("清空成功",3)}))},onCancel:function(){}})},handleExport:function(){var e=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return Object(u["g"])("/log/export",e.queryParam)},onCancel:function(){}})}}},p=m,f=a("2877"),h=Object(f["a"])(p,i,r,!1,null,null,null);t["default"]=h.exports},"8faf":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("span",[t("a-button",{attrs:{type:"primary"},on:{click:e.openLoginModal}},[e._v(e._s(e.$t("view.user.syn.register.tab1")))]),t("a-modal",{attrs:{visible:e.visible,title:e.formTitle,zIndex:9999},on:{cancel:e.Cencel}},[t("div",[t("a-form-model",{ref:"form",staticClass:"user-layout-login",attrs:{id:"formLogin",model:e.formData,rules:e.rules}},[t("a-form-model-item",{attrs:{prop:"username"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.email.add.username.label")},model:{value:e.formData.username,callback:function(t){e.$set(e.formData,"username",t)},expression:"formData.username"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"password"}},[t("a-input-password",{attrs:{size:"large",placeholder:e.$t("view.login.email.add.password.label")},model:{value:e.formData.password,callback:function(t){e.$set(e.formData,"password",t)},expression:"formData.password"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"realname"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.email.add.realname.label")},model:{value:e.formData.realname,callback:function(t){e.$set(e.formData,"realname",t)},expression:"formData.realname"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"mobile"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.email.add.mobile.label")},model:{value:e.formData.mobile,callback:function(t){e.$set(e.formData,"mobile",t)},expression:"formData.mobile"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"phone"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"email"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.email.add.email.label")},model:{value:e.formData.email,callback:function(t){e.$set(e.formData,"email",t)},expression:"formData.email"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),t("a-row",{attrs:{gutter:16}},[t("a-col",{staticClass:"gutter-row",attrs:{lg:18,sm:18,md:18,xs:16}},[t("a-form-model-item",{attrs:{prop:"code"}},[t("a-input",{attrs:{size:"large",type:"text",autocomplete:"off",placeholder:e.$t("view.modal.email.code.placeholder")},model:{value:e.formData.code,callback:function(t){e.$set(e.formData,"code",t)},expression:"formData.code"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"security-scan"},slot:"prefix"})],1)],1)],1),t("a-col",{staticClass:"gutter-row",attrs:{lg:6,sm:6,md:6,xs:8}},[t("a-button",{staticClass:"login-button",staticStyle:{padding:"0 0px"},attrs:{type:"primary",loading:e.codeLoading,size:"large"},on:{click:e.getEmailCode}},[e._v(e._s(e.codeLoading?e.$t("view.modal.code.time",{time:e.currentCodeTime}):e.$t("view.modal.email.code")))])],1)],1),t("a-form-model-item",{attrs:{prop:"distribution_code"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.add.code.label")},model:{value:e.formData.distribution_code,callback:function(t){e.$set(e.formData,"distribution_code",t)},expression:"formData.distribution_code"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"security-scan"},slot:"prefix"})],1)],1)],1)],1),t("template",{slot:"footer"},[t("a-button",{key:"back",on:{click:e.Cencel}},[e._v(" "+e._s(e.$t("view.service.message.modal.cancelText"))+" ")]),t("a-button",{key:"submit",attrs:{type:"primary",loading:e.loading},on:{click:e.register}},[e._v(" "+e._s(e.$t("view.user.register"))+" ")])],1)],2)],1)},r=[],o=a("5530"),n=(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(e){return c.a.defaults.withCredentials=!0,fetch(this.registerUrl+"/admin/member/email/verify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(e){return e.json()})).then((function(e){return e}))},memberRegister:function(e){var t=JSON.parse(JSON.stringify(e));return t.role=Number(this.role),fetch(this.registerUrl+"/admin/member/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((function(e){return e.json()})).then((function(e){return 0!==e.code&&s["a"].error({message:e.message,description:e.message}),e})).catch((function(e){}))},getEmailCode:function(){var e=this;this.codeLoading||this.$refs.form.validateField("email",(function(t){t||e.emilCode({email:e.formData.email}).then((function(t){0===t.code&&(e.codeLoading=!0,e.getCodeTime(),e.$message.success(e.$t("view.modal.code.succes")))}))}))},getCodeTime:function(){var e=this,t=30;this.currentCodeTime=t,this.CodeTime=setInterval((function(){t--,e.currentCodeTime=t,t<=0&&(e.codeLoading=!1,clearInterval(e.CodeTime))}),1e3)},initData:function(){var e=this;Object(n["j"])().then((function(t){t.user&&(e.formData={realname:t.user.realname,email:t.user.email,mobile:t.user.mobile,username:t.user.username,password:Object(d["g"])(6)})}))},register:function(){var e=this;this.$refs.form.validate((function(t){t&&(e.loading=!0,e.formData.remark="蜂洞客户",e.memberRegister(e.formData).then((function(t){e.loading=!1,0===t.code&&(e.$message.success(e.$t("view.modal.register.succes")),e.formData.huoyuan_name=e.title,e.formData.huoyuan_url=e.registerUrl,e.$emit("registerSuccess",e.formData),e.Cencel())})).catch((function(t){e.loading=!1,s["a"].error({message:t.toString(),description:t.toString()})})))}))},setConfig:function(){var e=this;this.showConfigList&&this.$refs.platfConfigRef.openModal(),setTimeout((function(){var t=e.formData;e.$refs.platfConfigRef.showModal({syntype:"beehole",api_url:e.registerUrl,app_key:t.username,app_secret:t.password,beehole_login_type:2})}),500)},openLoginModal:function(){this.visible=!0},Cencel:function(){this.visible=!1}},components:{}},m=Object(o["a"])({},u),p=m,f=(a("6947"),a("2877")),h=Object(f["a"])(p,i,r,!1,null,"21b00a37",null);t["default"]=h.exports},"95fb":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("span",[t("a-button",{attrs:{type:"link",disabled:e.disabled},on:{click:e.endingWorkOrder}},[e._v(e._s(e.$t("components.complaint.enddingWork.btn")))])],1)},r=[],o=a("c7eb"),n=a("1da1"),s=a("255f"),l={name:"EndingWorkOrder",props:{disabled:{type:Boolean,default:!1},workOrderId:null},methods:{endingWorkOrder:function(){var e=this;return Object(n["a"])(Object(o["a"])().mark((function t(){return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$confirm({title:e.$t("components.complaint.EndingWorkOrder.confirm.title"),content:e.$t("components.complaint.EndingWorkOrder.confirm.content"),okText:e.$t("components.complaint.EndingWorkOrder.confirm.okText"),onOk:function(){var t=Object(n["a"])(Object(o["a"])().mark((function t(){return Object(o["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(s["e"])({work_order_id:e.workOrderId});case 3:e.$message.success(e.$t("components.complaint.EndingWorkOrder.confirm.success")),e.$emit("refresh"),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),e.$message.error(t.t0.message);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));function a(){return t.apply(this,arguments)}return a}()});case 1:case"end":return t.stop()}}),t)})))()}}},c=l,d=a("2877"),u=Object(d["a"])(c,i,r,!1,null,null,null);t["default"]=u.exports},a32b:function(e,t,a){},b129:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("span",[t("a-tooltip",[t("template",{slot:"title"},[e._v(" "+e._s(e.tooltipText)+" ")]),t("a-icon",{style:{fontSize:"14px"},attrs:{type:"copy"},on:{click:e.copy}})],2)],1)},r=[],o=a("ca00"),n=a("1b6c"),s={name:"CopyText",props:{text:{type:String,default:""},tooltipText:{type:String,default:Object(n["b"])("components.copyText.copy")}},methods:{copy:function(){Object(o["b"])(this.text)}}},l=s,c=a("2877"),d=Object(c["a"])(l,i,r,!1,null,null,null);t["default"]=d.exports},b6ad:function(e,t,a){},c06f:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("span",[t("a-table",{attrs:{columns:e.columns,"row-selection":{type:"radio",selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},"data-source":e.list,rowkey:"id",pagination:{current:e.query.page,pageSize:e.query.limit,total:e.total,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,onChange:e.changeSize,hideOnSinglePage:!0}},scopedSlots:e._u([{key:"source_lang",fn:function(a,i){return t("span",{},[e._v(" "+e._s(e.$t(e.langLabel[i.source_lang]))+" ")])}},{key:"target_lang",fn:function(a,i){return t("span",{},[e._v(" "+e._s(e.$t(e.langLabel[i.target_lang]))+" ")])}},{key:"video_url",fn:function(a,i){return t("span",{},[t("div",[t("div",{style:{width:"150px",height:"150px"}},[i.video_url?t("video",{ref:"sfGalleryBigImage",staticStyle:{"object-position":"top","max-height":"150px"},attrs:{autoplay:!1,muted:"",preload:"load",loop:"",src:i.video_url,width:"100%",height:"100%",controls:"controls",playsinline:""},domProps:{muted:!0}},[t("source",{attrs:{src:i.video_url,type:"video/*"}})]):e._e()]),t("div",[e._v(e._s(i.video_url))])])])}}])})],1)},r=[],o=a("3726"),n={name:"VideoList",props:{url:{type:String,default:""},hiddenIcon:{type:Boolean,default:!1}},data:function(){var e=this,t=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 t("span",[e.$t("components.videoList.table.video"),t("a-tooltip",{attrs:{title:e.$t("view.item.skulist.btn.refresh")}},[t("a-icon",{on:{click:e.getList},class:"action",attrs:{type:e.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 e=this;this.loading=!0,Object(o["g"])({page:this.query.page,limit:this.query.limit}).then((function(t){0===t.code&&(e.list=t.list,e.total=t.total),e.loading=!1})).catch((function(){e.loading=!1}))},changeSize:function(e){this.query.page=e,this.getList()},onSelectChange:function(e,t){this.selectedRowKeys=e,this.$emit("ok",t[0].video_url)}}},s=n,l=a("2877"),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},c611:function(e,t,a){"use strict";a.r(t);a("99af");var i=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:48}},[t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"参数编码"}},[t("a-input",{attrs:{placeholder:"请输入参数编码","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.configKey,callback:function(t){e.$set(e.queryParam,"configKey",t)},expression:"queryParam.configKey"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"参数名称"}},[t("a-input",{attrs:{placeholder:"请输入参数名称","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.configName,callback:function(t){e.$set(e.queryParam,"configName",t)},expression:"queryParam.configName"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"是否内置参数"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择","allow-clear":""},model:{value:e.queryParam.configType,callback:function(t){e.$set(e.queryParam,"configType",t)},expression:"queryParam.configType"}},e._l(e.typeOptions,(function(a,i){return t("a-select-option",{key:i,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1)],1),e.advanced?t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"创建时间"}},[t("a-range-picker",{staticStyle:{width:"100%"},attrs:{valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD","allow-clear":""},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1)],1):e._e(),t("a-col",[t("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v("查询")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v("重置")],1),t("a",{staticStyle:{"margin-left":"8px"},on:{click:e.toggleAdvanced}},[e._v(" "+e._s(e.advanced?"收起":"展开")+" "),t("a-icon",{attrs:{type:e.advanced?"up":"down"}})],1)],1)])],1)],1)],1)]),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e.showAddModal?t("config-add-form",{ref:"configAddForm",attrs:{typeOptions:e.typeOptions},on:{ok:e.getList,close:function(t){e.showAddModal=!1}}}):e._e(),e.showEditModal?t("config-edit-form",{ref:"configEditForm",attrs:{typeOptions:e.typeOptions},on:{ok:e.getList,close:function(t){e.showEditModal=!1}}}):e._e(),t("advance-table",{attrs:{columns:e.columns,"data-source":e.list,title:"系统参数",loading:e.loading,rowKey:"id",tableKey:"system-config-ConfigIndex-table",size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},pagination:{current:e.queryParam.pageNum,pageSize:e.queryParam.pageSize,total:e.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(e,t){return"第 ".concat(t[0],"-").concat(t[1]," 条,总计 ").concat(e," 条")},onChange:e.changeSize,onShowSizeChange:e.onSizeChange}},on:{refresh:e.getList},scopedSlots:e._u([{key:"configType",fn:function(a){a.text;var i=a.record;return t("span",{},[e._v(" "+e._s(e.typeFormat(i))+" ")])}},{key:"operation",fn:function(a){a.text;var i=a.record;return t("span",{},[t("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:edit"],expression:"['system:config:edit']"}],on:{click:function(t){return e.handleUpdate(i)}}},[e._v(" 修改 ")]),t("a-divider",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],attrs:{type:"vertical"}}),t("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],on:{click:function(t){return e.handleDelete(i)}}},[e._v(" 删除 ")])],1)}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:add"],expression:"['system:config:add']"}],attrs:{type:"primary",size:"small"},on:{click:e.handleAdd}},[t("a-icon",{attrs:{type:"plus"}}),e._v("新增 ")],1),e.multiple?e._e():t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],attrs:{type:"danger",disabled:e.multiple},on:{click:e.handleDelete}},[t("a-icon",{attrs:{type:"delete"}}),e._v("删除 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:export"],expression:"['system:config:export']"}],on:{click:e.handleExport}},[t("a-icon",{attrs:{type:"download"}}),e._v("导出 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],on:{click:e.handleRefreshCache}},[t("a-icon",{attrs:{type:"redo"}}),e._v("刷新缓存 ")],1)],1)])],1)],1)},r=[],o=(a("d81d"),a("c0c3")),n=a("5703"),s=a("5af5"),l=a("5d9e"),c={name:"Config",components:{ConfigEditForm:n["default"],ConfigAddForm:s["default"],AdvanceTable:l["default"]},data:function(){return{showAddModal:!1,showEditModal:!1,list:[],selectedRowKeys:[],selectedRows:[],advanced:!1,single:!0,multiple:!0,ids:[],configNames:[],loading:!1,sunloading:!1,total:0,typeOptions:[],dateRange:[],labelCol:{span:10},wrapperCol:{span:14},queryParam:{pageNum:1,pageSize:10,configName:void 0,configKey:void 0,configType:void 0},addModalRefName:"addModal",columns:[{title:"参数编码",dataIndex:"configKey",ellipsis:SVGComponentTransferFunctionElement,sswidth:"30%"},{title:"参数名称",dataIndex:"configName",ellipsis:!0,width:"15%"},{title:"参数值",dataIndex:"configValue",ellipsis:!0,width:"15%"},{title:"是否内置参数",dataIndex:"configType",scopedSlots:{customRender:"configType"},align:"center",width:"10%"},{title:"备注",dataIndex:"remark",ellipsis:!0,width:"15%"},{title:"创建时间",dataIndex:"createTime",scopedSlots:{customRender:"createTime"},width:"15%"},{title:"操作",dataIndex:"operation",width:"10%",align:"center",scopedSlots:{customRender:"operation"}}]}},filters:{},created:function(){var e=this;this.getList(),this.getDicts("sys_yes_no").then((function(t){e.typeOptions=t.data}))},computed:{},watch:{},methods:{getList:function(){var e=this;this.showAddModal=!1,this.showEditModal=!1,this.loading=!0,Object(o["g"])(this.addDateRange(this.queryParam,this.dateRange)).then((function(t){e.list=t.data.list,e.list.map((function(e){e.operation=e.remark})),e.total=t.data.total,e.loading=!1}))},typeFormat:function(e){return this.selectDictLabel(this.typeOptions,e.configType)},handleQuery:function(){this.queryParam.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.queryParam={pageNum:1,pageSize:10,configName:void 0,configKey:void 0,configType:void 0},this.handleQuery()},onShowSizeChange:function(e,t){this.queryParam.pageSize=t,this.getList()},onSizeChange:function(e,t){this.queryParam.pageNum=1,this.queryParam.pageSize=t,this.getList()},changeSize:function(e,t){this.queryParam.pageNum=e,this.queryParam.pageSize=t,this.getList()},onSelectChange:function(e,t){this.selectedRowKeys=e,this.selectedRows=t,this.ids=this.selectedRows.map((function(e){return e.id})),this.configNames=this.selectedRows.map((function(e){return e.configName})),this.single=1!==e.length,this.multiple=!e.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleAdd:function(){var e=this;this.showAddModal=!0,this.$nextTick((function(){return e.$refs.configAddForm.handleAdd()}))},handleUpdate:function(e){var t=this;this.showEditModal=!0,this.$nextTick((function(){return t.$refs.configEditForm.handleUpdate(e)}))},handleDelete:function(e){var t=this,a=e.id||this.ids,i=e.configName||this.configNames;this.$confirm({title:"确认删除所选中数据?",content:'当前选中名称为"'+i+'"的数据',onOk:function(){return Object(o["c"])(a).then((function(){t.onSelectChange([],[]),t.getList(),t.$message.success("删除成功",3)}))},onCancel:function(){}})},handleExport:function(){var e=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return Object(o["d"])(e.queryParam).then((function(t){e.download(t.msg),e.$message.success("导出成功",3)}))},onCancel:function(){}})},handleRefreshCache:function(){var e=this;Object(o["h"])().then((function(t){e.$message.success("刷新成功",3)}))}}},d=c,u=a("2877"),m=Object(u["a"])(d,i,r,!1,null,null,null);t["default"]=m.exports},c691:function(e,t,a){"use strict";a("ddcb")},cc89:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("div")},r=[],o={name:"Exception404",methods:{toHome:function(){this.$router.push({path:"/"})}}},n=o,s=a("2877"),l=Object(s["a"])(n,i,r,!1,null,null,null);t["default"]=l.exports},ddcb:function(e,t,a){},e52f:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e._self._c;return t("div",e._l(e.countryList,(function(a){return 0==a.status?t("div",{key:a.country_code,staticStyle:{"margin-right":"5px",display:"inline-block"}},[e._v(" "+e._s(e.$t(a.country_code))+" ")]):e._e()})),0)},r=[],o=(a("d81d"),a("4dc7")),n={name:"WarehouseCountryList",data:function(){return{countryList:[]}},props:{wareaHouseId:null},created:function(){this.getCountryList()},methods:{getCountryList:function(){var e=this;Object(o["c"])().then((function(t){var a=[];t.list&&t.list.length&&t.list.map((function(t){t.warehouse_id===e.wareaHouseId&&a.push(t)})),e.countryList=a}))}}},s=n,l=a("2877"),c=Object(l["a"])(s,i,r,!1,null,null,null);t["default"]=c.exports},eb30:function(e,t,a){"use strict";a.r(t);a("b0c0"),a("a9e3");var i=function(){var e=this,t=e._self._c;return t("span",[e.hiddenIcon?e._e():t("a-tooltip",[t("template",{slot:"title"},[e._v(" "+e._s(e.$t("components.imagetext.translation"))+" ")]),t("a-icon",{attrs:{type:"file-image"},on:{click:e.openModal}})],2),t("AntModal",{attrs:{visible:e.visible,title:e.modelTitle,modalWidth:"800",modalHeight:"650","adjust-size":!0},on:{cancel:e.close},scopedSlots:e._u([{key:"footer",fn:function(){return[t("recharge",{ref:"yueref",attrs:{showYue:!0}}),t("a-button",{staticStyle:{"margin-left":"5px"},on:{click:e.close}},[e._v(e._s(e.$t("components.imagetext.translation.close")))]),t("a-button",{attrs:{type:"primary"},on:{click:e.ok}},[e._v(e._s(e.$t("components.imagetext.translation.ok")))])]},proxy:!0}])},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"290px"}},[t("div",[e._v(e._s(e.$t("components.imagetext.translation.before")))]),t("div",{staticStyle:{width:"290px",height:"290px"}},[t("img",{staticStyle:{width:"290px",height:"290px","object-fit":"contain"},attrs:{src:e.img}})]),t("div",{staticStyle:{"margin-top":"1rem"}},[e._v(" "+e._s(e.$t("components.imagetext.translation.sourceLang"))+": "),e.langSource?t("a-select",{staticStyle:{width:"60%"},on:{change:e.changeCurrentLang},model:{value:e.currentLang,callback:function(t){e.currentLang=t},expression:"currentLang"}},e._l(e.langSource.sourceLanguage,(function(a){return t("a-select-option",{key:a.code,attrs:{value:a.code}},[e._v(" "+e._s(a.name)+" ")])})),1):e._e()],1)]),t("div",{staticStyle:{flex:"1","text-align":"center"}},[t("div",{staticStyle:{height:"311px","align-items":"center","justify-content":"center",display:"flex"}},[t("a-icon",{staticStyle:{"font-size":"2rem"},attrs:{type:"arrow-right"}})],1),t("a-select",{staticStyle:{width:"100%","margin-top":"1rem"},on:{change:e.changeTranEngData},model:{value:e.transEngineData,callback:function(t){e.transEngineData=t},expression:"transEngineData"}},e._l(e.langSource.transEngine,(function(a){return t("a-select-option",{key:a.code},[e._v(e._s(a.name)+" "),t("defaultCurrency",{attrs:{currency:"CNY",isFuhao:!0}}),e._v(" "+e._s(Number(Number(a.unitPrice)/100))+" ")],1)})),1)],1),t("div",{staticStyle:{width:"290px"}},[t("div",[e._v(e._s(e.$t("components.imagetext.translation.after")))]),t("div",{style:{width:"290px",height:"290px",border:e.newImg?"":"1px solid #ccc"}},[e.newImg?t("img",{staticStyle:{width:"290px",height:"290px","object-fit":"contain"},attrs:{src:e.newImg}}):e._e()]),t("div",{staticStyle:{"margin-top":"1rem","text-align":"right"}},[e._v(" "+e._s(e.$t("components.imagetext.translation.targetLang"))+": "),e.langSource?t("a-select",{staticStyle:{width:"60%"},on:{change:e.changeTransLang},model:{value:e.transLang,callback:function(t){e.transLang=t},expression:"transLang"}},e._l(e.langSource.targetLanguage,(function(a){return t("a-select-option",{key:a.code,attrs:{value:a.code}},[e._v(" "+e._s(a.name)+" ")])})),1):e._e()],1)])]),t("div",{staticStyle:{"margin-top":"1rem","text-align":"center"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.transImg}},[e._v(e._s(e.$t("components.imagetext.translation.translate")))])],1)])])],1)},r=[],o=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),n=a("3726"),s=Object(o["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),l=Object(o["b"])((function(){return Promise.resolve().then(a.bind(null,"b89c"))})),c=Object(o["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 e=this;Object(n["c"])().then((function(t){0===t.code&&(e.langSource=JSON.parse(t.lang),sessionStorage.getItem(d)?e.transEngineData=sessionStorage.getItem(d):e.langSource.transEngine.length>0&&(e.transEngineData=e.langSource.transEngine[0].code,sessionStorage.setItem(d,e.transEngineData)),sessionStorage.getItem(u)&&(e.currentLang=sessionStorage.getItem(u)),sessionStorage.getItem(m)&&(e.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 e=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(){e.$emit("update:img",e.newImg),e.$emit("ok",e.newImg),e.close()},onCancel:function(){}})},transImg:function(){var e=this;return this.transEngineData?this.currentLang?this.transLang?(this.$message.loading({content:this.$t("components.imagetext.translation.transImageLoading"),duration:0}),void Object(n["a"])({imgUrl:this.img,sourceLanguage:this.currentLang,targetLanguage:this.transLang,transEngine:this.transEngineData}).then((function(t){e.newImg=t.url+"?t="+(new Date).getTime(),e.$refs.yueref.getAmount(),e.$message.destroy()})).catch((function(t){e.$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(e){sessionStorage.setItem(d,e)},changeCurrentLang:function(e){sessionStorage.setItem(u,e)},changeTransLang:function(e){sessionStorage.setItem(m,e)}},components:{AntModal:s,recharge:l,defaultCurrency:c}},f=p,h=a("2877"),g=Object(h["a"])(f,i,r,!1,null,null,null);t["default"]=g.exports},f9ea:function(e,t,a){"use strict";a.r(t);a("a9e3");var i=function(){var e=this,t=e._self._c;return t("span",[e.isA?t("a",{on:{click:e.openModal}},[e._v(e._s(e.$t("view.order.detail.warehouse.update")))]):t("a-button",{attrs:{type:"primary"},on:{click:e.openModal}},[e._v(e._s(e.$t("view.order.detail.warehouse.update")))]),t("ant-modal",{attrs:{visible:e.visable,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:"600",modalWidth:"1200"},on:{cancel:function(t){return e.closeModal()}},scopedSlots:e._u([{key:"footer",fn:function(){return[t("a-button",{on:{click:e.closeModal}},[e._v(e._s(e.$t("view.test.list.form.button.cancel")))])]},proxy:!0}])},[e.order?t("div",{staticClass:"orderDetail",attrs:{slot:"content"},slot:"content"},[t("a-row",[t("a-col",{attrs:{span:24}},[t("div",[t("div",[e._v(" "+e._s(e.$t("order.switch.warehouse.koujian.stock.title"))+" :"),t("wareHouseInfo",{attrs:{warehouseId:e.order.order_item[0].stock_log?Number(e.order.order_item[0].stock_log.warehouse_id):0}})],1),t("div",[e._v(" "+e._s(e.$t("order.switch.warehouse.koujian.stock.reset.title"))+":"),e.order.order_item?t("wareHouseSelect",{staticStyle:{width:"200px",display:"inline-block","margin-right":"10px"},attrs:{wareHouseId:e.order.order_item[0].stock_log?Number(e.order.order_item[0].stock_log.warehouse_id):0},on:{change:e.changeWareHouseId}}):e._e(),t("a-button",{attrs:{type:"primary"},on:{click:e.saveWareHouse}},[e._v(e._s(e.$t("view.order.detail.warehouse.update")))])],1)])])],1),t("a-table",{attrs:{columns:e.columns,"data-source":e.order.order_item,pagination:!1},scopedSlots:e._u([{key:"img_url",fn:function(e){return[t("a-avatar",{attrs:{shape:"square",size:85,src:e}})]}},{key:"Title",fn:function(a,i){return[t("div",[t("div",[e._v(e._s(i.title))]),t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},["string"==typeof i.sku_prop?t("span",[e._v(" "+e._s(i.sku_prop)+" ")]):t("span",e._l(i.sku_prop,(function(a,i){return t("div",{key:i},[t("span",[e._v(e._s(i)+":"+e._s(a))])])})),0)])],1),t("div",[e._v(e._s(e.$t("view.order.detial.item.outid"))+" "+e._s(i.out_id))]),t("div",[e._v(e._s(e.$t("view.order.detial.item.barcode"))+" "+e._s(i.barcode))]),i.stock_log?t("div",[e._v(" "+e._s(e.$t("view.item.sku.wareHouse"))+" "),t("wareHouseInfo",{attrs:{warehouseId:i.stock_log.warehouse_id}})],1):e._e()],1)]}},{key:"price",fn:function(a){return[t("div",[e._v(e._s(e.shopQuoteCurrency)+" "+e._s(a))])]}},{key:"discount",fn:function(a){return[t("div",[e._v(e._s(e.shopQuoteCurrency)+" "+e._s(a))])]}},{key:"tax_fee",fn:function(a){return[t("div",[e._v(e._s(e.shopQuoteCurrency)+" "+e._s(a))])]}},{key:"amount",fn:function(a){return[t("div",[e._v(e._s(e.shopQuoteCurrency)+" "+e._s(a))])]}}],null,!1,3588468014)})],1):e._e()])],1)},r=[],o=a("5530"),n=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(o["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 e=this,t=[];this.orderId&&t.push({field:"order_id",operator:"eq",value:this.orderId});var a={};a.conditions=t,Object(n["y"])(a).then((function(t){var a;if(e.order=null===(a=t.list)||void 0===a?void 0:a[0],null==e.order)return e.$notification.error({message:e.$t("view.order.list.order.null"),duration:5}),!1}))},changeWareHouseId:function(e){this.wareHouseId=e},saveWareHouse:function(){var e=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 t,a,i,r;Object(n["D"])({order_id:e.orderId,switch_info:[{to_warehouse_id:e.wareHouseId,sku_id:null===(t=e.order.order_item)||void 0===t||null===(a=t[0])||void 0===a?void 0:a.sku_id,out_id:null===(i=e.order.order_item)||void 0===i||null===(r=i[0])||void 0===r?void 0:r.out_id}],warehouse_id:e.wareHouseId}).then((function(t){0===t.code&&(e.$notification.success({message:e.$t("view.order.detail.warehouse.update.success"),duration:5}),e.$emit("ok"),e.getOrder())}))},onCancel:function(){}})}}},m=Object(o["a"])({},u),p=m,f=a("2877"),h=Object(f["a"])(p,i,r,!1,null,null,null);t["default"]=h.exports}}]);
|
|
Binary file
|
|
Binary file
|