@bee-hole/admin 1.25.70 → 1.25.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/css/chunk-096b580c.664d57bc.css +1 -0
  2. package/dist/css/chunk-096b580c.664d57bc.css.gz +0 -0
  3. package/dist/css/chunk-2995d93e.ead4c84d.css +1 -0
  4. package/dist/css/chunk-2995d93e.ead4c84d.css.gz +0 -0
  5. package/dist/css/chunk-709299b9.1f7978e0.css +1 -0
  6. package/dist/css/chunk-7c63f466.35394ae6.css +1 -0
  7. package/dist/css/chunk-d323928e.89fff6c2.css +1 -0
  8. package/dist/css/chunk-d323928e.89fff6c2.css.gz +0 -0
  9. package/dist/css/lang-zh-TW-service~f63b1681.6a8b5ed3.css +1 -0
  10. package/dist/css/lang-zh-TW-service~f63b1681.6a8b5ed3.css.gz +0 -0
  11. package/dist/index.html +1 -1
  12. package/dist/js/{app~f075b844.6441ab26.js → app~f075b844.908a9c7a.js} +1 -1
  13. package/dist/js/app~f075b844.908a9c7a.js.gz +0 -0
  14. package/dist/js/{chunk-03e1387e.276931a3.js → chunk-03e1387e.ec1b76aa.js} +1 -1
  15. package/dist/js/chunk-03e1387e.ec1b76aa.js.gz +0 -0
  16. package/dist/js/chunk-096b580c.286f9fe2.js +1 -0
  17. package/dist/js/chunk-096b580c.286f9fe2.js.gz +0 -0
  18. package/dist/js/chunk-2995d93e.5a29f876.js +1 -0
  19. package/dist/js/chunk-2995d93e.5a29f876.js.gz +0 -0
  20. package/dist/js/chunk-709299b9.82e9684a.js +1 -0
  21. package/dist/js/chunk-709299b9.82e9684a.js.gz +0 -0
  22. package/dist/js/{chunk-fa04ce72.8dca4792.js → chunk-7454876a.3bba909c.js} +1 -1
  23. package/dist/js/chunk-7454876a.3bba909c.js.gz +0 -0
  24. package/dist/js/chunk-7c63f466.d4ac8bd1.js +1 -0
  25. package/dist/js/chunk-7c63f466.d4ac8bd1.js.gz +0 -0
  26. package/dist/js/chunk-d323928e.63c500ef.js +1 -0
  27. package/dist/js/chunk-d323928e.63c500ef.js.gz +0 -0
  28. package/dist/js/{chunk-e093710c.a88ed5b7.js → chunk-dc085b74.8c105048.js} +1 -1
  29. package/dist/js/chunk-dc085b74.8c105048.js.gz +0 -0
  30. package/dist/js/lang-ar-EG~31ecd969.ce49043e.js +3 -0
  31. package/dist/js/lang-ar-EG~31ecd969.ce49043e.js.gz +0 -0
  32. package/dist/js/lang-bn-BD~ede72586.da8cbdf6.js +1 -0
  33. package/dist/js/lang-bn-BD~ede72586.da8cbdf6.js.gz +0 -0
  34. package/dist/js/lang-en-US~31ecd969.b23f2e6a.js +3 -0
  35. package/dist/js/lang-en-US~31ecd969.b23f2e6a.js.gz +0 -0
  36. package/dist/js/lang-ko-KR~31ecd969.e4ee3717.js +1 -0
  37. package/dist/js/lang-ko-KR~31ecd969.e4ee3717.js.gz +0 -0
  38. package/dist/js/lang-ms-MY~d756050e.85d7b612.js +1 -0
  39. package/dist/js/lang-ms-MY~d756050e.85d7b612.js.gz +0 -0
  40. package/dist/js/{lang-package~4e34e71e.c46c5825.js → lang-package~4e34e71e.4d311750.js} +3 -3
  41. package/dist/js/lang-package~4e34e71e.4d311750.js.gz +0 -0
  42. package/dist/js/lang-zh-TW-service~f63b1681.86739122.js +1 -0
  43. package/dist/js/lang-zh-TW-service~f63b1681.86739122.js.gz +0 -0
  44. package/dist/js/lang-zh-TW~31ecd969.9cab7082.js +1 -0
  45. package/dist/js/lang-zh-TW~31ecd969.9cab7082.js.gz +0 -0
  46. package/package.json +1 -1
  47. package/dist/css/chunk-07a0f50c.cab31655.css +0 -1
  48. package/dist/css/chunk-07a0f50c.cab31655.css.gz +0 -0
  49. package/dist/css/chunk-32dac439.a68e5fee.css +0 -1
  50. package/dist/css/chunk-32dac439.a68e5fee.css.gz +0 -0
  51. package/dist/css/chunk-48de0fec.1e09edd8.css +0 -1
  52. package/dist/css/chunk-48de0fec.1e09edd8.css.gz +0 -0
  53. package/dist/css/chunk-52cb3562.ef74bf62.css +0 -1
  54. package/dist/css/chunk-e4bf5c30.13706cf3.css +0 -1
  55. package/dist/css/lang-zh-TW-service~f63b1681.c64eee61.css +0 -1
  56. package/dist/css/lang-zh-TW-service~f63b1681.c64eee61.css.gz +0 -0
  57. package/dist/js/app~f075b844.6441ab26.js.gz +0 -0
  58. package/dist/js/chunk-03e1387e.276931a3.js.gz +0 -0
  59. package/dist/js/chunk-07a0f50c.689ae53d.js +0 -1
  60. package/dist/js/chunk-07a0f50c.689ae53d.js.gz +0 -0
  61. package/dist/js/chunk-32dac439.71af4fd9.js +0 -1
  62. package/dist/js/chunk-32dac439.71af4fd9.js.gz +0 -0
  63. package/dist/js/chunk-48de0fec.9b2ababd.js +0 -1
  64. package/dist/js/chunk-48de0fec.9b2ababd.js.gz +0 -0
  65. package/dist/js/chunk-52cb3562.9ddf4714.js +0 -1
  66. package/dist/js/chunk-52cb3562.9ddf4714.js.gz +0 -0
  67. package/dist/js/chunk-e093710c.a88ed5b7.js.gz +0 -0
  68. package/dist/js/chunk-e4bf5c30.9cf4e966.js +0 -1
  69. package/dist/js/chunk-e4bf5c30.9cf4e966.js.gz +0 -0
  70. package/dist/js/chunk-fa04ce72.8dca4792.js.gz +0 -0
  71. package/dist/js/lang-ar-EG~31ecd969.c469ba88.js +0 -3
  72. package/dist/js/lang-ar-EG~31ecd969.c469ba88.js.gz +0 -0
  73. package/dist/js/lang-bn-BD~ede72586.6193db8e.js +0 -1
  74. package/dist/js/lang-bn-BD~ede72586.6193db8e.js.gz +0 -0
  75. package/dist/js/lang-en-US~31ecd969.b658e6f1.js +0 -3
  76. package/dist/js/lang-en-US~31ecd969.b658e6f1.js.gz +0 -0
  77. package/dist/js/lang-ko-KR~31ecd969.d026b057.js +0 -1
  78. package/dist/js/lang-ko-KR~31ecd969.d026b057.js.gz +0 -0
  79. package/dist/js/lang-ms-MY~d756050e.797a9e52.js +0 -1
  80. package/dist/js/lang-ms-MY~d756050e.797a9e52.js.gz +0 -0
  81. package/dist/js/lang-package~4e34e71e.c46c5825.js.gz +0 -0
  82. package/dist/js/lang-zh-TW-service~f63b1681.1f3e02df.js +0 -1
  83. package/dist/js/lang-zh-TW-service~f63b1681.1f3e02df.js.gz +0 -0
  84. package/dist/js/lang-zh-TW~31ecd969.2b0593e0.js +0 -1
  85. package/dist/js/lang-zh-TW~31ecd969.2b0593e0.js.gz +0 -0
  86. /package/dist/css/{chunk-fa04ce72.3a09c127.css → chunk-7454876a.3a09c127.css} +0 -0
  87. /package/dist/css/{chunk-fa04ce72.3a09c127.css.gz → chunk-7454876a.3a09c127.css.gz} +0 -0
@@ -1 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-52cb3562"],{"09e9e":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("span",[t("a-button",{attrs:{type:"primary"},on:{click:e.openModal}},[e._v(e._s(e.$t("components.videoTrans.selectVideo.btn")))]),t("ant-modal",{attrs:{"modal-title":e.title,visible:e.open,modalWidth:e.isMobile?"100vw":"1000",modalHeight:"750",modalCancelText:e.$t("component.artilce.close.button")},on:{ok:e.ok,cancel:e.close}},[t("template",{slot:"content"},[t("videoList",{on:{ok:e.back}})],1)],2)],1)},r=[],o=a("5530"),i=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),s=a("2dd7"),l=a("2f62"),c=Object(i["b"])((function(){return a.e("chunk-52cb3562").then(a.bind(null,"c06f"))})),u={name:"SelectVideo",data:function(){return{open:!1,title:this.$t("components.videoTrans.selectVideo.modal.title"),videoUrl:""}},props:{url:{type:String,default:""}},computed:Object(o["a"])({},Object(l["c"])(["isMobile"])),methods:{openModal:function(){this.open=!0},close:function(){this.open=!1},back:function(e){this.videoUrl=e},ok:function(){this.videoUrl&&this.$emit("ok",this.videoUrl),this.close()}},components:{AntModal:s["default"],videoList:c}},d=u,p=a("2877"),m=Object(p["a"])(d,n,r,!1,null,null,null);t["default"]=m.exports},"12a1":function(e,t,a){"use strict";a.r(t);a("b0c0");var n=function(){var e=this,t=e._self._c;return t("span",[t("a-button",{attrs:{type:"primary"},on:{click:e.saveInit}},[e._v(e._s(e.$t("components.google.open.button")))]),e.open?t("ant-modal",{attrs:{visible:e.open,"modal-title":e.modalTitle,"adjust-size":!0,modalHeight:"380",modalWidth:"820"},on:{cancel:e.cancelEditGoodInfo,ok:e.okEditGoodInfo}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("a-form-model",{ref:"googleForm",attrs:{model:e.formData,rules:e.rules}},[t("a-row",{attrs:{gutter:12}},[t("a-col",{attrs:{lg:12}},[t("a-form-model-item",{attrs:{label:e.$t("view.order.detail.ship_country"),prop:"target_country",required:""}},[t("ps-country-select",{attrs:{countryCode:e.formData.target_country},on:{"update:countryCode":function(t){return e.$set(e.formData,"target_country",t)},"update:country-code":function(t){return e.$set(e.formData,"target_country",t)}}})],1)],1),t("a-col",{attrs:{lg:12}},[t("a-form-model-item",{attrs:{label:e.$t("view.item.component.item.syn.ozon.language"),prop:"content_language",required:""}},[t("view-select",{attrs:{lang:e.formData.content_language,backVal:"lang"},on:{change:e.backLang}})],1)],1),t("a-col",{attrs:{lg:12}},[t("a-form-model-item",{attrs:{label:e.$t("view.item.form.channel"),prop:"channel",required:""}},[t("a-select",{attrs:{"show-search":"",placeholder:"","option-filter-prop":"title"},model:{value:e.formData.channel,callback:function(t){e.$set(e.formData,"channel",t)},expression:"formData.channel"}},e._l(e.channelList,(function(a){return t("a-select-option",{key:a.name,attrs:{title:a.name,value:a.value}},[e._v(" "+e._s(a.name)+" ")])})),1)],1)],1)],1)],1)],1)]):e._e()],1)},r=[],o=a("5530"),i=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),s=a("aabf"),l=a("1b6c"),c=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),u=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"1605"))})),d=Object(i["b"])((function(){return Promise.resolve().then(a.bind(null,"68dd"))})),p={name:"GoogleGoods",data:function(){return{open:!1,modalTitle:"",formData:{},channelList:[{name:Object(l["b"])("components.googleGoods.channel.local"),value:"local"},{name:Object(l["b"])("components.googleGoods.channel.online"),value:"online"}],rules:{target_country:[{required:!0,message:Object(l["b"])("components.google.channel.target_country"),trigger:"change"}],content_language:[{required:!0,message:Object(l["b"])("components.google.channel.content_language"),trigger:"change"}],channel:[{required:!0,message:Object(l["b"])("components.google.channel.placeholder"),trigger:"change"}]}}},props:{goods:null,sellerId:{type:String,default:""}},methods:{openModal:function(e){this.initData(this.goods),this.open=!0},saveInit:function(){this.initData(this.goods),this.okEditGoodInfo()},initData:function(e){this.goods=e,this.modalTitle=this.$t("components.google.modal.title"),this.pathList=[],this.formData={target_country:"",goods_id:e.good_id,content_language:""}},backLang:function(e){this.formData.content_language=e},okEditGoodInfo:function(){var e=this,t=JSON.parse(JSON.stringify(this.formData));Object(s["u"])(t).then((function(t){0===t.code&&(e.cancelEditGoodInfo(),e.$message.success(e.$t("components.google.modal.success")),e.$emit("ok",t))}))},cancelEditGoodInfo:function(){this.open=!1}},components:{AntModal:c,PsCountrySelect:u,ViewSelect:d}},m=Object(o["a"])({},p),f=m,g=a("2877"),v=Object(g["a"])(f,n,r,!1,null,null,null);t["default"]=v.exports},"16f2":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("span",[t("AdvanceTable",{attrs:{columns:e.Columns,"data-source":e.list,rowKey:"good_id"},scopedSlots:e._u([{key:"title",fn:function(){return[t("div")]},proxy:!0},{key:"image",fn:function(e){e.text;var a=e.record;return t("span",{},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:a.image_url}})])}}])})],1)},r=[],o=a("5530"),i=a("c7eb"),s=a("1da1"),l=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("aabf")),c=a("5d9e"),u={name:"goodsIdList",props:{goodsIds:{type:Array,default:function(){return[]}},goodsList:{type:Array,default:function(){return[]}}},data:function(){return{activeTab:0,list:[],Columns:[{title:this.$t("view.item.list.good_id"),dataIndex:"good_id",width:"80px"},{title:this.$t("view.item.list.form.title"),dataIndex:"title",width:"200px"},{title:this.$t("view.item.list.itemImage"),dataIndex:"image",width:"200px",scopedSlots:{customRender:"image"}}]}},watch:{goodsIds:function(e,t){e!==t&&this.getGoodsList()}},created:function(){this.getGoodsList()},methods:{getGoodsList:function(){var e=this;return Object(s["a"])(Object(i["a"])().mark((function t(){return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.list=[],t.next=3,Promise.all(e.goodsIds.map(function(){var t=Object(s["a"])(Object(i["a"])().mark((function t(a,n){var r,o;return Object(i["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r={good_id:a},t.next=3,Object(l["p"])(r);case 3:o=t.sent,e.list.push(o);case 5:case"end":return t.stop()}}),t)})));return function(e,a){return t.apply(this,arguments)}}()));case 3:return e._.size(e.list),e.$emit("back",e.list),e.$emit("update:goodsList",e.list),t.abrupt("return",e.list);case 7:case"end":return t.stop()}}),t)})))()}},components:{AdvanceTable:c["default"]}},d=Object(o["a"])({},u),p=d,m=a("2877"),f=Object(m["a"])(p,n,r,!1,null,null,null);t["default"]=f.exports},"1a13":function(e,t,a){"use strict";a.r(t);a("7db0"),a("d3b7");var n=function(){var e=this,t=e._self._c;return t("span",[e.disabled?e.disabled?t("div",{staticStyle:{height:"31px","line-height":"31px"}},[e._v(" "+e._s(e.optionsList.find((function(t){return t.value===e.workType})).label)+" ")]):e._e():t("a-select",{attrs:{disabled:e.disabled},on:{change:e.handleChange},model:{value:e.workType,callback:function(t){e.workType=t},expression:"workType"}},e._l(e.optionsList,(function(a){return t("a-select-option",{key:a.value,attrs:{value:a.value}},[e._v(" "+e._s(a.label)+" ")])})),1)],1)},r=[],o=(a("a9e3"),a("1b6c")),i={name:"WorkType",data:function(){return{optionsList:[{label:Object(o["b"])("components.complaint.workType.all"),value:0},{label:Object(o["b"])("components.complaint.workType.consult"),value:1},{label:Object(o["b"])("components.complaint.workType.purchase"),value:2},{label:Object(o["b"])("components.complaint.workType.supply"),value:3}],workType:0}},props:{value:{type:Number,default:1},disabled:{type:Boolean,default:!1},isAll:{type:Boolean,default:!1}},watch:{value:function(e){e!==this.workType&&(this.workType=e)}},created:function(){this.isAll&&this.optionsList.unshift({label:Object(o["b"])("components.complaint.faqType.all"),value:0}),this.workType=this.value},methods:{handleChange:function(e){this.$emit("update:value",e),this.$emit("change",e)}}},s=i,l=a("2877"),c=Object(l["a"])(s,n,r,!1,null,null,null);t["default"]=c.exports},"1fc7":function(e,t,a){"use strict";a.r(t);var n=a("c0c3"),r=a("2dd7");t["default"]={name:"CreateForm",props:{typeOptions:{type:Array,required:!0}},components:{AntModal:r["default"]},data:function(){return{loading:!1,formTitle:"",form:{id:void 0,configName:void 0,configKey:void 0,configValue:void 0,configType:"Y",remark:void 0},open:!1,rules:{configName:[{required:!0,message:"参数名称不能为空",trigger:"blur"}],configKey:[{required:!0,message:"参数编码不能为空",trigger:"blur"},{validator:this.checkConfigKeyUnique}],configValue:[{required:!0,message:"参数值不能为空",trigger:"blur"}]}}},filters:{},created:function(){},computed:{},watch:{},methods:{cancel:function(){this.open=!1,this.$emit("close")},reset:function(){void 0!==this.$refs.form&&this.$refs.form.resetFields()},handleAdd:function(){this.open=!0,this.formTitle="添加参数"},handleUpdate:function(e,t){var a=this,r=e?e.id:t;Object(n["e"])(r).then((function(e){a.form=e.data,a.open=!0,a.formTitle="修改参数"}))},submitForm:function(){var e=this;this.$refs.form.validate((function(t){if(!t)return!1;void 0!==e.form.id?Object(n["i"])(e.form).then((function(t){e.$message.success("修改成功",3),e.open=!1,e.$emit("ok")})):Object(n["i"])(e.form).then((function(t){e.$message.success("新增成功",3),e.open=!1,e.$emit("ok")}))}))},checkConfigKeyUnique:function(e,t,a){var r="参数编码已存在";if(""===t)a();else{var o={configKey:t,id:void 0!==this.form.id?this.form.id:""};Object(n["a"])(o).then((function(e){"1"===e.data.code?a():a(r)}))}}}}},"270e":function(e,t,a){"use strict";a.r(t);a("b0c0");var n=function(){var e=this,t=e._self._c;return t("div",["rakuten"!==e.platform?t("div",["tiktok"==e.platform?t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.please_select_delivery"),prop:"please_select_delivery"}},[t("a-select",{attrs:{placeholder:e.$t("view.order.list.please_select_delivery")},on:{change:e.selectShippingProviders},model:{value:e.form.delivery_option_id,callback:function(t){e.$set(e.form,"delivery_option_id",t)},expression:"form.delivery_option_id"}},e._l(e.shops_delivery,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.id}},[e._v(" "+e._s(a.name)+" - "+e._s(a.type)+" ")])})),1)],1):e._e(),"tiktok"==e.platform?t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.please_select_delivery_option"),prop:"please_select_delivery_option"}},[t("a-select",{attrs:{placeholder:e.$t("view.order.list.please_select_delivery_option")},on:{change:e.selectShopsDeliveryOption}},e._l(e.shops_delivery_option,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.id}},[e._v(" "+e._s(a.id)+" - "+e._s(a.name)+" ")])})),1)],1):e._e(),"tiktok"!=e.platform?t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.ship.list.logistics_company"),prop:"logistics_name"}},["netsea"!=e.platform&&"yahoo"!=e.platform?t("a-select",{staticStyle:{width:"100%"},attrs:{"show-search":""},on:{change:e.handleChange},model:{value:e.form.logistics_name,callback:function(t){e.$set(e.form,"logistics_name",t)},expression:"form.logistics_name"}},e._l(e.options,(function(a,n){return t("a-select-opt-group",{key:n},[t("span",{attrs:{slot:"label"},slot:"label"},[t("a-icon",{attrs:{type:"user"}}),e._v(e._s(a.key))],1),e._l(a.option,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.key}},[e._v(" "+e._s(a.value)+" ")])}))],2)})),1):e._e(),"yahoo"==e.platform?t("a-select",{staticStyle:{width:"100%"},on:{change:e.handleChange},model:{value:e.form.logistics_name,callback:function(t){e.$set(e.form,"logistics_name",t)},expression:"form.logistics_name"}},e._l(e.rakutenDeliveryCompany,(function(a,n){return"yahoo"==e.platform&&"1028"!=a.value?t("a-select-option",{key:n,attrs:{value:a.value}},[e._v(" "+e._s(a.name)+" ")]):e._e()})),1):e._e(),"netsea"==e.platform?t("a-select",{staticStyle:{width:"100%"},on:{change:e.handleChange},model:{value:e.form.logistics_name,callback:function(t){e.$set(e.form,"logistics_name",t)},expression:"form.logistics_name"}},e._l(e.netseaDeliveryCompany,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.value}},[e._v(" "+e._s(a.name)+" ")])})),1):e._e()],1):e._e(),t("a-form-model-item",{attrs:{"has-feedback":"",label:e.$t("view.order.list.ship.list.logistics_number"),prop:"shipment_id"}},[t("a-input",{attrs:{placeholder:e.$t("view.order.list.ship.list.input.logistics_number")},model:{value:e.form.shipment_id,callback:function(t){e.$set(e.form,"shipment_id",t)},expression:"form.shipment_id"}})],1)],1):e._e(),"rakuten"===e.platform?t("div",[e.isEdit?t("a-form-model",e._b({ref:"form",attrs:{model:e.form,rules:e.rules}},"a-form-model",e.itemLayout,!1),[t("a-form-model-item",{attrs:{"has-feedback":"",prop:"ship_units"}},[t("a-row",{staticClass:"ant-upload-list ant-upload-list-picture-card"},[t("table",{staticClass:"qgg-table"},[t("thead",[t("tr",[t("th",[e._v(e._s(e.$t("view.order.list.rakuten.basket_id")))]),t("th",[e._v(e._s(e.$t("table.mall_goods")))])])]),t("tbody",e._l(e.rakutenSdataSkuList,(function(a,n){return e.rakutenSdataSkuList?t("tr",{key:n},[t("td",[e._v(" "+e._s(a.basketId)+" "),t("table",{staticClass:"qgg-table"},[t("tbody",[t("tr",[t("td",{staticStyle:{width:"100px"}},[e._v(e._s(e.$t("view.order.detail.shipping_corp")))]),t("td",{staticStyle:{"text-align":"left"}},[t("a-select",{staticStyle:{width:"200px"},on:{change:e.selectRakutenDeliveryCompanyName},model:{value:a.delivery_company,callback:function(t){e.$set(a,"delivery_company",t)},expression:"item.delivery_company"}},e._l(e.rakutenDeliveryCompany,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.value}},[e._v(e._s(a.name))])})),1)],1)]),t("tr",[t("td",{staticStyle:{width:"100px"}},[e._v(e._s(e.$t("view.order.detail.shipping_code")))]),t("td",{staticStyle:{"text-align":"left"}},[t("a-input",{staticStyle:{width:"200px"},on:{change:e.inputRakutenDeliveryCompanyCode},model:{value:a.shipping_number,callback:function(t){e.$set(a,"shipping_number",t)},expression:"item.shipping_number"}})],1)])])])]),t("td",e._l(a.item,(function(n,r){return a.item?t("a-row",{key:r},[t("a-col",{staticStyle:{"text-align":"left"}},[e._v(e._s(n.title))]),t("a-col",{staticStyle:{"text-align":"left","margin-top":"5px"}},[e._v(e._s(n.sku_prop)+" X "+e._s(n.shipping_num))])],1):e._e()})),1)]):e._e()})),0)])])],1)],1):e._e()],1):e._e()])},r=[],o=(a("a9e3"),a("d3b7"),a("159b"),a("7db0"),a("296e")),i=a("1b6c"),s=a("3a10"),l={data:function(){return{rakutenSdataSkuList:[],itemLayout:{labelCol:{lg:2},wrapperCol:{lg:18}},rules:{logistics_name:[{required:!0,trigger:"change"}],shipment_id:[{required:!0,trigger:"change"}]},shops_delivery:[],shops_delivery_option:[],rakutenDeliveryCompany:[{name:"その他",value:"1000"},{name:"ヤマト運輸",value:"1001"},{name:"佐川急便",value:"1002"},{name:"日本郵便",value:"1003"},{name:"西濃運輸",value:"1004"},{name:"セイノースーパーエクスプレス",value:"1005"},{name:"福山通運",value:"1006"},{name:"名鉄運輸",value:"1007"},{name:"トナミ運輸",value:"1008"},{name:"第一貨物",value:"1009"},{name:"新潟運輸",value:"1010"},{name:"中越運送",value:"1011"},{name:"岡山県貨物運送",value:"1012"},{name:"久留米運送",value:"1013"},{name:"山陽自動車運送",value:"1014"},{name:"NXトランスポート",value:"1015"},{name:"エコ配",value:"1016"},{name:"EMS",value:"1017"},{name:"DHL",value:"1018"},{name:"FedEx",value:"1019"},{name:"UPS",value:"1020"},{name:"日本通運",value:"1021"},{name:"TNT",value:"1022"},{name:"OCS",value:"1023"},{name:"USPS",value:"1024"},{name:"SFエクスプレス",value:"1025"},{name:"Aramex",value:"1026"},{name:"SGHグローバル・ジャパン",value:"1027"},{name:"Rakuten EXPRESS",value:"1028"}],netseaDeliveryCompany:[{name:"ヤマト運輸",value:"YA"},{name:"佐川急便",value:"SA"},{name:"日本郵便",value:"NY"},{name:"西濃運輸",value:"SE"},{name:"福山通運",value:"FU"},{name:"名鉄運輸",value:"ME"},{name:"トナミ運輸",value:"TO"},{name:"第一貨物",value:"DA"},{name:"その他",value:"OT"},{name:"日本通運",value:"NT"}]}},props:{form:{type:Object,default:function(){return{shipment_id:"",logistics_name:""}}},options:{type:Array,default:function(){return[{key:Object(i["b"])("view.express.foreign_express1"),label:"GJWL",option:[{key:"SFGJ",value:"顺丰国际"},{key:"DHWL",value:"ヤマト運輸"},{key:"ZCJB",value:"佐川急便"},{key:"RBYZ",value:"日本郵便"}]},{key:Object(i["b"])("view.express.foreign_express2"),label:"GNWL",option:[{key:"SFEXPRESS",value:"顺丰"},{key:"STO",value:"申通"},{key:"YTO",value:"申通"},{key:"ZTO",value:"申通"},{key:"HTKY",value:"百世快递"},{key:"BSKY",value:"百世快运"},{key:"YUNDA",value:"韵达"},{key:"JD",value:"京东"},{key:"EMS",value:"EMS"},{key:"ZTO56",value:"中通快运"},{key:"AAEWEB",value:"AAE"},{key:"ARAMEX",value:"Aramex"},{key:"DHL",value:"内件DHL"},{key:"DPEX",value:"DPEX"},{key:"DEXP",value:"D速"},{key:"EWE",value:"EWE"},{key:"FEDEX",value:"FedEx"},{key:"PCA",value:"PCA"},{key:"TNT",value:"TNT"},{key:"UPS",value:"UPS"},{key:"ANJELEX",value:"安捷"},{key:"ANE",value:"安能"},{key:"ANEEX",value:"安能快递"},{key:"ANXINDA",value:"安信达"},{key:"EES",value:"百福东方"},{key:"FLYWAYEX",value:"程光"},{key:"DTW",value:"大田"},{key:"DEPPON",value:"德邦"},{key:"GCE",value:"飞洋"},{key:"PHOENIXEXP",value:"凤凰"},{key:"FTD",value:"富腾达"},{key:"GSD",value:"共速达"},{key:"GTO",value:"国通"},{key:"BLACKDOG",value:"黑狗"},{key:"HENGLU",value:"恒路"},{key:"HYE",value:"鸿远"},{key:"HQKY",value:"华企"},{key:"JOUST",value:"急先达"},{key:"TMS",value:"加运美"},{key:"JIAJI",value:"佳吉"},{key:"JIAYI",value:"佳怡"},{key:"KERRY",value:"嘉里物流"},{key:"HREX",value:"锦程快递"},{key:"PEWKEE",value:"晋越"},{key:"KKE",value:"京广"},{key:"JIUYESCM",value:"九曳"},{key:"KYEXPRESS",value:"跨越速运"},{key:"FASTEXPRESS",value:"快捷"},{key:"LTS",value:"联昊通"},{key:"LBEX",value:"龙邦"},{key:"YIMIDIDA",value:"壹米滴答"},{key:"RRS",value:"日日顺物流"},{key:"YXWL",value:"宇鑫物流"},{key:"DJ56",value:"东骏快捷"},{key:"AYCA",value:"澳邮专线"},{key:"CITY100",value:"城市100"},{key:"D4PX",value:"递四方速递"},{key:"GTSD",value:"广通"},{key:"JTKD",value:"捷特快递"},{key:"MB",value:"民邦快递"},{key:"MLWL",value:"明亮物流"},{key:"PANEX",value:"泛捷快递"},{key:"QXT",value:"全信通"},{key:"SAD",value:'赛澳递"'},{key:"SDWL",value:"上大物流"},{key:"STWL",value:"速腾快递"},{key:"WJK",value:"万家康"},{key:"ZENY",value:"增益快递"},{key:"CAE",value:"民航"},{key:"ND56",value:"能达"},{key:"EFSPOST",value:"平安快递"},{key:"CHINZ56",value:"秦远物流"},{key:"QCKD",value:"全晨"},{key:"QFKD",value:"全峰"},{key:"APEX",value:"全一"},{key:"RFD",value:"如风达"},{key:"SFC",value:"三态"},{key:"SFWL",value:"盛丰"},{key:"SHENGHUI",value:"盛辉"},{key:"SDEX",value:"顺达快递"},{key:"SUNING",value:"苏宁"},{key:"SURE",value:"速尔"},{key:"HOAU",value:"天地华宇"},{key:"TTKDEX",value:"天天"},{key:"VANGEN",value:"万庚"},{key:"WANJIA",value:"万家物流"},{key:"EWINSHINE",value:"万象"},{key:"GZWENJIE",value:"文捷航空"},{key:"XBWL",value:"新邦"},{key:"XFEXPRESS",value:"信丰"},{key:"BROADASIA",value:"亚风"},{key:"YIEXPRESS",value:"宜送"},{key:"QEXPRESS",value:"易达通"},{key:"ETD",value:"易通达"},{key:"UC56",value:"优速"},{key:"CHINAPOST",value:"邮政包裹"},{key:"YFHEX",value:"原飞航"},{key:"YADEX",value:"源安达"},{key:"YCGWL",value:"远成"},{key:"YFEXPRESS",value:"越丰"},{key:"YTEXPRESS",value:"运通"},{key:"ZJS",value:"宅急送"},{key:"ZMKMEX",value:"芝麻开门"},{key:"COE",value:"中国东方"},{key:"CRE",value:"中铁快运"},{key:"ZTKY",value:"中铁物流"},{key:"CNPL",value:"中邮"},{key:"PEISI",value:"配思航宇"},{key:"BDT",value:"八达通"},{key:"CJKD",value:"城际快递"},{key:"FKD",value:"飞康达"},{key:"HQSY",value:"环球速运"},{key:"JAD",value:"捷安达"},{key:"JGWL",value:"景光物流"},{key:"MK",value:"美快"},{key:"PADTF",value:"平安达腾飞快递"},{key:"QRT",value:"全日通速递"},{key:"RFEX",value:"瑞丰速递"},{key:"SAWL",value:"圣安物流"},{key:"ST",value:"速通物流"},{key:"SUBIDA",value:"速必达物流"},{key:"XJ",value:"新洁物流"},{key:"ZYWL",value:"中邮物流"}]}]}},order:null,platform:{type:String,default:""},isEdit:{type:Boolean,default:!0},mailingMode:{type:Number,default:1}},created:function(){var e,t,a;switch(this.platform){case"tiktok":"string"===typeof this.order.sdata&&""!==this.order.sdata&&(this.order.sdata=JSON.parse(this.order.sdata)),(null===(e=this.order.sdata)||void 0===e||null===(t=e.packages)||void 0===t?void 0:t.length)>0&&(this.order.package_id=this.order.sdata.packages[0].id),null!==(a=this.order.sdata)&&void 0!==a&&a.warehouse_id&&(this.order.warehouse_id=this.order.sdata.warehouse_id),this.shopSelect(this.order.from_shop_id);break;case"rakuten":var n=JSON.parse(this.order.sdata),r=[];n.PackageModelList.forEach((function(e){var t={};t.basketId=e.basketId,t.item=[],e.ItemModelList.forEach((function(e){if(e.SkuModelList.length)var a=e.SkuModelList[0].variantId;t.item.push({title:e.itemName,sku_prop:a,price:e.price,shipping_num:e.units,delivery_company:"",Shipping_number:""})})),r.push(t)})),this.rakutenSdataSkuList=r;break}this.getOption()},methods:{getOption:function(){var e=this,t={};Object(s["i"])({page:1,limit:150}).then((function(a){for(var n=a.list,r=0;r<n.length;r++){var o=n[r],i=o.foreign_express;t[i]||(t[i]=[]),t[i].push({key:o.logistics_code,value:o.logistics_name})}return e.options[0].option=t[2],e.options[1].option=t[1],e.options}))},submit:function(){switch(this.platform){case"tiktok":this.form.package_id=this.form.package_id,this.form.logistics_name=this.form.tracking_name,this.form.body={shipping_provider_id:this.form.shipping_providers_id,tracking_number:this.form.shipment_id};break;case"rakuten":var e=[];this.rakutenSdataSkuList.forEach((function(t){var a={basketId:"",ShippingModelList:[]};a.basketId=t.basketId,a.ShippingModelList.push({deliveryCompany:t.delivery_company,shippingNumber:t.shipping_number}),e.push(a)}));var t={};t.orderNumber=this.order.order_id,t.BasketidModelList=e,this.form.logistics_name=this.form.tracking_name,this.form.body=t;break}this.$emit("update:form",this.form)},handleChange:function(e){this.form.logistics_name=e},shopSelect:function(e){var t=this;t.form.shops=[];var a={};a.tiktok_shop_id=e,Object(o["d"])(a).then((function(e){0===e.code&&(t.form.shop_cipher=e.shop_cipher,"US"===e.shop_region&&(t.isUs=!0),t.selectDelivery())}))},selectDelivery:function(){var e=this;e.shops_delivery=[],Object(o["g"])({ware_house_id:this.order.warehouse_id,shop_cipher:e.form.shop_cipher}).then((function(t){var a,n;0===t.code&&((null===(a=t.data)||void 0===a||null===(n=a.delivery_options)||void 0===n?void 0:n.length)>0&&(e.shops_delivery=t.data.delivery_options))}))},selectShippingProviders:function(){var e=this;e.shops_delivery_option=[],Object(o["A"])({delivery_option_id:e.form.delivery_option_id,shop_cipher:e.form.shop_cipher}).then((function(t){var a,n;0===t.code&&((null===(a=t.data)||void 0===a||null===(n=a.shipping_providers)||void 0===n?void 0:n.length)>0&&(e.shops_delivery_option=t.data.shipping_providers))}))},selectShopsDeliveryOption:function(e,t){var a=this.shops_delivery_option.find((function(t){return t.id===e}));this.form.shipping_providers_id=a.id,this.form.tracking_name=a.name},selectRakutenDeliveryCompanyName:function(e){var t=this.rakutenDeliveryCompany.find((function(t){return t.value===e}));t&&(this.form.tracking_name=t.name)},inputRakutenDeliveryCompanyCode:function(e){this.form.shipment_id=e.target._value}}},c=l,u=(a("5d54"),a("2877")),d=Object(u["a"])(c,n,r,!1,null,null,null);t["default"]=d.exports},"32e5":function(e,t,a){},3713:function(e,t,a){"use strict";a("adee")},"3b1b":function(e,t,a){"use strict";a.r(t);a("b0c0"),a("a9e3");var n=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:12,type:"flex"}},["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(),"admin"==e.roles[0]&&e.userId?t("a-col",{attrs:{lg:6,xl:6,xxl:4}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.shop")}},[t("shop-select",{ref:"shopSelect",attrs:{userId:e.userId},on:{change:e.changeShop}})],1)],1):e._e(),e.userId?e._e():t("a-col",{attrs:{lg:11,xl:"admin"==e.roles[0]?6:8,xxl:"admin"==e.roles[0]?4:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.detail.item"),labelCol:{md:8,sm:8,lg:10},wrapperCol:{md:16,sm:16,lg:14}}},[t("good-list",{staticStyle:{width:"100%"},attrs:{type:"radio"},on:{changeitem:e.changeItem}})],1)],1)],1),t("a-row",{attrs:{gutter:12,type:"flex"}},[t("a-col",{attrs:{lg:7,xl:8,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.orderno")}},[t("a-input",{attrs:{placeholder:e.$t("view.order.list.inputorderno"),"allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.orderId,callback:function(t){e.orderId=t},expression:"orderId"}})],1)],1),t("a-col",{attrs:{lg:6,xl:6,xxl:4,xs:24,md:12}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.export.user_select_title")}},[t("member-list",{attrs:{shopId:e.checkedShopId},on:{changeMember:e.changeMember}})],1)],1),t("a-col",{attrs:{lg:11,xl:5,xxl:5,md:16}},[t("a-form-item",{attrs:{label:e.$t("view.order.list.export.time_select_title"),labelCol:{md:3,sm:8,lg:6,xl:4,xxl:3},wrapperCol:{lg:18,xl:20,xxl: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",{attrs:{lg:24,xl:24,xxl: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("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.orderExport}},[t("a-icon"),e._v(e._s(e.$t("view.order.list.export.btn"))+" ")],1),t("syn-config",{attrs:{syn_idf:2}})],1)])],1),t("a-row",{attrs:{gutter:12,type:"flex"}},[t("a-col",{attrs:{lg:7,xl:7,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.purchaseOrder.list.purchaseId"),labelCol:{xl:10},wrapperCol:{xl:14}}},[t("a-input",{attrs:{placeholder:e.$t("view.purchaseOrder.list.purchaseId"),"allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.purchaseId,callback:function(t){e.purchaseId=t},expression:"purchaseId"}})],1)],1),t("a-col",{attrs:{lg:7,xl:7,xxl:6}},[t("a-form-item",{attrs:{label:e.$t("view.item.component.item.syn.syntype.title"),labelCol:{xl:10},wrapperCol:{xl:14}}},[t("platform",{attrs:{syntype:e.from_id,viewPlatform:2},on:{"update:syntype":function(t){e.from_id=t},selectPlatForm:e.changePlatForm}})],1)],1),e.platFormShops.length?t("a-col",{attrs:{lg:7,xl:6,xxl:4}},[t("a-form-item",{attrs:{label:e.$t("components.dyProduct.dyProduct.oauth.shopname")}},[t("a-select",{staticStyle:{width:"255px"},attrs:{allowClear:!0,placeholder:e.$t("components.dyProduct.dyProduct.shopname.placeholder")},model:{value:e.from_shop_id,callback:function(t){e.from_shop_id=t},expression:"from_shop_id"}},e._l(e.platFormShops,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.value}},[e._v(e._s(a.name))])})),1)],1)],1):e._e()],1)],1)],1)]),t("div",[t("view-select",{staticStyle:{display:"none"},on:{change:e.backViewId}}),e.showReviewModal?t("review-list",{ref:"ReviewList",on:{close:function(t){e.showReviewModal=!1}}}):e._e(),e.orderDetailModal?t("order-detail",{ref:"OrderDetail",attrs:{modalHeight:.8*e.windowHeight+""},on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),e.showFaHuoModal?t("review-list1",{ref:"ReviewList1",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.showHandlePayModal?t("handle-pay-list",{ref:"HandlePayList",on:{ok:e.getList,close:function(t){e.showHandlePayModal=!1}}}):e._e(),e.showCaiGouModal?t("caigou",{ref:"pushCaiGou",on:{ok:e.getList,close:function(t){e.showCaiGouModal=!1}}}):e._e(),t("stockAdd",{ref:"stockAdd"})],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","row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},"format-conditions":!1,columns:e.columns,"data-source":e.list,rowKey:"order_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:" "},scopedSlots:e._u([{key:"order_id",fn:function(a){var n=a.text,r=a.record;return t("span",{},[r.from_id?t("div",[e.shouldDisplayTag(r)?t("a-tag",{attrs:{color:"#f50"}},[e._v(" "+e._s(e.showTag(r))+" ")]):e._e()],1):e._e(),t("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[t("span",[t("a",{on:{click:function(t){return e.handleOrderDetail(r)}}},[e._v(" "+e._s(n)+" ")]),t("copyText",{attrs:{text:n,tooltipText:e.$t("view.order.list.order_id.copy")}})],1)]),t("div",[e._v(e._s(r.create_time))]),t("a",{attrs:{type:"primary"},on:{click:function(t){return e.orderPrint(r)}}},[e._v(e._s(e.$t("view.order.detail.print.btn")))]),t("br"),"admin"==e.roles[0]&&1!==r.shop_id?t("div",[t("supply-info",{attrs:{shopId:r.shop_id}})],1):e._e(),r.order_item[0].stock_log?t("div",[e._v(" "+e._s(e.$t("view.order.target.wareHouse"))+" : "),r.order_item[0].stock_log?t("wareHouseInfo",{attrs:{isTag:!0,warehouseId:Number(r.order_item[0].stock_log.warehouse_id)}}):e._e(),"ORDER_WAIT_SHIP"===r.status?t("span",[e._v("-")]):e._e(),"ORDER_WAIT_SHIP"===r.status?t("orderSwitchWareHouse",{attrs:{skuId:r.order_item[0].sku_id,orderId:r.order_id},on:{ok:e.getList}}):e._e()],1):e._e(),r.order_item[0].stock_log?t("div",[t("webHookInfo",{attrs:{orderId:r.order_id,orderStatus:r.status,wareHouseId:Number(r.order_item[0].stock_log.warehouse_id)}})],1):e._e(),t("dispath-note",{staticStyle:{display:"none"},attrs:{order:r}})],1)}},{key:"order_item",fn:function(a){var n=a.text,r=a.record;return t("span",{},e._l(n,(function(a,o){return t("div",{key:a.sku_id,staticStyle:{display:"flex","margin-bottom":"10px"}},[t("div",[t("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url},on:{click:function(t){return e.openItem(a)}}}),1==e.shopId?t("div",{staticStyle:{"margin-top":"0.5rem"}},[t("a-tag",{attrs:{color:2==a.mailing_mode?"red":"green"}},[1===e.shopId?t("div",[2==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself"))+" ")]):e._e(),1==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):e._e(),0==a.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.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.myself1"))+" ")]):e._e(),1==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):e._e(),0==a.mailing_mode?t("div",[e._v(" "+e._s(e.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):e._e()]):e._e()])],1):e._e()],1),t("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},[t("a",{on:{click:function(t){return e.openItem(a)}}},[e._v(" "+e._s(a.title)+" ")])])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(" "+e._s(r.currency)+" "+e._s(a.price)+" ")]),t("a-col",{staticStyle:{"padding-left":"5px"}},[t("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),e._v(" "+e._s(a.num)+" ")],1),t("a-col",{staticStyle:{"padding-left":"5px"}},[a.activity_info&&a.activity_info.wholesaleprice_id>0?t("a-tooltip",[t("template",{slot:"title"},[e._v(" "+e._s(1===e.wholesalePriceData.type?e.$t("view.order.list.discount",{start:e.wholesalePriceData.start_num,end:e.wholesalePriceData.end_num,discount:e.wholesalePriceData.price}):e.$t("view.order.list.price",{start:e.wholesalePriceData.start_num,end:e.wholesalePriceData.end_num,price:e.shopQuoteCurrency+e.wholesalePriceData.price}))+" ")]),t("a-tag",{attrs:{color:"#2db7f5"},on:{mouseover:function(t){return e.getOrderItemWholesalePrice(a.activity_info.wholesaleprice_id)}}},[e._v(" "+e._s(e.$t("view.item.wholesale.form.new_price"))+" ")])],2):e._e()],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,n){return t("div",{key:n},[t("span",[e._v(e._s(n)+":"+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"))+" : "),t("a",{on:{click:function(t){return e.handleStockAdd(a)}}},[e._v(" "+e._s(a.out_id))]),t("skuConv",{attrs:{fromPlatform:r.from_id,outId:a.out_id}})],1),t("a-col",{attrs:{flex:3}})],1),o<n.length-1?t("a-divider"):e._e()],1)])})),0)}},{key:"payment",fn:function(a){var n=a.text,r=a.record;return t("span",{},[""===r.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(n)+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.list.payhuobiprice"))+" : "+e._s(r.trans_currency)+" "+e._s(r.trans_amount)+" ")])],1):e._e(),""!==r.from_id?t("a-row",[t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(r.currency)+" "+e._s(n)+" ")])],1):e._e()],1)}},{key:"status",fn:function(a){var n=a.text;return t("span",{},[t("div",[e._v(" "+e._s(e.$t(n))+" ")])])}},{key:"paymemberInfo",fn:function(a){var n=a.record;return t("span",{},[t("a-row",[n?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.gangwei.list.realname"))+" : "),"CN"===n.country||"HK"===n.country||"MO"===n.country||"TW"===n.country||"SG"===n.country||"JP"===n.country||"KR"===n.country||"HU"===n.country||"VN"===n.country?t("span",[e._v(e._s(n.last_name||"")+" "+e._s(n.first_name||""))]):t("span",[e._v(e._s(n.first_name||"")+" "+e._s(n.last_name||""))]),!n.member_id||"purchase"!=n.from_id&&"handlePay"!=n.from_id&&""!=n.from_id?e._e():t("message",{staticStyle:{display:"inline-block","margin-left":"5px"},attrs:{memberId:n.member_id}})],1):e._e(),n.phone&&""!=n.phone?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_phone"))+" : "+e._s(n.phone)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_country"))+" : "+e._s(e.$t(n.country))+" ")]),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_state"))+" : "+e._s(n.state)+" ")]),n.city?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_city"))+" : "+e._s(n.city)+" ")]):e._e(),n.street?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_street"))+" : "+e._s(n.street)+" ")]):e._e(),n.apartment?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.ship_men"))+" : "+e._s(n.apartment)+" ")]):e._e(),n.zip_code?t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.zipcode"))+" : "+e._s(n.zip_code)+" ")]):e._e(),t("a-col",{attrs:{lg:24}},[e._v(" "+e._s(e.$t("view.order.detail.memberNote"))+" : "+e._s(n.member_note)+" ")]),t("a-col",{attrs:{lg:24}},[t("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===n.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(t){return e.handleModifyShipping(n)}}},[e._v(" "+e._s(e.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var n=a.record;return t("span",{},[t("a",{on:{click:function(t){return e.handleReview(n)}}},[e._v(" "+e._s(e.$t("view.order.list.review.btn"))+" ")]),t("span",[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handleInsure(n)}}},[e._v(" "+e._s(e.$t("view.order.list.insure.btn"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"===n.status||"ORDER_PART_PAID"===n.status,expression:"record.status === 'ORDER_WAIT_PAYMENT' || record.status === 'ORDER_PART_PAID'"}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handlePay(n,!1)}}},[e._v(" "+e._s(e.$t("view.order.list.manual_pay"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"===n.status||"ORDER_PART_PAID"===n.status||"ORDER_WAIT_SHIP"===n.status,expression:"\n record.status === 'ORDER_WAIT_PAYMENT' ||\n record.status === 'ORDER_PART_PAID' ||\n record.status === 'ORDER_WAIT_SHIP'\n "}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handleCloseOrder(n,!1)}}},[e._v(" "+e._s(e.$t("view.order.list.closeOrder"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"!==n.status&&"ORDER_PART_PAID"!==n.status&&"handlePay"===n.from_id,expression:"\n record.status !== 'ORDER_WAIT_PAYMENT' &&\n record.status !== 'ORDER_PART_PAID' &&\n record.from_id === 'handlePay'\n "}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handlePay(n,!0)}}},[e._v(" "+e._s(e.$t("view.order.list.manual_pay"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===n.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handleFaHuo(n)}}},[e._v(" "+e._s(e.$t("view.order.list.ship.btn"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_AFTER_SALE"===n.status,expression:"record.status === 'ORDER_AFTER_SALE'"}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.handleCancelAfterSales(n)}}},[e._v(" "+e._s(e.$t("view.order.list.aftersale.cancel.btn"))+" ")])],1),t("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===n.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}]},[t("a-divider",{attrs:{type:"vertical"}}),t("a-popover",{attrs:{title:e.$t("view.order.list.reset.push.log.title"),trigger:"click",placement:"bottom"}},[t("template",{slot:"content"},[t("a-table",{attrs:{columns:e.logListTitle,"data-source":e.logData,pagination:{pageSize:3}}},[t("span",{attrs:{slot:"action"},slot:"action"},[t("a-button",{attrs:{type:"primary"},on:{click:function(t){return e.orderPush(n)}}},[e._v(" "+e._s(e.$t("view.order.list.reset.push.log.action.btn"))+" ")])],1)])],1),t("a",{attrs:{type:"primary"},on:{click:function(t){return e.orderPushLog(n)}}},[e._v(e._s(e.$t("view.order.list.reset.push.log")))])],2)],1),"ORDER_WAIT_SHIP"===n.status?t("span",[t("a-divider",{attrs:{type:"vertical"}}),t("a",{on:{click:function(t){return e.pushCaiGou(n)}}},[e._v(e._s(e.$t("component.procure.create.button1")))])],1):e._e(),t("div",[t("div",{attrs:{title:"订单备注"}},[n.user_note?t("a-tag",{staticStyle:{width:"80%"},attrs:{color:"orange"}},[e._v(e._s(n.user_note))]):e._e()],1),t("order-note",{attrs:{orderId:n.order_id,note:n.user_note},on:{ok:function(t){return e.getList()}}})],1)])}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[1!=e.shopId?t("autoPur"):e._e(),t("ordersShips",{attrs:{orders:e.selectedRows||[]},on:{ok:e.okShips}})],1)])],1)],1)},r=[],o=a("5530"),i=a("6958"),s=Object(o["a"])({},i["default"]),l=s,c=(a("be5e"),a("2877")),u=Object(c["a"])(l,n,r,!1,null,null,null);t["default"]=u.exports},5703:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("a-drawer",{attrs:{width:"45%",title:e.formTitle,"label-col":4,"wrapper-col":14,visible:e.open,"body-style":{height:"calc(100vh - 100px)",overflow:"auto"}},on:{close:e.cancel}},[t("a-form-model",{ref:"form",attrs:{model:e.form,rules:e.rules,layout:"vertical"}},[t("a-form-model-item",{attrs:{label:"参数编码",prop:"configKey"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configKey,callback:function(t){e.$set(e.form,"configKey",t)},expression:"form.configKey"}})],1),t("a-form-model-item",{attrs:{label:"参数名称",prop:"configName"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configName,callback:function(t){e.$set(e.form,"configName",t)},expression:"form.configName"}})],1),t("a-form-model-item",{attrs:{label:"参数值",prop:"configValue"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configValue,callback:function(t){e.$set(e.form,"configValue",t)},expression:"form.configValue"}})],1),t("a-form-model-item",{attrs:{label:"是否内置参数",prop:"configType"}},[t("a-radio-group",{attrs:{"button-style":"solid"},model:{value:e.form.configType,callback:function(t){e.$set(e.form,"configType",t)},expression:"form.configType"}},e._l(e.typeOptions,(function(a,n){return t("a-radio-button",{key:n,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1),t("a-form-model-item",{attrs:{label:"备注",prop:"remark"}},[t("a-input",{attrs:{placeholder:"请输入备注",type:"textarea","allow-clear":""},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1),t("div",{staticClass:"bottom-control"},[t("a-space",[t("a-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v(" 保存 ")]),t("a-button",{on:{click:e.cancel}},[e._v(" 取消 ")])],1)],1)],1)],1)},r=[],o=a("5530"),i=a("1fc7"),s=Object(o["a"])({},i["default"]),l=s,c=a("2877"),u=Object(c["a"])(l,n,r,!1,null,null,null);t["default"]=u.exports},"58f6":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("a-select",{staticStyle:{width:"auto","min-width":"100px"},attrs:{value:e.value,disabled:e.disabled},on:{change:e.handleChange}},[t("a-select-option",{attrs:{value:1}},[e._v(e._s(e.$t("components.warehouseRule.warehouseMode.pricemin")))]),t("a-select-option",{attrs:{value:2}},[e._v(e._s(e.$t("components.warehouseRule.warehouseMode.time")))])],1)},r=[],o=(a("a9e3"),{name:"PriceCompareMethod",model:{prop:"value",event:"input"},props:{value:{type:Number,default:1},disabled:{type:Boolean,default:!1}},methods:{handleChange:function(e){this.$emit("input",e),this.$emit("change",e)}}}),i=o,s=a("2877"),l=Object(s["a"])(i,n,r,!1,null,"c2b8b322",null);t["default"]=l.exports},"5af5":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("ant-modal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalWidth:"640",modalHeight:"420"},on:{cancel:e.cancel}},[t("a-form-model",{ref:"form",attrs:{slot:"content",model:e.form,rules:e.rules,layout:"vertical"},slot:"content"},[t("a-row",{staticClass:"form-row",attrs:{gutter:32}},[t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"参数编码",prop:"configKey"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configKey,callback:function(t){e.$set(e.form,"configKey",t)},expression:"form.configKey"}})],1)],1),t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"参数名称",prop:"configName"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configName,callback:function(t){e.$set(e.form,"configName",t)},expression:"form.configName"}})],1)],1),t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"参数值",prop:"configValue"}},[t("a-input",{attrs:{placeholder:"请输入"},model:{value:e.form.configValue,callback:function(t){e.$set(e.form,"configValue",t)},expression:"form.configValue"}})],1)],1),t("a-col",{attrs:{lg:12,md:12,sm:24}},[t("a-form-model-item",{attrs:{label:"是否内置参数",prop:"configType"}},[t("a-radio-group",{attrs:{"button-style":"solid"},model:{value:e.form.configType,callback:function(t){e.$set(e.form,"configType",t)},expression:"form.configType"}},e._l(e.typeOptions,(function(a,n){return t("a-radio-button",{key:n,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1)],1),t("a-col",{attrs:{lg:24,md:24,sm:24,span:24}},[t("a-form-model-item",{attrs:{label:"备注",prop:"remark"}},[t("a-input",{attrs:{placeholder:"请输入备注",type:"textarea","allow-clear":""},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)],1)],1)],1),t("template",{slot:"footer"},[t("a-button",{on:{click:e.cancel}},[e._v(" 取消 ")]),t("a-button",{attrs:{type:"primary"},on:{click:e.submitForm}},[e._v(" 保存 ")])],1)],2)},r=[],o=a("5530"),i=a("1fc7"),s=Object(o["a"])({},i["default"]),l=s,c=a("2877"),u=Object(c["a"])(l,n,r,!1,null,null,null);t["default"]=u.exports},"5d54":function(e,t,a){"use strict";a("a32b")},"5f19":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("span",[t("a-row",{attrs:{gutter:24}},[t("a-col",{attrs:{lg:3}},[e._v(e._s(e.$t("view.item.list.good_id")))]),t("a-col",{attrs:{lg:3}},[e._v(e._s(e.$t("view.item.list.itemImage")))]),t("a-col",{attrs:{lg:12}},[e._v(e._s(e.$t("view.item.list.itemTitle")))])],1),t("div",{staticStyle:{"margin-top":"2px",border:"1px solid #ccc",padding:"5px"}},[t("a-row",{attrs:{gutter:24}},[t("a-col",{attrs:{lg:3}},[e._v(e._s(e.goodInfo.good_id))]),t("a-col",{attrs:{lg:3}},[e.getGoodInfo()?t("div",[t("img",{staticStyle:{width:"80px",height:"80px"},attrs:{src:e.goodInfo.image_url}})]):e._e()]),t("a-col",{staticStyle:{"line-height":"40px"},attrs:{lg:12}},[e.getGoodInfo()?t("div",[e._v(e._s(e.goodInfo.title))]):e._e()])],1)],1)],1)},r=[],o=(a("7db0"),a("d3b7"),{name:"GoodsIdOne",props:{goodsList:{type:Array,default:function(){return[]}},goodsId:{type:String,default:""}},computed:{goodInfo:function(){var e,t=this;return null===(e=this.goodsList)||void 0===e?void 0:e.find((function(e){return e.good_id+""===t.goodsId+""}))}},methods:{getGoodInfo:function(){var e,t=this;return null===(e=this.goodsList)||void 0===e?void 0:e.find((function(e){return e.good_id+""===t.goodsId+""}))}}}),i=o,s=a("2877"),l=Object(s["a"])(i,n,r,!1,null,null,null);t["default"]=l.exports},6287:function(e,t,a){},6947:function(e,t,a){"use strict";a("b6ad")},8220:function(e,t,a){"use strict";a.r(t);var n,r,o={template:'\n <svg t="1598838771152" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2725" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M511.573333 85.333333C276.053333 85.333333 85.333333 276.48 85.333333 512s190.72 426.666667 426.24 426.666667C747.52 938.666667 938.666667 747.52 938.666667 512S747.52 85.333333 511.573333 85.333333zM693.333333 689.066667 469.333333 554.666667 469.333333 298.666667l64 0 0 224 192 113.92L693.333333 689.066667z" p-id="2726"></path></svg>'},i={name:"MtimeIcon",template:'\n <a-icon :component="MtimeSvg" />\n ',data:function(){return{MtimeSvg:o}}},s=i,l=a("2877"),c=Object(l["a"])(s,n,r,!1,null,null,null);t["default"]=c.exports},"8faf":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("span",[t("a-button",{attrs:{type:"primary"},on:{click:e.openLoginModal}},[e._v(e._s(e.$t("view.user.syn.register.tab1")))]),t("a-modal",{attrs:{visible:e.visible,title:e.formTitle,zIndex:9999},on:{cancel:e.Cencel}},[t("div",[t("a-form-model",{ref:"form",staticClass:"user-layout-login",attrs:{id:"formLogin",model:e.formData,rules:e.rules}},[t("a-form-model-item",{attrs:{prop:"username"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.email.add.username.label")},model:{value:e.formData.username,callback:function(t){e.$set(e.formData,"username",t)},expression:"formData.username"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"password"}},[t("a-input-password",{attrs:{size:"large",placeholder:e.$t("view.login.email.add.password.label")},model:{value:e.formData.password,callback:function(t){e.$set(e.formData,"password",t)},expression:"formData.password"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"realname"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.email.add.realname.label")},model:{value:e.formData.realname,callback:function(t){e.$set(e.formData,"realname",t)},expression:"formData.realname"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"mobile"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.email.add.mobile.label")},model:{value:e.formData.mobile,callback:function(t){e.$set(e.formData,"mobile",t)},expression:"formData.mobile"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"phone"},slot:"prefix"})],1)],1),t("a-form-model-item",{attrs:{prop:"email"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.email.add.email.label")},model:{value:e.formData.email,callback:function(t){e.$set(e.formData,"email",t)},expression:"formData.email"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),t("a-row",{attrs:{gutter:16}},[t("a-col",{staticClass:"gutter-row",attrs:{lg:18,sm:18,md:18,xs:16}},[t("a-form-model-item",{attrs:{prop:"code"}},[t("a-input",{attrs:{size:"large",type:"text",autocomplete:"off",placeholder:e.$t("view.modal.email.code.placeholder")},model:{value:e.formData.code,callback:function(t){e.$set(e.formData,"code",t)},expression:"formData.code"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"security-scan"},slot:"prefix"})],1)],1)],1),t("a-col",{staticClass:"gutter-row",attrs:{lg:6,sm:6,md:6,xs:8}},[t("a-button",{staticClass:"login-button",staticStyle:{padding:"0 0px"},attrs:{type:"primary",loading:e.codeLoading,size:"large"},on:{click:e.getEmailCode}},[e._v(e._s(e.codeLoading?e.$t("view.modal.code.time",{time:e.currentCodeTime}):e.$t("view.modal.email.code")))])],1)],1),t("a-form-model-item",{attrs:{prop:"distribution_code"}},[t("a-input",{attrs:{size:"large",placeholder:e.$t("view.config.add.code.label")},model:{value:e.formData.distribution_code,callback:function(t){e.$set(e.formData,"distribution_code",t)},expression:"formData.distribution_code"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"security-scan"},slot:"prefix"})],1)],1)],1)],1),t("template",{slot:"footer"},[t("a-button",{key:"back",on:{click:e.Cencel}},[e._v(" "+e._s(e.$t("view.service.message.modal.cancelText"))+" ")]),t("a-button",{key:"submit",attrs:{type:"primary",loading:e.loading},on:{click:e.register}},[e._v(" "+e._s(e.$t("view.user.register"))+" ")])],1)],2)],1)},r=[],o=a("5530"),i=(a("d3b7"),a("a9e3"),a("25f0"),a("c0c7")),s=a("56cd"),l=a("bc3a"),c=a.n(l),u=a("ca00"),d={name:"PlatformRegiset",data:function(){return{formData:{},visible:!1,formTitle:"",loading:!1,codeLoading:!1,codeUrl:"",rules:{username:[{required:!0,message:this.$t("view.config.email.add.username.placeholder"),trigger:"blur"}],password:[{required:!0,message:this.$t("view.config.email.add.password.placeholder"),trigger:"blur"}],realname:[{required:!1,message:this.$t("view.config.email.add.realname.placeholder"),trigger:"blur"}],mobile:[{required:!1,message:this.$t("view.config.email.add.mobile.placeholder"),trigger:"blur"}],email:[{required:!1,message:this.$t("view.config.email.add.email.placeholder"),trigger:"blur"}],code:[{required:!0,message:this.$t("login.modal.code.relue"),trigger:"blur"}],cid:[{required:!0,message:"验证码ID不能为空",trigger:"blur"}]},currentCodeTime:0}},props:{role:{type:String,required:!0},registerUrl:{type:String,required:!0},showConfigList:{type:Boolean,default:!1},title:{type:String,required:!0}},created:function(){this.formTitle=this.title+this.$t("view.user.syn.register.tab1"),this.initData()},methods:{emilCode:function(e){return c.a.defaults.withCredentials=!0,fetch(this.registerUrl+"/admin/member/email/verify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(e){return e.json()})).then((function(e){return e}))},memberRegister:function(e){var t=JSON.parse(JSON.stringify(e));return t.role=Number(this.role),fetch(this.registerUrl+"/admin/member/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((function(e){return e.json()})).then((function(e){return 0!==e.code&&s["a"].error({message:e.message,description:e.message}),e})).catch((function(e){}))},getEmailCode:function(){var e=this;this.codeLoading||this.$refs.form.validateField("email",(function(t){t||e.emilCode({email:e.formData.email}).then((function(t){0===t.code&&(e.codeLoading=!0,e.getCodeTime(),e.$message.success(e.$t("view.modal.code.succes")))}))}))},getCodeTime:function(){var e=this,t=30;this.currentCodeTime=t,this.CodeTime=setInterval((function(){t--,e.currentCodeTime=t,t<=0&&(e.codeLoading=!1,clearInterval(e.CodeTime))}),1e3)},initData:function(){var e=this;Object(i["j"])().then((function(t){t.user&&(e.formData={realname:t.user.realname,email:t.user.email,mobile:t.user.mobile,username:t.user.username,password:Object(u["g"])(6)})}))},register:function(){var e=this;this.$refs.form.validate((function(t){t&&(e.loading=!0,e.formData.remark="蜂洞客户",e.memberRegister(e.formData).then((function(t){e.loading=!1,0===t.code&&(e.$message.success(e.$t("view.modal.register.succes")),e.formData.huoyuan_name=e.title,e.formData.huoyuan_url=e.registerUrl,e.$emit("registerSuccess",e.formData),e.Cencel())})).catch((function(t){e.loading=!1,s["a"].error({message:t.toString(),description:t.toString()})})))}))},setConfig:function(){var e=this;this.showConfigList&&this.$refs.platfConfigRef.openModal(),setTimeout((function(){var t=e.formData;e.$refs.platfConfigRef.showModal({syntype:"beehole",api_url:e.registerUrl,app_key:t.username,app_secret:t.password,beehole_login_type:2})}),500)},openLoginModal:function(){this.visible=!0},Cencel:function(){this.visible=!1}},components:{}},p=Object(o["a"])({},d),m=p,f=(a("6947"),a("2877")),g=Object(f["a"])(m,n,r,!1,null,"21b00a37",null);t["default"]=g.exports},"9b8b":function(e,t,a){"use strict";a("6287")},a32b:function(e,t,a){},adee:function(e,t,a){},b557:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"inline","margin-right":"10px"}},[e._v(" "+e._s(e.$t("purchase.auto.purchase.order.pay.title"))+": "),t("a-switch",{attrs:{"checked-children":e.$t("view.shopview.open.label"),"un-checked-children":e.$t("view.shopview.close.label")},on:{change:e.handleAutoPurchaseChange},model:{value:e.autoPurchaseEnabled,callback:function(t){e.autoPurchaseEnabled=t},expression:"autoPurchaseEnabled"}})],1)},r=[],o=a("5530"),i=a("2f62"),s=a("d047"),l={components:{},computed:Object(o["a"])({},Object(i["c"])({shop_id:"shopId"})),data:function(){return{autoPurchaseEnabled:!1}},created:function(){this.getAutoPurchaseConfig()},methods:{handleAutoPurchaseChange:function(e){var t=this,a={data:e?1:0,name:"mall_auto_purchase_pay_config"};Object(s["g"])(a).then((function(a){0===a.code?t.$message.success(t.$t("api.info.operation")):(t.autoPurchaseEnabled=!e,t.$message.error(a.msg||t.$t("view.item.component.item.syn.operation.add.error.info")))}))},getAutoPurchaseConfig:function(){var e=this,t={shop_id:this.shop_id,name:"mall_auto_purchase_pay_config"};Object(s["d"])(t).then((function(t){0===t.code?e.autoPurchaseEnabled="1"===t.data:e.autoPurchaseEnabled=!1}))}}},c=Object(o["a"])({},l),u=c,d=a("2877"),p=Object(d["a"])(u,n,r,!1,null,null,null);t["default"]=p.exports},b6ad:function(e,t,a){},be5e:function(e,t,a){"use strict";a("32e5")},c06f:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("span",[t("a-table",{attrs:{columns:e.columns,"row-selection":{type:"radio",selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},"data-source":e.list,rowkey:"id",pagination:{current:e.query.page,pageSize:e.query.limit,total:e.total,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,onChange:e.changeSize,hideOnSinglePage:!0}},scopedSlots:e._u([{key:"source_lang",fn:function(a,n){return t("span",{},[e._v(" "+e._s(e.$t(e.langLabel[n.source_lang]))+" ")])}},{key:"target_lang",fn:function(a,n){return t("span",{},[e._v(" "+e._s(e.$t(e.langLabel[n.target_lang]))+" ")])}},{key:"video_url",fn:function(a,n){return t("span",{},[t("div",[t("div",{style:{width:"150px",height:"150px"}},[n.video_url?t("video",{ref:"sfGalleryBigImage",staticStyle:{"object-position":"top","max-height":"150px"},attrs:{autoplay:!1,muted:"",preload:"load",loop:"",src:n.video_url,width:"100%",height:"100%",controls:"controls",playsinline:""},domProps:{muted:!0}},[t("source",{attrs:{src:n.video_url,type:"video/*"}})]):e._e()]),t("div",[e._v(e._s(n.video_url))])])])}}])})],1)},r=[],o=a("3726"),i={name:"VideoList",props:{url:{type:String,default:""},hiddenIcon:{type:Boolean,default:!1}},data:function(){var e=this,t=this.$createElement;return{list:[],query:{page:1,limit:10},total:0,columns:[{title:this.$t("components.imagetext.translation.sourceLang"),dataIndex:"source_lang",key:"source_lang",scopedSlots:{customRender:"source_lang"}},{title:this.$t("components.imagetext.translation.targetLang"),dataIndex:"target_lang",key:"target_lang",scopedSlots:{customRender:"target_lang"}},{title:function(){return t("span",[e.$t("components.videoList.table.video"),t("a-tooltip",{attrs:{title:e.$t("view.item.skulist.btn.refresh")}},[t("a-icon",{on:{click:e.getList},class:"action",attrs:{type:e.loading?"loading":"reload"}})])])},dataIndex:"video_url",key:"video_url",scopedSlots:{customRender:"video_url"}}],langLabel:{zh:"zh-CN",en:"en-US",fr:"fr-FR",es:"es-ES",ar:"ar-EG",hi:"hi-IN",pt:"pt-PT",ru:"ru-RU",it:"it-IT",de:"de-DE",ja:"ja-JP",th:"th-TH",ko:"ko-KR",bn:"bn-BD",id:"id-ID",vi:"vi-VN",ms:"ms-MY"},selectedRowKeys:[],loading:!1}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.loading=!0,Object(o["g"])({page:this.query.page,limit:this.query.limit}).then((function(t){0===t.code&&(e.list=t.list,e.total=t.total),e.loading=!1})).catch((function(){e.loading=!1}))},changeSize:function(e){this.query.page=e,this.getList()},onSelectChange:function(e,t){this.selectedRowKeys=e,this.$emit("ok",t[0].video_url)}}},s=i,l=a("2877"),c=Object(l["a"])(s,n,r,!1,null,null,null);t["default"]=c.exports},c611:function(e,t,a){"use strict";a.r(t);a("99af");var n=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:48}},[t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"参数编码"}},[t("a-input",{attrs:{placeholder:"请输入参数编码","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.configKey,callback:function(t){e.$set(e.queryParam,"configKey",t)},expression:"queryParam.configKey"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"参数名称"}},[t("a-input",{attrs:{placeholder:"请输入参数名称","allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.queryParam.configName,callback:function(t){e.$set(e.queryParam,"configName",t)},expression:"queryParam.configName"}})],1)],1),t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"是否内置参数"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择","allow-clear":""},model:{value:e.queryParam.configType,callback:function(t){e.$set(e.queryParam,"configType",t)},expression:"queryParam.configType"}},e._l(e.typeOptions,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.dictValue}},[e._v(e._s(a.dictLabel))])})),1)],1)],1),e.advanced?t("a-col",{attrs:{md:6,sm:24}},[t("a-form-item",{attrs:{label:"创建时间"}},[t("a-range-picker",{staticStyle:{width:"100%"},attrs:{valueFormat:"YYYY-MM-DD",format:"YYYY-MM-DD","allow-clear":""},model:{value:e.dateRange,callback:function(t){e.dateRange=t},expression:"dateRange"}})],1)],1):e._e(),t("a-col",[t("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v("查询")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v("重置")],1),t("a",{staticStyle:{"margin-left":"8px"},on:{click:e.toggleAdvanced}},[e._v(" "+e._s(e.advanced?"收起":"展开")+" "),t("a-icon",{attrs:{type:e.advanced?"up":"down"}})],1)],1)])],1)],1)],1)]),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e.showAddModal?t("config-add-form",{ref:"configAddForm",attrs:{typeOptions:e.typeOptions},on:{ok:e.getList,close:function(t){e.showAddModal=!1}}}):e._e(),e.showEditModal?t("config-edit-form",{ref:"configEditForm",attrs:{typeOptions:e.typeOptions},on:{ok:e.getList,close:function(t){e.showEditModal=!1}}}):e._e(),t("advance-table",{attrs:{columns:e.columns,"data-source":e.list,title:"系统参数",loading:e.loading,rowKey:"id",tableKey:"system-config-ConfigIndex-table",size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},pagination:{current:e.queryParam.pageNum,pageSize:e.queryParam.pageSize,total:e.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(e,t){return"第 ".concat(t[0],"-").concat(t[1]," 条,总计 ").concat(e," 条")},onChange:e.changeSize,onShowSizeChange:e.onSizeChange}},on:{refresh:e.getList},scopedSlots:e._u([{key:"configType",fn:function(a){a.text;var n=a.record;return t("span",{},[e._v(" "+e._s(e.typeFormat(n))+" ")])}},{key:"operation",fn:function(a){a.text;var n=a.record;return t("span",{},[t("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:edit"],expression:"['system:config:edit']"}],on:{click:function(t){return e.handleUpdate(n)}}},[e._v(" 修改 ")]),t("a-divider",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],attrs:{type:"vertical"}}),t("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],on:{click:function(t){return e.handleDelete(n)}}},[e._v(" 删除 ")])],1)}}])},[t("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:add"],expression:"['system:config:add']"}],attrs:{type:"primary",size:"small"},on:{click:e.handleAdd}},[t("a-icon",{attrs:{type:"plus"}}),e._v("新增 ")],1),e.multiple?e._e():t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],attrs:{type:"danger",disabled:e.multiple},on:{click:e.handleDelete}},[t("a-icon",{attrs:{type:"delete"}}),e._v("删除 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:export"],expression:"['system:config:export']"}],on:{click:e.handleExport}},[t("a-icon",{attrs:{type:"download"}}),e._v("导出 ")],1),t("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:config:remove"],expression:"['system:config:remove']"}],on:{click:e.handleRefreshCache}},[t("a-icon",{attrs:{type:"redo"}}),e._v("刷新缓存 ")],1)],1)])],1)],1)},r=[],o=(a("d81d"),a("c0c3")),i=a("5703"),s=a("5af5"),l=a("5d9e"),c={name:"Config",components:{ConfigEditForm:i["default"],ConfigAddForm:s["default"],AdvanceTable:l["default"]},data:function(){return{showAddModal:!1,showEditModal:!1,list:[],selectedRowKeys:[],selectedRows:[],advanced:!1,single:!0,multiple:!0,ids:[],configNames:[],loading:!1,sunloading:!1,total:0,typeOptions:[],dateRange:[],labelCol:{span:10},wrapperCol:{span:14},queryParam:{pageNum:1,pageSize:10,configName:void 0,configKey:void 0,configType:void 0},addModalRefName:"addModal",columns:[{title:"参数编码",dataIndex:"configKey",ellipsis:SVGComponentTransferFunctionElement,sswidth:"30%"},{title:"参数名称",dataIndex:"configName",ellipsis:!0,width:"15%"},{title:"参数值",dataIndex:"configValue",ellipsis:!0,width:"15%"},{title:"是否内置参数",dataIndex:"configType",scopedSlots:{customRender:"configType"},align:"center",width:"10%"},{title:"备注",dataIndex:"remark",ellipsis:!0,width:"15%"},{title:"创建时间",dataIndex:"createTime",scopedSlots:{customRender:"createTime"},width:"15%"},{title:"操作",dataIndex:"operation",width:"10%",align:"center",scopedSlots:{customRender:"operation"}}]}},filters:{},created:function(){var e=this;this.getList(),this.getDicts("sys_yes_no").then((function(t){e.typeOptions=t.data}))},computed:{},watch:{},methods:{getList:function(){var e=this;this.showAddModal=!1,this.showEditModal=!1,this.loading=!0,Object(o["g"])(this.addDateRange(this.queryParam,this.dateRange)).then((function(t){e.list=t.data.list,e.list.map((function(e){e.operation=e.remark})),e.total=t.data.total,e.loading=!1}))},typeFormat:function(e){return this.selectDictLabel(this.typeOptions,e.configType)},handleQuery:function(){this.queryParam.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.queryParam={pageNum:1,pageSize:10,configName:void 0,configKey:void 0,configType:void 0},this.handleQuery()},onShowSizeChange:function(e,t){this.queryParam.pageSize=t,this.getList()},onSizeChange:function(e,t){this.queryParam.pageNum=1,this.queryParam.pageSize=t,this.getList()},changeSize:function(e,t){this.queryParam.pageNum=e,this.queryParam.pageSize=t,this.getList()},onSelectChange:function(e,t){this.selectedRowKeys=e,this.selectedRows=t,this.ids=this.selectedRows.map((function(e){return e.id})),this.configNames=this.selectedRows.map((function(e){return e.configName})),this.single=1!==e.length,this.multiple=!e.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleAdd:function(){var e=this;this.showAddModal=!0,this.$nextTick((function(){return e.$refs.configAddForm.handleAdd()}))},handleUpdate:function(e){var t=this;this.showEditModal=!0,this.$nextTick((function(){return t.$refs.configEditForm.handleUpdate(e)}))},handleDelete:function(e){var t=this,a=e.id||this.ids,n=e.configName||this.configNames;this.$confirm({title:"确认删除所选中数据?",content:'当前选中名称为"'+n+'"的数据',onOk:function(){return Object(o["c"])(a).then((function(){t.onSelectChange([],[]),t.getList(),t.$message.success("删除成功",3)}))},onCancel:function(){}})},handleExport:function(){var e=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return Object(o["d"])(e.queryParam).then((function(t){e.download(t.msg),e.$message.success("导出成功",3)}))},onCancel:function(){}})},handleRefreshCache:function(){var e=this;Object(o["h"])().then((function(t){e.$message.success("刷新成功",3)}))}}},u=c,d=a("2877"),p=Object(d["a"])(u,n,r,!1,null,null,null);t["default"]=p.exports},cc89:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div")},r=[],o={name:"Exception404",methods:{toHome:function(){this.$router.push({path:"/"})}}},i=o,s=a("2877"),l=Object(s["a"])(i,n,r,!1,null,null,null);t["default"]=l.exports},d58fb:function(e,t,a){"use strict";a.r(t);a("d3b7"),a("ddb0");var n=function(){var e=this,t=e._self._c;return t("span",[e.rakutenItemOpen?t("AntModal",{attrs:{visible:e.rakutenItemOpen,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:e.modalHeight,modalWidth:e.modalWidth},on:{cancel:e.cancelModal}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",[t("div",{staticStyle:{display:"none"}},[t("goodsIdList",{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.initRakuten}})],1),t("a-row",{staticStyle:{"margin-top":"1rem"},attrs:{type:"flex"}},[t("a-col",[t("leftTabItem",{on:{change:e.changeLeftTab}})],1),t("a-col",{attrs:{flex:"1"}},e._l(e.rakutenGoodInfoList,(function(a,n){return t("div",{key:n,staticStyle:{"padding-bottom":"2rem"}},[t("div",{staticStyle:{"margin-bottom":"1rem"}},[t("kandengGoodsOne",{attrs:{goodsList:e.goodList,goodsId:n}})],1),"title"===e.formEditKey?t("div",[t("a-row",{attrs:{gutter:12}},[t("a-col",{attrs:{lg:24}},[t("a-form-model-item",{attrs:{label:e.$t("view.item.list.itemTitle"),required:""}},[t("a-input",{staticStyle:{width:"512px"},model:{value:a.title,callback:function(t){e.$set(a,"title",t)},expression:"rakutenGoodInfo.title"}})],1)],1)],1)],1):e._e(),"category"===e.formEditKey?t("div",[t("a-row",{attrs:{gutter:12}},[t("a-col",{attrs:{lg:24}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.genreId"),required:""}},[e._v(" 6 digits:100000 ~ 999999"),t("br"),e.rakutenGenereList[n]&&e.rakutenGenereList[n].rakutenGenere.rakutenGenereList.length?t("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:e.genereId1[n]},on:{change:function(t){e.selectGenre(t,0,n)}}},e._l(e.rakutenGenereList[n].rakutenGenere.rakutenGenereList,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.genre_id}},[e._v(e._s(a.genre_name))])})),1):e._e(),e.rakutenGenereList[n]&&e.rakutenGenereList[n].rakutenGenere.rakutenGenereList1.length?t("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:e.genereId2[n]},on:{change:function(t){e.selectGenre(t,1,n)}}},e._l(e.rakutenGenereList[n].rakutenGenere.rakutenGenereList1,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.genre_id}},[e._v(e._s(a.genre_name))])})),1):e._e(),e.rakutenGenereList[n].rakutenGenere&&e.rakutenGenereList[n].rakutenGenere.rakutenGenereList2.length?t("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:e.genereId3[n]},on:{change:function(t){e.selectGenre(t,2,n)}}},e._l(e.rakutenGenereList[n].rakutenGenere.rakutenGenereList2,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.genre_id}},[e._v(e._s(a.genre_name))])})),1):e._e(),e.rakutenGenereList[n].rakutenGenere&&e.rakutenGenereList[n].rakutenGenere.rakutenGenereList3.length?t("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:e.genereId4[n]},on:{change:function(t){e.selectGenre(t,3,n)}}},e._l(e.rakutenGenereList[n].rakutenGenere.rakutenGenereList3,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.genre_id}},[e._v(e._s(a.genre_name))])})),1):e._e(),e.rakutenGenereList[n].rakutenGenere&&e.rakutenGenereList[n].rakutenGenere.rakutenGenereList4.length?t("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:e.genereId5[n]},on:{change:function(t){e.selectGenre(t,4,n)}}},e._l(e.rakutenGenereList[n].rakutenGenere.rakutenGenereList4,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.genre_id}},[e._v(e._s(a.genre_name))])})),1):e._e(),e.rakutenGenereList[n].rakutenGenere&&e.rakutenGenereList[n].rakutenGenere.rakutenGenereList5.length?t("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:e.genereId6[n]},on:{change:function(t){e.selectGenre(t,5,n)}}},e._l(e.rakutenGenereList[n].rakutenGenere.rakutenGenereList5,(function(a,n){return t("a-select-option",{key:n,attrs:{value:a.genre_id}},[e._v(e._s(a.genre_name))])})),1):e._e(),t("br"),t("a-input",{staticStyle:{width:"100px"},attrs:{max:"999999",min:"100000",disabled:!0},model:{value:a.genreId,callback:function(t){e.$set(a,"genreId",t)},expression:"rakutenGoodInfo.genreId"}})],1)],1)],1)],1):e._e(),"itemInfo"===e.formEditKey?t("div",[t("a-row",[t("a-col",{attrs:{lg:6}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.itemType"),required:""}},[t("a-select",{staticStyle:{width:"200px"},model:{value:a.itemType,callback:function(t){e.$set(a,"itemType",t)},expression:"rakutenGoodInfo.itemType"}},[t("a-select-option",{attrs:{value:"NORMAL"}},[e._v(e._s(e.$t("components.rakuten.product.itemType.normal")))]),t("a-select-option",{attrs:{value:"PRE_ORDER"}},[e._v(e._s(e.$t("components.rakuten.product.itemType.preOrder")))]),t("a-select-option",{attrs:{value:"SUBSCRIPTION"}},[e._v(e._s(e.$t("components.rakuten.product.itemType.subscription")))])],1)],1)],1),"PRE_ORDER"===a.itemType?t("a-col",{attrs:{lg:12,span:24}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.releaseDate")}},[t("a-date-picker",{attrs:{"show-time":""},on:{change:function(t,a){return e.onChangeReleaseDate(t,a,n)}},model:{value:a.releaseDate,callback:function(t){e.$set(a,"releaseDate",t)},expression:"rakutenGoodInfo.releaseDate"}})],1)],1):e._e(),"SUBSCRIPTION"===a.itemType?t("a-col",{attrs:{lg:12,span:24}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.subscription")}},[e._v(" "+e._s(e.$t("components.rakuten.product.subscription.shippingDateFlag"))+" : "),t("a-radio-group",{model:{value:a.subscription.shippingDateFlag,callback:function(t){e.$set(a.subscription,"shippingDateFlag",t)},expression:"rakutenGoodInfo.subscription.shippingDateFlag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1),e._v(" "+e._s(e.$t("components.rakuten.product.subscription.shippingIntervalFlag"))+" : "),t("a-radio-group",{model:{value:a.subscription.shippingIntervalFlag,callback:function(t){e.$set(a.subscription,"shippingIntervalFlag",t)},expression:"rakutenGoodInfo.subscription.shippingIntervalFlag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1):e._e()],1)],1):e._e(),"image"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("view.item.list.itemImage")}},e._l(a.images,(function(a,n){return t("a-col",{key:n,attrs:{lg:3}},[t("div",{staticClass:"ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card",staticStyle:{height:"100px",width:"95px",padding:"0"}},[t("div",{staticStyle:{height:"100px",width:"95px"}},[t("div",{staticClass:"ant-upload-list-item-info",staticStyle:{height:"80px",width:"95px"}},[t("img",{staticStyle:{height:"80px",width:"95px"},attrs:{src:a.location}})]),t("div",{staticStyle:{height:"20px",width:"98px"}},[t("a-select",{staticStyle:{width:"100%"},attrs:{disabled:!0},model:{value:a.type,callback:function(t){e.$set(a,"type",t)},expression:"main_image.type"}},[t("a-select-option",{attrs:{value:"CABINET"}},[e._v("CABINET")]),t("a-select-option",{attrs:{value:"GOLD"}},[e._v("GOLD")])],1)],1),t("span",{staticClass:"ant-upload-list-item-actions"},[t("a-icon",{staticStyle:{color:"#fff","margin-left":"5px"},attrs:{type:"eye",title:e.$t("view.item.preview")},on:{click:function(t){return e.handlePreview(a.location)}}})],1)])])])})),1)],1):e._e(),"sku"===e.formEditKey?t("div",[t("a-row",[t("a-col",{attrs:{lg:24}},[t("a-row",{attrs:{gutter:24}},[t("a-col",{attrs:{lg:2}},[e._v("OutId")]),t("a-col",{attrs:{lg:3}},[e._v(e._s(e.$t("view.item.sku.sku.image")))]),t("a-col",{attrs:{lg:3}},[e._v(e._s(e.$t("components.rakuten.product.attributes")))]),t("a-col",{attrs:{lg:2}},[e._v(e._s(e.$t("components.rakuten.product.restockOnCancel")))]),t("a-col",{attrs:{lg:2}},[e._v(e._s(e.$t("components.rakuten.product.backOrderFlag")))]),t("a-col",{attrs:{lg:2}},[e._v(e._s(e.$t("components.rakuten.product.orderQuantityLimit")))]),t("a-col",{attrs:{lg:2}},[e._v(e._s(e.$t("view.item.sku.stock_num")))]),t("a-col",{attrs:{lg:3}},[e._v(e._s(e.$t("components.rakuten.product.standardPrice")))]),t("a-col",{attrs:{lg:2}},[e._v(e._s(e.$t("components.rakuten.product.shippingFee")))]),t("a-col",{attrs:{lg:3}},[e._v(e._s(e.$t("components.dyProduct.dyProduct.attributes")))])],1),e._l(a.variants,(function(r,o){return t("div",{key:o,staticStyle:{"margin-top":"2px",border:"1px solid #ccc",padding:"5px"}},[t("a-row",{attrs:{gutter:24}},[t("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:2}},[e._v(e._s(o))]),t("a-col",{attrs:{lg:3}},[t("img",{staticStyle:{width:"80px",height:"80px"},attrs:{src:r.images[0].location}}),t("br"),t("a-select",{attrs:{disabled:!0},model:{value:r.images[0].type,callback:function(t){e.$set(r.images[0],"type",t)},expression:"variant.images[0].type"}},[t("a-select-option",{attrs:{value:"CABINET"}},[e._v("CABINET")]),t("a-select-option",{attrs:{value:"GOLD"}},[e._v("GOLD")])],1)],1),t("a-col",{staticStyle:{height:"80px"},attrs:{lg:3}},[a&&r?t("div",{staticStyle:{display:"flex",height:"auto","flex-direction":"column","justify-content":"center"}},[t("span",[e._v(e._s(e.skuAttribute(a.variantSelectors,r.selectorValues)))])]):e._e()]),t("a-col",{staticStyle:{height:"80px"},attrs:{lg:2}},[t("div",{staticStyle:{display:"flex",height:"100%","flex-direction":"column","justify-content":"center"}},[t("a-radio-group",{model:{value:r.restockOnCancel,callback:function(t){e.$set(r,"restockOnCancel",t)},expression:"variant.restockOnCancel"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)]),t("a-col",{staticStyle:{height:"80px"},attrs:{lg:2}},[t("div",{staticStyle:{display:"flex",height:"100%","flex-direction":"column","justify-content":"center"}},[t("a-radio-group",{model:{value:r.backOrderFlag,callback:function(t){e.$set(r,"backOrderFlag",t)},expression:"variant.backOrderFlag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)]),t("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:2}},[t("a-input-number",{staticStyle:{width:"70px"},model:{value:r.orderQuantityLimit,callback:function(t){e.$set(r,"orderQuantityLimit",t)},expression:"variant.orderQuantityLimit"}})],1),t("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:2}},[t("a-input-number",{staticStyle:{width:"70px"},model:{value:r.quantity,callback:function(t){e.$set(r,"quantity",t)},expression:"variant.quantity"}})],1),t("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:3}},[t("a-input",{staticStyle:{width:"100px"},model:{value:r.standardPrice,callback:function(t){e.$set(r,"standardPrice",t)},expression:"variant.standardPrice"}})],1),t("a-col",{staticStyle:{height:"80px"},attrs:{lg:2}},[t("div",{staticStyle:{display:"flex",height:"100%","flex-direction":"column","justify-content":"center"}},[t("a-input",{model:{value:r.shipping.fee,callback:function(t){e.$set(r.shipping,"fee",t)},expression:"variant.shipping.fee"}})],1)]),t("a-col",{attrs:{lg:3}},[e.rakutenAttributesList&&e.rakutenAttributesList[n]&&e.rakutenAttributesList[n].genre&&e.rakutenAttributesList[n].genre.attributes&&r.attributes?t("div",e._l(e.rakutenAttributesList[n].genre.attributes,(function(a,i){var s;return t("a-row",{key:i},[a.properties.rmsMandatoryFlg&&null!==(s=r.attributes[i])&&void 0!==s&&s.values?t("span",[a.dictionaryValues?t("a-select",{staticStyle:{width:"100%"},attrs:{"show-search":"",mode:"tags","token-separators":[","],placeholder:a.nameJa},on:{change:function(t){return e.setAttributeName(o,i,a.nameJa,n)},popupScroll:function(t){return e.handleScroll(t,i,n)},blur:function(t){return e.handleSelectNumber(t,i,n)}},model:{value:r.attributes[i].values,callback:function(t){e.$set(r.attributes[i],"values",t)},expression:"variant.attributes[aIndex].values"}},[e._l(a.dictionaryValues,(function(n,r){return[a.showSize>r?t("a-select-option",{key:r,attrs:{value:n.nameJa}},[e._v(e._s(n.nameJa)+" ")]):e._e()]}))],2):e._e(),a.dictionaryValues?e._e():t("a-input",{staticStyle:{width:"100%"},attrs:{type:a.dataType,placeholder:a.nameJa,maxLength:a.maxLength?a.maxLength:999999999,"addon-after":a.unit?a.unit:""},on:{change:function(t){return e.setAttributeName(o,i,a.nameJa,n)}},model:{value:r.attributes[i].values[0],callback:function(t){e.$set(r.attributes[i].values,0,t)},expression:"variant.attributes[aIndex].values[0]"}})],1):e._e()])})),1):e._e()])],1)],1)}))],2)],1)],1):e._e(),"description"===e.formEditKey?t("div",[t("a-row",[t("a-col",{staticStyle:{"margin-top":"10px"},attrs:{lg:24}},[t("v-ditor",{ref:"ComDitor"+n,refInFor:!0,attrs:{id:n,good_id:n,value:a.salesDescription,updateStatus:e.aiTsUpdate},on:{"update:value":function(t){return e.$set(a,"salesDescription",t)},"update:updateStatus":function(t){e.aiTsUpdate=t},"update:update-status":function(t){e.aiTsUpdate=t}}})],1)],1)],1):e._e(),"other"===e.formEditKey?t("div",[t("a-row",{attrs:{gutter:12}},[t("a-col",{attrs:{lg:24}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.purchasablePeriod")}},[t("a-range-picker",{staticStyle:{width:"420px"},attrs:{format:"YYYY-MM-DDTHH:mm:ssZ",placeholder:["Start Time","End Time"]},on:{change:function(t,a){return e.onChangePurchasablePeriod(t,a,n)}}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.pointCampaign")}},[t("a-row",{attrs:{gutter:24}},[t("a-col",{attrs:{lg:11}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.pointCampaign.applicablePeriod")}},[t("a-range-picker",{staticStyle:{width:"420px"},attrs:{format:"YYYY-MM-DDTHH:mm:ssZ",placeholder:["Start Time","End Time"]},on:{change:function(t,a){return e.onChangeApplicablePeriod(t,a,n)}}})],1)],1),t("a-col",{attrs:{lg:3}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.pointCampaign.benefits")}},[t("a-input-number",{model:{value:a.pointCampaign.benefits.pointRate,callback:function(t){e.$set(a.pointCampaign.benefits,"pointRate",t)},expression:"rakutenGoodInfo.pointCampaign.benefits.pointRate"}})],1)],1),t("a-col",{attrs:{lg:3}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.pointCampaign.optimization.maxPointRate")}},[t("a-input-number",{model:{value:a.pointCampaign.optimization.maxPointRate,callback:function(t){e.$set(a.pointCampaign.optimization,"maxPointRate",t)},expression:"rakutenGoodInfo.pointCampaign.optimization.maxPointRate"}})],1)],1)],1)],1),t("a-row",{attrs:{type:"flex",gutter:24}},[t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.hideItem")}},[t("a-radio-group",{model:{value:a.hideItem,callback:function(t){e.$set(a,"hideItem",t)},expression:"rakutenGoodInfo.hideItem"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.unlimitedInventoryFlag")}},[t("a-radio-group",{model:{value:a.unlimitedInventoryFlag,callback:function(t){e.$set(a,"unlimitedInventoryFlag",t)},expression:"rakutenGoodInfo.unlimitedInventoryFlag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.features")}},[t("a-row",{attrs:{gutter:24}},[t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.displayNormalCartButton")}},[t("a-radio-group",{model:{value:a.features.displayNormalCartButton,callback:function(t){e.$set(a.features,"displayNormalCartButton",t)},expression:"rakutenGoodInfo.features.displayNormalCartButton"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.displaySubscriptionCartButton")}},[t("a-radio-group",{model:{value:a.features.displaySubscriptionCartButton,callback:function(t){e.$set(a.features,"displaySubscriptionCartButton",t)},expression:"rakutenGoodInfo.features.displaySubscriptionCartButton"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.shopContact")}},[t("a-radio-group",{model:{value:a.features.shopContact,callback:function(t){e.$set(a.features,"shopContact",t)},expression:"rakutenGoodInfo.features.shopContact"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),a.features.displaySubscriptionCartButton?e._e():t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.displayManufacturerContents")}},[t("a-radio-group",{model:{value:a.features.displayManufacturerContents,callback:function(t){e.$set(a.features,"displayManufacturerContents",t)},expression:"rakutenGoodInfo.features.displayManufacturerContents"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1)],1),t("a-row",{staticStyle:{"margin-top":"10px"},attrs:{gutter:24}},[t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.searchVisibility")}},[t("a-select",{model:{value:a.features.searchVisibility,callback:function(t){e.$set(a.features,"searchVisibility",t)},expression:"rakutenGoodInfo.features.searchVisibility"}},[t("a-select-option",{attrs:{value:"ALWAYS_VISIBLE"}},[e._v(e._s(e.$t("components.rakuten.product.searchVisibility.on")))]),t("a-select-option",{attrs:{value:"ALWAYS_HIDDEN"}},[e._v(e._s(e.$t("components.rakuten.product.searchVisibility.off")))])],1)],1)],1),t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.review")}},[t("a-select",{model:{value:a.features.review,callback:function(t){e.$set(a.features,"review",t)},expression:"rakutenGoodInfo.features.review"}},[t("a-select-option",{attrs:{value:"SHOP_SETTING"}},[e._v(e._s(e.$t("components.rakuten.product.inventoryDisplay.shopSetting")))]),t("a-select-option",{attrs:{value:"VISIBLE"}},[e._v(e._s(e.$t("components.rakuten.product.inventoryDisplay.displayAbsoluteStockCount")))]),t("a-select-option",{attrs:{value:"HIDDEN"}},[e._v(e._s(e.$t("components.rakuten.product.inventoryDisplay.hiddenStock")))])],1)],1)],1),t("a-col",{attrs:{lg:8}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.inventoryDisplay")}},[t("a-select",{model:{value:a.features.inventoryDisplay,callback:function(t){e.$set(a.features,"inventoryDisplay",t)},expression:"rakutenGoodInfo.features.inventoryDisplay"}},[t("a-select-option",{attrs:{value:"DISPLAY_ABSOLUTE_STOCK_COUNT"}},[e._v(e._s(e.$t("components.rakuten.product.inventoryDisplay.displayAbsoluteStockCount")))]),t("a-select-option",{attrs:{value:"HIDDEN_STOCK"}},[e._v(e._s(e.$t("components.rakuten.product.inventoryDisplay.hiddenStock")))]),t("a-select-option",{attrs:{value:"DISPLAY_LOW_STOCK"}},[e._v(e._s(e.$t("components.rakuten.product.inventoryDisplay.displayLowStock")))])],1)],1)],1),"DISPLAY_LOW_STOCK"===a.features.inventoryDisplay?t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.lowStockThreshold")}},[t("a-input-number",{attrs:{max:20,min:1},model:{value:a.features.lowStockThreshold,callback:function(t){e.$set(a.features,"lowStockThreshold",t)},expression:"rakutenGoodInfo.features.lowStockThreshold"}})],1)],1):e._e()],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.payment")}},[t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.payment.taxIncluded")}},[t("a-radio-group",{model:{value:a.payment.taxIncluded,callback:function(t){e.$set(a.payment,"taxIncluded",t)},expression:"rakutenGoodInfo.payment.taxIncluded"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.payment.taxRate")}},[t("a-select",{staticStyle:{width:"115px"},model:{value:a.payment.taxRate,callback:function(t){e.$set(a.payment,"taxRate",t)},expression:"rakutenGoodInfo.payment.taxRate"}},[t("a-select-option",{attrs:{value:"0"}},[e._v(e._s(e.$t("components.rakuten.product.payment.taxRate.0")))]),t("a-select-option",{attrs:{value:"0.08"}},[e._v("8%")]),t("a-select-option",{attrs:{value:"0.1"}},[e._v("10%")]),t("a-select-option",{attrs:{value:""}},[e._v(e._s(e.$t("components.rakuten.product.payment.taxRate.null")))])],1)],1)],1),t("a-col",{attrs:{lg:4}},[t("a-form-model-item",{attrs:{label:e.$t("components.rakuten.product.payment.cashOnDeliveryFeeIncluded")}},[t("a-radio-group",{model:{value:a.payment.cashOnDeliveryFeeIncluded,callback:function(t){e.$set(a.payment,"cashOnDeliveryFeeIncluded",t)},expression:"rakutenGoodInfo.payment.cashOnDeliveryFeeIncluded"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1)],1)],1)],1)],1):e._e()])})),0)],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"},on:{click:e.saveRakuten}},[e._v(e._s(e.$t("components.imagetext.translation.confirm.ok")))]),t("a-button",{staticClass:"btnSuccess",attrs:{loading:e.btnLoading},on:{click:e.batchSubmit}},[e._v(e._s(e.$t("components.pl.product.submit.title")))])],1)]):e._e()],1)},r=[],o=a("5530"),i=a("c7eb"),s=a("3835"),l=a("b85c"),c=a("1da1"),u=(a("3ca3"),a("25f0"),a("b680"),a("d81d"),a("7db0"),a("a9e3"),a("159b"),a("b0c0"),a("b64b"),a("a026")),d=a("0f2c"),p={rakutenGenereList:[],rakutenGenereList1:[],rakutenGenereList2:[],rakutenGenereList3:[],rakutenGenereList4:[],rakutenGenereList5:[]},m=Object(u["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),f=Object(u["b"])((function(){return a.e("chunk-52cb3562").then(a.bind(null,"16f2"))})),g=Object(u["b"])((function(){return a.e("chunk-32dac439").then(a.bind(null,"12b1"))})),v=Object(u["b"])((function(){return Promise.resolve().then(a.bind(null,"5ac8"))})),h=Object(u["b"])((function(){return a.e("chunk-52cb3562").then(a.bind(null,"5f19"))})),_={name:"rakutenAddProduct",props:{goodsIds:{type:Array,default:function(){return[]}}},data:function(){return{formEditKey:"",formTitle:this.$t("components.raKutenAddProduct.pl.title"),goodList:[],rakutenItemOpen:!1,rakutenItemTitle:this.$t("components.dyProduct.dyProduct.title"),rakutenGoodInfoList:{},rakutenLoading:!1,rakutenAttributesList:{},rakutenGenereList:{},aiTsUpdate:!1,appkey:"",rakutenShop:null,modalWidth:"1350",modalHeight:"680",btnLoading:!1}},methods:{changeLeftTab:function(e){this.formEditKey=e},cancelModal:function(){this.rakutenItemOpen=!1},openModal:function(){this.modalHeight=(.9*window.innerHeight).toFixed(0).toString(),this.modalWidth=(.8*window.innerWidth).toFixed(0).toString(),this.rakutenItemOpen=!0},initLoad:function(e){e&&(this.rakutenShop=e,this.rakutenGoodInfoList={},this.genereId1={},this.genereId2={},this.genereId3={},this.genereId4={},this.genereId5={},this.genereId6={},this.rakutenAttributesList={},this.$message.loading({content:this.$t("components.goodsIdsList.loading"),duration:0}),this.openModal())},initRakuten:function(e){var t=this;Promise.all(this._.map(e,(function(e,a){return t.rakutenPublication(e)}))).then((function(e){t.$message.destroy()}))},rakutenPublication:function(e){var t=this,a=this;a.rakutenGenereList[e.good_id]={rakutenGenere:JSON.parse(JSON.stringify(p))},a.genereId1[e.good_id]=0,a.genereId2[e.good_id]=0,a.genereId3[e.good_id]=0,a.genereId4[e.good_id]=0,a.genereId5[e.good_id]=0,a.licenseKey="";var n={};return n.good_id=e.good_id,n.license_key=a.rakutenShop.app_key,Object(d["h"])(n).then((function(n){return 0===n.code&&(a.rakutenGoodInfoList[e.good_id]=n,a.licenseKey=a.rakutenShop.app_key,a.getGenere(0,0,e.good_id),n.genreId&&a.getGenereInit(e.good_id),n.genreId,a.getAttributes(!1,e.good_id)),a.$set(t,"rakutenGoodInfoList",Object.assign({},a.rakutenGoodInfoList)),n}))},getGenereInit:function(e){var t=this,a={genre_id:this.rakutenGoodInfoList[e].genreId};Object(d["d"])(a).then(function(){var a=Object(c["a"])(Object(i["a"])().mark((function a(n){var r,o,c,u,d;return Object(i["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!n.data){a.next=18;break}r=Object(l["a"])(n.data.entries()),a.prev=2,r.s();case 4:if((o=r.n()).done){a.next=10;break}return c=Object(s["a"])(o.value,2),u=c[0],d=c[1],a.next=8,t.selectGenre(d.genre_id,u,e,!0);case 8:a.next=4;break;case 10:a.next=15;break;case 12:a.prev=12,a.t0=a["catch"](2),r.e(a.t0);case 15:return a.prev=15,r.f(),a.finish(15);case 18:case"end":return a.stop()}}),a,null,[[2,12,15,18]])})));return function(e){return a.apply(this,arguments)}}())},getGenere:function(e,t,a){var n=this,r={};return r.genre_id=e,Object(d["c"])(r).then((function(e){if(0===e.code){switch(t){case 0:n.rakutenGenereList[a].rakutenGenere.rakutenGenereList=e.data;break;case 1:n.rakutenGenereList[a].rakutenGenere.rakutenGenereList1=e.data;break;case 2:n.rakutenGenereList[a].rakutenGenere.rakutenGenereList2=e.data;break;case 3:n.rakutenGenereList[a].rakutenGenere.rakutenGenereList3=e.data;break;case 4:n.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=e.data;break;case 5:n.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=e.data;break}n.$set(n,"rakutenGenereList",Object.assign({},n.rakutenGenereList))}return e}))},selectGenre:function(e,t,a,n){var r=this;return Object(c["a"])(Object(i["a"])().mark((function o(){var s,l;return Object(i["a"])().wrap((function(o){while(1)switch(o.prev=o.next){case 0:s=r,l={},o.prev=2,o.t0=t,o.next=0===o.t0?6:1===o.t0?18:2===o.t0?28:3===o.t0?36:4===o.t0?42:46;break;case 6:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList1=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList2=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList3=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId1[a]=0,s.genereId2[a]=0,s.genereId3[a]=0,s.genereId4[a]=0,s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList.find((function(t){return t.genre_id===e})),o.abrupt("break",46);case 18:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList2=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList3=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId2[a]=0,s.genereId3[a]=0,s.genereId4[a]=0,s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList1.find((function(t){return t.genre_id===e})),o.abrupt("break",46);case 28:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList3=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId3[a]=0,s.genereId4[a]=0,s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList2.find((function(t){return t.genre_id===e})),o.abrupt("break",46);case 36:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=[],s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId4[a]=0,s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList3.find((function(t){return t.genre_id===e})),o.abrupt("break",46);case 42:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4.find((function(t){return t.genre_id===e})),o.abrupt("break",46);case 46:o.next=50;break;case 48:o.prev=48,o.t1=o["catch"](2);case 50:if(!l){o.next=82;break}if(0!==l.p_genre_id||0!==l.lowest_flg){o.next=57;break}return o.next=54,s.getGenere(l.genre_id,1,a);case 54:s.genereId1[a]=Number(l.genre_id.toString()),o.next=82;break;case 57:if(l.p_genre_id!==s.genereId1[a]||0!==l.lowest_flg){o.next=63;break}return o.next=60,s.getGenere(l.genre_id,2,a);case 60:s.genereId2[a]=Number(l.genre_id.toString()),o.next=82;break;case 63:if(l.p_genre_id!==s.genereId2[a]||0!==l.lowest_flg){o.next=69;break}return o.next=66,s.getGenere(l.genre_id,3,a);case 66:s.genereId3[a]=Number(l.genre_id.toString()),o.next=82;break;case 69:if(l.p_genre_id!==s.genereId3[a]||0!==l.lowest_flg){o.next=75;break}return o.next=72,s.getGenere(l.genre_id,4,a);case 72:s.genereId4[a]=Number(l.genre_id.toString()),o.next=82;break;case 75:if(l.p_genre_id!==s.genereId4[a]||0!==l.lowest_flg){o.next=81;break}return o.next=78,s.getGenere(l.genre_id,5,a);case 78:s.genereId5[a]=Number(l.genre_id.toString()),o.next=82;break;case 81:1===l.lowest_flg&&(0===t?s.genereId1[a]=Number(l.genre_id.toString()):1===t?s.genereId2[a]=Number(l.genre_id.toString()):2===t?s.genereId3[a]=Number(l.genre_id.toString()):3===t?s.genereId4[a]=Number(l.genre_id.toString()):4===t?s.genereId5[a]=Number(l.genre_id.toString()):5===t&&(s.genereId6[a]=Number(l.genre_id.toString())),s.rakutenGoodInfoList[a].genreId=l.genre_id.toString(),n?r.getAttributes(!1,a):r.getAttributes(!0,a));case 82:case"end":return o.stop()}}),o,null,[[2,48]])})))()},getAttributes:function(e,t){var a=this,n=this,r={};r.genre_id=n.rakutenGoodInfoList[t].genreId,r.license_key=n.licenseKey,Object(d["b"])(r).then((function(r){if(0===r.code){var o=[];r.attributes.genre.attributes.forEach((function(e,t){e.showSize=50,e.properties.rmsMandatoryFlg&&o.push({name:"",values:[]})})),e&&a._.map(n.rakutenGoodInfoList[t].variants,(function(e,a){n.rakutenGoodInfoList[t].variants[a].attributes=JSON.parse(JSON.stringify(o))})),n.rakutenAttributesList[t]=r.attributes,a.rakutenGoodInfoList=Object.assign({},a.rakutenGoodInfoList)}n.rakutenItemOpen=!0}))},handleScroll:function(e,t,a){var n=e.target.scrollTop,r=e.target.clientHeight,o=e.target.scrollHeight;this.rakutenAttributesList[a].genre.attributes[t].dictionaryValues&&this.rakutenAttributesList[a].genre.attributes[t].dictionaryValues.length&&n+r>=o-10&&this.rakutenAttributesList[a].genre.attributes[t]&&this.rakutenAttributesList[a].genre.attributes[t].showSize<this.rakutenAttributesList[a].genre.attributes[t].dictionaryValues.length&&(this.rakutenAttributesList[a].genre.attributes[t].showSize+=50,this.$set(this,"rakutenAttributesList",JSON.parse(JSON.stringify(this.rakutenAttributesList))))},handleSelectNumber:function(e,t,a){this.rakutenAttributesList[a].genre.attributes[t].showSize=50,this.$set(this,"rakutenAttributesList",JSON.parse(JSON.stringify(this.rakutenAttributesList)))},setAttributeName:function(e,t,a,n){this.rakutenGoodInfoList[n]&&(this.rakutenGoodInfoList[n].variants[e].attributes[t].name=a)},skuAttribute:function(e,t){var a="",n=Object.keys(t);return n.forEach((function(n){e.forEach((function(e){e.key===n&&(a=e.displayName)})),""!==a&&(a+=":"+t[n])})),a},onChangeReleaseDate:function(e,t,a){this.rakutenGoodInfoList[a].releaseDate=t},onChangePurchasablePeriod:function(e,t,a){if(2===t.length){var n=t[0],r=t[1],o=n.split("+"),i=r.split("+"),s=o[0]+"+09:00",l=i[0]+"+09:00";t[0]=s,t[1]=l,this.rakutenGoodInfoList[a].purchasablePeriod.start=s,this.rakutenGoodInfoList[a].purchasablePeriod.end=l}},onChangeApplicablePeriod:function(e,t,a){if(2===t.length){var n=t[0],r=t[1],o=n.split("+"),i=r.split("+"),s=o[0]+"+09:00",l=i[0]+"+09:00";t[0]=s,t[1]=l,this.rakutenGoodInfoList[a].pointCampaign.applicablePeriod.start=s,this.rakutenGoodInfoList[a].pointCampaign.applicablePeriod.end=l}},saveRakuten:function(){var e=this,t=[];this._.map(this.rakutenGoodInfoList,(function(e,a){var n=JSON.parse(JSON.stringify(e));n.goodId=a,t.push(JSON.parse(JSON.stringify(n)))}));var a={data:t,licenseKey:this.licenseKey};Object(d["j"])(a).then((function(t){0===t.code&&e.$message.success({content:e.$t("components.dyProduct.dyProduct.saveSuccess"),duration:5})}))},batchSubmit:function(){var e=this,t=[];e._.map(e.rakutenGoodInfoList,(function(e,a){t.push(Number(a))}));var a={license_key:e.licenseKey,good_ids:t};e.btnLoading=!0,Object(d["a"])(a).then((function(t){e.btnLoading=!1})).catch((function(){e.btnLoading=!1}))}},components:{AntModal:m,goodsIdList:f,leftTabItem:g,VDitor:v,kandengGoodsOne:h}},y=Object(o["a"])({},_),k=y,b=a("2877"),w=Object(b["a"])(k,n,r,!1,null,null,null);t["default"]=w.exports},de6c:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticStyle:{display:"flex","flex-wrap":"wrap","align-items":"center",gap:"5px"}},[e.stockData&&e.stockData.warehouse_country_list?t("div",[t("a-select",{staticStyle:{"min-width":"100px"},on:{change:e.changeCountry},model:{value:e.countryName,callback:function(t){e.countryName=t},expression:"countryName"}},e._l(e.stockData.warehouse_country_list,(function(a){return t("a-select-option",{key:a},[e._v(e._s(e.$t(a)))])})),1)],1):e._e(),e.stockData&&void 0!==e.stockData.available_stock?t("a",[t("a-tag",{attrs:{color:e.getRgb(e.warehouseId)}},[t("div",{staticStyle:{display:"flex","flex-wrap":"wrap",gap:"5px"}},[t("div",[e._v(e._s(e.$t("view.skuStockDescribe.availableStock"))+" "+e._s(e.stockData.available_stock)+" = ")]),t("div",[e._v(e._s(e.$t("view.skuStockDescribe.physicalStock"))+" "+e._s(e.stockData.physical_stock)+" - ")]),t("div",[e._v(e._s(e.$t("view.skuStockDescribe.lockStock"))+" "+e._s(e.stockData.lock_stock)+" -")]),t("div",[e._v(e._s(e.$t("view.skuStockDescribe.reservedStock"))+" "+e._s(e.stockData.reserved_stock))])])])],1):e._e()]),t("ant-modal",{attrs:{visible:e.open,"modal-title":e.$t("view.skuStockDescribe.modalTitle")},on:{cancel:e.close}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("a-row",[t("a-col",{attrs:{lg:12}},[e._v(" "+e._s(e.$t("view.skuStockDescribe.availableStock"))+": "+e._s(e.stockData.available_stock)+" ")]),t("a-col",{attrs:{lg:12}},[e._v(" "+e._s(e.$t("view.skuStockDescribe.lockStock"))+": "+e._s(e.stockData.lock_stock)+" ")]),t("a-col",{attrs:{lg:12}},[e._v(" "+e._s(e.$t("view.skuStockDescribe.physicalStock"))+": "+e._s(e.stockData.physical_stock)+" ")]),t("a-col",{attrs:{lg:12}},[e._v(" "+e._s(e.$t("view.skuStockDescribe.reservedStock"))+": "+e._s(e.stockData.reserved_stock)+" ")])],1)],1)])],1)},r=[],o=(a("99af"),a("89f8")),i=a("2dd7"),s=a("ca00"),l={data:function(){return{open:!1,stockData:{},countryName:""}},props:{warehouseId:null,outId:null,country:null},created:function(){this.fetchStockData(!0)},methods:{openModal:function(){this.open=!0,this.fetchStockData()},close:function(){this.open=!1},changeCountry:function(){this.fetchStockData()},fetchStockData:function(e){var t=this,a={warehouse_id:this.warehouseId,out_id:this.outId,country:this.country};this.countryName&&(a.country=this.countryName),Object(o["a"])(a).then((function(a){var n;0===a.code&&(t.stockData=Object.assign({},a),t.stockData.warehouse_country_list&&t.stockData.warehouse_country_list.length>0&&e&&(t.countryName=null===(n=t.stockData.warehouse_country_list)||void 0===n?void 0:n[0]))}))},getRgb:function(e){var t=Object(s["i"])(e);return t?"rgb(".concat(t[0],", ").concat(t[1],", ").concat(t[2],")"):"rgb(255, 255, 0)"}},components:{AntModal:i["default"]}},c=l,u=(a("3713"),a("2877")),d=Object(u["a"])(c,n,r,!1,null,"a9009144",null);t["default"]=d.exports},e46b:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",[t("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[t("div",{ref:"search",staticClass:"table-page-search-wrapper"},[t("a-form",{attrs:{labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-row",{attrs:{gutter:0}},[t("a-col",{attrs:{md:6,sm:24,lg:8}},[t("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:e.$t("view.order.list.orderno")}},[t("a-input",{attrs:{placeholder:e.$t("view.order.list.inputorderno"),"allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.order_id,callback:function(t){e.order_id=t},expression:"order_id"}})],1)],1),t("a-col",{attrs:{md:6,sm:24,lg:8}},[t("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:e.$t("view.purchaseOrder.list.purchaseId")}},[t("a-input",{attrs:{placeholder:e.$t("view.purchaseOrder.list.purchaseId"),"allow-clear":""},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleQuery.apply(null,arguments)}},model:{value:e.purchase_id,callback:function(t){e.purchase_id=t},expression:"purchase_id"}})],1)],1),t("a-col",[t("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[t("a-button",{attrs:{type:"primary"},on:{click:e.handleQuery}},[t("a-icon",{attrs:{type:"search"}}),e._v(e._s(e.$t("view.order.list.query.btn"))+" ")],1),t("a-button",{staticStyle:{"margin-left":"8px"},on:{click:e.resetQuery}},[t("a-icon",{attrs:{type:"redo"}}),e._v(e._s(e.$t("view.order.list.reset.btn"))+" ")],1),t("ExcelData",{attrs:{page:e.queryParam.page,pageSize:e.queryParam.limit,total:e.total_count,loadData:e.changeSize,fileName:e.$t("app.menus.left.order.afterorder")}})],1)])],1)],1)],1)]),e.orderDetailModal?t("order-detail",{ref:"OrderDetail",on:{close:function(t){e.orderDetailModal=!1}}}):e._e(),t("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t("advance-table",{attrs:{loading:e.loading,size:"middle","row-selection":{selectedRowKeys:e.selectedRowKeys,onChange:e.onSelectChange},"format-conditions":!1,columns:e.columns,"data-source":e.list,rowKey:"after_sale_id",tableKey:"test-cat-catlist-table",expandedRowKeys:e.expandedRowKeys,pagination:{current:e.queryParam.page_no,pageSize:e.queryParam.limit,total:e.total_count,showSizeChanger:!0,showLessItems:!1,showQuickJumper:!1,showTotal:function(t,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 n=a.text,r=a.record;return t("span",{},[t("a",{on:{click:function(t){return e.handleOrderDetail(r)}}},[e._v(" "+e._s(n)+" ")])])}},{key:"refund_amt",fn:function(a){var n=a.record;return t("span",{},[e._v(" "+e._s(n.currency+n.refund_amt)+" ")])}},{key:"after_sale_type",fn:function(a){var n=a.record;return t("span",{},[t("div",[0===n.after_sale_type?t("div",[e._v(e._s(e.$t("app.menus.left.order")))]):e._e(),1===n.after_sale_type?t("div",[e._v(e._s(e.$t("app.menus.left.supply.supplyOrder")))]):e._e()])])}},{key:"after_sale_item",fn:function(a){var n=a.text;return t("span",{},e._l(n,(function(a){return t("a-row",{key:a.sku_id,attrs:{type:"flex"}},[t("a-col",[t("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url}})],1),t("a-col",{staticStyle:{"margin-left":"10px"},attrs:{flex:3}},[t("a-row",{attrs:{type:"flex"}},[t("a-col",{attrs:{flex:3}},[e._v(" "+e._s(a.title)+" ")])],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[e._v(" "+e._s(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,n){return t("div",{key:n},[t("span",[e._v(e._s(n)+":"+e._s(a))])])})),0)])],1)],1)],1)})),1)}},{key:"status",fn:function(a){var n=a.text;return t("span",{},[e._v(" "+e._s(e.$t(n))+" ")])}},{key:"operation",fn:function(a){var n=a.record;return t("span",{},["processing"===n.status?t("a",{on:{click:function(t){return e.handleRefund(n)}}},[e._v(" "+e._s(e.$t("view.order.after_sale.list.returnfull_btn"))+" ")]):e._e(),"processing"===n.status&&e.hasAttachments(n)?t("a-divider",{attrs:{type:"vertical"}}):e._e(),e.hasAttachments(n)?t("a",{on:{click:function(t){return e.viewAttachments(n)}}},[e._v(" "+e._s(e.$t("view.order.after.view_attachments"))+" ")]):e._e()],1)}}])})],1),t("ant-modal",{attrs:{visible:e.attachmentModalVisible,"modal-title":e.attachmentTitle,"adjust-size":!0,modalHeight:"680",modalWidth:"800"},on:{cancel:e.closeAttachmentModal}},[t("div",{staticClass:"attachment-container",attrs:{slot:"content"},slot:"content"},[e.currentRecord?t("div",{staticClass:"attachment-section"},[t("h3",[e._v(e._s(e.$t("view.order.after.images")))]),t("div",{staticClass:"image-list"},[e._l(5,(function(a){return[e.currentRecord["image_url_"+a]?t("div",{key:"img-"+a,staticClass:"image-item"},[t("img",{staticClass:"attachment-image",attrs:{src:e.currentRecord["image_url_"+a]},on:{click:function(t){return e.handlePreview(e.currentRecord["image_url_"+a],a)}}}),t("div",{staticClass:"image-actions"},[t("a-icon",{attrs:{type:"eye"},on:{click:function(t){return e.handlePreview(e.currentRecord["image_url_"+a],a)}}})],1)]):e._e()]}))],2),e.hasAnyImages?e._e():t("div",{staticClass:"no-attachments"},[e._v(" "+e._s(e.$t("view.order.after.no_images"))+" ")])]):e._e(),e.currentRecord?t("div",{staticClass:"attachment-section"},[t("h3",[e._v(e._s(e.$t("view.order.after.video")))]),e.currentRecord.video_url?t("div",{staticClass:"video-container"},[t("video",{staticClass:"attachment-video",attrs:{src:e.currentRecord.video_url,controls:""}})]):t("div",{staticClass:"no-attachments"},[e._v(" "+e._s(e.$t("view.order.after.no_video"))+" ")])]):e._e(),e.currentRecord?e._e():t("div",{staticClass:"no-attachments"},[e._v(" "+e._s(e.$t("view.order.after.no_record"))+" ")])]),t("template",{slot:"footer"},[t("a-button",{on:{click:e.closeAttachmentModal}},[e._v(e._s(e.$t("view.test.form.add.modal.btn.cancel")))])],1)],2),t("a-modal",{staticClass:"image-preview-modal",attrs:{visible:e.previewVisible,title:e.previewTitle,footer:null,width:1e3,centered:""},on:{cancel:e.handlePreviewCancel}},[t("div",{staticClass:"preview-image-container"},[t("img",{staticClass:"preview-image",attrs:{alt:"预览图片",src:e.previewImage}})])])],1)},r=[],o=a("5530"),i=a("8d52"),s=Object(o["a"])(Object(o["a"])({},i["default"]),{},{computed:{hasImages:function(){return this.currentRecord&&(this.currentRecord.image_url_1||this.currentRecord.image_url_2||this.currentRecord.image_url_3||this.currentRecord.image_url_4||this.currentRecord.image_url_5)},hasVideo:function(){return this.currentRecord&&this.currentRecord.video_url},hasAnyImages:function(){if(!this.currentRecord)return!1;for(var e=1;e<=5;e++)if(this.currentRecord["image_url_".concat(e)])return!0;return!1}}}),l=s,c=(a("9b8b"),a("2877")),u=Object(c["a"])(l,n,r,!1,null,"a04f2a88",null);t["default"]=u.exports},e52f:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",e._l(e.countryList,(function(a){return 0==a.status?t("div",{key:a.country_code,staticStyle:{"margin-right":"5px",display:"inline-block"}},[e._v(" "+e._s(e.$t(a.country_code))+" ")]):e._e()})),0)},r=[],o=(a("d81d"),a("4dc7")),i={name:"WarehouseCountryList",data:function(){return{countryList:[]}},props:{wareaHouseId:null},created:function(){this.getCountryList()},methods:{getCountryList:function(){var e=this;Object(o["c"])().then((function(t){var a=[];t.list&&t.list.length&&t.list.map((function(t){t.warehouse_id===e.wareaHouseId&&a.push(t)})),e.countryList=a}))}}},s=i,l=a("2877"),c=Object(l["a"])(s,n,r,!1,null,null,null);t["default"]=c.exports},ee66:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"inline","margin-right":"10px"}},[e._v(" "+e._s(e.$t("purchase.auto.purchase.order.title"))+": "),t("a-switch",{attrs:{"checked-children":e.$t("view.shopview.open.label"),"un-checked-children":e.$t("view.shopview.close.label")},on:{change:e.handleAutoPurchaseChange},model:{value:e.autoPurchaseEnabled,callback:function(t){e.autoPurchaseEnabled=t},expression:"autoPurchaseEnabled"}})],1)},r=[],o=a("5530"),i=a("2f62"),s=a("d047"),l={components:{},computed:Object(o["a"])({},Object(i["c"])({shop_id:"shopId"})),data:function(){return{autoPurchaseEnabled:!1}},created:function(){this.getAutoPurchaseConfig()},methods:{handleAutoPurchaseChange:function(e){var t=this,a={data:e?1:0,name:"mall_auto_purchase_config"};Object(s["g"])(a).then((function(a){0===a.code?t.$message.success(t.$t("api.info.operation")):(t.autoPurchaseEnabled=!e,t.$message.error(a.msg||t.$t("view.item.component.item.syn.operation.add.error.info")))}))},getAutoPurchaseConfig:function(){var e=this,t={shop_id:this.shop_id,name:"mall_auto_purchase_config"};Object(s["d"])(t).then((function(t){0===t.code&&(e.autoPurchaseEnabled="1"===t.data)}))}}},c=Object(o["a"])({},l),u=c,d=a("2877"),p=Object(d["a"])(u,n,r,!1,null,null,null);t["default"]=p.exports}}]);
@@ -1 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e4bf5c30"],{3521:function(t,e,a){"use strict";a.r(e);a("b0c0"),a("a4d3"),a("e01a");var i=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"primary"},on:{click:t.openModal}},[t._v(t._s(t.$t("components.bigcommerceGoods.open.button")))]),t.open?e("ant-modal",{attrs:{visible:t.open,"modal-title":t.modalTitle,"adjust-size":!0,modalHeight:"680",modalWidth:"820"},on:{cancel:t.cancelEditGoodInfo,ok:t.okEditGoodInfo}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("a-form-model",{ref:"googleForm",attrs:{model:t.formData,rules:t.rules}},[e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.itemTitle"),prop:"name",required:""}},[e("a-input",{model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.dyProduct.bran"),prop:"brand_id",required:""}},[e("a-select",{staticStyle:{width:"100%"},on:{change:t.changeBrand},model:{value:t.formData.brand_id,callback:function(e){t.$set(t.formData,"brand_id",e)},expression:"formData.brand_id"}},t._l(t.brandList,(function(a){return e("a-select-option",{key:a.id,attrs:{value:a.id}},[t._v(t._s(a.name))])})),1)],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("table.mall_cats"),prop:"categories",required:""}},[e("a-select",{staticStyle:{width:"100%"},attrs:{mode:"multiple"},on:{change:t.changeBrand},model:{value:t.formData.categories,callback:function(e){t.$set(t.formData,"categories",e)},expression:"formData.categories"}},t._l(t.shopCatList,(function(a){return e("a-select-option",{key:a.category_id,attrs:{value:a.category_id}},[t._v(t._s(a.name))])})),1)],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.price"),prop:"price",required:""}},[e("a-input",{model:{value:t.formData.price,callback:function(e){t.$set(t.formData,"price",e)},expression:"formData.price"}})],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("components.bigcommerce.weight"),prop:"weight",required:""}},[e("a-input",{attrs:{suffix:"kg"},model:{value:t.formData.weight,callback:function(e){t.$set(t.formData,"weight",e)},expression:"formData.weight"}})],1)],1),e("a-col",{attrs:{lg:24}},[e("a-row",{attrs:{gutter:[12,12]}},t._l(t.formData.images,(function(t,a){return e("a-col",{key:a,attrs:{lg:4}},[e("div",{staticStyle:{width:"100%",height:"100%"}},[e("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:t.image_url}})])])})),1)],1),e("a-col",{attrs:{lg:24}},[e("a-table",{attrs:{columns:t.stockColumns,"data-source":t.formData.variants,pagination:!1},scopedSlots:t._u([{key:"image",fn:function(t,a){return e("span",{},[e("div",[e("img",{staticStyle:{height:"80px"},attrs:{src:a.image_url}})])])}},{key:"calculated_price",fn:function(a,i){return e("span",{},[e("div",[e("a-input-number",{model:{value:i.calculated_price,callback:function(e){t.$set(i,"calculated_price",e)},expression:"record.calculated_price"}})],1)])}},{key:"sku",fn:function(a,i){return e("span",{},[e("div",[e("a-input-number",{model:{value:i.sku,callback:function(e){t.$set(i,"sku",e)},expression:"record.sku"}})],1)])}},{key:"option_values",fn:function(a,i){return e("span",{},[i.option_values?e("div",t._l(i.option_values,(function(a,o){return e("div",{key:i.sku_id+"---"+o,staticStyle:{display:"flex"}},[e("div",{staticStyle:{"margin-right":"5px"}},[e("a-input",{staticStyle:{width:"100px"},model:{value:a.option_display_name,callback:function(e){t.$set(a,"option_display_name",e)},expression:"option.option_display_name"}})],1),e("div",[e("a-input",{model:{value:a.label,callback:function(e){t.$set(a,"label",e)},expression:"option.label"}})],1)])})),0):t._e()])}}],null,!1,1698425115)})],1),e("a-col",{attrs:{lg:24}},[e("v-ditor",{ref:"ComDitor",attrs:{good_id:t.goods.good_id,value:t.formData.description,updateStatus:t.aiTsUpdate},on:{"update:value":function(e){return t.$set(t.formData,"description",e)},"update:updateStatus":function(e){t.aiTsUpdate=e},"update:update-status":function(e){t.aiTsUpdate=e}}})],1)],1)],1)],1)]):t._e()],1)},o=[],r=a("5530"),s=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("a15b"),a("7db0"),a("a026")),n=a("1b6c"),c=a("b775"),l={brandGet:"/bigcommerce/brands",shopCat:"/bigcommerce/categories",goodAdd:"/bigcommerce/products/adding",goodList:"/bigcommerce/products/listing"};function u(t){return Object(c["b"])({url:l.brandGet,method:"get",params:t})}function d(t){return Object(c["b"])({url:l.shopCat,method:"get",params:t})}function p(t){return Object(c["b"])({url:l.goodAdd,method:"post",data:t})}var m=Object(s["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),h=Object(s["b"])((function(){return Promise.resolve().then(a.bind(null,"1605"))})),f=Object(s["b"])((function(){return Promise.resolve().then(a.bind(null,"68dd"))})),b=Object(s["b"])((function(){return Promise.resolve().then(a.bind(null,"5ac8"))})),g={name:"bigcommerceGoods",data:function(){return{open:!1,modalTitle:"",formData:{},channelList:[{name:Object(n["b"])("components.googleGoods.channel.local"),value:"local"},{name:Object(n["b"])("components.googleGoods.channel.online"),value:"online"}],rules:{},brandQuery:{page:1,limit:10},shopCatQuery:{page:1,limit:10},brandList:[],shopCatList:[],stockColumns:[{title:Object(n["b"])("components.bigcommerce.skulist.image"),dataIndex:"image",scopedSlots:{customRender:"image"}},{title:Object(n["b"])("components.bigcommerce.skulist.option_values"),dataIndex:"option_values",scopedSlots:{customRender:"option_values"}},{title:Object(n["b"])("components.bigcommerce.skulist.calculated_price"),dataIndex:"calculated_price",scopedSlots:{customRender:"calculated_price"}}],aiTsUpdate:!1}},props:{goods:null,sellerId:{type:String,default:""}},methods:{openModal:function(t){this.initData(this.goods),this.brandGet(),this.shopCatGet(),this.open=!0},saveInit:function(){this.initData(this.goods),this.okEditGoodInfo()},brandGet:function(){var t=this;u(this.brandQuery).then((function(e){t.brandList=e.list}))},shopCatGet:function(){var t=this;d(this.shopCatQuery).then((function(e){e.list&&(t.shopCatList=e.list)}))},initData:function(t){var e=this;this.goods=t,this.modalTitle=this.$t("components.bigcommerce.modal.title"),this.pathList=[],this.formData={target_country:"",goods_id:t.good_id,content_language:""},p({bee_hole_goods_id:t.good_id}).then((function(t){t.payload&&(e.formData=t.payload,e.formData.categories||(e.formData.categories=[]),e.formData=JSON.parse(JSON.stringify(e.formData)))}))},backLang:function(t){this.formData.content_language=t},okEditGoodInfo:function(){var t=this,e={payload:JSON.parse(JSON.stringify(this.formData)),bee_hole_goods_id:this.goods.good_id};e.payload.variants=e.payload.variants.map((function(t){if(!t.sku){var e=t.option_values.map((function(t){return t.option_display_name+"-"+t.label}));t.sku=e.join(";")}return t})),p(e).then((function(e){0===e.code&&(t.cancelEditGoodInfo(),t.$message.success(t.$t("components.google.modal.success")),t.$emit("ok",e))}))},cancelEditGoodInfo:function(){this.open=!1},changeBrand:function(t){var e=this.brandList.find((function(e){return e.id===t}));e&&(this.formData.brand_id=e.id,this.formData.brand_name=e.name)}},components:{AntModal:m,PsCountrySelect:h,ViewSelect:f,VDitor:b}},_=Object(r["a"])({},g),k=_,v=a("2877"),y=Object(v["a"])(k,i,o,!1,null,null,null);e["default"]=y.exports},"3eac":function(t,e,a){"use strict";a.r(e);a("99af");var i=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px"},attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:48}},[e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"任务名称"}},[e("a-input",{attrs:{placeholder:"请输入任务名称","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.jobName,callback:function(e){t.$set(t.queryParam,"jobName",e)},expression:"queryParam.jobName"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"任务组名"}},[e("a-input",{attrs:{placeholder:"请选择任务组名","allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.jobGroup,callback:function(e){t.$set(t.queryParam,"jobGroup",e)},expression:"queryParam.jobGroup"}})],1)],1),e("a-col",{attrs:{md:6,sm:24}},[e("a-form-item",{attrs:{label:"\n 任务状态"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择任务状态","allow-clear":""},model:{value:t.queryParam.status,callback:function(e){t.$set(t.queryParam,"status",e)},expression:"queryParam.status"}},t._l(t.statusOptions,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.dictValue}},[t._v(t._s(a.dictLabel))])})),1)],1)],1),e("a-col",[e("span",{staticClass:"table-page-search-submitButtons",staticStyle:{float:"right"}},[e("a-button",{attrs:{type:"primary"},on:{click:t.handleQuery}},[e("a-icon",{attrs:{type:"search"}}),t._v("查询")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v("重置")],1)],1)])],1)],1)],1)]),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e("view-form",{ref:"viewForm",attrs:{jobGroupOptions:t.jobGroupOptions}}),e("create-form",{ref:"createForm",attrs:{statusOptions:t.statusOptions,jobGroupOptions:t.jobGroupOptions},on:{ok:t.getList}}),e("advance-table",{attrs:{columns:t.columns,"data-source":t.list,title:"定时任务",loading:t.loading,rowKey:"jobId",tableKey:"monitor-job-index-table",isTableConfig:!1,isShowSetBtn:!1,size:"middle","format-conditions":!0,"row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},pagination:{current:t.queryParam.pageNum,pageSize:t.queryParam.pageSize,total:t.total,showSizeChanger:!0,showLessItems:!0,showQuickJumper:!0,showTotal:function(t,e){return"第 ".concat(e[0],"-").concat(e[1]," 条,总计 ").concat(t," 条")},onChange:t.changeSize,onShowSizeChange:t.onShowSizeChange}},on:{refresh:t.getList},scopedSlots:t._u([{key:"jobGroup",fn:function(a){a.text;var i=a.record;return e("span",{},[t._v(" "+t._s(t.jobGroupFormat(i))+" ")])}},{key:"status",fn:function(a){a.text;var i=a.record;return e("span",{},[e("a-popconfirm",{attrs:{"ok-text":"是","cancel-text":"否"},on:{confirm:function(e){return t.confirmHandleStatus(i)},cancel:function(e){return t.cancelHandleStatus(i)}}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v("确认"),e("b",[t._v(t._s("1"===i.status?"开启":"关闭"))]),t._v(t._s(i.jobName)+"的任务吗?")]),e("a-switch",{attrs:{"checked-children":"开","un-checked-children":"关",checked:0==i.status}})],1)],1)}},{key:"operation",fn:function(a){a.text;var i=a.record;return e("span",{},[e("a-popconfirm",{attrs:{"ok-text":"是","cancel-text":"否"},on:{confirm:function(e){return t.confirmHandleRun(i)},cancel:function(e){return t.cancelHandleRun(i)}}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v("确认执行一次"+t._s(i.jobName)+"的任务吗?")]),e("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:changeStatus"],expression:"['monitor:job:changeStatus']"}]},[e("a-icon",{attrs:{type:"caret-right"}}),t._v(" 执行一次 ")],1)]),e("a-divider",{attrs:{type:"vertical"}}),e("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:edit"],expression:"['monitor:job:edit']"}],on:{click:function(e){return t.$refs.createForm.handleUpdate(i)}}},[e("a-icon",{attrs:{type:"eye"}}),t._v("修改 ")],1),e("a-divider",{attrs:{type:"vertical"}}),e("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],on:{click:function(e){return t.$refs.viewForm.handleView(i)}}},[e("a-icon",{attrs:{type:"eye"}}),t._v("详细 ")],1)],1)}}])},[e("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:add"],expression:"['monitor:job:add']"}],attrs:{type:"primary"},on:{click:function(e){return t.$refs.createForm.handleAdd()}}},[e("a-icon",{attrs:{type:"plus"}}),t._v("新增 ")],1),t.multiple?t._e():e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:remove"],expression:"['monitor:job:remove']"}],attrs:{type:"danger",disabled:t.multiple},on:{click:t.handleDelete}},[e("a-icon",{attrs:{type:"delete"}}),t._v("删除 ")],1),e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:export"],expression:"['monitor:job:export']"}],attrs:{type:"primary"},on:{click:t.handleExport}},[e("a-icon",{attrs:{type:"download"}}),t._v("导出 ")],1),e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["monitor:job:query"],expression:"['monitor:job:query']"}],attrs:{type:"dashed"},on:{click:t.handleJobLog}},[e("a-icon",{attrs:{type:"snippets"}}),t._v("日志 ")],1)],1)])],1)],1)},o=[],r=(a("d81d"),a("a159")),s=a("4da9"),n=a("bad6"),c=a("5d9e"),l={name:"Job",components:{CreateForm:s["default"],ViewForm:n["default"],AdvanceTable:c["default"]},data:function(){return{list:[],selectedRowKeys:[],selectedRows:[],labelCol:{span:6},wrapperCol:{span:18},advanced:!1,single:!0,multiple:!0,ids:[],loading:!1,total:0,statusOptions:[],jobGroupOptions:[],dateRange:[],queryParam:{pageNum:1,pageSize:10,jobName:void 0,jobGroup:void 0,status:void 0},columns:[{title:"任务编号",dataIndex:"jobId",width:"70px",align:"center"},{title:"任务名称",dataIndex:"jobName",ellipsis:!0,align:"center"},{title:"任务组名",dataIndex:"jobGroup",scopedSlots:{customRender:"jobGroup"},align:"center"},{title:"调用目标字符串",dataIndex:"invokeTarget",ellipsis:!0,align:"center"},{title:"cron执行表达式",dataIndex:"cronExpression",ellipsis:!0,align:"center"},{title:"状态",dataIndex:"status",scopedSlots:{customRender:"status"},align:"center"},{title:"备注",dataIndex:"remark",ellipsis:!0},{title:"操作",dataIndex:"operation",width:"250px",scopedSlots:{customRender:"operation"}}]}},filters:{},created:function(){var t=this;this.getList(),this.getDicts("sys_job_status").then((function(e){t.statusOptions=e.data})),this.getDicts("sys_job_group").then((function(e){t.jobGroupOptions=e.data}))},computed:{},watch:{},methods:{getList:function(){var t=this;this.loading=!0,Object(r["f"])(this.queryParam).then((function(e){t.list=e.rows,t.total=e.total,t.loading=!1}))},statusFormat:function(t){return this.selectDictLabel(this.statusOptions,t.status)},jobGroupFormat:function(t){return this.selectDictLabel(this.jobGroupOptions,t.jobGroup)},handleQuery:function(){this.queryParam.pageNum=1,this.getList()},resetQuery:function(){this.dateRange=[],this.queryParam={pageNum:1,pageSize:10,jobName:void 0,jobGroup:void 0,status:void 0},this.handleQuery()},onShowSizeChange:function(t,e){this.queryParam.pageSize=e,this.getList()},changeSize:function(t,e){this.queryParam.pageNum=t,this.queryParam.pageSize=e,this.getList()},onSelectChange:function(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.ids=this.selectedRows.map((function(t){return t.jobId})),this.single=1!==t.length,this.multiple=!t.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleJobLog:function(){this.$router.push({path:"/log/joblog"})},confirmHandleStatus:function(t){var e=this,a="1"===t.status?"启用":"停用";t.status="0"===t.status?"1":"0",Object(r["b"])(t.jobId,t.status).then((function(){e.$message.success(a+"成功",3)})).catch((function(){this.$message.error(a+"发生异常",3)}))},cancelHandleStatus:function(t){},confirmHandleRun:function(t){var e=this;Object(r["g"])(t.jobId,t.jobGroup).then((function(){e.$message.success("执行成功",3)})).catch((function(){this.$message.error("发生异常",3)}))},cancelHandleRun:function(t){},handleDelete:function(t){var e=this;this.ids=this.selectedRows.map((function(t){return t.jobId}));var a=t.jobId||this.ids;this.$confirm({title:"确认删除所选中数据?",content:"当前选中定时任务编号为"+a+"的数据",onOk:function(){return Object(r["c"])(a).then((function(){e.onSelectChange([],[]),e.getList(),e.$message.success("删除成功",3)}))},onCancel:function(){}})},handleExport:function(){var t=this;this.$confirm({title:"是否确认导出?",content:"此操作将导出当前条件下所有数据而非选中数据",onOk:function(){return Object(r["d"])(t.queryParam).then((function(e){t.download(e.msg),t.$message.success("导出成功",3)}))},onCancel:function(){}})}}},u=l,d=a("2877"),p=Object(d["a"])(u,i,o,!1,null,null,null);e["default"]=p.exports},"4da9":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("a-drawer",{attrs:{width:"750px","label-col":4,title:t.formTitle,"body-style":{height:"calc(100vh - 100px)",overflow:"auto"},"wrapper-col":14,visible:t.open},on:{close:t.onClose}},[e("a-form-model",{ref:"form",attrs:{model:t.form,rules:t.rules}},[e("a-form-model-item",{attrs:{label:"任务名称",prop:"jobName"}},[e("a-input",{attrs:{placeholder:"请输入任务名称"},model:{value:t.form.jobName,callback:function(e){t.$set(t.form,"jobName",e)},expression:"form.jobName"}})],1),e("a-form-model-item",{attrs:{label:"任务分组",prop:"jobGroup"}},[e("a-select",{attrs:{placeholder:"请选择"},model:{value:t.form.jobGroup,callback:function(e){t.$set(t.form,"jobGroup",e)},expression:"form.jobGroup"}},t._l(t.jobGroupOptions,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.dictValue}},[t._v(t._s(a.dictLabel))])})),1)],1),e("a-form-model-item",{attrs:{prop:"invokeTarget"}},[e("span",{attrs:{slot:"label"},slot:"label"},[t._v(" 调用方法  "),e("a-popover",{attrs:{placement:"topLeft"}},[e("template",{slot:"content"},[e("p",[t._v("Class类调用示例:"),e("code",[t._v("com.aidex.quartz.task.RyTask.ryParams('ry')")])]),e("p",[t._v("参数说明:支持字符串,布尔类型,长整型,浮点型,整型")])]),e("span",{attrs:{slot:"title"},slot:"title"},[t._v(" Bean调用示例:"),e("code",[t._v("ryTask.ryParams('ry')")])]),e("a-icon",{attrs:{type:"question-circle-o"}})],2)],1),e("a-input",{attrs:{placeholder:"请输入调用目标字符串"},model:{value:t.form.invokeTarget,callback:function(e){t.$set(t.form,"invokeTarget",e)},expression:"form.invokeTarget"}})],1),e("a-form-model-item",{attrs:{label:"cron表达式",prop:"cronExpression"}},[e("a-input",{attrs:{placeholder:"请输入cron执行表达式"},model:{value:t.form.cronExpression,callback:function(e){t.$set(t.form,"cronExpression",e)},expression:"form.cronExpression"}})],1),e("a-form-model-item",{attrs:{label:"是否并发",prop:"concurrent"}},[e("a-radio-group",{attrs:{"button-style":"solid"},model:{value:t.form.concurrent,callback:function(e){t.$set(t.form,"concurrent",e)},expression:"form.concurrent"}},[e("a-radio-button",{attrs:{value:"0"}},[t._v("允许")]),e("a-radio-button",{attrs:{value:"1"}},[t._v("禁止")])],1)],1),e("a-form-model-item",{attrs:{label:"错误策略",prop:"misfirePolicy"}},[e("a-radio-group",{attrs:{"button-style":"solid"},model:{value:t.form.misfirePolicy,callback:function(e){t.$set(t.form,"misfirePolicy",e)},expression:"form.misfirePolicy"}},[e("a-radio-button",{attrs:{value:"1"}},[t._v("立即执行")]),e("a-radio-button",{attrs:{value:"2"}},[t._v("执行一次")]),e("a-radio-button",{attrs:{value:"3"}},[t._v("放弃执行")])],1)],1),e("a-form-model-item",{attrs:{label:"状态",prop:"status"}},[e("a-radio-group",{attrs:{"button-style":"solid"},model:{value:t.form.status,callback:function(e){t.$set(t.form,"status",e)},expression:"form.status"}},t._l(t.statusOptions,(function(a,i){return e("a-radio",{key:i,attrs:{value:a.dictValue}},[t._v(t._s(a.dictLabel))])})),1)],1),e("a-form-model-item",{attrs:{label:"备注",prop:"remark"}},[e("a-input",{attrs:{placeholder:"请输入备注",type:"textarea","allow-clear":""},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}})],1),e("div",{staticClass:"bottom-control"},[e("a-space",[e("a-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(" 保存 ")]),e("a-button",{attrs:{type:"dashed"},on:{click:t.cancel}},[t._v(" 取消 ")])],1)],1)],1)],1)},o=[],r=a("a159"),s={name:"CreateForm",props:{statusOptions:{type:Array,required:!0},jobGroupOptions:{type:Array,required:!0}},data:function(){return{loading:!1,formTitle:"",form:{jobId:void 0,jobName:void 0,jobGroup:void 0,invokeTarget:void 0,cronExpression:void 0,misfirePolicy:"1",concurrent:"1",status:"0"},open:!1,openView:!1,rules:{jobName:[{required:!0,message:"任务名称不能为空",trigger:"blur"}],invokeTarget:[{required:!0,message:"调用目标字符串不能为空",trigger:"blur"}],cronExpression:[{required:!0,message:"cron执行表达式不能为空",trigger:"blur"}]}}},filters:{},created:function(){},computed:{},watch:{},methods:{handleView:function(t){var e=this;Object(r["e"])(t.jobId).then((function(t){e.form=t.data,e.openView=!0}))},onCloseView:function(){this.openView=!1},onClose:function(){this.open=!1},cancel:function(){this.open=!1,this.reset()},reset:function(){this.form={jobId:void 0,jobName:void 0,jobGroup:void 0,invokeTarget:void 0,cronExpression:void 0,misfirePolicy:"1",concurrent:"1",status:"0"}},handleAdd:function(){this.reset(),this.open=!0,this.formTitle="添加任务"},handleUpdate:function(t,e){var a=this;this.reset();var i=t?t.jobId:e;Object(r["e"])(i).then((function(t){a.form=t.data,a.open=!0,a.formTitle="修改任务"}))},submitForm:function(){var t=this;this.$refs.form.validate((function(e){if(!e)return!1;void 0!==t.form.jobId?Object(r["h"])(t.form).then((function(e){t.$message.success("修改成功",3),t.open=!1,t.$emit("ok")})):Object(r["a"])(t.form).then((function(e){t.$message.success("新增成功",3),t.open=!1,t.$emit("ok")}))}))}}},n=s,c=a("2877"),l=Object(c["a"])(n,i,o,!1,null,null,null);e["default"]=l.exports},"5e319":function(t,e,a){},"7fd1":function(t,e,a){"use strict";a.r(e);a("a9e3"),a("b0c0"),a("d3b7"),a("ddb0"),a("a4d3"),a("e01a");var i=function(){var t=this,e=t._self._c;return e("span",[t.tiktokItemOpen?e("AntModal",{attrs:{visible:t.tiktokItemOpen,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:t.modalHeight,modalWidth:t.modalWidth},on:{cancel:t.cancelModal}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",{staticStyle:{display:"none"}},[e("goodsIdList",{attrs:{goodsIds:t.goodsIds,goodsList:t.goodList},on:{"update:goodsList":function(e){t.goodList=e},"update:goods-list":function(e){t.goodList=e},back:t.initTiktok}})],1),e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{lg:2}},[e("leftTabItem",{on:{change:t.changeLeftTab}})],1),e("a-col",{style:{overflowY:"auto",overflowX:"hidden",height:Number(t.modalHeight)-150+"px"},attrs:{lg:21}},[t._l(t.tiktokProductList,(function(a,i){return e("div",{key:i,staticStyle:{"padding-bottom":"1rem"}},[e("div",{staticStyle:{"margin-bottom":"1rem"}},[e("kandengGoodsOne",{attrs:{goodsList:t.goodList,goodsId:i}})],1),"title"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:24}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.itemTitle"),required:""}},[e("a-input",{staticStyle:{width:"100%"},model:{value:a.title,callback:function(e){t.$set(a,"title",e)},expression:"tiktokGoodInfo.title"}})],1)],1)],1)],1):t._e(),"category"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:12}},[t._v(" "+t._s(a.category_id)+" "),e("tiktokLocalCategory",{ref:"localCat",refInFor:!0,attrs:{catList:t.tiktokLocalCategoryList[i],categoryId:a.category_id},on:{"update:categoryId":function(e){return t.$set(a,"category_id",e)},"update:category-id":function(e){return t.$set(a,"category_id",e)},backLocalCategory:function(e){return t.backLocalCategory(e,i)}}})],1)],1)],1):t._e(),"brand"===t.formEditKey?e("div",[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.dyProduct.bran"),required:""}},[e("a-select",{staticStyle:{width:"30%"},attrs:{disabled:!0,"show-search":"",getPopupContainer:function(t){return t.parentNode},optionFilterProp:"title"},on:{search:function(e){return t.searchPinPai(e,i)}},model:{value:a.brand_id,callback:function(e){t.$set(a,"brand_id",e)},expression:"tiktokGoodInfo.brand_id"}},t._l(t.pinPaiList[i],(function(a){return e("a-select-option",{key:a.id,attrs:{title:a.name,value:a.id}},[t._v(" "+t._s(a.name)+" ")])})),1)],1)],1):t._e(),"attribute"===t.formEditKey?e("div",[e("a-collapse",{attrs:{defaultActiveKey:"0"}},[e("a-collapse-panel",{key:"1",staticStyle:{padding:"0px 20px"},attrs:{header:t.$t("components.dyProduct.dyProduct.attributes")}},[e("a-row",{attrs:{gutter:24}},t._l(t.product_attributesList[i],(function(a,o){return e("a-col",{key:a.id+o,attrs:{lg:6}},[a.is_requried?e("a-form-model-item",{attrs:{label:a.name,required:""}},[a.values&&a.values.length?[a.values&&a.values.length&&t.product_attributes[i]&&t.product_attributes[i][o]?e("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["attribute"+t.product_attributes[i][o].id,{rules:t.getRules(t.product_attributes[i][o])}],expression:"[\n `attribute` + product_attributes[good_id][index].id,\n { rules: getRules(product_attributes[good_id][index]) },\n ]"}],staticStyle:{width:"100%"},attrs:{optionFilterProp:"title","show-search":""},on:{change:function(e,a){return t.onChangeAttributes(e,a,i,o)},search:function(e){return t.searchAttribute(e,o)},mouseenter:function(e){return t.getValues100(i,o)}},model:{value:t.product_attributes[i][o].values[0].id,callback:function(e){t.$set(t.product_attributes[i][o].values[0],"id",e)},expression:"product_attributes[good_id][index].values[0].id"}},t._l(a.list,(function(i){return a&&a.list?e("a-select-option",{key:i.id,attrs:{title:i.name,value:i.id,text:i.name}},[t._v(" "+t._s(i.name)+" ")]):t._e()})),1):t._e()]:[e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["attribute"+t.product_attributes[i][o].id,{rules:t.getRules(t.product_attributes[i][o])}],expression:"[\n `attribute` + product_attributes[good_id][index].id,\n { rules: getRules(product_attributes[good_id][index]) },\n ]"}],model:{value:t.product_attributes[i][o].values[0].value,callback:function(e){t.$set(t.product_attributes[i][o].values[0],"value",e)},expression:"product_attributes[good_id][index].values[0].value"}})]],2):e("a-form-model-item",{attrs:{label:a.name}},[a.values&&a.values.length?[a.values&&a.values.length&&t.product_attributes[i][o]&&t.product_attributes[i][o].values[0]?e("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["attribute"+t.product_attributes[i][o].id,{rules:t.getRules(t.product_attributes[i][o])}],expression:"[\n `attribute` + product_attributes[good_id][index].id,\n { rules: getRules(product_attributes[good_id][index]) },\n ]"}],staticStyle:{width:"100%"},attrs:{optionFilterProp:"title","show-search":""},on:{change:function(e,a){return t.onChangeAttributes(e,a,i,o)}},model:{value:t.product_attributes[i][o].values[0].id,callback:function(e){t.$set(t.product_attributes[i][o].values[0],"id",e)},expression:"product_attributes[good_id][index].values[0].id"}},t._l(a.values,(function(a){return e("a-select-option",{key:a.id,attrs:{title:a.name,value:a.id,text:a.name}},[t._v(" "+t._s(a.name)+" ")])})),1):t._e()]:[t.product_attributes&&t.product_attributes[i][o]?e("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["attribute"+t.product_attributes[i][o].id,{rules:t.getRules(t.product_attributes[i][o])}],expression:"[\n `attribute` + product_attributes[good_id][index].id,\n { rules: getRules(product_attributes[good_id][index]) },\n ]"}],model:{value:t.product_attributes[i][o].values[0].value,callback:function(e){t.$set(t.product_attributes[i][o].values[0],"value",e)},expression:"product_attributes[good_id][index].values[0].value"}}):t._e()]],2)],1)})),1)],1)],1)],1):t._e(),"image"===t.formEditKey?e("div",[e("a-form-model-item",{attrs:{label:t.$t("view.item.list.itemImage")}},t._l(a.main_images,(function(t,a){return e("a-col",{key:a,attrs:{lg:3}},[e("div",{staticClass:"ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card",staticStyle:{height:"100px",width:"95px",padding:"0"}},[e("div",{staticStyle:{height:"100px",width:"95px"}},[e("div",{staticClass:"ant-upload-list-item-info",staticStyle:{height:"80px",width:"95px"}},[e("img",{staticStyle:{height:"80px",width:"95px"},attrs:{src:t.url}})]),e("span",{staticClass:"ant-upload-list-item-actions"})])])])})),1)],1):t._e(),"itemInfo"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.saveModel")}},[e("a-select",{staticStyle:{width:"100%"},model:{value:a.save_mode,callback:function(e){t.$set(a,"save_mode",e)},expression:"tiktokGoodInfo.save_mode"}},[e("a-select-option",{attrs:{value:"AS_DRAFT"}},[t._v(t._s(t.$t("view.article.list.article.table.status.0")))]),e("a-select-option",{attrs:{value:"LISTING"}},[t._v(t._s(t.$t("components.pl.product.status.listing.title")))])],1)],1)],1)],1)],1):t._e(),"sizeChart"===t.formEditKey?e("div",[a.certifications?e("a-row",{attrs:{gutter:24}},t._l(a.certifications,(function(a,o){return e("a-col",{key:o},[e("a-form-model-item",{attrs:{label:a.name,required:""}}),e("tiktok-attach-upload",{attrs:{shop_cipher:t.tiktokShop.cipher,id:a.id,user_case:"4"},on:{uploadBack:function(e){return t.resetQuery(e,a.id,i)}}})],1)})),1):t._e(),a.size_chart?e("a-row",{attrs:{gutter:24,type:"flex"}},[a.size_chart.image?e("a-col",[e("a-form-model-item",{attrs:{label:t.$t("components.pl.product.sizeChart.image.uri.title"),required:""}},[e("tiktok-attach-upload",{attrs:{shop_cipher:t.tiktokShop.cipher,user_case:"4"},on:{uploadBack:function(e){return t.backSizeChartImage(e,i)}}}),a.size_chart.image.uri?e("div",{staticClass:"check-style-unequal-width"}):t._e()],1)],1):t._e(),a.size_chart.template?e("a-col",{staticStyle:{"line-height":"30px"}},[e("a-form-model-item",{attrs:{label:t.$t("components.pl.product.sizeChart.template.id.title"),required:""}},[e("a-input",{staticStyle:{width:"200px"},attrs:{placeholder:t.$t("components.pl.product.sizeChart.template.id.title")},model:{value:a.size_chart.template.id,callback:function(e){t.$set(a.size_chart.template,"id",e)},expression:"tiktokGoodInfo.size_chart.template.id"}}),e("a-tooltip",{attrs:{placement:"right"}},[e("template",{slot:"title"},[t._v(" "+t._s(t.$t("components.pl.product.sizeChart.template.question.title"))+" ")]),e("a-icon",{staticStyle:{"margin-left":"4px","margin-bottom":"2px"},attrs:{type:"question-circle"}})],2)],1)],1):t._e()],1):t._e()],1):t._e(),"packageWeight"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[a.package_weight?e("a-col",{attrs:{lg:6}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_weight.value")+" "+a.package_weight.unit,required:""}},[e("a-input",{attrs:{disabled:!0},model:{value:a.package_weight.value,callback:function(e){t.$set(a.package_weight,"value",e)},expression:"tiktokGoodInfo.package_weight.value"}})],1)],1):t._e()],1)],1):t._e(),"packageSizeChart"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.height")+" "+a.package_dimensions.unit,required:""}},[e("a-input",{attrs:{disabled:!0},model:{value:a.package_dimensions.height,callback:function(e){t.$set(a.package_dimensions,"height",e)},expression:"tiktokGoodInfo.package_dimensions.height"}})],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.width")+" "+a.package_dimensions.unit,required:""}},[e("a-input",{attrs:{disabled:!0},model:{value:a.package_dimensions.width,callback:function(e){t.$set(a.package_dimensions,"width",e)},expression:"tiktokGoodInfo.package_dimensions.width"}})],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.length")+" "+a.package_dimensions.unit,required:""}},[e("a-input",{attrs:{disabled:!0},model:{value:a.package_dimensions.length,callback:function(e){t.$set(a.package_dimensions,"length",e)},expression:"tiktokGoodInfo.package_dimensions.length"}})],1)],1)],1)],1):t._e(),"sku"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:24}},[e("a-col",{style:{overflowY:"auto",overflowX:"hidden",padding:"0px 0px",height:"300px"},attrs:{lg:24}},[e("a-table",{attrs:{columns:t.columns,"data-source":a.skus,pagination:!1},scopedSlots:t._u([{key:"id",fn:function(a,i){return[e("a-row",[e("a-col",[e("a-input",{attrs:{"addon-before":i.identifier_code.type},model:{value:i.identifier_code.code,callback:function(e){t.$set(i.identifier_code,"code",e)},expression:"record.identifier_code.code"}})],1)],1),e("a-row",[e("a-col",[e("a-input",{attrs:{disabled:!0},model:{value:i.seller_sku,callback:function(e){t.$set(i,"seller_sku",e)},expression:"record.seller_sku"}})],1)],1)]}},{key:"stock_num",fn:function(a,i){return[i.inventory&&i.inventory.length?e("a-input-number",{model:{value:i.inventory[0].quantity,callback:function(e){t.$set(i.inventory[0],"quantity",e)},expression:"record.inventory[0].quantity"}}):t._e()]}},{key:"price",fn:function(a,i){return[e("a-input",{scopedSlots:t._u([{key:"addonBefore",fn:function(){return[e("div",[t._v(t._s(i.price.currency))])]},proxy:!0}],null,!0),model:{value:i.price.amount,callback:function(e){t.$set(i.price,"amount",e)},expression:"record.price.amount"}})]}},{key:"mall_warehouse",fn:function(a,i){return[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("div",{staticStyle:{flex:"1"}},[i.inventory&&i.inventory.length?e("a-select",{staticStyle:{width:"100%"},attrs:{disabled:!0},on:{change:function(e){return t.changeWareHouse(i.inventory[0].warehouse_id)}},model:{value:i.inventory[0].warehouse_id,callback:function(e){t.$set(i.inventory[0],"warehouse_id",e)},expression:"record.inventory[0].warehouse_id"}},t._l(t.ware_house_list,(function(a){return e("a-select-option",{key:a.id,attrs:{value:a.id}},[t._v(" "+t._s(a.name)+" ")])})),1):t._e()],1)])]}},{key:"sales_attributes",fn:function(a,i){return[e("div",t._l(i.sales_attributes,(function(a,i){return e("a-row",{key:a.id,attrs:{type:"flex"}},[e("a-col",{key:i,staticStyle:{"line-height":"30px"},attrs:{lg:8}},[t._v(" "+t._s(a.name)+" ")]),e("a-col",{attrs:{lg:16}},[e("a-input",{attrs:{type:"text",value:a.value_name}})],1)],1)})),1)]}}],null,!0)})],1)],1)],1):t._e(),"description"===t.formEditKey?e("div",[e("a-row",[e("a-col",{staticStyle:{"margin-top":"10px"},attrs:{lg:24}},[e("dy-vditor",{ref:"ComDitor_"+i,refInFor:!0,attrs:{id:i,good_id:i,value:a.description,updateStatus:t.aiTsUpdate},on:{"update:value":function(e){return t.$set(a,"description",e)},"update:updateStatus":function(e){t.aiTsUpdate=e},"update:update-status":function(e){t.aiTsUpdate=e}}})],1)],1)],1):t._e(),"other"===t.formEditKey?e("div"):t._e()])})),e("div",["category"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:12}},[e("tiktokLocalCategory",{ref:"localCat",attrs:{catList:t.catList},on:{backLocalCategory:function(e){return t.backPlLocalCategory(e)}}})],1)],1)],1):t._e(),"brand"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.dyProduct.bran"),required:""}},[e("a-select",{staticStyle:{width:"30%"},attrs:{"show-search":"",getPopupContainer:function(t){return t.parentNode},optionFilterProp:"title"},on:{search:function(e){return t.searchPinPai(e)},change:t.changeBrand}},t._l(t.brandList,(function(a){return e("a-select-option",{key:a.id,attrs:{title:a.name,value:a.id}},[t._v(" "+t._s(a.name)+" ")])})),1)],1)],1):t._e(),"attribute"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),t.attributeList.length>0?e("a-collapse",{attrs:{defaultActiveKey:"-1"}},[e("a-collapse-panel",{key:"-1",staticStyle:{padding:"0px 20px"},attrs:{header:t.$t("components.dyProduct.dyProduct.attributes")}},[e("a-row",{attrs:{gutter:24}},t._l(t.attributeList,(function(a,i){return e("a-col",{key:a.id+i,attrs:{lg:6}},[a.is_requried?e("a-form-model-item",{attrs:{label:a.name,required:""}},[a.values&&a.values.length?[a.values&&a.values.length?e("a-select",{staticStyle:{width:"100%"},attrs:{optionFilterProp:"title","show-search":""},on:{change:function(e,a){return t.onChangePlAttributes(e,a,i)},search:function(e){return t.searchAttribute(e,i)},mouseenter:function(e){return t.getPlValues100(i)}}},t._l(a.list,(function(i){return a&&a.list?e("a-select-option",{key:i.id,attrs:{title:i.name,value:i.id,text:i.name}},[t._v(" "+t._s(i.name)+" ")]):t._e()})),1):t._e()]:[e("a-input",{on:{input:function(e){return t.inputAttribute(e,i)}}})]],2):e("a-form-model-item",{attrs:{label:a.name}},[a.values&&a.values.length?[a.values&&a.values.length?e("a-select",{staticStyle:{width:"100%"},attrs:{optionFilterProp:"title","show-search":""},on:{change:function(e,a){return t.onChangePlAttributes(e,a,i)},search:function(e){return t.searchAttribute(e,i)},mouseenter:function(e){return t.getPlValues100(i)}}},t._l(a.values,(function(a){return e("a-select-option",{key:a.id,attrs:{title:a.name,value:a.id,text:a.name}},[t._v(" "+t._s(a.name)+" ")])})),1):t._e()]:[e("a-input",{on:{input:function(e){return t.inputAttribute(e,i)}}})]],2)],1)})),1)],1)],1):t._e()],1):t._e(),"itemInfo"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.saveModel")}},[e("a-select",{staticStyle:{width:"100%"},on:{change:t.changePiliangStatus}},[e("a-select-option",{attrs:{value:"AS_DRAFT"}},[t._v(t._s(t.$t("view.article.list.article.table.status.0")))]),e("a-select-option",{attrs:{value:"LISTING"}},[t._v(t._s(t.$t("components.pl.product.status.listing.title")))])],1)],1)],1)],1)],1):t._e(),"sizeChart"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),t.tiktokRule.size_chart.is_required&&t.tiktokRule.size_chart.is_supported?e("a-row",{attrs:{gutter:24,type:"flex"}},[e("a-col",[e("a-form-model-item",{attrs:{label:t.$t("components.pl.product.sizeChart.image.uri.title"),required:""}},[e("tiktok-attach-upload",{attrs:{shop_cipher:t.tiktokShop.cipher,user_case:"4"},on:{uploadBack:function(e){return t.backPlSizeChartImage(e)}}}),t.tiktokRule.size_chart.uri?e("div",{staticClass:"check-style-unequal-width"}):t._e()],1)],1),e("a-col",{staticStyle:{"line-height":"30px"}},[e("a-form-model-item",{attrs:{label:t.$t("components.pl.product.sizeChart.template.id.title"),required:""}},[e("a-input",{staticStyle:{width:"200px"},attrs:{placeholder:t.$t("components.pl.product.sizeChart.template.id.title")},on:{input:t.plTemplate}}),e("a-tooltip",{attrs:{placement:"right"}},[e("template",{slot:"title"},[t._v(" "+t._s(t.$t("components.pl.product.sizeChart.template.question.title"))+" ")]),e("a-icon",{staticStyle:{"margin-left":"4px","margin-bottom":"2px"},attrs:{type:"question-circle"}})],2)],1)],1)],1):t._e()],1):t._e(),"packageWeight"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-row",[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_weight.value")+" KILOGRAM",required:""}},[e("a-input",{staticStyle:{width:"23%"},on:{change:t.plPackageWeight}})],1)],1)],1):t._e(),"packageSizeChart"===t.formEditKey?e("div",[e("a-row",[e("span",[t._v(t._s(t.$t("components.dyProduct.pl.value")))])]),e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.height")+" CENTIMETER",required:""}},[e("a-input",{on:{change:function(e){return t.plChangeSizeChart(e,"height")}}})],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.width")+" CENTIMETER",required:""}},[e("a-input",{on:{change:function(e){return t.plChangeSizeChart(e,"width")}}})],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.package_dimensions.length")+" CENTIMETER",required:""}},[e("a-input",{on:{change:function(e){return t.plChangeSizeChart(e,"length")}}})],1)],1)],1)],1):t._e(),"sku"===t.formEditKey?e("div",[e("a-row",{attrs:{type:"flex"}},[e("a-col",[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.piliang_warehouse_stock")}},[e("a-input",{staticStyle:{width:"100px"},attrs:{type:"number",min:"1"},on:{change:t.inputPiliangStock}})],1)],1),e("a-col",{staticStyle:{"margin-left":"20px"}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.piliang_warehouse")}},[e("a-select",{staticStyle:{width:"300px"},on:{change:t.changePiliangWareHouse}},t._l(t.ware_house_list,(function(a){return e("a-select-option",{key:a.id,attrs:{value:a.id}},[t._v(" "+t._s(a.name)+" ")])})),1),e("a-tooltip",[e("template",{slot:"title"},[e("div",[t._v(t._s(t.$t("components.dyProduct.WareHouse.sync")))])]),e("a-button",{staticStyle:{padding:"0",width:"auto","min-width":"30px","text-align":"center"},on:{click:t.getWareHouse}},[e("a-icon",{staticStyle:{"padding-right":"0"},attrs:{type:"sync"}})],1)],2)],1)],1),e("a-col",{staticStyle:{"margin-left":"20px"}},[e("a-form-model-item",{attrs:{label:t.$t("components.dyProduct.piliang_delivery")}},[e("a-select",{staticStyle:{width:"500px"},attrs:{disabled:!t.delivery||0==t.delivery.length,mode:"multiple","show-search":""},on:{change:t.changePiliangDelivery}},t._l(t.delivery,(function(a){return e("a-select-option",{key:a.id,attrs:{title:a.name,value:a.id}},[t._v(" "+t._s(a.name)+" - "+t._s(a.description)+" ")])})),1)],1)],1)],1)],1):t._e()])],2)],1)],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancelModal}},[t._v(t._s(t.$t("components.imagetext.translation.confirm.cancel")))]),e("a-button",{attrs:{type:"primary"},on:{click:t.saveTiktok}},[t._v(t._s(t.$t("component.artilce.save.button")))]),e("a-button",{staticClass:"btnSuccess",attrs:{loading:t.btnLoading},on:{click:t.batchSubmit}},[t._v(t._s(t.$t("components.pl.product.submit.title")))])],1)]):t._e()],1)},o=[],r=a("5530"),s=(a("3ca3"),a("d81d"),a("25f0"),a("b680"),a("4de4"),a("fb6a"),a("c740"),a("159b"),a("2f62")),n=a("a026"),c=a("296e"),l=a("fe07"),u=a("cec7"),d=a("2e136"),p=Object(n["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),m=Object(n["b"])((function(){return a.e("chunk-52cb3562").then(a.bind(null,"16f2"))})),h=Object(n["b"])((function(){return a.e("chunk-32dac439").then(a.bind(null,"12b1"))})),f=Object(n["b"])((function(){return a.e("chunk-52cb3562").then(a.bind(null,"5f19"))})),b={name:"kandengList",props:{goodsIds:{type:Array,default:function(){return[]}}},computed:Object(r["a"])({},Object(s["c"])({shop_id:"shopId"})),components:{AntModal:p,goodsIdList:m,leftTabItem:h,kandengGoodsOne:f,dyVditor:u["default"],tiktokLocalCategory:l["a"],tiktokAttachUpload:d["a"]},data:function(){return{formEditKey:"",columns:[{title:this.$t("components.dyProduct.dyProduct.sku.code"),dataIndex:"id",width:"20%",scopedSlots:{customRender:"id"}},{title:this.$t("view.item.sku.skuname"),dataIndex:"sales_attributes",width:"30%",scopedSlots:{customRender:"sales_attributes"}},{title:this.$t("view.item.sku.price"),dataIndex:"price",width:"18%",scopedSlots:{customRender:"price"}},{title:this.$t("view.item.sku.stock_num"),dataIndex:"stock_num",width:"12%",scopedSlots:{customRender:"stock_num"}},{title:this.$t("table.mall_warehouse"),dataIndex:"mall_warehouse",width:"20%",scopedSlots:{customRender:"mall_warehouse"}}],aiTsUpdate:!1,ware_house_list:[],tiktokRule:{product_certifications:[],size_chart:{}},catList:[],brandList:[],attributeList:[],delivery:[],goodList:[],formTitle:this.$t("components.tiktokAddProduct.pl.title"),tiktokItemOpen:!1,tiktokItemTitle:this.$t("components.dyProduct.dyProduct.title"),tiktokProductType:1,tiktokShopSellerType:"",tiktokLocateList:["en-GB","en-US","id-ID","ms-MY","th-TH","vi-VN","zh-CN"],tiktokLocate:"",product_attributes:{},attributesList:{},pinPaiList:{},tiktokProductCatgoryShow:!1,tiktokLocalCategoryList:{},tiktokLocalPartnerCategoryList:{},tiktokGlobalLocate:"",tiktokProductGlobalCatgoryShow:!1,tiktokGlobalCategoryList:[],tiktokGlobalPartnerCategoryList:[],tiktokProductCategoryId:"",tiktokGlobalProductCategoryId:"",tiktokShop:{},tiktokProductList:{},tiktokTuiJianCatList:{},product_attributesList:{},btnLoading:!1}},methods:{changeLeftTab:function(t){var e=this;"description"===this.formEditKey&&t!==this.formEditKey&&this._.map(this.tiktokProductList,(function(t,a){e.$refs["ComDitor_"+a][0].getValue1()})),this.formEditKey=t},initLoad:function(t){t&&(this.tiktokShop=t,this.tiktokShopSellerType=t.seller_type,this.getPlCategory(),this.getWareHouse(),this.openModal())},openModal:function(){this.modalHeight=(.9*window.innerHeight).toFixed(0).toString(),this.modalWidth=(.8*window.innerWidth).toFixed(0).toString(),this.tiktokItemOpen=!0},cancelModal:function(){this.tiktokItemOpen=!1,this.ware_house_list=[],this.delivery=[],this.goodList=[],this.tiktokShopSellerType="",this.tiktokLocate="",this.product_attributes={},this.attributesList={},this.pinPaiList={},this.tiktokProductCatgoryShow=!1,this.tiktokLocalCategoryList={},this.tiktokLocalPartnerCategoryList={},this.tiktokGlobalLocate="",this.tiktokProductGlobalCatgoryShow=!1,this.tiktokGlobalCategoryList=[],this.tiktokGlobalPartnerCategoryList=[],this.tiktokProductCategoryId="",this.tiktokGlobalProductCategoryId="",this.tiktokShop={},this.tiktokProductList={},this.tiktokTuiJianCatList={},this.product_attributesList={}},initTiktok:function(t){var e=this;Promise.all(this._.map(t,(function(t,a){return e.tiktokPublication(t)}))).then((function(t){e.$message.destroy()}))},tiktokPublication:function(t){var e=this,a=this,i={};return i.good_id=t.good_id,i.shop_cipher=a.tiktokShop.cipher,i.good_type=a.tiktokProductType,Object(c["t"])(i).then((function(i){return 0===i.code&&(delete i.code,delete i.message,a.tiktokProductList[t.good_id]=i,i.category_id&&(e.gettiktokItemAttribute(t.good_id),e.getPinPai("",t.good_id)),a.tiktokProductList[t.good_id].delivery_option_ids&&1===a.tiktokProductList[t.good_id].delivery_option_ids.length&&""===a.tiktokProductList[t.good_id].delivery_option_ids[0]&&(a.tiktokProductList[t.good_id].delivery_option_ids=[]),a.tiktokProductList[t.good_id].skus&&a.tiktokProductList[t.good_id].skus.map((function(t){t.inventory&&t.inventory.map((function(t){t.warehouse_id&&e.changeWareHouse(t.warehouse_id)}))})),"CROSS_BORDER"!==e.tiktokShopSellerType?e.getTuiJianCat(t.good_id):e.getCategory(t.good_id)),a.$set(e,"tiktokProductList",Object.assign({},a.tiktokProductList)),i}))},saveTiktok:function(){var t=this,e=this;this._.map(this.tiktokProductList,(function(a,i){var o;e.$refs["ComDitor_"+i]&&(null===(o=e.$refs["ComDitor_"+i])||void 0===o?void 0:o.length)>0&&e.$refs["ComDitor_"+i][0].getValue1();var r=[];t.product_attributes[i]&&t.product_attributes[i].map((function(t){var e;t.values&&t.values.length>0&&(t.values[0].value||t.values[0].id)&&((null===(e=t.values)||void 0===e?void 0:e.length)>=1&&(t.values[0].name=t.values[0].value),r.push(t))})),a.product_attributes=r}));var a={shop_cipher:this.tiktokShop.cipher,body:this.tiktokProductList,tiktok_good_type:this.tiktokProductType};Object(c["b"])(a).then((function(e){0===e.code?t.$message.success(t.$t("components.dyProduct.dyProduct.saveSuccess")):t.$message.error(t.$t("view.item.component.item.syn.operation.add.error.info"))}))},gettiktokItemAttribute:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher,category_id:a.tiktokProductList[t].category_id};Object(c["p"])(i).then((function(a){0===a.code&&(e.attributesList[t]=a.data.attributes,e.NewAttributesList(t))}))},tiktokPlItemAttribute:function(t){var e=this,a={shop_cipher:e.tiktokShop.cipher,category_id:t};Object(c["p"])(a).then((function(t){0===t.code&&(e.attributeList=t.data.attributes,e._.map(e.tiktokProductList,(function(a,i){e.attributesList[i]=t.data.attributes,e.NewAttributesList(i)})))}))},NewAttributesList:function(t){var e=this;this.product_attributesList[t]=this.attributesList[t].filter((function(t,e){return"PRODUCT_PROPERTY"===t.type&&t.is_requried&&t.values&&t.values.length>0&&(t.list=t.values.slice(0,100)),"PRODUCT_PROPERTY"===t.type})),this.product_attributes[t]||(this.product_attributes[t]=[]),this.tiktokProductList[t].product_attributes||(this.tiktokProductList[t].product_attributes=[]),this.product_attributesList[t].map((function(a){var i=e.tiktokProductList[t].product_attributes.findIndex((function(t){return t.id===a.id}));if(a.is_requried,-1===i){var o={id:a.id,values:[]};a.values&&a.values.length>0?o.values.push({id:"",value:""}):o.values.push({value:""}),e.product_attributes[t].push(o)}else e.product_attributes[t].push(e.tiktokProductList[t].product_attributes[i])}))},searchPinPai:function(t,e){this.getPinPai(t,e)},getPinPai:function(t,e){var a=this,i=this,o={shop_cipher:i.tiktokShop.cipher,category_id:i.tiktokProductList[e].category_id};t&&(o.brand_name=t),Object(c["u"])(o).then((function(t){0===t.code&&(a.pinPaiList[e]=t.data.brands,a.$set(a,"pinPaiList",Object.assign({},a.pinPaiList)))}))},getPlPinPai:function(t){var e=this,a={shop_cipher:e.tiktokShop.cipher};t&&(a.brand_name=t),Object(c["u"])(a).then((function(t){0===t.code&&(e._.map(e.tiktokProductList,(function(a,i){e.pinPaiList[i]=t.data.brands})),e.brandList=t.data.brands,e.$set(e,"pinPaiList",Object.assign({},e.pinPaiList)))}))},changeBrand:function(t){this._.map(this.tiktokProductList,(function(e,a){e.brand_id=t})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList))},getTuiJianCat:function(t){var e=this,a=this,i={body:{product_title:a.tiktokProductList[t].title},shop_cipher:a.tiktokShop.cipher};Object(c["q"])(i).then((function(a){if(0===a.code){var i="";a.data.categories.map((function(t){!t.is_leaf&&t.level<3?i+=t.name+">":t.is_leaf&&3===t.level&&(t.name=i+t.name)})),e.tiktokTuiJianCatList[t]=a.data.categories}}))},getCategory:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher};this.tiktokLocate&&(i.locale=a.tiktokLocate),Object(c["s"])(i).then((function(a){0===a.code&&(e.tiktokProductCatgoryShow=!0,e.tiktokLocalCategory(a.data,t))}))},getPlCategory:function(){var t=this,e={shop_cipher:t.tiktokShop.cipher};t.tiktokLocate&&(e.locale=t.tiktokLocate),Object(c["s"])(e).then((function(e){0===e.code&&(t.catList=e.data.categories)}))},tiktokLocalCategory:function(t,e){this.tiktokLocalCategoryList[e]=t.categories,this.tiktokLocalPartnerCategoryList[e]=this.tiktokLocalCategoryList[e].filter((function(t){return"0"===t.parent_id})),this.$set(this,"tiktokLocalCategoryList",Object.assign({},this.tiktokLocalCategoryList))},tiktokGlobalCategory:function(t,e){this.tiktokGlobalCategoryList[e]=t,this.tiktokGlobalPartnerCategoryList[e]=this.tiktokLocalCategoryList[e].filter((function(t){return"0"===t.parent_id})),this.$set(this,"tiktokGlobalCategoryList",Object.assign({},this.tiktokGlobalCategoryList))},changeWareHouse:function(t){var e=this,a={ware_house_id:t,shop_cipher:this.tiktokShop.cipher};Object(c["g"])(a).then((function(t){0===t.code&&e._.map(t.data.delivery_options,(function(t){var a=e.delivery.findIndex((function(e){return e.id===t.id}));-1===a&&e.delivery.push(t)}))}))},backLocalCategory:function(t,e){this.tiktokProductList[e].category_id=t,this.changeCategory(e)},backPlLocalCategory:function(t){var e=this;this._.map(this.tiktokProductList,(function(a,i){e.tiktokProductList[i].category_id=t})),this.changePlCategory(t)},tiktokCategoryRule:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher,category_id:a.tiktokProductList[t].category_id};Object(c["f"])(i).then((function(i){var o,r,s,n,c,l;null!==i&&void 0!==i&&null!==(o=i.data)&&void 0!==o&&null!==(r=o.product_certifications)&&void 0!==r&&r.length&&i.data.product_certifications.forEach((function(e){e.is_required&&(a.tiktokProductList[t].certifications||(a.tiktokProductList[t].certifications=[]),a.tiktokProductList[t].certifications.push({id:e.id,name:e.name,sample_image_url:e.sample_image_url,images:[{uri:""}]}))})),null!==i&&void 0!==i&&null!==(s=i.data)&&void 0!==s&&null!==(n=s.size_chart)&&void 0!==n&&n.is_required&&null!==i&&void 0!==i&&null!==(c=i.data)&&void 0!==c&&null!==(l=c.size_chart)&&void 0!==l&&l.is_supported&&(a.tiktokProductList[t].size_chart||(a.tiktokProductList[t].size_chart={}),a.tiktokProductList[t].size_chart.image={uri:""},a.tiktokProductList[t].size_chart.template={id:""}),e.$set(e,"tiktokProductList",Object.assign({},e.tiktokProductList))}))},changeCategory:function(t){this.tiktokCategoryRule(t),this.getPinPai("",t),this.gettiktokItemAttribute(t)},changePlCategory:function(t){this.tiktokPlCategoryRule(t),this.getPlPinPai(""),this.tiktokPlItemAttribute(t)},tiktokPlCategoryRule:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher,category_id:t};Object(c["f"])(i).then((function(t){var i,o,r,s,n,c;null!==t&&void 0!==t&&null!==(i=t.data)&&void 0!==i&&null!==(o=i.product_certifications)&&void 0!==o&&o.length&&a._.map(a.tiktokProductList,(function(e,i){a.tiktokRule.product_certifications=t.data.product_certifications,t.data.product_certifications.forEach((function(t){t.is_required&&(a.tiktokProductList[i].certifications||(a.tiktokProductList[i].certifications=[]),a.tiktokProductList[i].certifications.push({id:t.id,name:t.name,sample_image_url:t.sample_image_url,images:[{uri:""}]}))}))})),null!==t&&void 0!==t&&null!==(r=t.data)&&void 0!==r&&null!==(s=r.size_chart)&&void 0!==s&&s.is_required&&null!==t&&void 0!==t&&null!==(n=t.data)&&void 0!==n&&null!==(c=n.size_chart)&&void 0!==c&&c.is_supported&&a._.map(a.tiktokProductList,(function(e,i){a.tiktokRule.size_chart=t.data.size_chart,a.tiktokProductList[i].size_chart||(a.tiktokProductList[i].size_chart={}),a.tiktokProductList[i].size_chart.image={uri:""},a.tiktokProductList[i].size_chart.template={id:""}})),e.$set(e,"tiktokProductList",Object.assign({},e.tiktokProductList))}))},getRules:function(t){return[{required:t.is_requried,message:this.$t("view.config.style.pleaseEdit")+" "+t.name}]},getValues100:function(t,e){this.product_attributesList[t][e].list&&0!==this.product_attributesList[t][e].list.length||(this.product_attributesList[t][e].list=this.product_attributesList[t][e].values.slice(0,100),this.$set(this,"product_attributesList",Object.assign({},this.product_attributesList)))},getPlValues100:function(t){var e=this;this._.map(this.tiktokProductList,(function(a,i){e.product_attributesList[i][t].list&&0!==e.product_attributesList[i][t].list.length||(e.product_attributesList[i][t].list=e.product_attributesList[i][t].values.slice(0,100))})),this.$set(this,"product_attributesList",Object.assign({},this.product_attributesList))},onChangeAttributes:function(t,e,a,i){var o;this.product_attributes[a][i].values[0].value=null===(o=e.data.attrs)||void 0===o?void 0:o.text,this.$set(this,"product_attributes",Object.assign({},this.product_attributes))},onChangePlAttributes:function(t,e,a){var i=this;this._.map(this.tiktokProductList,(function(o,r){var s;i.product_attributes[r][a].values[0].id=t,i.product_attributes[r][a].values[0].value=null===(s=e.data.attrs)||void 0===s?void 0:s.text})),this.$set(this,"product_attributes",Object.assign({},this.product_attributes))},inputAttribute:function(t,e){var a=this;this._.map(this.tiktokProductList,(function(i,o){a.product_attributes[o][e].values[0].value=t.target.value})),this.$set(this,"product_attributes",Object.assign({},this.product_attributes))},changePiliangWareHouse:function(t){t>0&&(this._.map(this.tiktokProductList,(function(e,a){e.skus.forEach((function(e){e.inventory[0].warehouse_id=t}))})),this.changeWareHouse(t))},inputPiliangStock:function(t){var e=t.target.value;e>0&&this._.map(this.tiktokProductList,(function(t,a){t.skus.forEach((function(t){t.inventory[0].quantity=e}))}))},getWareHouse:function(){var t=this,e={shop_cipher:this.tiktokShop.cipher};Object(c["w"])(e).then((function(e){0===e.code&&(t.ware_house_list=e.data.warehouses)}))},resetQuery:function(t,e,a){this.tiktokProductList[a].certifications.forEach((function(a){a.id===e&&(a.images=[{uri:t.img_id}])}))},backSizeChartImage:function(t,e){this.tiktokProductList[e].size_chart.image.uri=t.img_id},backPlSizeChartImage:function(t){t.img_id&&(this.tiktokRule.size_chart.uri=t.img_id,this._.map(this.tiktokProductList,(function(e,a){e.size_chart.image.uri=t.img_id})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList)))},plChangeSizeChart:function(t,e){this._.map(this.tiktokProductList,(function(a,i){a.package_dimensions[e]=t.target.value})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList))},plPackageWeight:function(t){this._.map(this.tiktokProductList,(function(e,a){e.package_weight.value=t.target.value})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList))},plTemplate:function(t){this._.map(this.tiktokProductList,(function(e,a){e.size_chart.template.id=t.target.value})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList))},changePiliangDelivery:function(t){t.length>0&&(this._.map(this.tiktokProductList,(function(e,a){e.delivery_option_ids=t})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList)))},changePiliangStatus:function(t){t&&(this._.map(this.tiktokProductList,(function(e,a){e.save_mode=t})),this.$set(this,"tiktokProductList",Object.assign({},this.tiktokProductList)))},batchSubmit:function(){var t=this,e=[];t._.map(t.tiktokProductList,(function(t,a){e.push(Number(a))}));var a={shop_cipher:t.tiktokShop.cipher,good_ids:e,tiktok_good_type:t.tiktokProductType};t.btnLoading=!0,Object(c["a"])(a).then((function(e){t.btnLoading=!1})).catch((function(){t.btnLoading=!1}))}}},g=Object(r["a"])({},b),_=g,k=(a("c3fe"),a("2877")),v=Object(k["a"])(_,i,o,!1,null,null,null);e["default"]=v.exports},"9fc6":function(t,e,a){"use strict";a.r(e);var i=a("5530"),o=(a("7db0"),a("d3b7"),a("b0c0"),a("b775")),r={List:"/wandertemplate/list",Add:"/wandertemplate/add",Edit:"/wandertemplate/edit",Del:"/wandertemplate/del"};function s(t){return Object(o["b"])({url:r.List,method:"post",data:t})}function n(t){return Object(o["b"])({url:r.Add,method:"post",data:t})}function c(t){return Object(o["b"])({url:r.Edit,method:"post",data:t})}var l=a("5d9e"),u=a("2f62"),d=a("1b6c");e["default"]={name:"wanderTemplate",data:function(){return{formData:{id:0,title:"",template_type:"",order_status:"",temp_content:"",status:""},columns:[{title:Object(d["b"])("view.config.wander.id"),dataIndex:"id",key:"id",width:"10%"},{title:Object(d["b"])("view.config.wander.title"),dataIndex:"title",key:"title",width:"10%",scopedSlots:{customRender:"title"}},{title:Object(d["b"])("view.config.wander.template_type"),dataIndex:"template_type",key:"template_type",width:"10%",scopedSlots:{customRender:"template_type"}},{title:Object(d["b"])("view.config.wander.order_status"),dataIndex:"order_status",key:"order_status",width:"20%",scopedSlots:{customRender:"order_status"}},{title:Object(d["b"])("view.config.wander.temp_content"),dataIndex:"temp_content",key:"temp_content",width:"35%",ellipsis:!0},{title:Object(d["b"])("view.config.wander.status"),dataIndex:"status",key:"status",width:"10%",scopedSlots:{customRender:"status"}},{title:Object(d["b"])("view.config.wander.action"),dataIndex:"action",key:"action",width:"5%",scopedSlots:{customRender:"action"}}],data:[],ModalText:"",template_type:[{name:Object(d["b"])("view.config.wander.template_type_1"),value:1},{name:Object(d["b"])("view.config.wander.template_type_2"),value:2}],order_status:[{name:Object(d["b"])("view.order.list.status.daifahuo"),value:"ORDER_WAIT_SHIP"},{name:Object(d["b"])("view.order.list.status.shouhouzhong"),value:"ORDER_AFTER_SALE"},{name:Object(d["b"])("view.order.list.status.daishouhuo"),value:"ORDER_WAIT_RECEIPT"},{name:Object(d["b"])("view.order.list.status.daipingjia"),value:"ORDER_WAIT_RATE"},{name:Object(d["b"])("view.order.list.status.tuikuanzhong"),value:"ORDER_REFUNDING"},{name:Object(d["b"])("view.order.list.status.yituikuan"),value:"ORDER_REFUNDED"},{name:Object(d["b"])("view.order.list.status.yiguanbi"),value:"ORDER_CLOSED"},{name:Object(d["b"])("view.order.list.status.yiwancheng"),value:"ORDER_COMPLETED"}],status:[{name:Object(d["b"])("view.config.wander.status_1"),value:1},{name:Object(d["b"])("view.config.wander.status_2"),value:2}],NotifyPars:[{name:Object(d["b"])("view.config.wander.notify_pars_OrderId"),value:"{{.OrderId}}"},{name:Object(d["b"])("view.config.wander.notify_pars_MemberName"),value:"{{.MemberName}}"},{name:Object(d["b"])("view.config.wander.notify_pars_OrderClosedTime"),value:"{{.OrderClosedTime}}"},{name:Object(d["b"])("view.config.wander.notify_pars_OrderPaidTime"),value:"{{.OrderPaidTime}}"},{name:Object(d["b"])("view.config.wander.notify_pars_OrderRefundedTime"),value:"{{.OrderRefundedTime}}"},{name:Object(d["b"])("view.config.wander.notify_pars_OrderShipTime"),value:"{{.OrderShipTime}}"},{name:Object(d["b"])("view.config.wander.notify_pars_ShipmentId"),value:"{{.ShipmentId}}"},{name:Object(d["b"])("view.config.wander.notify_pars_LogisticsName"),value:"{{.LogisticsName}}"}],visible:!1,confirmLoading:!1}},components:{AdvanceTable:l["default"]},computed:Object(i["a"])({},Object(u["c"])(["shopId"])),created:function(){this.getList()},methods:{getList:function(){var t=this;s().then((function(e){if(0===e.code){var a=t;e.data&&e.data.length>0&&(a.data=e.data)}}))},handleAdd:function(){this.visible=!0},handleOk:function(){var t=this,e=this;if(""===e.formData.template_type||""===e.formData.order_status||""===e.formData.temp_content||""===e.formData.status)return this.$message.info(Object(d["b"])("view.config.wander.message")),!1;var a={};2===e.formData.template_type?a.title="蜂洞":a.title=e.formData.title,e.formData.id>0?(a.id=e.formData.id,a.template_type=e.formData.template_type,a.order_status=e.formData.order_status,a.temp_content=e.formData.temp_content,a.status=e.formData.status,c(a).then((function(a){0===a.code&&(t.$message.info(a.message),t.getList(),e.formData={id:"",title:"",template_type:"",order_status:"",temp_content:"",status:""}),e.visible=!1,e.confirmLoading=!1}))):(a.template_type=e.formData.template_type,a.order_status=e.formData.order_status,a.temp_content=e.formData.temp_content,a.status=e.formData.status,n(a).then((function(a){a.id>0&&(t.$message.info(a.message),t.getList(),e.formData={id:"",title:"",template_type:"",order_status:"",temp_content:"",status:""}),e.visible=!1,e.confirmLoading=!1})))},handleGet:function(t){var e=this,a={};t.id>0&&(a.id=t.id),s(a).then((function(t){if(0===t.code){var a=e;t.data&&t.data.length>0&&(a.formData={id:t.data[0].id,title:t.data[0].title,template_type:t.data[0].template_type,order_status:t.data[0].order_status,temp_content:t.data[0].temp_content,status:t.data[0].status},a.visible=!0)}}))},handleCancel:function(t){this.visible=!1,this.formData={id:"",title:"",template_type:"",order_status:"",temp_content:"",status:""}},getTemplateName:function(t){var e=this,a=e.template_type.find((function(e){return e.value===t}));return a?a.name:""},getOrderStatusName:function(t){var e=this,a=e.order_status.find((function(e){return e.value===t}));return a?a.name:""},getStatusName:function(t){var e=this,a=e.status.find((function(e){return e.value===t}));return a?a.name:""},selectNotifyPars:function(t){var e=this;e.formData.temp_content=e.formData.temp_content+t}}}},a159:function(t,e,a){"use strict";a.d(e,"f",(function(){return o})),a.d(e,"e",(function(){return r})),a.d(e,"a",(function(){return s})),a.d(e,"h",(function(){return n})),a.d(e,"c",(function(){return c})),a.d(e,"d",(function(){return l})),a.d(e,"b",(function(){return u})),a.d(e,"g",(function(){return d}));var i=a("b775");function o(t){return Object(i["b"])({url:"/monitor/job/list",method:"get",params:t})}function r(t){return Object(i["b"])({url:"/monitor/job/"+t,method:"get"})}function s(t){return Object(i["b"])({url:"/monitor/job",method:"post",data:t})}function n(t){return Object(i["b"])({url:"/monitor/job",method:"put",data:t})}function c(t){return Object(i["b"])({url:"/monitor/job/"+t,method:"delete"})}function l(t){return Object(i["b"])({url:"/monitor/job/export",method:"get",params:t})}function u(t,e){var a={jobId:t,status:e};return Object(i["b"])({url:"/monitor/job/changeStatus",method:"put",data:a})}function d(t,e){var a={jobId:t,jobGroup:e};return Object(i["b"])({url:"/monitor/job/run",method:"put",data:a})}},bad6:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("a-drawer",{attrs:{width:"750px",placement:"right",closable:!1,visible:t.openView},on:{close:t.onCloseView}},[e("a-descriptions",{attrs:{title:"任务详细",layout:"vertical",bordered:""}},[e("a-descriptions-item",{attrs:{label:"任务编号"}},[t._v(" "+t._s(t.form.jobId)+" ")]),e("a-descriptions-item",{attrs:{label:"任务分组"}},[t._v(" "+t._s(t.jobGroupFormat(t.form.jobGroup))+" ")]),e("a-descriptions-item",{attrs:{label:"任务名称"}},[t._v(" "+t._s(t.form.jobName)+" ")]),e("a-descriptions-item",{attrs:{label:"创建时间"}},[t._v(" "+t._s(t.form.createTime)+" ")]),e("a-descriptions-item",{attrs:{label:"下次执行时间",span:"2"}},[t._v(" "+t._s(t.parseTime(t.form.nextValidTime))+" ")]),e("a-descriptions-item",{attrs:{label:"调用目标方法"}},[t._v(" "+t._s(t.form.invokeTarget)+" ")]),e("a-descriptions-item",{attrs:{label:"cron表达式",span:"2"}},[t._v(" "+t._s(t.form.cronExpression)+" ")]),e("a-descriptions-item",{attrs:{label:"任务状态"}},[0==t.form.status?e("a-badge",{attrs:{status:"processing",text:"运行中"}}):t._e(),1==t.form.status?e("a-badge",{attrs:{status:"warning",text:"暂停"}}):t._e()],1),e("a-descriptions-item",{attrs:{label:"是否并发"}},[0==t.form.concurrent?e("a-badge",{attrs:{status:"processing",text:"允许"}}):t._e(),1==t.form.concurrent?e("a-badge",{attrs:{status:"warning",text:"禁止"}}):t._e()],1),e("a-descriptions-item",{attrs:{label:"执行策略"}},[0==t.form.misfirePolicy?e("a-badge",{attrs:{status:"default",text:"默认策略"}}):t._e(),1==t.form.misfirePolicy?e("a-badge",{attrs:{status:"Processing",text:"立即执行"}}):t._e(),2==t.form.misfirePolicy?e("a-badge",{attrs:{color:"purple",text:"执行一次"}}):t._e(),3==t.form.misfirePolicy?e("a-badge",{attrs:{status:"warning",text:"放弃执行"}}):t._e()],1)],1)],1)},o=[],r=a("a159"),s={name:"ViewForm",props:{jobGroupOptions:{type:Array,required:!0}},data:function(){return{loading:!1,formTitle:"",form:{jobId:void 0,jobName:void 0,jobGroup:void 0,invokeTarget:void 0,cronExpression:void 0,misfirePolicy:"1",concurrent:"1",status:"0"},openView:!1}},filters:{},created:function(){},computed:{},watch:{},methods:{jobGroupFormat:function(t){return this.selectDictLabel(this.jobGroupOptions,t)},handleView:function(t){var e=this;Object(r["e"])(t.jobId).then((function(t){e.form=t.data,e.openView=!0}))},onCloseView:function(){this.openView=!1}}},n=s,c=a("2877"),l=Object(c["a"])(n,i,o,!1,null,null,null);e["default"]=l.exports},bf75:function(t,e,a){"use strict";a.r(e);a("b0c0");var i=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticStyle:{"margin-bottom":"10px",padding:"10px"},attrs:{bordered:!1}},[e("a-row",[e("a-col",{attrs:{lg:2}},[e("a-button",{staticClass:"editable-add-btn",staticStyle:{"margin-left":"13px","margin-bottom":"5px"},on:{click:t.handleAdd}},[t._v(t._s(t.$t("view.config.wander.add.title")))])],1)],1),e("a-table",{attrs:{columns:t.columns,"data-source":t.data},scopedSlots:t._u([{key:"template_type",fn:function(a,i){return e("span",{},[t._v(" "+t._s(t.getTemplateName(i.template_type))+" ")])}},{key:"order_status",fn:function(a,i){return e("span",{},[t._v(" "+t._s(t.getOrderStatusName(i.order_status))+" ")])}},{key:"status",fn:function(a,i){return e("span",{},[t._v(" "+t._s(t.getStatusName(i.status))+" ")])}},{key:"action",fn:function(a,i){return e("a",{},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.handleGet(i)}}},[t._v(t._s(t.$t("view.config.wander.edit.title")))])],1)}}])})],1),e("a-modal",{attrs:{title:t.$t("view.config.wander.add.title"),visible:t.visible,"confirm-loading":t.confirmLoading,maskClosable:!1},on:{ok:t.handleOk,cancel:t.handleCancel}},[e("div",{staticClass:"custom-scroll"},[e("a-form-model",{attrs:{layout:"horizontal"}},[e("a-row",[e("a-col",[e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.template_type")}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.formData.template_type,callback:function(e){t.$set(t.formData,"template_type",e)},expression:"formData.template_type"}},t._l(t.template_type,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1),1==t.formData.template_type?e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.title")}},[e("a-input",{staticStyle:{width:"100%"},attrs:{placeholder:t.$t("view.config.wander.title")},model:{value:t.formData.title,callback:function(e){t.$set(t.formData,"title",e)},expression:"formData.title"}})],1):t._e(),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.order_status")}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.formData.order_status,callback:function(e){t.$set(t.formData,"order_status",e)},expression:"formData.order_status"}},t._l(t.order_status,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.notify_pars")}},[e("a-select",{staticStyle:{width:"100%"},on:{change:t.selectNotifyPars}},t._l(t.NotifyPars,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.temp_content")}},[e("a-textarea",{staticStyle:{width:"100%"},attrs:{placeholder:t.$t("view.config.wander.temp_content"),"auto-size":{minRows:3,maxRows:5}},model:{value:t.formData.temp_content,callback:function(e){t.$set(t.formData,"temp_content",e)},expression:"formData.temp_content"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.config.wander.status")}},[e("a-select",{staticStyle:{width:"100%"},model:{value:t.formData.status,callback:function(e){t.$set(t.formData,"status",e)},expression:"formData.status"}},t._l(t.status,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.value}},[t._v(" "+t._s(a.name))])})),1)],1)],1)],1)],1)],1)])],1)},o=[],r=a("5530"),s=a("9fc6"),n=Object(r["a"])({},s["default"]),c=n,l=a("2877"),u=Object(l["a"])(c,i,o,!1,null,null,null);e["default"]=u.exports},c3fe:function(t,e,a){"use strict";a("5e319")}}]);