@bee-hole/admin 1.25.67 → 1.25.68
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/app~f075b844.227b6634.css +1 -0
- package/dist/css/app~f075b844.227b6634.css.gz +0 -0
- package/dist/css/chunk-2632938e.be4b42c5.css +1 -0
- package/dist/css/chunk-2632938e.be4b42c5.css.gz +0 -0
- package/dist/css/lang-zh-TW-service~f63b1681.926866c5.css +1 -0
- package/dist/css/lang-zh-TW-service~f63b1681.926866c5.css.gz +0 -0
- package/dist/index.html +1 -1
- package/dist/js/app~f075b844.fb583a95.js +1 -0
- package/dist/js/app~f075b844.fb583a95.js.gz +0 -0
- package/dist/js/chunk-03e1387e.c1841282.js +1 -0
- package/dist/js/chunk-03e1387e.c1841282.js.gz +0 -0
- package/dist/js/chunk-2632938e.d0b63928.js +1 -0
- package/dist/js/chunk-2632938e.d0b63928.js.gz +0 -0
- package/dist/js/chunk-458b8d3f.8cbf9c40.js +1 -0
- package/dist/js/chunk-458b8d3f.8cbf9c40.js.gz +0 -0
- package/dist/js/{chunk-fa04ce72.8dca4792.js → chunk-7454876a.3bba909c.js} +1 -1
- package/dist/js/chunk-7454876a.3bba909c.js.gz +0 -0
- package/dist/js/chunk-75d4a000.4c7d3eb8.js +1 -0
- package/dist/js/chunk-75d4a000.4c7d3eb8.js.gz +0 -0
- package/dist/js/{chunk-917b8bb0.fcabd3ed.js → chunk-917b8bb0.9e8210ff.js} +1 -1
- package/dist/js/chunk-917b8bb0.9e8210ff.js.gz +0 -0
- package/dist/js/{lang-package~4e34e71e.71a38bd5.js → lang-package~4e34e71e.67837520.js} +3 -3
- package/dist/js/lang-package~4e34e71e.67837520.js.gz +0 -0
- package/dist/js/lang-zh-TW-service~f63b1681.2a6156e4.js +1 -0
- package/dist/js/lang-zh-TW-service~f63b1681.2a6156e4.js.gz +0 -0
- package/package.json +1 -1
- package/dist/css/app~f075b844.4aae2ceb.css +0 -1
- package/dist/css/app~f075b844.4aae2ceb.css.gz +0 -0
- package/dist/css/chunk-27080981.93d8680d.css +0 -1
- package/dist/css/chunk-27080981.93d8680d.css.gz +0 -0
- package/dist/css/lang-zh-TW-service~f63b1681.945204f2.css +0 -1
- package/dist/css/lang-zh-TW-service~f63b1681.945204f2.css.gz +0 -0
- package/dist/js/app~f075b844.0af1593f.js +0 -1
- package/dist/js/app~f075b844.0af1593f.js.gz +0 -0
- package/dist/js/chunk-03e1387e.847d9507.js +0 -1
- package/dist/js/chunk-03e1387e.847d9507.js.gz +0 -0
- package/dist/js/chunk-172cb599.4442da16.js +0 -1
- package/dist/js/chunk-172cb599.4442da16.js.gz +0 -0
- package/dist/js/chunk-27080981.b2f6f46b.js +0 -1
- package/dist/js/chunk-27080981.b2f6f46b.js.gz +0 -0
- package/dist/js/chunk-75d4a000.9de1b22d.js +0 -1
- package/dist/js/chunk-75d4a000.9de1b22d.js.gz +0 -0
- package/dist/js/chunk-917b8bb0.fcabd3ed.js.gz +0 -0
- package/dist/js/chunk-fa04ce72.8dca4792.js.gz +0 -0
- package/dist/js/lang-package~4e34e71e.71a38bd5.js.gz +0 -0
- package/dist/js/lang-zh-TW-service~f63b1681.81c164fa.js +0 -1
- package/dist/js/lang-zh-TW-service~f63b1681.81c164fa.js.gz +0 -0
- /package/dist/css/{chunk-172cb599.d6e9a16a.css → chunk-458b8d3f.d6e9a16a.css} +0 -0
- /package/dist/css/{chunk-fa04ce72.3a09c127.css → chunk-7454876a.3a09c127.css} +0 -0
- /package/dist/css/{chunk-fa04ce72.3a09c127.css.gz → chunk-7454876a.3a09c127.css.gz} +0 -0
- /package/dist/js/{chunk-d323928e.047284ca.js → chunk-d323928e.90f83bb3.js} +0 -0
- /package/dist/js/{chunk-d323928e.047284ca.js.gz → chunk-d323928e.90f83bb3.js.gz} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["lang-zh-TW-service~f63b1681"],{"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)])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-in"},[t("ul",{staticClass:"information02"},[t("li",[t("div",{staticClass:"sky"},[t("img",{attrs:{src: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("完成率")])])])])])}],n={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},r=n,i=(o("d936"),o("2877")),c=Object(i["a"])(r,a,s,!1,null,"0c32075c",null);t["default"]=c.exports},"120c":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{attrs:{clas:"spyder"}},[t("a-card",{staticStyle:{padding:"20px 10px","align-content":"center"},attrs:{bordered:!1}},[t("div",[t("h2",[e._v("其他平台采集货源需安装蜂洞插件")]),t("span",[e._v("支持 "),t("span",{staticStyle:{color:"red"}},[e._v("temu")]),e._v(" 、 "),t("span",{staticStyle:{color:"red"}},[e._v("亚马逊")]),e._v(" 等平台。")])]),t("div",{staticStyle:{"margin-top":"10px"}},[t("h2",[e._v("插件支持多个主流浏览器")]),t("div",[t("img",{attrs:{src:"https://earth-rt.chengji-inc.com/market/help/2020-12-03/fcd81079-e265-422c-a2c3-e896f7101a8f.png?height=80&width=80"}})])]),t("div",[t("p",[e._v("1、插件安装后,需刷新页面;")]),t("p",[e._v("2、若插件已安装且已开启,但在点击翻译时,仍提示要下载插件,原因是之前的旧插件未删除,要到浏览器的扩展管理中进行删除。")])]),t("div",[t("h2",{staticStyle:{color:"red"}},[e._v("安装教程")]),t("h3",[e._v("不同浏览器安装插件的教程")]),t("h3",[t("span",[e._v("谷歌浏览器")]),e._v("("),t("span",[e._v("下载浏览器")]),e._v(")插件安装方法:")]),t("ol",[t("li",{staticStyle:{"line-height":"30px"}},[t("span",[e._v("1、下载安装文件")]),t("br"),t("span",[e._v(" 下载插件("),t("a",{staticClass:"download-highlight",attrs:{href:"#"}},[e._v("点击下载")]),e._v("),打开插件所在的文件夹,找到已下载的插件,插件后缀是.zip,不需要解压; ")])]),t("li",{staticStyle:{"line-height":"30px"}},[t("span",[e._v("2、打开浏览器扩展页面")]),t("br"),t("span",[e._v(" 打开Chrome谷歌浏览器,复制"),t("a",{attrs:{href:"chrome://extensions/",target:"_blank"}},[e._v("chrome://extensions/")]),e._v(",并粘贴到地址栏,按回车键进入扩展管理页面; ")])]),t("li",{staticStyle:{"line-height":"30px"}},[t("span",[e._v("3、安装插件")]),t("br"),t("span",[e._v(' 打开页面右上角的"开发者模式"开关,刷新页面,将zip文件拖拽至扩展程序管理页面空白处,完成安装。 ')])]),t("li",{staticStyle:{"line-height":"30px"}},[t("span",[e._v("4、移除旧插件(若之前有安装过)")]),t("br"),t("span",[e._v(" 若之前安装过旧版插件,请从扩展页面将其移除掉。 ")])])]),t("p",[e._v("(提示:安装插件显示模糊不妨碍正常使用,如果遇到插件被浏览器清除,重新安装即可)")])])])],1)},s=[],n=o("5530"),r=o("5f6f"),i=Object(n["a"])({},r["default"]),c=i,d=o("2877"),l=Object(d["a"])(c,a,s,!1,null,null,null);t["default"]=l.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}])})},s=[],n={name:"Build",components:{},data:function(){return{}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){},methods:{returnIndex:function(){this.$router.push({path:"/index"})}}},r=n,i=o("2877"),c=Object(i["a"])(r,a,s,!1,null,null,null);t["default"]=c.exports},4781:function(e,t,o){e.exports=o.p+"img/img02.9ac07e73.png"},"5f6f":function(e,t,o){"use strict";o.r(t),t["default"]={name:"spyder",components:{},created:function(){},computed:{},data:function(){return{}},methods:{}}},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,s=o.record;return t("span",{},[1==e.shopId?t("a",{on:{click:function(t){return e.handleOrderDetail(s)}}},[e._v(" "+e._s(a)+" ")]):t("span",[e._v(" "+e._s(a)+" ")]),t("div",[e._v(e._s(s.create_time))]),t("dispath-note",{staticStyle:{display:"none"},attrs:{order:s}}),1===s.is_virtual?t("a-tag",{attrs:{color:"#f50"}},[e._v(" "+e._s(e.$t("view.lockstock.log.lock.is_virtual.title"))+" ")]):e._e()],1)}},{key:"shop_id",fn:function(e){var 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,s=o.record;return t("span",{},e._l(a,(function(o,n){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,s))}})],1)],1),t("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(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,s){return t("div",{key:s},[t("span",[e._v(e._s(s)+":"+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=s.order_info)&&void 0!==r&&r.currency||s.currency?t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.list.sale_price"))+" : "+e._s((null===(i=s.order_info)||void 0===i?void 0:i.currency)||s.currency)+e._s(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=s.order_info)&&void 0!==c&&c.currency||s.currency?t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(e._s(e.$t("view.order.list.deduction_fee"))+":")]),t("a-col",[e._v(e._s((null===(d=s.order_info)||void 0===d?void 0:d.currency)||s.currency)+e._s(o.deduction_fee))])],1):e._e(),n<a.length-1?t("a-divider"):e._e()],1)]):e._e()})),0)}},{key:"post_fee",fn:function(o){var a,s,n,r=o.record;return t("span",{},[null!==(a=r.order_info)&&void 0!==a&&a.post_fee&&(null!==(s=r.order_info)&&void 0!==s&&s.currency||r.currency)?t("span",[e._v(e._s((null===(n=r.order_info)||void 0===n?void 0:n.currency)||r.currency)+e._s(r.order_info.post_fee))]):e._e()])}},{key:"deduction_fee",fn:function(o){var a,s,n=o.record;return t("span",{},[null!==(a=n.order_info)&&void 0!==a&&a.currency||n.currency?t("span",[e._v(e._s((null===(s=n.order_info)||void 0===s?void 0:s.currency)||n.currency)+e._s(n.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,s=o.record;return t("span",{},[""===s.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.biaojiahuobi"))+e._s(e.shopQuoteCurrency)+" "+e._s(a)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.payhuobiprice"))+" : "+e._s(s.trans_currency)+e._s(s.trans_amount)+" ")])],1):e._e(),""!==s.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.shopQuoteCurrency)+" "+e._s(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)},s=[],n=o("5530"),r=o("dbc2"),i=Object(n["a"])({},r["default"]),c=i,d=(o("1d24"),o("2877")),l=Object(d["a"])(c,a,s,!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")},s=[],n={name:"404"},r=n,i=o("2877"),c=Object(i["a"])(r,a,s,!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,s){return t("div",{directives:[{name:"show",rawName:"v-show",value:o.image_url,expression:"image.image_url"}],key:s,staticStyle:{"margin-bottom":"20px",width:"100px",height:"100px","margin-left":"10px",float:"left"}},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src: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,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_branch_code"+a},model:{value:s.set_branch_code,callback:function(t){e.$set(s,"set_branch_code",t)},expression:"record.set_branch_code"}})],1)}},{key:"set_label",fn:function(o,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_label"+a},model:{value:s.set_label,callback:function(t){e.$set(s,"set_label",t)},expression:"record.set_label"}})],1)}},{key:"set_reference_price",fn:function(o,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_reference_price"+a},model:{value:s.set_reference_price,callback:function(t){e.$set(s,"set_reference_price",t)},expression:"record.set_reference_price"}})],1)}},{key:"set_price",fn:function(o,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_price"+a},model:{value:s.set_price,callback:function(t){e.$set(s,"set_price",t)},expression:"record.set_price"}})],1)}},{key:"set_sku_number",fn:function(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,s){return t("div",{key:s,staticStyle:{"margin-bottom":"10px"}},[e._v(" "+e._s(e.$t("components.netsea.product.search_tag"))+e._s(s+1)+": "),t("a-input",{staticStyle:{width:"200px"},attrs:{name:"search_tag_text"+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)},s=[],n=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-172cb599").then(o.bind(null,"16f2"))})),_=Object(c["b"])((function(){return o.e("chunk-172cb599").then(o.bind(null,"12b1"))})),f=Object(c["b"])((function(){return o.e("chunk-27080981").then(o.bind(null,"5f19"))})),v={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,s={};return s.good_id=e.good_id,s.app_key=this.netseaShop.app_key,a.netseaGenereArray[e.good_id]={netseaGenereList:[],netseaGenereList1:[],netseaGenereList2:[]},Object(p["d"])(s).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 s=[];return a.netseaGoodInfoList[e.good_id].images&&a.netseaGoodInfoList[e.good_id].images.map((function(e){e.image_url&&s.push(a.getImageSizeInKB(e.image_url).then((function(t){return a.imageSizeArr[e.image_no]=t.toFixed(2),t})))})),Promise.all(s).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 s=e.data.find((function(e){return e.cat_id===a.p_cat_id}));s&&0===s.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,s=this,n={};return n.cat_id=e,Object(p["a"])(n).then((function(e){if(0===e.code)switch(t){case 0:s.netseaGenereArray[o].netseaGenereList=e.data;break;case 1:s.netseaGenereArray[o].netseaGenereList1=e.data;break;case 2:s.netseaGenereArray[o].netseaGenereList2=e.data;break}return a.$set(a,"netseaGenereArray",Object.assign({},a.netseaGenereArray)),e}))},selectNetSeaGenre:function(e,t,o){var a=this,s={};switch(t){case 0:a.netseaGenereArray[o].netseaGenereList1=[],a.netseaGenereArray[o].netseaGenereList2=[],a.netseaGenereArray[o].netseaGenereList3=[],a.secondCatId[o]=0,a.thirdCatId[o]=0,s=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,s=a.netseaGenereArray[o].netseaGenereList1.find((function(t){return t.cat_id===e}));break;case 2:a.netseaGenereArray[o].netseaGenereList3=[],s=a.netseaGenereArray[o].netseaGenereList2.find((function(t){return t.cat_id===e}));break}s&&(0===s.p_cat_id?a.getNetSeaGenere(s.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])})))})):s.p_cat_id===a.firstCatId[o]?a.getNetSeaGenere(s.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])})):s.p_cat_id===a.secondCatId[o]&&(a.thirdCatId[o]=s.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(s,n){s?o("success"):Object.keys(n)&&Object.keys(n)[0]&&a(new Error(t.$t("view.item.list.good_id")+e+n[Object.keys(n)[0]][0].message))}))}catch(s){a(new Error(s))}})))})),Promise.all(o).then((function(o){var a=[],s=e._.map(e.netseaGoodInfoList,(function(o,s){var n={};if(n.data=JSON.parse(JSON.stringify(o)),o.publish_period_start&&(n.data.publish_period_start=new Date(l()(n.data.publish_period_start).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),o.publish_period_end&&(n.data.publish_period_end=new Date(l()(n.data.publish_period_end).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),t.netProductDiscountCodeList[s]){if(!n.data.product_discount.product_discount_rate)return t.$message.error(t.$t("view.item.form.product_discount_rate.notnull")),"itemInfo";try{n.data.product_discount.product_discount_period_start=new Date(l()(n.data.product_discout.product_discount_period_start).format("YYYY-MM-DD HH:00:00")).getTime()/1e3,n.data.product_discount.product_discount_period_end=new Date(l()(n.data.product_discout.product_discount_period_end).format("YYYY-MM-DD HH:00:00")).getTime()/1e3}catch(c){}}else delete n.data.product_discount;if(n.data.good_id=s,!n.data.product_name)return t.$message.error(t.$t("view.item.form.item_name.notnull")),t.confirmNSLoading=!1,"title";if(!e.isWithinMaxLength(n.data.product_name,50))return t.$message.error(t.$t("view.item.form.item_name.maxlength")),document.getElementById("product_name"+s)&&document.getElementById("product_name"+s).focus(),t.confirmNSLoading=!1,"title";if(n.data.catchcopy&&!e.isWithinMaxLength(n.data.catchcopy,50))return t.$message.error(t.$t("view.item.form.catchcopy.maxlength")),document.getElementById("catchcopy"+s)&&document.getElementById("catchcopy"+s).focus(),t.confirmNSLoading=!1,"category";if(n.data.comment&&!e.isWithinMaxLength(n.data.comment,1e3))return t.$message.error(t.$t("view.item.form.comment.maxlength")),document.getElementById("comment"+s)&&document.getElementById("comment"+s).focus(),t.confirmNSLoading=!1,"description";if(n.data.description_for_consumer&&!e.isWithinMaxLength(n.data.description_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.description_for_consumer.maxlength")),document.getElementById("description_for_consumer"+s)&&document.getElementById("description_for_consumer"+s).focus(),t.confirmNSLoading=!1,"description";if(n.data.size&&!e.isWithinMaxLength(n.data.size,1e3))return t.$message.error(t.$t("view.item.form.size.maxlength")),document.getElementById("size"+s)&&document.getElementById("size"+s).focus(),t.confirmNSLoading=!1,"description";if(n.data.spec&&!e.isWithinMaxLength(n.data.spec,1e3))return t.$message.error(t.$t("view.item.form.spec.maxlength")),document.getElementById("spec"+s)&&document.getElementById("spec"+s).focus(),t.confirmNSLoading=!1,"description";if(n.data.spec_for_consumer&&!e.isWithinMaxLength(n.data.spec_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.spec_for_consumer.maxlength")),document.getElementById("spec_for_consumer"+s)&&document.getElementById("spec_for_consumer"+s).focus(),t.confirmNSLoading=!1,"description";if(n.data.notes&&!e.isWithinMaxLength(n.data.notes,5e3))return t.$message.error(t.$t("view.item.form.notes.maxlength")),document.getElementById("notes"+s)&&document.getElementById("notes"+s).focus(),t.confirmNSLoading=!1,"description";if(n.data.delivery_terms&&!e.isWithinMaxLength(n.data.delivery_terms,50))return t.$message.error(t.$t("view.item.form.delivery_terms.maxlength")),document.getElementById("delivery_terms"+s)&&document.getElementById("delivery_terms"+s).focus(),t.confirmNSLoading=!1,"other";if(n.data.search_tags.length>0)for(var r=0;r<n.data.search_tags.length;r++)if(!e.isWithinMaxLength(n.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"+s)[r]&&document.getElementsByName("search_tag_text"+s)[r].focus(),t.confirmNSLoading=!1,"other";if(n.data.jan_code&&!e.isWithinMaxLength(n.data.jan_code,13))return t.$message.error(t.$t("view.item.form.jan_code.maxlength")),document.getElementById("jan_code"+s)&&document.getElementById("jan_code"+s).focus(),t.confirmNSLoading=!1,"other";if(n.data.maker_code&&!e.isWithinMaxLength(n.data.maker_code,30))return t.$message.error(t.$t("view.item.form.maker_code.maxlength")),document.getElementById("maker_code"+s)&&document.getElementById("maker_code"+s).focus(),t.confirmNSLoading=!1,"other";if(n.data.product_set.length>0)for(var i=0;i<n.data.product_set.length;i++){if(!e.isWithinMaxLength(n.data.product_set[i].set_branch_code,20))return t.$message.error(t.$t("view.item.form.set_branch_code.maxlength")),document.getElementsByName("set_branch_code"+s)[i]&&document.getElementsByName("set_branch_code"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(!e.isWithinMaxLength(n.data.product_set[i].set_label,30))return t.$message.error(t.$t("view.item.form.set_label.maxlength")),document.getElementsByName("set_label"+s)[i]&&document.getElementsByName("set_label"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(!n.data.product_set[i].set_reference_price)return t.$message.error(t.$t("view.item.form.set_reference_price.notnull")),document.getElementsByName("set_reference_price"+s)[i]&&document.getElementsByName("set_reference_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(n.data.product_set[i].set_reference_price))return t.$message.error(t.$t("view.item.form.set_reference_price.number")),document.getElementsByName("set_reference_price"+s)[i]&&document.getElementsByName("set_reference_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(!n.data.product_set[i].set_price)return t.$message.error(t.$t("view.item.form.set_price.notnull")),document.getElementsByName("set_price"+s)[i]&&document.getElementsByName("set_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(n.data.product_set[i].set_price))return t.$message.error(t.$t("view.item.form.set_price.number")),document.getElementsByName("set_price"+s)[i]&&document.getElementsByName("set_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku"}a.push(n.data)}));s=t._.compact(s),a.length>0&&0===s.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)})):s.length>0&&(t.confirmNSLoading=!1,e.formEditKey=s[0])})).catch((function(e){t.confirmNSLoading=!1,t.$message.error(e)}))},isWithinMaxLength:function(e,t){for(var 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,s){"itemInfo"===e&&t.TemplateData["product_ship_setting_code"]&&(o.netProductDiscountCodeList[s]=!0,o.netseaGoodInfoList[s].product_discount=o.TemplateData.product_discount),o.plDataFields[e].map((function(e){o.netseaGoodInfoList[s][e]=o.TemplateData[e]}))})),this.$set(this,"netseaGoodInfoList",Object.assign({},this.netseaGoodInfoList))}},components:{AntModal:u,goodsIdList:m,leftTabItem:_,kandengGoodsOne:f}},h=Object(n["a"])({},v),g=h,y=o("2877"),b=Object(y["a"])(g,a,s,!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)},s=[],n=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(n["a"])({},l),u=p,m=o("2877"),_=Object(m["a"])(u,a,s,!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)},s=[],n=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 s;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s={good_id:o},t.next=3,Object(c["p"])(s);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(n["a"])({},d),p=l,u=o("2877"),m=Object(u["a"])(p,a,s,!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)},s=[],n={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=n,i=o("2877"),c=Object(i["a"])(r,a,s,!1,null,null,null);t["default"]=c.exports},dfcf:function(e,t,o){"use strict";o.r(t),t["default"]={"view.service.message.modal.title.2":"確認暫停此增值服務?","view.service.message.modal.content.2":"暫停後,客戶將無法在網店中看到此增值服務","view.service.message.modal.title.1":"確認啟用此增值服務?","view.service.message.modal.content.1":"啟用後,客戶可以在網店中看到此增值服務","view.service.message.modal.okText":"確認","component.service.addService":"新增增值服務","view.service.serviceStatus.2":"停用","view.service.serviceType.placeholder":"請選擇服務類型","view.service.serviceType.1":"全店商品服務","view.service.serviceType.2":"指定商品服務","view.service.serviceType.4":"指定公共分類服務","view.service.updateService":"編輯","view.service.addSuccess":"新增成功","view.service.serviceName":"服務名稱","view.service.serviceType":"服務類型","view.service.serviceMultiple.1":"不疊加","view.service.serviceStatus":"服務狀態","view.service.message.modal.cancelText":"取消","component.service.updateService":"編輯增值服務","view.service.serviceID":"服務編號","view.service.serviceMultiple.2":"疊加","component.service.serviceRange":"服務範圍","view.service.updateSuccess":"修改成功","view.service.servicePrice":"服務價格","view.service.serviceDesc.placeholder":"請輸入服務描述","view.service.servicePrice.placeholder":"請輸入服務價格","view.service.noService":"暫無增值服務","view.service.title":"服務管理","view.service.serviceStatus.1":"正常","view.service.serviceStatus.placeholder":"請選擇服務狀態","view.service.serviceDesc":"服務描述","view.service.serviceType.3":"指定分類服務","view.service.serviceMultiple":"價格是否疊加","view.service.serviceCreateTime":"創建時間","view.service.serviceName.placeholder":"請輸入服務名稱","view.service.serviceEvent":"服務事件","view.service.serviceEvent.1":"本地提貨","view.service.serviceEvent.placeholder":"請輸入服務事件","view.printer.add.print":"新增打印機","view.printer.form.print.name.notnull":"打印機名稱不能為空","view.printer.update.print":"修改打印機","view.printer.form.print.id.notnull":"打印機編號不能為空"}},e409:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("a-result",{attrs:{status:"403",title:"403","sub-title":"Sorry, you don't have access to this page."},scopedSlots:e._u([{key:"extra",fn:function(){return[t("a-button",{attrs:{type:"primary"},on:{click:e.toHome}},[e._v(" Back Home ")])]},proxy:!0}])})},s=[],n={name:"Exception403",methods:{toHome:function(){this.$router.push({path:"/"})}}},r=n,i=o("2877"),c=Object(i["a"])(r,a,s,!1,null,null,null);t["default"]=c.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)},s=[],n=(o("d3b7"),o("3ca3"),o("ddb0"),o("ac1f"),o("5319"),o("a026")),r=o("3726"),i=Object(n["b"])((function(){return Promise.resolve().then(o.bind(null,"2dd7"))})),c=Object(n["b"])((function(){return Promise.resolve().then(o.bind(null,"b89c"))})),d=Object(n["b"])((function(){return Promise.resolve().then(o.bind(null,"34c3"))})),l=Object(n["b"])((function(){return o.e("chunk-172cb599").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=_,v=o("2877"),h=Object(v["a"])(f,a,s,!1,null,null,null);t["default"]=h.exports}}]);
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|