@bee-hole/admin 1.25.71 → 1.25.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/index.html +1 -1
  2. package/dist/js/{app~f075b844.908a9c7a.js → app~f075b844.8a6c26a1.js} +1 -1
  3. package/dist/js/app~f075b844.8a6c26a1.js.gz +0 -0
  4. package/dist/js/{chunk-03e1387e.ec1b76aa.js → chunk-03e1387e.944ecc2f.js} +1 -1
  5. package/dist/js/chunk-03e1387e.944ecc2f.js.gz +0 -0
  6. package/dist/js/{chunk-709299b9.82e9684a.js → chunk-709299b9.b0edf0c0.js} +1 -1
  7. package/dist/js/chunk-709299b9.b0edf0c0.js.gz +0 -0
  8. package/dist/js/chunk-816e06dc.56591347.js +1 -0
  9. package/dist/js/chunk-816e06dc.56591347.js.gz +0 -0
  10. package/dist/js/{lang-package~4e34e71e.4d311750.js → lang-package~4e34e71e.ef94a2b5.js} +1 -1
  11. package/dist/js/{lang-package~4e34e71e.4d311750.js.gz → lang-package~4e34e71e.ef94a2b5.js.gz} +0 -0
  12. package/package.json +1 -1
  13. package/dist/js/app~f075b844.908a9c7a.js.gz +0 -0
  14. package/dist/js/chunk-03e1387e.ec1b76aa.js.gz +0 -0
  15. package/dist/js/chunk-096b580c.286f9fe2.js +0 -1
  16. package/dist/js/chunk-096b580c.286f9fe2.js.gz +0 -0
  17. package/dist/js/chunk-709299b9.82e9684a.js.gz +0 -0
  18. /package/dist/css/{chunk-096b580c.664d57bc.css → chunk-816e06dc.664d57bc.css} +0 -0
  19. /package/dist/css/{chunk-096b580c.664d57bc.css.gz → chunk-816e06dc.664d57bc.css.gz} +0 -0
  20. /package/dist/js/{chunk-2995d93e.5a29f876.js → chunk-2995d93e.61230a2a.js} +0 -0
  21. /package/dist/js/{chunk-2995d93e.5a29f876.js.gz → chunk-2995d93e.61230a2a.js.gz} +0 -0
  22. /package/dist/js/{chunk-7c63f466.d4ac8bd1.js → chunk-7c63f466.d677ef0c.js} +0 -0
  23. /package/dist/js/{chunk-7c63f466.d4ac8bd1.js.gz → chunk-7c63f466.d677ef0c.js.gz} +0 -0
  24. /package/dist/js/{chunk-d323928e.63c500ef.js → chunk-d323928e.af2bf922.js} +0 -0
  25. /package/dist/js/{chunk-d323928e.63c500ef.js.gz → chunk-d323928e.af2bf922.js.gz} +0 -0
  26. /package/dist/js/{lang-zh-TW-service~f63b1681.86739122.js → lang-zh-TW-service~f63b1681.dda54152.js} +0 -0
  27. /package/dist/js/{lang-zh-TW-service~f63b1681.86739122.js.gz → lang-zh-TW-service~f63b1681.dda54152.js.gz} +0 -0
@@ -0,0 +1 @@
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-816e06dc"],{"0a49":function(e,t,a){},"0ef6":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("div",{ref:"portaletDiv",staticClass:"module"},[e._m(0)])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-in"},[t("ul",{staticClass:"information02"},[t("li",[t("div",{staticClass:"sky"},[t("img",{attrs:{src:a("924b"),alt:""}})]),t("div",{staticClass:"information02-data"},[t("span",[e._v("50%")]),t("p",[e._v("压力仪表盘")])])]),t("li",[t("div",{staticClass:"sky"},[t("img",{attrs:{src:a("4781"),alt:""}})]),t("div",{staticClass:"information02-data"},[t("span",[e._v("28%")]),t("p",[e._v("完成率")])])])])])}],r={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},n=r,i=(a("d936"),a("2877")),c=Object(i["a"])(n,o,s,!1,null,"0c32075c",null);t["default"]=c.exports},"12b1":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-tabs",{attrs:{"tab-position":e.tabPosition},on:{change:e.changeTab},model:{value:e.activeKey,callback:function(t){e.activeKey=t},expression:"activeKey"}},e._l(e.list,(function(e){return t("a-tab-pane",{key:e.key,attrs:{tab:e.title}})})),1)},s=[],r={props:{defaultTabKey:{type:String,default:"title"},tabItems:{type:Array,default:function(){return[]}},platform:{type:String,default:"rakuten"}},data:function(){return{tabPosition:"left",list:[],tiktokList:[{key:"title",title:this.$t("view.item.list.itemTitle")},{key:"category",title:this.$t("view.attach.list.form.query3")},{key:"brand",title:this.$t("components.dyProduct.dyProduct.bran")},{key:"attribute",title:this.$t("components.dyProduct.dyProduct.attributes")},{key:"image",title:this.$t("view.item.list.itemImage")},{key:"itemInfo",title:this.$t("components.rakuten.tabOne.title")},{key:"sku",title:this.$t("view.bigcommerce.product.publish.table.skuInfo")},{key:"description",title:this.$t("view.alibaba.product.detail.sku.description")},{key:"sizeChart",title:this.$t("components.dyProduct.dyProduct.sizechart.image")},{key:"packageWeight",title:this.$t("components.dyProduct.package_weight.value")},{key:"packageSizeChart",title:this.$t("components.dyProduct.package_size_chart.value")},{key:"other",title:this.$t("components.rakuten.product.features")}],defaultList:[{key:"title",title:this.$t("view.item.list.itemTitle")},{key:"category",title:this.$t("view.attach.list.form.query3")},{key:"image",title:this.$t("view.item.list.itemImage")},{key:"itemInfo",title:this.$t("components.rakuten.tabOne.title")},{key:"sku",title:this.$t("view.bigcommerce.product.publish.table.skuInfo")},{key:"description",title:this.$t("view.alibaba.product.detail.sku.description")},{key:"other",title:this.$t("components.rakuten.product.features")}],activeKey:"title"}},created:function(){this.changeTab(this.defaultTabKey),this.tabItems.length>0?this.list=this.tabItems:"rakuten"===this.platform?this.list=this.defaultList:this.list=this.tiktokList},watch:{defaultTabKey:function(e,t){e&&e!==t&&this.changeTab(e)},tabItems:function(e,t){e&&e!==t&&(this.list=e)}},methods:{changeTab:function(e){this.activeKey=e,this.$emit("change",e)}}},n=r,i=a("2877"),c=Object(i["a"])(n,o,s,!1,null,null,null);t["default"]=c.exports},"1d24":function(e,t,a){"use strict";a("0a49")},2855:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-result",{attrs:{title:"该功能尚未开发!"},scopedSlots:e._u([{key:"icon",fn:function(){return[t("a-icon",{attrs:{type:"smile",theme:"twoTone"}})]},proxy:!0},{key:"extra",fn:function(){return[t("a-button",{attrs:{type:"primary"},on:{click:e.returnIndex}},[e._v(" 返回工作台 ")])]},proxy:!0}])})},s=[],r={name:"Build",components:{},data:function(){return{}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){},methods:{returnIndex:function(){this.$router.push({path:"/index"})}}},n=r,i=a("2877"),c=Object(i["a"])(n,o,s,!1,null,null,null);t["default"]=c.exports},4781:function(e,t,a){e.exports=a.p+"img/img02.9ac07e73.png"},"4a49":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-spin",{attrs:{spinning:e.loading,tip:"加载中..."}},[t("div",{style:"height:"+e.height},[t("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.src,frameborder:"no",scrolling:"auto"}})])])},s=[],r={name:"Swagger",components:{},data:function(){return{src:"/admin/swagger-ui.html",height:document.documentElement.clientHeight-120+"px;",loading:!0}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){var e=this;setTimeout((function(){e.loading=!1}),230);var t=this;window.onresize=function(){t.height=document.documentElement.clientHeight-94.5+"px;"}},methods:{}},n=r,i=a("2877"),c=Object(i["a"])(n,o,s,!1,null,null,null);t["default"]=c.exports},5194:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("a-spin",{attrs:{spinning:e.loading,tip:"加载中..."}},[t("div",{style:"height:"+e.height},[t("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.src,frameborder:"no",scrolling:"auto"}})])])},s=[],r={name:"Druid",components:{},data:function(){return{src:"/admin/druid/login.html",height:document.documentElement.clientHeight-124.5+"px;",loading:!0}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){var e=this;setTimeout((function(){e.loading=!1}),230);var t=this;window.onresize=function(){t.height=document.documentElement.clientHeight-94.5+"px;"}},methods:{}},n=r,i=a("2877"),c=Object(i["a"])(n,o,s,!1,null,null,null);t["default"]=c.exports},6393:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABjCAYAAABt56XsAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAGh0lEQVR42u2dTXPaOByHf5L8QoCQwCxtptNhD8llL7un/Qz7+XvZXJKL2+m0pQOJA/hd2gM266QhkRzbCNAzk5kQ/raDHvRiSZYIAMyW/Pc0E39CAofh03mPeTKxBX6QXYQJ/paJtRi5HvXojcr52yRMhOMH/B/J8GnHJl8GJ/SLTHAQ8wEFAJthBUAqEeIMw1XE+7IfIIh5P0zwXjLcsxkWNaZf7USJuJAMnVqM+LIyAODEoT4FgNMOnSr8T5NFJC7vV9nktUA/yC4eQnEJ4NXYgtMO/VZT2jVCnImhbOyoR/9VPb+1+YVilXLp4yZRCvx8yHquTeYWxeLEoQtgnSNSjn6UiGGYwIGCDEYRN5WQdSGEXJzDoPIl37AR0nXJVz8QXQBXksdOuACCWACA98PPAAAPoQAUJJTwei69rSvhdo3FiF/puOKXjk2TuxW/j1NxA3kpBVUElPEsimXHJtrnEFkshkpCaPnFeZd+JWQ3H2DUZ9q2rAqihDuysVWTkT79w2mH3kCyxVUT3uCEXrd4vcq4NpXOwSnHoMo1fhHSsUkyOGlNijc4odeHVFQVpFlNQoDWpHh9l9zumwzZoiipUwjwi5Q6xXjIZXRdqvVN4HPYFpnLxHEh3Ltldql6fvrSmx2bJO8G7JpRJKhHisco4ncD9mkfZQCARbHA+kv1GuM4w3gVcaWcIt0YWEW8GyTiQ8ZhQ71Z7FGCuGOT7/0OnTWfbM3yw8/+gnxTf+pamJ512Yv3WIuQj1exuFRunYWJsP2AX0FeinfaIbfFnfwhMF9mV0mGPxQOmVKCyLXJ1GZk2rFJBABRKtw0E4MwER8zDhfA2FI4KYB1MVbclctySDLWn4d4SSB6kM8l47xX42MAMS3S737FAWBcDlQWYgA6No3ny2yZZPCg3ksxfulNKnsWw2OGvWZ6FoyQN9B3yS3kWlzSGCFvoOvSRd1SjJA3UrcUI6QG6pRiWlk10XXpIkzE9TLiccbVRkrLGCE1kneUXj+E/CJMRDHcqyTGCGmAfKLGt0XIR6tYbUjb1CENUqXfzgjRDCNEM4wQzTBCNMMI0QwjRDOMEM0wQjTDCNEMI0QzjBDNMEI0wwjRDCNEM4yQBlF5wKfADFDVTJRwJ0oxilMxvA+E8lCuEVIDb5VQxgipSJ0SyhghCjQloYwR8gptSChglBghz9GmhBKea+GzEZKzIwkbCFnPUjlqIbuWUMLrOeQWOMI6RCMJQD4XuPxE8lEI0UwCkItwLTI/69JHE7QPVoiuEhglsWth69PIByVEVwkWI0vXwqznvj61dO+FHIKEMnspJEy4E2spAUvXIsoSyuyNkEJClIj3flB51bo68QDAXueEb3UtFaK1kGORUEY7IbpKcCwydxhmTS+ao4UQnSW4FmZtLg2yMyFGwvO0KkRHCYQADiNzZ4cSyrQixA/4hZEgRxtCJmEidi8BgGuT7zb7fxVuHdGiUm+IjQTHwqyjsMTrLjk0IXspocwhCPEoQVy0jlQWO9aRfRVyUBLK7IuQfCwBsc0OT0IZnYVsJDgWmeu+0Utd6CbkKCWU0UGI1NDmsbArIUbCFtoUsimOXOswlhxvgjaEeFXHl4+RxoUwiljnjSJ1wzzSphlGiGYYIZrRuBDZnTENa5Q2dLlbZh/iDGf5S+kNXQDAYZir7jJ9jEgJ8QM+DhPxW/5SdbujgnzGN+ZnXSNmG68K+fnAr7gQVfad2oZHAIwH7NOuP7yOvChk6md/5FVAXTIKjJQtbBXSoIwCI+UZnhXSgowCI+UJvzR7fz7wq5ZkAMBEAJiu9wU04IkQP+DjmitwGSYCwN0y2/XcLS14JCRv2rYpo2ASZxhGqVBezujQ2PT23q34hzhVuq32CNaTky2GhcXIAgDSTPTTDP04E0PFDU0my5Av0e5e7tqxERKn4gwKd98WxXLUf3Yvv1n+4+VblEpvvphy9HadILuGAsAi5OcKx3hdh3zeIuMRwx676bnkMxQ2y1qEfLTrRNklFFDKHZ5FsVQZfu25dOYwzCEnZRKnwghJOboywYQAMjnjKec95lFCpCa2HXuxpdT9nn/TK+FY1Y89JmiUCls22Gak8iQFm2EBybrkmJu/NG+aStUfjKLyfFqFh2QmxzyopVRkHeoEZ52gZN29KFVRryLer3qhMJEuhjyiNI55WFDXIolk7CTlqCwkycQIkjeIriXXIjtElIqsOBXDqheKU1Q+9pj4D0pHPWe2D9gsAAAAAElFTkSuQmCC"},"76f8":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticClass:"procureList",staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{ref:"search",staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.purchaseOrder.list.purchaseId"),labelCol:{md:3,sm:8,lg:5},wrapperCol:{lg:14}}},[t("a-input",{attrs:{"allow-clear":""},model:{value:e.queryParam.purchase_id,callback:function(t){e.$set(e.queryParam,"purchase_id",t)},expression:"queryParam.purchase_id"}})],1)],1),t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.order_id"),labelCol:{md:3,sm:8,lg:5},wrapperCol:{lg:14}}},[t("a-input",{attrs:{"allow-clear":""},model:{value:e.queryParam.order_id,callback:function(t){e.$set(e.queryParam,"order_id",t)},expression:"queryParam.order_id"}})],1)],1),"admin"==e.roles[0]?t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.shop.seller")}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("seller-list",{on:{changeuser:e.changeUser}})],1)])],1):e._e(),t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("procure.list.order.assoc_order_id"),labelCol:{md:3,sm:8,lg:5},wrapperCol:{lg:14}}},[t("a-input",{attrs:{"allow-clear":""},model:{value:e.queryParam.assoc_order_id,callback:function(t){e.$set(e.queryParam,"assoc_order_id",t)},expression:"queryParam.assoc_order_id"}})],1)],1),t("a-col",{attrs:{lg:11,xl:5,md:16}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.export.time_select_title"),labelCol:{md:3,sm:8,lg:3},wrapperCol:{lg:21}}},[t("a-range-picker",{staticStyle:{width:"auto"},attrs:{"show-time":""},model:{value:e.exportTime,callback:function(t){e.exportTime=t},expression:"exportTime"}},[t("template",{slot:"renderExtraFooter"})],2)],1)],1),t("a-col",{staticStyle:{"text-align":"right"},attrs:{lg:12,xl:8}},[t("span",{staticClass:"table-page-search-submitButtons buttonsTools"},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v(e._s(e.$t("view.order.list.query.btn"))+" ")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v(e._s(e.$t("view.order.list.reset.btn"))+" ")],1),t("purchaseUpload",{staticStyle:{"margin-left":"8px"},on:{uploadBack:function(t){return e.resetQuery()}}}),t("ExcelData",{attrs:{page:e.queryParam.page_no,pageSize:e.queryParam.page_size,total:e.total_count,loadData:e.changeSize,fileName:e.$t("app.menus.left.procure.procureOrder")}})],1)])],1)],1)],1)]),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e.showFaHuoModal?t("fa-huo",{ref:"fauho",attrs:{isEdit:!1},on:{ok:e.getList,close:function(t){e.showFaHuoModal=!1}}}):e._e(),e.orderDetailModal?t("order-detail",{ref:"OrderDetail",on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),t("advance-table",{attrs:{loading:e.loading,size:"middle","row-selection":null,"format-conditions":!1,columns:e.columns,"data-source":e.List,rowKey:"id",tableKey:"procure-order-table",expandedRowKeys:e.expandedRowKeys,pagination:{current:e.queryParam.page_no,pageSize:e.queryParam.page_size,total:e.total_count,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,showTotal:function(t,a){return e.$t("view.order.list.table.total",{num:a[0]+"-"+a[1],total:t})},onChange:e.changeSize,onShowSizeChange:e.onShowSizeChange},scroll:{x:"100%"},title:e.$t("view.order.list.list")},scopedSlots:e._u([{key:"purchase_id",fn:function(a){var o=a.text,s=a.record;return t("span",{},[t("div",[1===s.is_self_take&&1!==s.is_virtual?t("div",{staticStyle:{display:"flex","margin-bottom":"2px"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}}),t("a-tag",{attrs:{color:"green"}},[e._v(e._s(e.$t("view.procure.delivery.self_pickup")))])],1):e._e(),2===s.is_self_take&&1!==s.is_virtual?t("div",{staticStyle:{display:"flex","margin-bottom":"2px"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}}),t("a-tag",{attrs:{color:"green"}},[e._v(e._s(e.$t("view.procure.delivery.drop_shipping")))])],1):e._e(),3===s.is_self_take&&1!==s.is_virtual?t("div",{staticStyle:{display:"flex","margin-bottom":"2px"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}}),t("a-tag",{attrs:{color:"green"}},[e._v(e._s(e.$t("view.procure.delivery.hd")))])],1):e._e(),""!==s.assoc_order_id?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("procure.list.order.assoc_order_id"))+" ")]),t("a-tag",{staticStyle:{cursor:"pointer"},attrs:{color:"cyan"},on:{click:function(){return e.copyToClipboard(s.assoc_order_id)}}},[e._v(" "+e._s(s.assoc_order_id)+" ")])],1):e._e(),t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("view.purchaseOrder.list.purchaseId"))+" ")]),t("div",{staticStyle:{width:"240px"}},[e._v(" "+e._s(o)+" "),t("copyText",{attrs:{text:o,tooltipText:e.$t("view.order.list.purchase_id.copy")}})],1)]),1==e.shop_id&&s.main_shop_order?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("procure.list.order.order_id"))+" ")]),t("a",{staticStyle:{width:"240px"},on:{click:function(t){return e.handleOrderDetail(s)}}},[e._v(e._s(s.main_shop_order.order_id))]),t("copyText",{attrs:{text:s.main_shop_order.order_id,tooltipText:e.$t("view.order.list.order_id.copy")}})],1):e._e(),s.out_order_id&&s.sub_shop_id==e.shop_id?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("procure.list.order.order_id"))+" ")]),t("a",{staticStyle:{width:"240px"},on:{click:function(t){return e.handleOrderDetail(s)}}},[e._v(e._s(s.out_order_id))]),t("copyText",{attrs:{text:s.out_order_id,tooltipText:e.$t("view.order.list.order_id.copy")}})],1):e._e(),t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("procure.list.order.createTime"))+" ")]),e._v(" "+e._s(s.create_time)+" ")]),1!==s.is_self_take&&3!==s.is_self_take||""===s.logistics_company?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.order.list.logistics_company"))+" ")]),e._v(" "+e._s(s.logistics_company)+" ")]),1!==s.is_self_take&&3!==s.is_self_take||""===s.logistics_number?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.order.list.tracking_number"))+" ")]),e._v(" "+e._s(s.logistics_number)+" ")]),1!==s.is_self_take&&3!==s.is_self_take||""===s.miandan_url?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.upload.voucher"))+" ")]),t("a",{attrs:{href:s.miandan_url,target:"_blank"}},[e._v(e._s(e.$t("view.purchaseOrder.list.upload.voucher.view")))])]),1===e.shop_id?t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}},[e._v(" "+e._s(e.$t("view.order.detail.ship_from"))+" ")]),s.sub_shop_id?t("div",[t("supply-info",{attrs:{shopId:s.sub_shop_id}})],1):e._e()]):e._e(),t("div",{staticStyle:{display:"flex"}},[t("div",{staticStyle:{width:"100px","text-align":"right","margin-right":"0.5rem"}}),t("div",[1===s.is_virtual?t("a-tag",{attrs:{color:"#f50"}},[e._v(" "+e._s(e.$t("view.lockstock.log.lock.is_virtual.title"))+" ")]):e._e(),3===s.is_virtual?t("a-tag",{attrs:{color:"#87d068"}},[e._v(" "+e._s(e.$t("view.lockstock.log.use.lock.is_virtual.title"))+" ")]):e._e()],1)])])])}},{key:"status",fn:function(a){var o=a.text,s=a.record;return t("span",{},[t("div",["UNPAID"!==o&&"AFTER_SALE"!==o&&"REFUNDED"!==o?t("a",{on:{click:function(t){return e.openFahuo(s)}}},[e._v(" "+e._s(e.$t(o))+" ")]):t("span",[e._v(e._s(e.$t(o)))])])])}},{key:"items",fn:function(a){var o=a.text,s=a.record;return t("span",{},[s.items&&s.items.length?t("div",e._l(s.items,(function(a,r){return t("div",{key:s.purchase_id+"_"+s.id+"_"+r+(a?a.sku_id+"":""),staticStyle:{display:"flex","margin-bottom":"10px"}},[t("div",[t("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url}})],1),t("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(a.title)+" ")])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(" "+e._s((s.currency||"")+" "+a.price)+" ")]),t("a-col",{staticStyle:{"padding-left":"10px"},attrs:{flex:3}},[t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(a.num)+" ")],1)],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},["string"==typeof a.sku_prop?t("span",[e._v(" "+e._s(a.sku_prop)+" ")]):t("span",e._l(a.sku_prop,(function(a,o){return t("div",{key:o},[t("span",[e._v(e._s(o)+":"+e._s(a))])])})),0)])],1),t("a-row",[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.barcode"))+" : "+e._s(a.barcode)+" ")]),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.out_id"))+" : "+e._s(a.out_id)+" ")]),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.purchaseOrder.list.items.totalfee"))+" : "+e._s(s.currency+" "+a.payment)+" ")])],1),r<o.length-1?t("a-divider"):e._e()],1)])})),0):e._e()])}},{key:"payment",fn:function(a){var o=a.text,s=a.record;return t("span",{},[t("div",[e._v(e._s((s.currency||"")+" "+o))])])}},{key:"post_fee",fn:function(a){var o=a.text,s=a.record;return t("span",{},[t("div",[e._v(e._s((s.currency||"")+" "+o))])])}},{key:"paymemberInfo",fn:function(a){var o=a.record;return t("span",{},[t("a-row",[o.last_name&&""!==o.last_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_last_name"))+" : "+e._s(o.last_name)+" ")]):e._e(),o.first_name&&""!==o.first_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_first_name"))+" : "+e._s(o.first_name)+" ")]):e._e(),o.phone&&""!=o.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(o.phone)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_country"))+" : "),t("fanyi-list",{attrs:{list:[o.country]}})],1),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(o.state)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(o.city)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(o.street)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(o.apartment)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(o.zip_code)+" ")]),t("a-col",{attrs:{lg:24}},[t("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===o.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(t){return e.handleModifyShipping(o)}}},[e._v(" "+e._s(e.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var o=a.record;return t("span",{},[e.shop_id!=o.sub_shop_id||"PAID"!=o.status&&"SHIPPED"!=o.status?e._e():t("procureApply",{attrs:{order:o},on:{okAftersale:e.getList}}),"UNPAID"==o.status&&e.shop_id==o.sub_shop_id?t("a-divider",{attrs:{type:"vertical"}}):e._e(),e.shop_id==o.sub_shop_id?t("complaint-form",{attrs:{refId:o.purchase_id,orderId:o.out_order_id&&o.sub_shop_id==e.shop_id?o.out_order_id:1==e.shop_id?o.main_shop_order.order_id:"",type:"procure"},on:{ok:e.handleQuery}}):e._e(),"UNPAID"==o.status&&e.shop_id==o.sub_shop_id?t("a-divider",{attrs:{type:"vertical"}}):e._e(),e.shop_id!=o.sub_shop_id||e.loading?e._e():t("complaintDetail",{attrs:{orderId:o.purchase_id,type:"procure"}}),"UNPAID"==o.status?t("a-divider",{attrs:{type:"vertical"}}):e._e(),"UNPAID"==o.status?t("a",{on:{click:function(t){return e.closeProcure(o)}}},[e._v(" "+e._s(e.$t("wechat.pay.setting.close"))+" ")]):e._e(),"AFTER_SALE"==o.status?t("a-divider",{attrs:{type:"vertical"}}):e._e(),"AFTER_SALE"==o.status?t("a",{on:{click:function(t){return e.cancelAfterSale(o)}}},[e._v(" "+e._s(e.$t("view.order.list.aftersale.cancel.btn"))+" ")]):e._e(),"UNPAID"==o.status?t("h5pay",{ref:"h5Pay"+o.purchase_id,attrs:{orderId:o.purchase_id},on:{paySuccess:e.getList}}):e._e(),1!==o.is_self_take&&3!==o.is_self_take||"PAID"!=o.status?e._e():t("a-divider",{attrs:{type:"vertical"}}),1!==o.is_self_take&&3!==o.is_self_take||"PAID"!=o.status?e._e():t("voucher-upload",{attrs:{"purchase-id":o.purchase_id,"shop-id":o.sub_shop_id},on:{success:e.getList}})],1)}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t("div",[1!==e.shop_id?t("autoPurchasePay"):e._e(),1!==e.shop_id?t("recharge-main-shop",{staticStyle:{"margin-right":"10px"},attrs:{rechargeVisible:!0}}):e._e(),1!==e.shop_id?t("procureAdd",{ref:"procureAdd",attrs:{type:"goods"},on:{backList:e.getList}}):e._e()],1)])])],1)],1)},s=[],r=a("5530"),n=a("bdcb"),i=Object(r["a"])({},n["default"]),c=i,d=(a("c0ba"),a("2877")),l=Object(d["a"])(c,o,s,!1,null,null,null);t["default"]=l.exports},"77c96":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticClass:"orderList",staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{ref:"search",staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:1,type:"flex"}},[t("a-col",{attrs:{xxl:6,xl:8,lg:8}},[t("a-form-item",{attrs:{label:e.$t("view.order.detail.item")}},[t("good-list",{staticStyle:{width:"100%"},attrs:{type:"radio"},on:{changeitem:e.changeItem}})],1)],1),t("a-col",{attrs:{xxl:6,xl:8,lg:8,md:16}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.export.time_select_title"),labelCol:{md:3,sm:8,lg:4},wrapperCol:{lg:20}}},[t("a-range-picker",{staticStyle:{width:"auto"},attrs:{"show-time":""},model:{value:e.exportTime,callback:function(t){e.exportTime=t},expression:"exportTime"}},[t("template",{slot:"renderExtraFooter"})],2)],1)],1),t("a-col",{attrs:{xxl:12,xl:7,lg:8}},[t("span",{staticClass:"table-page-search-submitButtons buttonsTools",staticStyle:{"justify-content":"end",display:"flex"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v(e._s(e.$t("view.order.list.query.btn"))+" ")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v(e._s(e.$t("view.order.list.reset.btn"))+" ")],1),t("ExcelData",{attrs:{page:e.queryParam.page,pageSize:e.queryParam.limit,total:e.total_count,loadData:e.changeSize,fileName:e.$t("app.menus.left.supply.supplyOrder")}})],1)])],1),t("a-row",{attrs:{gutter:1,type:"flex"}},[1===e.shopId?t("a-col",{attrs:{xxl:6,lg:8}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.shop.seller")}},[t("div",{staticStyle:{display:"flex","align-items":"center",width:"100%"}},[t("seller-list",{on:{changeuser:e.changeUser}})],1)])],1):e._e(),t("a-col",{attrs:{xxl:6,lg:8,md:16}},[1===e.shopId&&e.userId?t("a-form-item",{attrs:{label:e.$t("view.order.list.shop"),labelCol:{md:3,sm:8,lg:4},wrapperCol:{lg:20}}},[t("shop-select",{ref:"shopSelect",attrs:{userId:e.userId},on:{change:e.changeShop}})],1):e._e()],1),t("a-col",{attrs:{lg:8}})],1)],1)],1)]),t("div",[e.showReviewModal?t("review-list",{ref:"ReviewList",on:{close:function(t){e.showReviewModal=!1}}}):e._e(),e.orderDetailModal?t("order-detail",{ref:"OrderDetail",on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),e.showFaHuoModal?t("review-list2",{ref:"ReviewList2",attrs:{mailingMode:2},on:{ok:e.getList,close:function(t){e.showFaHuoModal=!1}}}):e._e(),e.showInsureModal?t("insure-list",{ref:"InsureList",on:{ok:e.getList,close:function(t){e.showInsureModal=!1}}}):e._e(),e.showModifyShipping?t("modify-shipping",{ref:"ModifyShipping",on:{ok:e.getList,close:function(t){e.showModifyShipping=!1}}}):e._e(),e.showGigab2bModal?t("gigab2b",{ref:"pushDajian",on:{ok:e.getList,close:function(t){e.showGigab2bModal=!1}}}):e._e()],1),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t("a-tabs",{staticClass:"loginTitle",on:{change:function(t){return e.orderQuery(t)}}},e._l(e.statusLists,(function(e){return t("a-tab-pane",{key:e.value,attrs:{tab:e.label}})})),1),t("advance-table",{attrs:{loading:e.loading,size:"middle","format-conditions":!1,columns:e.columns,"data-source":e.list,rowKey:"id",tableKey:"test-cat-catlist-table",expandedRowKeys:e.expandedRowKeys,pagination:{current:e.queryParam.page,pageSize:e.queryParam.limit,total:e.total_count,showSizeChanger:!0,showLessItems:!1,showQuickJumper:!1,showTotal:function(t,a){return e.$t("view.order.list.table.total",{num:a[0]+"-"+a[1],total:t})},onChange:e.changeSize,onShowSizeChange:e.onShowSizeChange},scroll:{x:"100%"},title:e.$t("view.order.list.list")},scopedSlots:e._u([{key:"order_id",fn:function(a){var o=a.text,s=a.record;return t("span",{},[1==e.shopId?t("a",{on:{click:function(t){return e.handleOrderDetail(s)}}},[e._v(" "+e._s(o)+" ")]):t("span",[e._v(" "+e._s(o)+" ")]),t("div",[e._v(e._s(s.create_time))]),t("dispath-note",{staticStyle:{display:"none"},attrs:{order:s}}),1===s.is_virtual?t("a-tag",{attrs:{color:"#f50"}},[e._v(" "+e._s(e.$t("view.lockstock.log.lock.is_virtual.title"))+" ")]):e._e()],1)}},{key:"shop_id",fn:function(e){var a=e.record;return t("span",{},[t("supply-info",{attrs:{shopId:a.shop_id}})],1)}},{key:"supply_order_item",fn:function(a){var o=a.text,s=a.record;return t("span",{},e._l(o,(function(a,r){var n,i,c,d;return o.length>0?t("div",{key:a.sku_id,staticStyle:{display:"flex","margin-bottom":"10px"}},[t("div",[t("a-avatar",{attrs:{shape:"square",size:85,src:a.main_img_url}}),t("div",{staticStyle:{"margin-top":"0.5rem"}},[t("a-tag",{attrs:{color:2==a.main_mailing_mode?"red":"green"}},[1===e.shopId?t("div",[2==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself"))+" ")]):e._e(),1==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):e._e(),0==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):e._e()]):e._e(),1!==e.shopId?t("div",[2==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself1"))+" ")]):e._e(),1==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):e._e(),0==a.main_mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):e._e()]):e._e()]),t("div",{domProps:{innerHTML:e._s(e.viewShipping(a,s))}})],1)],1),t("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(a.main_title)+" ")])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},["string"==typeof a.main_sku_prop?t("span",[e._v(" "+e._s(a.main_sku_prop)+" "),t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(a.main_num)+" ")],1):t("span",e._l(a.main_sku_prop,(function(o,s){return t("div",{key:s},[t("span",[e._v(e._s(s)+":"+e._s(o))]),t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(a.main_num)+" ")],1)})),0)])],1),t("a-row",[null!==(n=s.order_info)&&void 0!==n&&n.currency||s.currency?t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.list.sale_price"))+" : "+e._s((null===(i=s.order_info)||void 0===i?void 0:i.currency)||s.currency)+e._s(a.main_sku_price)+" ")]):e._e(),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.barcode"))+" : "+e._s(a.main_barcode)+" ")]),t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(e.$t("view.item.sku.out_id"))+" : "+e._s(a.main_out_id)+" ")])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(e._s(e.$t("view.order.list.deduction_ratio"))+":")]),t("a-col",[e._v(e._s(a.deduction_ratio)+"%")])],1),null!==(c=s.order_info)&&void 0!==c&&c.currency||s.currency?t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(e._s(e.$t("view.order.list.deduction_fee"))+":")]),t("a-col",[e._v(e._s((null===(d=s.order_info)||void 0===d?void 0:d.currency)||s.currency)+e._s(a.deduction_fee))])],1):e._e(),r<o.length-1?t("a-divider"):e._e()],1)]):e._e()})),0)}},{key:"post_fee",fn:function(a){var o,s,r,n=a.record;return t("span",{},[null!==(o=n.order_info)&&void 0!==o&&o.post_fee&&(null!==(s=n.order_info)&&void 0!==s&&s.currency||n.currency)?t("span",[e._v(e._s((null===(r=n.order_info)||void 0===r?void 0:r.currency)||n.currency)+e._s(n.order_info.post_fee))]):e._e()])}},{key:"deduction_fee",fn:function(a){var o,s,r=a.record;return t("span",{},[null!==(o=r.order_info)&&void 0!==o&&o.currency||r.currency?t("span",[e._v(e._s((null===(s=r.order_info)||void 0===s?void 0:s.currency)||r.currency)+e._s(r.deduction_fee))]):e._e()])}},{key:"deduction_status",fn:function(a){var o=a.record;return t("span",{},[1===o.deduction_status?t("span",[e._v(e._s(e.$t("ORDER_WAIT_PAYMENT")))]):e._e(),2===o.deduction_status?t("span",[e._v(e._s(e.$t("ORDER_PAID")))]):e._e(),3===o.deduction_status?t("span",[e._v(e._s(e.$t("ORDER_REFUNDED")))]):e._e()])}},{key:"payment",fn:function(a){var o=a.text,s=a.record;return t("span",{},[""===s.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.biaojiahuobi"))+e._s(e.shopQuoteCurrency)+" "+e._s(o)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.payhuobiprice"))+" : "+e._s(s.trans_currency)+e._s(s.trans_amount)+" ")])],1):e._e(),""!==s.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.shopQuoteCurrency)+" "+e._s(o)+" ")])],1):e._e()],1)}},{key:"status",fn:function(a){var o=a.text;return t("span",{},[e._v(" "+e._s(e.$t(o))+" ")])}},{key:"order_info",fn:function(a){var o=a.record;return t("span",{},[o.order_info?t("a-row",[o.order_info.last_name&&""!==o.order_info.last_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_last_name"))+" : "+e._s(o.order_info.last_name)+" ")]):e._e(),o.order_info.first_name&&""!==o.order_info.first_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_first_name"))+" : "+e._s(o.order_info.first_name)+" ")]):e._e(),o.order_info.phone&&""!=o.order_info.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(o.order_info.phone)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_country"))+" : "),t("fanyi-list",{attrs:{list:[o.order_info.country]}})],1),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(o.order_info.state)+" ")]),o.order_info.city?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(o.order_info.city)+" ")]):e._e(),o.order_info.street?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(o.order_info.street)+" ")]):e._e(),o.order_info.apartment?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(o.order_info.apartment)+" ")]):e._e(),o.order_info.zip_code?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(o.order_info.zip_code)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.memberNote"))+" : "+e._s(o.order_info.member_note)+" ")])],1):e._e()],1)}},{key:"paymemberInfo",fn:function(a){var o=a.record;return t("span",{},[t("a-row",[o.last_name&&""!==o.last_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_last_name"))+" : "+e._s(o.last_name)+" ")]):e._e(),o.first_name&&""!==o.first_name?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_first_name"))+" : "+e._s(o.first_name)+" ")]):e._e(),o.phone&&""!=o.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(o.phone)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_country"))+" : "+e._s(o.country)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(o.state)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(o.city)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(o.street)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(o.apartment)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(o.zip_code)+" ")]),t("a-col",{attrs:{lg:24}},[t("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===o.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(t){return e.handleModifyShipping(o)}}},[e._v(" "+e._s(e.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var o=a.record;return t("span",{},[t("div",[1==e.shopId?t("complaintForm",{attrs:{refId:o.order_id,type:"supply"},on:{ok:e.handleQuery}}):e._e(),1!=e.shopId||e.loading?e._e():t("complaintDetail",{attrs:{orderId:o.order_id,type:"supply"}}),t("a",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===o.status&&1!=e.shopId&&e.isShowFahuoBtn(o)&&1!==o.is_virtual,expression:"record.status === 'ORDER_WAIT_SHIP' && shopId != 1 && isShowFahuoBtn(record) && record.is_virtual !== 1"}],on:{click:function(t){return e.handleFaHuo(o)}}},[e._v(" "+e._s(e.$t("view.order.list.ship.btn"))+" ")]),"ORDER_WAIT_PAYMENT"!==o.status&&"ORDER_WAIT_SHIP"===o.status&&1!=e.shopId&&o.isDajian&&1!==o.is_virtual?t("a-divider",{attrs:{type:"vertical"}}):e._e(),"ORDER_WAIT_PAYMENT"!==o.status&&1!=e.shopId&&o.isDajian&&1!==o.is_virtual?t("a",{on:{click:function(t){return e.pushDaJian(o)}}},[e._v(e._s(e.$t("view.order.list.pushdajian")))]):e._e(),t("a",{directives:[{name:"show",rawName:"v-show",value:1===o.deduction_status&&1!=e.shopId&&o.deduction_fee>0,expression:"record.deduction_status === 1 && shopId != 1 && record.deduction_fee > 0"}],on:{click:function(t){return e.supplyOrderPay(o)}}},[e._v(e._s(e.$t("procure.pay.deduction_fee.title")))])],1)])}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t("div",[1!==e.shopId?t("recharge-main-shop",{staticStyle:{"margin-right":"10px"},attrs:{rechargeVisible:!0}}):e._e()],1)])])],1)],1)},s=[],r=a("5530"),n=a("dbc2"),i=Object(r["a"])({},n["default"]),c=i,d=(a("1d24"),a("2877")),l=Object(d["a"])(c,o,s,!1,null,null,null);t["default"]=l.exports},"924b":function(e,t,a){e.exports=a.p+"img/img01.319f61f4.png"},"92c5":function(e,t,a){},"945a":function(e,t,a){"use strict";a.r(t);a("a9e3"),a("b64b");var o=function(){var e=this,t=e._self._c;return t("span",[e.open?t("AntModal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:e.modalHeight,modalWidth:e.modalWidth,"confirm-loading":e.confirmNSLoading},on:{cancel:e.cancelModal,ok:e.okNetSeaGoodInfo}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",[t("div",[t("goodsIdList",{staticStyle:{display:"none"},attrs:{goodsIds:e.goodsIds,goodsList:e.goodList},on:{"update:goodsList":function(t){e.goodList=t},"update:goods-list":function(t){e.goodList=t},back:e.initNetsea}})],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[t("leftTabItem",{attrs:{defaultTabKey:e.formEditKey},on:{change:e.changeLeftTab}})],1),t("a-col",{style:{overflowY:"auto",overflowX:"hidden",height:.78*Number(e.modalHeight)+"px"},attrs:{flex:"1"}},[e._l(e.netseaGoodInfoList,(function(a,o){return t("div",{key:o,staticStyle:{"padding-bottom":"2rem"}},[t("div",{staticStyle:{"margin-bottom":"1rem"}},[t("kandengGoodsOne",{attrs:{goodsList:e.goodList,goodsId:o}})],1),t("a-collapse",{model:{value:e.plActicty,callback:function(t){e.plActicty=t},expression:"plActicty"}},[t("a-collapse-panel",{attrs:{header:o+e.$t("view.item.form.pl.form.params.label")}},[t("div",{staticStyle:{padding:"1rem 0"}},[t("a-form-model",e._b({ref:"netseaGoodInfoForm"+o,refInFor:!0,attrs:{model:a,rules:e.netseaGoodInfoRules}},"a-form-model",{labelCol:{span:3},wrapperCol:{span:20}},!1),["title"===e.formEditKey?t("div",[t("a-form-model-item",{ref:"product_name",refInFor:!0,attrs:{label:e.$t("view.item.list.itemTitle"),help:e.$t("components.netsea.product.catchcopy.limit"),prop:"product_name"}},[t("a-input",{attrs:{id:"product_name"+o},model:{value:a.product_name,callback:function(t){e.$set(a,"product_name",t)},expression:"netseaGoodInfo.product_name"}})],1)],1):e._e(),"category"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netesa.product.category")}},[t("a-input",{attrs:{disabled:""},model:{value:a.category_id,callback:function(t){e.$set(a,"category_id",t)},expression:"netseaGoodInfo.category_id"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netesa.product.category")}},[e.netseaGenereArray[o]&&e.netseaGenereArray[o].netseaGenereList?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,0,o)}},model:{value:e.firstCatId[o],callback:function(t){e.$set(e.firstCatId,o,t)},expression:"firstCatId[good_id]"}},e._l(e.netseaGenereArray[o].netseaGenereList,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.cat_id}},[e._v(" "+e._s(a.cat_name)+" ")])})),1):e._e(),e.netseaGenereArray[o]&&e.netseaGenereArray[o].netseaGenereList1.length?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,1,o)}},model:{value:e.secondCatId[o],callback:function(t){e.$set(e.secondCatId,o,t)},expression:"secondCatId[good_id]"}},e._l(e.netseaGenereArray[o].netseaGenereList1,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.cat_id}},[e._v(" "+e._s(a.cat_name)+" ")])})),1):e._e(),e.netseaGenereArray[o]&&e.netseaGenereArray[o].netseaGenereList2.length?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,2,o)}},model:{value:e.thirdCatId[o],callback:function(t){e.$set(e.thirdCatId,o,t)},expression:"thirdCatId[good_id]"}},e._l(e.netseaGenereArray[o].netseaGenereList2,(function(a,o){return t("a-select-option",{key:o,attrs:{value:a.cat_id}},[e._v(" "+e._s(a.cat_name)+" ")])})),1):e._e()],1)],1):e._e(),"itemInfo"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.manage.code")}},[t("a-input",{attrs:{placeholder:e.$t("components.netsea.product.manage.code.placeholder"),disabled:""},model:{value:a.product_id,callback:function(t){e.$set(a,"product_id",t)},expression:"netseaGoodInfo.product_id"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.status")}},[t("a-radio-group",{model:{value:a.sales_status_code,callback:function(t){e.$set(a,"sales_status_code",t)},expression:"netseaGoodInfo.sales_status_code"}},[t("a-radio",{attrs:{value:"on_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.on_sale"))+" ")]),t("a-radio",{attrs:{value:"end_of_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.end_of_sale"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.method")}},[t("a-radio-group",{model:{value:a.sales_method_code,callback:function(t){e.$set(a,"sales_method_code",t)},expression:"netseaGoodInfo.sales_method_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.normal"))+" ")]),t("a-radio",{attrs:{value:"reserve"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.reserve"))+" ")]),t("a-radio",{attrs:{value:"payment_only"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.payment_only"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.publish.date")}},[t("a-date-picker",{attrs:{"show-time":""},model:{value:a.publish_period_start,callback:function(t){e.$set(a,"publish_period_start",t)},expression:"netseaGoodInfo.publish_period_start"}}),t("a-date-picker",{attrs:{"show-time":""},model:{value:a.publish_period_end,callback:function(t){e.$set(a,"publish_period_end",t)},expression:"netseaGoodInfo.publish_period_end"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.price.closed.flag")}},[t("a-radio-group",{model:{value:a.price_closed_flag,callback:function(t){e.$set(a,"price_closed_flag",t)},expression:"netseaGoodInfo.price_closed_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.false"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.shipping.fee")}},[t("a-radio-group",{model:{value:a.product_ship_setting_code,callback:function(t){e.$set(a,"product_ship_setting_code",t)},expression:"netseaGoodInfo.product_ship_setting_code"}},[t("a-radio",{attrs:{value:"store"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.shop_setting"))+" ")]),t("a-radio",{attrs:{value:"product"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.product.one"))+" "),t("a-input",{staticStyle:{width:"200px"},model:{value:a.product_ship_fee,callback:function(t){e.$set(a,"product_ship_fee",t)},expression:"netseaGoodInfo.product_ship_fee"}})],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.product.discount_code")}},[t("a-radio-group",{on:{change:function(t){return e.discountSwitch(o)}},model:{value:e.netProductDiscountCodeList[o],callback:function(t){e.$set(e.netProductDiscountCodeList,o,t)},expression:"netProductDiscountCodeList[good_id]"}},[t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.false"))+" ")]),t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.true"))+" "),e.netProductDiscountCodeList[o]?t("a-input-number",{staticStyle:{width:"100px"},model:{value:a.product_discount.product_discount_rate,callback:function(t){e.$set(a.product_discount,"product_discount_rate",t)},expression:"netseaGoodInfo.product_discount.product_discount_rate"}}):e._e(),e._v(" % "),e.netProductDiscountCodeList[o]?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:a.product_discount.product_discount_period_start,callback:function(t){e.$set(a.product_discount,"product_discount_period_start",t)},expression:"netseaGoodInfo.product_discount.product_discount_period_start"}}):e._e(),e.netProductDiscountCodeList[o]?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:a.product_discount.product_discount_period_end,callback:function(t){e.$set(a.product_discount,"product_discount_period_end",t)},expression:"netseaGoodInfo.product_discount.product_discount_period_end"}}):e._e()],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.volume_discount"),help:e.$t("components.netsea.product.volume_discount.info")}},[t("a-radio-group",{model:{value:a.volume_discount_target_flag,callback:function(t){e.$set(a,"volume_discount_target_flag",t)},expression:"netseaGoodInfo.volume_discount_target_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.true")))]),t("a-radio",{attrs:{value:!1}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.false")))])],1)],1)],1):e._e(),"image"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.image.license")}},[t("a-radio-group",{model:{value:a.image_repost_flag,callback:function(t){e.$set(a,"image_repost_flag",t)},expression:"netseaGoodInfo.image_repost_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.image.license.true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.image.license.false"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("view.item.list.form.image_url"),help:e.$t("view.item.form.image.limit")}},[t("div",{staticStyle:{"margin-bottom":"10px"}},e._l(a.images,(function(a,s){return t("div",{directives:[{name:"show",rawName:"v-show",value:a.image_url,expression:"image.image_url"}],key:s,staticStyle:{"margin-bottom":"20px",width:"100px",height:"100px","margin-left":"10px",float:"left"}},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:a.image_url}}),t("br"),e.imageSizeArr&&Object.keys(e.imageSizeArr)?t("div",{style:{textAlign:"center",color:e.imageSizeArr[a.image_no]>500?"#f00":"#000"}},[e._v(" "+e._s(e.imageSizeArr[a.image_no])+"K "),t("a-icon",{attrs:{type:"delete"},on:{click:function(t){return e.deleteImage(a.image_no,o)}}})],1):e._e()])})),0)])],1):e._e(),"description"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.catchcopy"),help:e.$t("components.netsea.product.catchcopy.limit"),prop:"catchcopy"}},[t("a-input",{attrs:{placeholder:e.$t("components.netsea.product.catchcopy.placeholder"),id:"catchcopy"+o},model:{value:a.catchcopy,callback:function(t){e.$set(a,"catchcopy",t)},expression:"netseaGoodInfo.catchcopy"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.comment"),help:e.$t("components.netsea.product.comment.info"),prop:"comment"}},[t("a-textarea",{attrs:{id:"comment"+o},model:{value:a.comment,callback:function(t){e.$set(a,"comment",t)},expression:"netseaGoodInfo.comment"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.description"),help:e.$t("components.netsea.product.description.info"),prop:"description"}},[t("a-textarea",{attrs:{id:"description_for_consumer"+o},model:{value:a.description_for_consumer,callback:function(t){e.$set(a,"description_for_consumer",t)},expression:"netseaGoodInfo.description_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.size"),help:e.$t("components.netsea.product.size.info"),prop:"size"}},[t("a-textarea",{attrs:{id:"size"+o},model:{value:a.size,callback:function(t){e.$set(a,"size",t)},expression:"netseaGoodInfo.size"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.spec"),help:e.$t("components.netsea.product.spec.info"),prop:"spec"}},[t("a-textarea",{attrs:{id:"spec"+o},model:{value:a.spec,callback:function(t){e.$set(a,"spec",t)},expression:"netseaGoodInfo.spec"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.consumer"),help:e.$t("components.netsea.product.consumer.info"),prop:"spec_for_consumer"}},[t("a-textarea",{attrs:{id:"spec_for_consumer"+o},model:{value:a.spec_for_consumer,callback:function(t){e.$set(a,"spec_for_consumer",t)},expression:"netseaGoodInfo.spec_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.notes"),help:e.$t("components.netsea.product.notes.info"),prop:"notes"}},[t("a-textarea",{attrs:{id:"notes"+o},model:{value:a.notes,callback:function(t){e.$set(a,"notes",t)},expression:"netseaGoodInfo.notes"}})],1)],1):e._e(),"sku"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.product_set")}},[t("a-table",{attrs:{columns:e.productSetColumns,"data-source":a.product_set,"row-key":function(e){return e.set_no},pagination:!1},scopedSlots:e._u([{key:"set_branch_code",fn:function(a,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_branch_code"+o},model:{value:s.set_branch_code,callback:function(t){e.$set(s,"set_branch_code",t)},expression:"record.set_branch_code"}})],1)}},{key:"set_label",fn:function(a,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_label"+o},model:{value:s.set_label,callback:function(t){e.$set(s,"set_label",t)},expression:"record.set_label"}})],1)}},{key:"set_reference_price",fn:function(a,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_reference_price"+o},model:{value:s.set_reference_price,callback:function(t){e.$set(s,"set_reference_price",t)},expression:"record.set_reference_price"}})],1)}},{key:"set_price",fn:function(a,s){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_price"+o},model:{value:s.set_price,callback:function(t){e.$set(s,"set_price",t)},expression:"record.set_price"}})],1)}},{key:"set_sku_number",fn:function(a,o){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_sku_number"},model:{value:o.set_sku_number,callback:function(t){e.$set(o,"set_sku_number",t)},expression:"record.set_sku_number"}})],1)}},{key:"set_stock_number",fn:function(a,o){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_stock_number"},model:{value:o.set_stock_number,callback:function(t){e.$set(o,"set_stock_number",t)},expression:"record.set_stock_number"}})],1)}}],null,!0)})],1)],1):e._e(),"other"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.delivery_terms"),help:e.$t("components.netsea.product.delivery_terms.info"),prop:"delivery_terms"}},[t("a-textarea",{attrs:{id:"delivery_terms"+o},model:{value:a.delivery_terms,callback:function(t){e.$set(a,"delivery_terms",t)},expression:"netseaGoodInfo.delivery_terms"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.return_setting_code")}},[t("a-radio-group",{model:{value:a.return_setting_code,callback:function(t){e.$set(a,"return_setting_code",t)},expression:"netseaGoodInfo.return_setting_code"}},[t("a-radio",{attrs:{value:"allow"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.allow")))]),t("a-radio",{attrs:{value:"deny"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.deny")))]),t("a-radio",{attrs:{value:"negotiable"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.negotiable")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.none")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.search_tag"),help:e.$t("components.netsea.product.search_tag.info")}},e._l(a.search_tags,(function(a,s){return t("div",{key:s,staticStyle:{"margin-bottom":"10px"}},[e._v(" "+e._s(e.$t("components.netsea.product.search_tag"))+e._s(s+1)+": "),t("a-input",{staticStyle:{width:"200px"},attrs:{name:"search_tag_text"+o},model:{value:a.search_tag_text,callback:function(t){e.$set(a,"search_tag_text",t)},expression:"tag.search_tag_text"}})],1)})),0),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.chartlet")}},[t("a-radio-group",{model:{value:a.stamp_id,callback:function(t){e.$set(a,"stamp_id",t)},expression:"netseaGoodInfo.stamp_id"}},[t("a-radio",{attrs:{value:0}},[e._v(e._s(e.$t("components.netsea.product.chartlet.0")))]),t("a-radio",{attrs:{value:1}},[e._v(e._s(e.$t("components.netsea.product.chartlet.1")))]),t("a-radio",{attrs:{value:3}},[e._v(e._s(e.$t("components.netsea.product.chartlet.3")))]),t("a-radio",{attrs:{value:4}},[e._v(e._s(e.$t("components.netsea.product.chartlet.4")))]),t("a-radio",{attrs:{value:5}},[e._v(e._s(e.$t("components.netsea.product.chartlet.5")))]),t("a-radio",{attrs:{value:6}},[e._v(e._s(e.$t("components.netsea.product.chartlet.6")))]),t("a-radio",{attrs:{value:7}},[e._v(e._s(e.$t("components.netsea.product.chartlet.7")))]),t("a-radio",{attrs:{value:8}},[e._v(e._s(e.$t("components.netsea.product.chartlet.8")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.jan_code"),help:e.$t("components.netsea.product.jan_code.info"),prop:"jan_code"}},[t("a-input",{attrs:{id:"jan_code"+o},model:{value:a.jan_code,callback:function(t){e.$set(a,"jan_code",t)},expression:"netseaGoodInfo.jan_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.maker_code"),help:e.$t("components.netsea.product.maker_code.info"),prop:"maker_code"}},[t("a-input",{attrs:{id:"maker_code"+o},model:{value:a.maker_code,callback:function(t){e.$set(a,"maker_code",t)},expression:"netseaGoodInfo.maker_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.reference_price")}},[t("a-select",{model:{value:a.reference_price_type_code,callback:function(t){e.$set(a,"reference_price_type_code",t)},expression:"netseaGoodInfo.reference_price_type_code"}},[t("a-select-option",{attrs:{value:"open_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.open_price"))+" ")]),t("a-select-option",{attrs:{value:"maker_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.maker_price"))+" ")]),t("a-select-option",{attrs:{value:"catalog_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.catalog_price"))+" ")]),t("a-select-option",{attrs:{value:"setting_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.setting_price"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.tax_rate")}},[t("a-radio-group",{model:{value:a.consumption_tax_type_code,callback:function(t){e.$set(a,"consumption_tax_type_code",t)},expression:"netseaGoodInfo.consumption_tax_type_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.normal")))]),t("a-radio",{attrs:{value:"reduced"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.reduced")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.none")))])],1)],1)],1):e._e()])],1)])],1)],1)})),t("div",[e.plDataFields[e.formEditKey]?t("div",[e._v(e._s(e.$t("view.item.form.pl.params.label")))]):e._e(),t("a-form-model",e._b({ref:"TemplateDataForm",attrs:{model:e.TemplateData,rules:e.netseaGoodInfoRules}},"a-form-model",{labelCol:{span:3},wrapperCol:{span:20}},!1),["description"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.catchcopy"),help:e.$t("components.netsea.product.catchcopy.limit"),prop:"catchcopy"}},[t("a-input",{attrs:{placeholder:e.$t("components.netsea.product.catchcopy.placeholder")},model:{value:e.TemplateData.catchcopy,callback:function(t){e.$set(e.TemplateData,"catchcopy",t)},expression:"TemplateData.catchcopy"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.comment"),help:e.$t("components.netsea.product.comment.info"),prop:"comment"}},[t("a-textarea",{attrs:{id:"comment"},model:{value:e.TemplateData.comment,callback:function(t){e.$set(e.TemplateData,"comment",t)},expression:"TemplateData.comment"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.description"),help:e.$t("components.netsea.product.description.info"),prop:"description"}},[t("a-textarea",{attrs:{id:"description_for_consumer"},model:{value:e.TemplateData.description_for_consumer,callback:function(t){e.$set(e.TemplateData,"description_for_consumer",t)},expression:"TemplateData.description_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.size"),help:e.$t("components.netsea.product.size.info"),prop:"size"}},[t("a-textarea",{attrs:{id:"size"},model:{value:e.TemplateData.size,callback:function(t){e.$set(e.TemplateData,"size",t)},expression:"TemplateData.size"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.spec"),help:e.$t("components.netsea.product.spec.info"),prop:"spec"}},[t("a-textarea",{attrs:{id:"spec"},model:{value:e.TemplateData.spec,callback:function(t){e.$set(e.TemplateData,"spec",t)},expression:"TemplateData.spec"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.consumer"),help:e.$t("components.netsea.product.consumer.info"),prop:"spec_for_consumer"}},[t("a-textarea",{attrs:{id:"spec_for_consumer"},model:{value:e.TemplateData.spec_for_consumer,callback:function(t){e.$set(e.TemplateData,"spec_for_consumer",t)},expression:"TemplateData.spec_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.notes"),help:e.$t("components.netsea.product.notes.info"),prop:"notes"}},[t("a-textarea",{attrs:{id:"notes"},model:{value:e.TemplateData.notes,callback:function(t){e.$set(e.TemplateData,"notes",t)},expression:"TemplateData.notes"}})],1)],1):e._e(),"itemInfo"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.status")}},[t("a-radio-group",{model:{value:e.TemplateData.sales_status_code,callback:function(t){e.$set(e.TemplateData,"sales_status_code",t)},expression:"TemplateData.sales_status_code"}},[t("a-radio",{attrs:{value:"on_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.on_sale"))+" ")]),t("a-radio",{attrs:{value:"end_of_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.end_of_sale"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.method")}},[t("a-radio-group",{model:{value:e.TemplateData.sales_method_code,callback:function(t){e.$set(e.TemplateData,"sales_method_code",t)},expression:"TemplateData.sales_method_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.normal"))+" ")]),t("a-radio",{attrs:{value:"reserve"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.reserve"))+" ")]),t("a-radio",{attrs:{value:"payment_only"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.payment_only"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.publish.date")}},[t("a-date-picker",{attrs:{"show-time":""},model:{value:e.TemplateData.publish_period_start,callback:function(t){e.$set(e.TemplateData,"publish_period_start",t)},expression:"TemplateData.publish_period_start"}}),t("a-date-picker",{attrs:{"show-time":""},model:{value:e.TemplateData.publish_period_end,callback:function(t){e.$set(e.TemplateData,"publish_period_end",t)},expression:"TemplateData.publish_period_end"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.price.closed.flag")}},[t("a-radio-group",{model:{value:e.TemplateData.price_closed_flag,callback:function(t){e.$set(e.TemplateData,"price_closed_flag",t)},expression:"TemplateData.price_closed_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.false"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.shipping.fee")}},[t("a-radio-group",{model:{value:e.TemplateData.product_ship_setting_code,callback:function(t){e.$set(e.TemplateData,"product_ship_setting_code",t)},expression:"TemplateData.product_ship_setting_code"}},[t("a-radio",{attrs:{value:"store"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.shop_setting"))+" ")]),t("a-radio",{attrs:{value:"product"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.product.one"))+" "),t("a-input",{staticStyle:{width:"200px"},model:{value:e.TemplateData.product_ship_fee,callback:function(t){e.$set(e.TemplateData,"product_ship_fee",t)},expression:"TemplateData.product_ship_fee"}})],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.product.discount_code")}},[t("a-radio-group",{model:{value:e.TemplateData.netProductDiscountCode,callback:function(t){e.$set(e.TemplateData,"netProductDiscountCode",t)},expression:"TemplateData.netProductDiscountCode"}},[t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.false"))+" ")]),t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.true"))+" "),e.TemplateData.netProductDiscountCode?t("a-input-number",{staticStyle:{width:"100px"},model:{value:e.TemplateData.product_discount.product_discount_rate,callback:function(t){e.$set(e.TemplateData.product_discount,"product_discount_rate",t)},expression:"TemplateData.product_discount.product_discount_rate"}}):e._e(),e._v(" % "),e.TemplateData.netProductDiscountCode?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:e.TemplateData.product_discount.product_discount_period_start,callback:function(t){e.$set(e.TemplateData.product_discount,"product_discount_period_start",t)},expression:"TemplateData.product_discount.product_discount_period_start"}}):e._e(),e.TemplateData.netProductDiscountCode?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:e.TemplateData.product_discount.product_discount_period_end,callback:function(t){e.$set(e.TemplateData.product_discount,"product_discount_period_end",t)},expression:"TemplateData.product_discount.product_discount_period_end"}}):e._e()],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.volume_discount"),help:e.$t("components.netsea.product.volume_discount.info")}},[t("a-radio-group",{model:{value:e.TemplateData.volume_discount_target_flag,callback:function(t){e.$set(e.TemplateData,"volume_discount_target_flag",t)},expression:"TemplateData.volume_discount_target_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.true")))]),t("a-radio",{attrs:{value:!1}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.false")))])],1)],1)],1):e._e(),"other"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.delivery_terms"),help:e.$t("components.netsea.product.delivery_terms.info"),prop:"delivery_terms"}},[t("a-textarea",{attrs:{id:"delivery_terms"},model:{value:e.TemplateData.delivery_terms,callback:function(t){e.$set(e.TemplateData,"delivery_terms",t)},expression:"TemplateData.delivery_terms"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.return_setting_code")}},[t("a-radio-group",{model:{value:e.TemplateData.return_setting_code,callback:function(t){e.$set(e.TemplateData,"return_setting_code",t)},expression:"TemplateData.return_setting_code"}},[t("a-radio",{attrs:{value:"allow"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.allow")))]),t("a-radio",{attrs:{value:"deny"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.deny")))]),t("a-radio",{attrs:{value:"negotiable"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.negotiable")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.none")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.search_tag"),help:e.$t("components.netsea.product.search_tag.info")}},e._l(e.TemplateData.search_tags,(function(a,o){return t("div",{key:o,staticStyle:{"margin-bottom":"10px"}},[e._v(" "+e._s(e.$t("components.netsea.product.search_tag"))+e._s(o+1)+": "),t("a-input",{staticStyle:{width:"200px"},attrs:{name:"search_tag_text"},model:{value:a.search_tag_text,callback:function(t){e.$set(a,"search_tag_text",t)},expression:"tag.search_tag_text"}})],1)})),0),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.chartlet")}},[t("a-radio-group",{model:{value:e.TemplateData.stamp_id,callback:function(t){e.$set(e.TemplateData,"stamp_id",t)},expression:"TemplateData.stamp_id"}},[t("a-radio",{attrs:{value:0}},[e._v(e._s(e.$t("components.netsea.product.chartlet.0")))]),t("a-radio",{attrs:{value:1}},[e._v(e._s(e.$t("components.netsea.product.chartlet.1")))]),t("a-radio",{attrs:{value:3}},[e._v(e._s(e.$t("components.netsea.product.chartlet.3")))]),t("a-radio",{attrs:{value:4}},[e._v(e._s(e.$t("components.netsea.product.chartlet.4")))]),t("a-radio",{attrs:{value:5}},[e._v(e._s(e.$t("components.netsea.product.chartlet.5")))]),t("a-radio",{attrs:{value:6}},[e._v(e._s(e.$t("components.netsea.product.chartlet.6")))]),t("a-radio",{attrs:{value:7}},[e._v(e._s(e.$t("components.netsea.product.chartlet.7")))]),t("a-radio",{attrs:{value:8}},[e._v(e._s(e.$t("components.netsea.product.chartlet.8")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.jan_code"),help:e.$t("components.netsea.product.jan_code.info"),prop:"jan_code"}},[t("a-input",{attrs:{id:"jan_code"},model:{value:e.TemplateData.jan_code,callback:function(t){e.$set(e.TemplateData,"jan_code",t)},expression:"TemplateData.jan_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.maker_code"),help:e.$t("components.netsea.product.maker_code.info"),prop:"maker_code"}},[t("a-input",{attrs:{id:"maker_code"},model:{value:e.TemplateData.maker_code,callback:function(t){e.$set(e.TemplateData,"maker_code",t)},expression:"TemplateData.maker_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.reference_price")}},[t("a-select",{model:{value:e.TemplateData.reference_price_type_code,callback:function(t){e.$set(e.TemplateData,"reference_price_type_code",t)},expression:"TemplateData.reference_price_type_code"}},[t("a-select-option",{attrs:{value:"open_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.open_price"))+" ")]),t("a-select-option",{attrs:{value:"maker_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.maker_price"))+" ")]),t("a-select-option",{attrs:{value:"catalog_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.catalog_price"))+" ")]),t("a-select-option",{attrs:{value:"setting_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.setting_price"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.tax_rate")}},[t("a-radio-group",{model:{value:e.TemplateData.consumption_tax_type_code,callback:function(t){e.$set(e.TemplateData,"consumption_tax_type_code",t)},expression:"TemplateData.consumption_tax_type_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.normal")))]),t("a-radio",{attrs:{value:"reduced"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.reduced")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.none")))])],1)],1)],1):e._e(),t("div",{staticStyle:{"margin-bottom":"1rem"}},[t("a-button",{on:{click:function(t){return e.piCopyData(e.formEditKey)}}},[e._v(e._s(e.$t("view.item.form.pl.params.save")))])],1)])],1)],2)],1)],1)]),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("a-button",{on:{click:e.cancelModal}},[e._v(e._s(e.$t("components.imagetext.translation.confirm.cancel")))]),t("a-button",{attrs:{type:"primary",loading:e.confirmNSLoading},on:{click:e.okNetSeaGoodInfo}},[e._v(e._s(e.$t("view.item.form.pl.save.button")))]),t("a-button",{attrs:{type:"success",loading:e.confirmNSLoading},on:{click:e.okFabu}},[e._v(e._s(e.$t("view.item.form.pl.fabu.button")))])],1)]):e._e()],1)},s=[],r=a("5530"),n=a("c7eb"),i=a("1da1"),c=(a("d3b7"),a("3ca3"),a("ddb0"),a("25f0"),a("b680"),a("d81d"),a("fb6a"),a("159b"),a("7db0"),a("a026")),d=a("c1df"),l=a.n(d),p=a("8caa"),_=Object(c["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),u=Object(c["b"])((function(){return a.e("chunk-2995d93e").then(a.bind(null,"16f2"))})),m=Object(c["b"])((function(){return a.e("chunk-816e06dc").then(a.bind(null,"12b1"))})),f=Object(c["b"])((function(){return a.e("chunk-2995d93e").then(a.bind(null,"5f19"))})),h={name:"rakutenAddProduct",props:{goodsIds:{type:Array,default:function(){return[]}}},data:function(){return{formTitle:this.$t("components.dyProduct.dyProduct.title"),formEditKey:"title",open:!1,modalWidth:"1350",modalHeight:"680",goodList:[],netseaGoodInfoList:{},netseaShop:null,imageSizeArr:{},netProductDiscountCodeList:{},netseaGenereArray:{},netseaGoodInfoRules:{product_name:[{required:!0,message:this.$t("view.item.list.form.placeholder.title"),trigger:"blur"},{max:50,message:this.$t("view.item.form.item_name.maxlength"),trigger:"change"}],catchcopy:[{max:50,message:this.$t("view.item.form.catchcopy.maxlength"),trigger:"change"}],comment:[{max:1e3,message:this.$t("view.item.form.comment.maxlength"),trigger:"change"}],description:[{max:5e3,message:this.$t("view.item.form.description_for_consumer.maxlength"),trigger:"change"}],size:[{max:1e3,message:this.$t("view.item.form.size.maxlength"),trigger:"change"}],spec:[{max:1e3,message:this.$t("view.item.form.spec.maxlength"),trigger:"change"}],spec_for_consumer:[{max:5e3,message:this.$t("view.item.form.spec_for_consumer.maxlength"),trigger:"change"}],notes:[{max:1e3,message:this.$t("view.item.form.notes.maxlength"),trigger:"change"}],delivery_terms:[{max:50,message:this.$t("view.item.form.delivery_terms.maxlength"),trigger:"change"}],jan_code:[{max:13,message:this.$t("view.item.form.jan_code.maxlength"),trigger:"change"}],maker_code:[{max:30,message:this.$t("view.item.form.maker_code.maxlength"),trigger:"change"}]},categoryHierarchyList:{},firstCatId:{},secondCatId:{},thirdCatId:{},productSetColumns:[{title:this.$t("components.netsea.product.product_set.set_no"),dataIndex:"set_no",key:"set_no"},{title:this.$t("components.netsea.product.set_branch_code"),dataIndex:"set_branch_code",key:"set_branch_code",scopedSlots:{customRender:"set_branch_code"}},{title:this.$t("components.netsea.product.product_set.set_label"),dataIndex:"set_label",key:"set_label",scopedSlots:{customRender:"set_label"}},{title:this.$t("components.netsea.product.product_set.set_reference_price"),dataIndex:"set_reference_price",key:"set_reference_price",scopedSlots:{customRender:"set_reference_price"}},{title:this.$t("components.netsea.product.product_set.set_price"),dataIndex:"set_price",key:"set_price",scopedSlots:{customRender:"set_price"}},{title:this.$t("components.netsea.product.product_set.set_sku_number"),dataIndex:"set_sku_number",key:"set_sku_number",scopedSlots:{customRender:"set_sku_number"}},{title:this.$t("components.netsea.product.product_set.set_stock_number"),dataIndex:"set_stock_number",key:"set_stock_number",scopedSlots:{customRender:"set_stock_number"}}],confirmNSLoading:!1,plDataFields:{description:["catchcopy","comment","description_for_consumer","size","spec","spec_for_consumer","notes"],itemInfo:["sales_status_code","sales_method_code","publish_period_start","publish_period_end","product_ship_setting_code","product_ship_fee"],other:["delivery_terms","return_setting_code","search_tags","stamp_id","jan_code","maker_code","reference_price_type_code","consumption_tax_type_code"]},TemplateData:{product_discount:{product_discount_rate:"",product_discount_period_start:"",product_discount_period_end:""},search_tags:[{search_tag_no:1,search_tag_text:""},{search_tag_no:2,search_tag_text:""},{search_tag_no:3,search_tag_text:""},{search_tag_no:4,search_tag_text:""},{search_tag_no:5,search_tag_text:""}]},plActicty:[]}},methods:{changeLeftTab:function(e){this.formEditKey=e},cancelModal:function(){this.open=!1},openModal:function(){this.modalHeight=(.9*window.innerHeight).toFixed(0).toString(),this.modalWidth=(.8*window.innerWidth).toFixed(0).toString(),this.open=!0},initLoad:function(e){e&&(this.netseaGoodInfoList={},this.netseaShop=e,this.openModal())},initNetsea:function(e){var t=this;Promise.all(this._.map(e,(function(e,a){return t.netseaPublication(e)}))).then((function(e){t.$message.destroy()}))},netseaPublication:function(e,t){var a=this,o=this,s={};return s.good_id=e.good_id,s.app_key=this.netseaShop.app_key,o.netseaGenereArray[e.good_id]={netseaGenereList:[],netseaGenereList1:[],netseaGenereList2:[]},Object(p["d"])(s).then((function(t){if(0===t.code){o.netseaGoodInfoList[e.good_id]=t.product_info,o.getParentCategory(o.netseaGoodInfoList[e.good_id].category_id,e.good_id),o.imageSizeArr={};var s=[];return o.netseaGoodInfoList[e.good_id].images&&o.netseaGoodInfoList[e.good_id].images.map((function(e){e.image_url&&s.push(o.getImageSizeInKB(e.image_url).then((function(t){return o.imageSizeArr[e.image_no]=t.toFixed(2),t})))})),Promise.all(s).then((function(){o.imageSizeArr=Object.assign({},o.imageSizeArr)})),o.netseaGoodInfoList[e.good_id].publish_period_start&&(o.netseaGoodInfoList[e.good_id].publish_period_start=new Date(1e3*o.netseaGoodInfoList[e.good_id].publish_period_start).toISOString().slice(0,19)),o.netseaGoodInfoList[e.good_id].publish_period_end&&(o.netseaGoodInfoList[e.good_id].publish_period_end=new Date(1e3*o.netseaGoodInfoList[e.good_id].publish_period_end).toISOString().slice(0,19)),o.netseaGoodInfoList[e.good_id].product_discout?(o.netProductDiscountCodeList[e.good_id]=!0,o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start=o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start?new Date(1e3*o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start).toISOString().slice(0,19):"",o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end=o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end?new Date(1e3*o.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end).toISOString().slice(0,19):""):(o.netProductDiscountCodeList[e.good_id]=!1,o.netseaGoodInfoList[e.good_id].product_discount={product_discount_rate:"",product_discount_period_start:"",product_discount_period_end:""}),o.app_key=a.netseaShop.app_key,o.getNetSeaGenere(0,0,e.good_id),o.$set(a,"netseaGoodInfoList",Object.assign({},o.netseaGoodInfoList)),a.netseaShop.loading=!1,t}}))},getParentCategory:function(e,t){var a=this,o=this;this.categoryHierarchyList[t]||(this.categoryHierarchyList[t]={level1:{},level2:{},level3:{}}),Object(p["b"])({cat_id:e}).then((function(e){0===e.code&&(e.data.forEach((function(o){if(0===o.p_cat_id)a.categoryHierarchyList[t].level1=o;else{var s=e.data.find((function(e){return e.cat_id===o.p_cat_id}));s&&0===s.p_cat_id?a.categoryHierarchyList[t].level2=o:a.categoryHierarchyList[t].level3=o}})),a.firstCatId[t]=a.categoryHierarchyList[t].level1.cat_id,a.secondCatId[t]=a.categoryHierarchyList[t].level2.cat_id,o.getNetSeaGenere(a.firstCatId[t],1,t),a.thirdCatId[t]=a.categoryHierarchyList[t].level3.cat_id,o.getNetSeaGenere(a.secondCatId[t],2,t),a.$set(a,"categoryHierarchyList",Object.assign({},a.categoryHierarchyList)),a.$set(a,"firstCatId",Object.assign({},a.firstCatId)),a.$set(a,"secondCatId",Object.assign({},a.secondCatId)),a.$set(a,"thirdCatId",Object.assign({},a.thirdCatId)))}))},getNetSeaGenere:function(e,t,a){var o=this,s=this,r={};return r.cat_id=e,Object(p["a"])(r).then((function(e){if(0===e.code)switch(t){case 0:s.netseaGenereArray[a].netseaGenereList=e.data;break;case 1:s.netseaGenereArray[a].netseaGenereList1=e.data;break;case 2:s.netseaGenereArray[a].netseaGenereList2=e.data;break}return o.$set(o,"netseaGenereArray",Object.assign({},o.netseaGenereArray)),e}))},selectNetSeaGenre:function(e,t,a){var o=this,s={};switch(t){case 0:o.netseaGenereArray[a].netseaGenereList1=[],o.netseaGenereArray[a].netseaGenereList2=[],o.netseaGenereArray[a].netseaGenereList3=[],o.secondCatId[a]=0,o.thirdCatId[a]=0,s=o.netseaGenereArray[a].netseaGenereList.find((function(t){return t.cat_id===e}));break;case 1:o.netseaGenereArray[a].netseaGenereList2=[],o.netseaGenereArray[a].netseaGenereList3=[],o.thirdCatId[a]=0,s=o.netseaGenereArray[a].netseaGenereList1.find((function(t){return t.cat_id===e}));break;case 2:o.netseaGenereArray[a].netseaGenereList3=[],s=o.netseaGenereArray[a].netseaGenereList2.find((function(t){return t.cat_id===e}));break}s&&(0===s.p_cat_id?o.getNetSeaGenere(s.cat_id,1,a).then((function(e){o.netseaGenereArray[a].netseaGenereList&&(o.secondCatId[a]=o.netseaGenereArray[a].netseaGenereList1[0].cat_id,o.getNetSeaGenere(o.secondCatId[a],2,a).then((function(e){o.netseaGenereArray[a].netseaGenereList1&&(o.thirdCatId[a]=o.netseaGenereArray[a].netseaGenereList2[0].cat_id,o.netseaGoodInfoList[a].category_id=o.thirdCatId[a])})))})):s.p_cat_id===o.firstCatId[a]?o.getNetSeaGenere(s.cat_id,2,a).then((function(e){o.netseaGenereArray[a].netseaGenereList2&&(o.thirdCatId[a]=o.netseaGenereArray[a].netseaGenereList2[0].cat_id,o.netseaGoodInfoList[a].category_id=o.thirdCatId[a])})):s.p_cat_id===o.secondCatId[a]&&(o.thirdCatId[a]=s.cat_id,o.secondCatId[a]&&(o.netseaGoodInfoList[a].category_id=o.thirdCatId[a])))},discountSwitch:function(e){this.$set(this,"netProductDiscountCodeList",Object.assign({},this.netProductDiscountCodeList))},getImageSizeInKB:function(e){return Object(i["a"])(Object(n["a"])().mark((function t(){return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.abrupt("return",Object(p["c"])({url:e}).then((function(e){if(e.volume)return e.volume})));case 4:t.prev=4,t.t0=t["catch"](0);case 6:case"end":return t.stop()}}),t,null,[[0,4]])})))()},okNetSeaGoodInfo:function(){var e=this,t=this;t.confirmNSLoading=!0;var a=[];this.goodsIds.map((function(e,o){t.$refs["netseaGoodInfoForm"+e]&&t.$refs["netseaGoodInfoForm"+e][0]&&a.push(new Promise((function(a,o){try{t.$refs["netseaGoodInfoForm"+e][0].validate((function(s,r){s?a("success"):Object.keys(r)&&Object.keys(r)[0]&&o(new Error(t.$t("view.item.list.good_id")+e+r[Object.keys(r)[0]][0].message))}))}catch(s){o(new Error(s))}})))})),Promise.all(a).then((function(a){var o=[],s=e._.map(e.netseaGoodInfoList,(function(a,s){var r={};if(r.data=JSON.parse(JSON.stringify(a)),a.publish_period_start&&(r.data.publish_period_start=new Date(l()(r.data.publish_period_start).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),a.publish_period_end&&(r.data.publish_period_end=new Date(l()(r.data.publish_period_end).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),t.netProductDiscountCodeList[s]){if(!r.data.product_discount.product_discount_rate)return t.$message.error(t.$t("view.item.form.product_discount_rate.notnull")),"itemInfo";try{r.data.product_discount.product_discount_period_start=new Date(l()(r.data.product_discout.product_discount_period_start).format("YYYY-MM-DD HH:00:00")).getTime()/1e3,r.data.product_discount.product_discount_period_end=new Date(l()(r.data.product_discout.product_discount_period_end).format("YYYY-MM-DD HH:00:00")).getTime()/1e3}catch(c){}}else delete r.data.product_discount;if(r.data.good_id=s,!r.data.product_name)return t.$message.error(t.$t("view.item.form.item_name.notnull")),t.confirmNSLoading=!1,"title";if(!e.isWithinMaxLength(r.data.product_name,50))return t.$message.error(t.$t("view.item.form.item_name.maxlength")),document.getElementById("product_name"+s)&&document.getElementById("product_name"+s).focus(),t.confirmNSLoading=!1,"title";if(r.data.catchcopy&&!e.isWithinMaxLength(r.data.catchcopy,50))return t.$message.error(t.$t("view.item.form.catchcopy.maxlength")),document.getElementById("catchcopy"+s)&&document.getElementById("catchcopy"+s).focus(),t.confirmNSLoading=!1,"category";if(r.data.comment&&!e.isWithinMaxLength(r.data.comment,1e3))return t.$message.error(t.$t("view.item.form.comment.maxlength")),document.getElementById("comment"+s)&&document.getElementById("comment"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.description_for_consumer&&!e.isWithinMaxLength(r.data.description_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.description_for_consumer.maxlength")),document.getElementById("description_for_consumer"+s)&&document.getElementById("description_for_consumer"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.size&&!e.isWithinMaxLength(r.data.size,1e3))return t.$message.error(t.$t("view.item.form.size.maxlength")),document.getElementById("size"+s)&&document.getElementById("size"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.spec&&!e.isWithinMaxLength(r.data.spec,1e3))return t.$message.error(t.$t("view.item.form.spec.maxlength")),document.getElementById("spec"+s)&&document.getElementById("spec"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.spec_for_consumer&&!e.isWithinMaxLength(r.data.spec_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.spec_for_consumer.maxlength")),document.getElementById("spec_for_consumer"+s)&&document.getElementById("spec_for_consumer"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.notes&&!e.isWithinMaxLength(r.data.notes,5e3))return t.$message.error(t.$t("view.item.form.notes.maxlength")),document.getElementById("notes"+s)&&document.getElementById("notes"+s).focus(),t.confirmNSLoading=!1,"description";if(r.data.delivery_terms&&!e.isWithinMaxLength(r.data.delivery_terms,50))return t.$message.error(t.$t("view.item.form.delivery_terms.maxlength")),document.getElementById("delivery_terms"+s)&&document.getElementById("delivery_terms"+s).focus(),t.confirmNSLoading=!1,"other";if(r.data.search_tags.length>0)for(var n=0;n<r.data.search_tags.length;n++)if(!e.isWithinMaxLength(r.data.search_tags[n].search_tag_text,10))return t.$message.error(t.$t("view.item.form.search_tags.maxlength")),document.getElementsByName("search_tag_text"+s)[n]&&document.getElementsByName("search_tag_text"+s)[n].focus(),t.confirmNSLoading=!1,"other";if(r.data.jan_code&&!e.isWithinMaxLength(r.data.jan_code,13))return t.$message.error(t.$t("view.item.form.jan_code.maxlength")),document.getElementById("jan_code"+s)&&document.getElementById("jan_code"+s).focus(),t.confirmNSLoading=!1,"other";if(r.data.maker_code&&!e.isWithinMaxLength(r.data.maker_code,30))return t.$message.error(t.$t("view.item.form.maker_code.maxlength")),document.getElementById("maker_code"+s)&&document.getElementById("maker_code"+s).focus(),t.confirmNSLoading=!1,"other";if(r.data.product_set.length>0)for(var i=0;i<r.data.product_set.length;i++){if(!e.isWithinMaxLength(r.data.product_set[i].set_branch_code,20))return t.$message.error(t.$t("view.item.form.set_branch_code.maxlength")),document.getElementsByName("set_branch_code"+s)[i]&&document.getElementsByName("set_branch_code"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(!e.isWithinMaxLength(r.data.product_set[i].set_label,30))return t.$message.error(t.$t("view.item.form.set_label.maxlength")),document.getElementsByName("set_label"+s)[i]&&document.getElementsByName("set_label"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(!r.data.product_set[i].set_reference_price)return t.$message.error(t.$t("view.item.form.set_reference_price.notnull")),document.getElementsByName("set_reference_price"+s)[i]&&document.getElementsByName("set_reference_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(r.data.product_set[i].set_reference_price))return t.$message.error(t.$t("view.item.form.set_reference_price.number")),document.getElementsByName("set_reference_price"+s)[i]&&document.getElementsByName("set_reference_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(!r.data.product_set[i].set_price)return t.$message.error(t.$t("view.item.form.set_price.notnull")),document.getElementsByName("set_price"+s)[i]&&document.getElementsByName("set_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(r.data.product_set[i].set_price))return t.$message.error(t.$t("view.item.form.set_price.number")),document.getElementsByName("set_price"+s)[i]&&document.getElementsByName("set_price"+s)[i].focus(),t.confirmNSLoading=!1,"sku"}o.push(r.data)}));s=t._.compact(s),o.length>0&&0===s.length?Object(p["f"])({data:o,app_key:t.netseaShop.app_key}).then((function(e){0===e.code?(t.confirmNSLoading=!1,t.$message.success(e.message)):(t.confirmNSLoading=!1,t.$message.error(e.message))})).catch((function(e){t.confirmNSLoading=!1,t.$message.error(e)})):s.length>0&&(t.confirmNSLoading=!1,e.formEditKey=s[0])})).catch((function(e){t.confirmNSLoading=!1,t.$message.error(e)}))},isWithinMaxLength:function(e,t){for(var a=0,o=0;o<e.length;o++)a+=1;return a<=t},deleteImage:function(e,t){this.netseaGoodInfoList[t].images.map((function(t){t.image_no===e&&(t.image_url="")})),this.$set(this,"netseaGoodInfoList",Object.assign({},this.netseaGoodInfoList))},okFabu:function(){var e=this;this.confirmNSLoading=!0,Object(p["e"])({good_ids:this.goodsIds,app_key:this.netseaShop.app_key}).then((function(t){0===t.code?e.$message.success(t.message):e.$message.error(t.message),e.confirmNSLoading=!1})).catch((function(t){e.confirmNSLoading=!1,e.$message.error(t)}))},piCopyData:function(e){var t=this,a=this;this._.map(this.netseaGoodInfoList,(function(o,s){"itemInfo"===e&&t.TemplateData["product_ship_setting_code"]&&(a.netProductDiscountCodeList[s]=!0,a.netseaGoodInfoList[s].product_discount=a.TemplateData.product_discount),a.plDataFields[e].map((function(e){a.netseaGoodInfoList[s][e]=a.TemplateData[e]}))})),this.$set(this,"netseaGoodInfoList",Object.assign({},this.netseaGoodInfoList))}},components:{AntModal:_,goodsIdList:u,leftTabItem:m,kandengGoodsOne:f}},g=Object(r["a"])({},h),v=g,y=a("2877"),b=Object(y["a"])(v,o,s,!1,null,null,null);t["default"]=b.exports},aee6:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e._self._c;return t("span",[t("a-tabs",{on:{change:e.changeTabGoods},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},e._l(e.list,(function(e){return t("a-tab-pane",{key:e.good_id,attrs:{tab:e.title}})})),1)],1)},s=[],r=a("5530"),n=a("c7eb"),i=a("1da1"),c=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("aabf")),d={name:"GoodsListTab",props:{goodsIdList:{type:Array,default:function(){return[]}}},data:function(){return{activeTab:0,list:{}}},watch:{goodsIdList:function(e,t){e!==t&&this.getGoodsList()}},created:function(){this.getGoodsList()},methods:{changeTab:function(e){},getGoodsList:function(){var e=this;return Object(i["a"])(Object(n["a"])().mark((function t(){return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(e.goodsIdList.map(function(){var t=Object(i["a"])(Object(n["a"])().mark((function t(a,o){var s;return Object(n["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return s={good_id:a},t.next=3,Object(c["p"])(s);case 3:e.list[a]=t.sent;case 4:case"end":return t.stop()}}),t)})));return function(e,a){return t.apply(this,arguments)}}()));case 2:e._.size(e.list)>1&&(e.activeTab=e.list[e.goodsIdList[0]].good_id,e.$emit("change",e.list[e.goodsIdList[0]]));case 3:case"end":return t.stop()}}),t)})))()},changeTabGoods:function(e){this.activeTab=e,this.$emit("change",this.list[e])}}},l=Object(r["a"])({},d),p=l,_=a("2877"),u=Object(_["a"])(p,o,s,!1,null,null,null);t["default"]=u.exports},c0ba:function(e,t,a){"use strict";a("fb03")},d936:function(e,t,a){"use strict";a("92c5")},fb03:function(e,t,a){}}]);