@bee-hole/admin 1.25.21 → 1.25.23

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 (82) hide show
  1. package/dist/css/chunk-073f43c8.4aaa8baf.css +1 -0
  2. package/dist/css/{chunk-4b8ab170.e3e7dc69.css → chunk-2a1f11eb.d3a516f8.css} +1 -1
  3. package/dist/css/{chunk-e8891446.357ba390.css → chunk-3d9ea586.7018f7b6.css} +1 -1
  4. package/dist/css/chunk-3d9ea586.7018f7b6.css.gz +0 -0
  5. package/dist/css/chunk-4b8d1c9d.cce99047.css +1 -0
  6. package/dist/css/chunk-c738d938.d1bbb6d8.css +1 -0
  7. package/dist/css/chunk-c738d938.d1bbb6d8.css.gz +0 -0
  8. package/dist/css/lang-package~4e34e71e.2a5cb472.css +11 -0
  9. package/dist/css/lang-package~4e34e71e.2a5cb472.css.gz +0 -0
  10. package/dist/css/lang-zh-TW-service~f63b1681.59aa6cd7.css +1 -0
  11. package/dist/css/lang-zh-TW-service~f63b1681.59aa6cd7.css.gz +0 -0
  12. package/dist/index.html +1 -1
  13. package/dist/js/app~f075b844.b7a47385.js +1 -0
  14. package/dist/js/app~f075b844.b7a47385.js.gz +0 -0
  15. package/dist/js/chunk-03e1387e.98c8fe32.js +1 -0
  16. package/dist/js/chunk-03e1387e.98c8fe32.js.gz +0 -0
  17. package/dist/js/chunk-073f43c8.2f6fe878.js +1 -0
  18. package/dist/js/chunk-073f43c8.2f6fe878.js.gz +0 -0
  19. package/dist/js/chunk-2a1f11eb.30e1cd3a.js +1 -0
  20. package/dist/js/chunk-2a1f11eb.30e1cd3a.js.gz +0 -0
  21. package/dist/js/chunk-3d9ea586.ebd109e0.js +1 -0
  22. package/dist/js/chunk-3d9ea586.ebd109e0.js.gz +0 -0
  23. package/dist/js/chunk-4b8d1c9d.7f72a642.js +1 -0
  24. package/dist/js/chunk-4b8d1c9d.7f72a642.js.gz +0 -0
  25. package/dist/js/chunk-c738d938.108a1f11.js +1 -0
  26. package/dist/js/chunk-c738d938.108a1f11.js.gz +0 -0
  27. package/dist/js/lang-ar-EG~31ecd969.ef8c7cb1.js +3 -0
  28. package/dist/js/lang-ar-EG~31ecd969.ef8c7cb1.js.gz +0 -0
  29. package/dist/js/lang-bn-BD~ede72586.35861d6a.js +1 -0
  30. package/dist/js/lang-bn-BD~ede72586.35861d6a.js.gz +0 -0
  31. package/dist/js/{lang-en-US~31ecd969.614ed70b.js → lang-en-US~31ecd969.1c52fd30.js} +2 -2
  32. package/dist/js/lang-en-US~31ecd969.1c52fd30.js.gz +0 -0
  33. package/dist/js/lang-ko-KR~31ecd969.70699306.js +1 -0
  34. package/dist/js/lang-ko-KR~31ecd969.70699306.js.gz +0 -0
  35. package/dist/js/{lang-ms-MY~d756050e.4c5a41df.js → lang-ms-MY~d756050e.50a2d612.js} +1 -1
  36. package/dist/js/lang-ms-MY~d756050e.50a2d612.js.gz +0 -0
  37. package/dist/js/lang-package~4e34e71e.fd3ac5d6.js +11 -0
  38. package/dist/js/lang-package~4e34e71e.fd3ac5d6.js.gz +0 -0
  39. package/dist/js/lang-zh-TW-service~f63b1681.2ac2fa79.js +1 -0
  40. package/dist/js/lang-zh-TW-service~f63b1681.2ac2fa79.js.gz +0 -0
  41. package/dist/js/lang-zh-TW~31ecd969.1c584b2e.js +1 -0
  42. package/dist/js/lang-zh-TW~31ecd969.1c584b2e.js.gz +0 -0
  43. package/package.json +1 -1
  44. package/dist/css/chunk-0ba53954.13706cf3.css +0 -1
  45. package/dist/css/chunk-0e20a560.463d4485.css +0 -1
  46. package/dist/css/chunk-0e20a560.463d4485.css.gz +0 -0
  47. package/dist/css/chunk-1594f836.fca25df2.css +0 -1
  48. package/dist/css/chunk-1594f836.fca25df2.css.gz +0 -0
  49. package/dist/css/chunk-e8891446.357ba390.css.gz +0 -0
  50. package/dist/css/lang-package~4e34e71e.8464cc2f.css +0 -11
  51. package/dist/css/lang-package~4e34e71e.8464cc2f.css.gz +0 -0
  52. package/dist/css/lang-zh-TW-service~f63b1681.6ab3f741.css +0 -1
  53. package/dist/js/app~f075b844.75ea780d.js +0 -1
  54. package/dist/js/app~f075b844.75ea780d.js.gz +0 -0
  55. package/dist/js/chunk-03e1387e.864c8728.js +0 -1
  56. package/dist/js/chunk-03e1387e.864c8728.js.gz +0 -0
  57. package/dist/js/chunk-0ba53954.e0fb15e7.js +0 -1
  58. package/dist/js/chunk-0ba53954.e0fb15e7.js.gz +0 -0
  59. package/dist/js/chunk-0e20a560.2a710c3b.js +0 -1
  60. package/dist/js/chunk-0e20a560.2a710c3b.js.gz +0 -0
  61. package/dist/js/chunk-1594f836.dea475c9.js +0 -1
  62. package/dist/js/chunk-1594f836.dea475c9.js.gz +0 -0
  63. package/dist/js/chunk-4b8ab170.50b46651.js +0 -1
  64. package/dist/js/chunk-4b8ab170.50b46651.js.gz +0 -0
  65. package/dist/js/chunk-e8891446.28fb6116.js +0 -1
  66. package/dist/js/chunk-e8891446.28fb6116.js.gz +0 -0
  67. package/dist/js/lang-ar-EG~31ecd969.806abf73.js +0 -3
  68. package/dist/js/lang-ar-EG~31ecd969.806abf73.js.gz +0 -0
  69. package/dist/js/lang-bn-BD~ede72586.ae1a9b6d.js +0 -1
  70. package/dist/js/lang-bn-BD~ede72586.ae1a9b6d.js.gz +0 -0
  71. package/dist/js/lang-en-US~31ecd969.614ed70b.js.gz +0 -0
  72. package/dist/js/lang-ko-KR~31ecd969.5ceb19a5.js +0 -1
  73. package/dist/js/lang-ko-KR~31ecd969.5ceb19a5.js.gz +0 -0
  74. package/dist/js/lang-ms-MY~d756050e.4c5a41df.js.gz +0 -0
  75. package/dist/js/lang-package~4e34e71e.5f1fb16f.js +0 -11
  76. package/dist/js/lang-package~4e34e71e.5f1fb16f.js.gz +0 -0
  77. package/dist/js/lang-zh-TW-service~f63b1681.7b68bf64.js +0 -1
  78. package/dist/js/lang-zh-TW-service~f63b1681.7b68bf64.js.gz +0 -0
  79. package/dist/js/lang-zh-TW~31ecd969.5e9a0c74.js +0 -1
  80. package/dist/js/lang-zh-TW~31ecd969.5e9a0c74.js.gz +0 -0
  81. /package/dist/css/{chunk-vendors~5ea6e0dc.577119a6.css → chunk-vendors~5ea6e0dc.d7251aeb.css} +0 -0
  82. /package/dist/css/{chunk-vendors~5ea6e0dc.577119a6.css.gz → chunk-vendors~5ea6e0dc.d7251aeb.css.gz} +0 -0
@@ -0,0 +1 @@
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b8d1c9d"],{"0953":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"primary"},on:{click:t.handleClick}},[t._v(t._s(t.$t("view.order.list.ship.list.shippings")))]),e("ant-modal",{attrs:{visible:t.visable,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:"600",modalWidth:"800"},on:{cancel:function(e){return t.closeModal()}}},[e("div",{staticClass:"orderDetail",attrs:{slot:"content"},slot:"content"},[e("a-form-model",t._b({ref:"form",attrs:{model:t.shipForm}},"a-form-model",t.itemLayout,!1),[e("a-form-model-item",{attrs:{"has-feedback":"",label:"",prop:"shipment_id"}},[e("div",[t._v(t._s(t.$t("view.order.list.ship.list.label")))]),e("a-textarea",{attrs:{rows:10,placeholder:t.$t("view.order.list.ship.list.placeholder")},model:{value:t.shipForm.ships,callback:function(e){t.$set(t.shipForm,"ships",e)},expression:"shipForm.ships"}}),e("template",{slot:"help"},[t._v(" "+t._s(t.$t("view.order.list.ship.list.ships.help"))+" ")])],2),e("a-form-model-item",{attrs:{"has-feedback":"",label:"",prop:"shipment_id"}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("div",{staticStyle:{width:"200px"}},[e("a-select",{staticStyle:{width:"100%"},on:{change:t.handleChange1},model:{value:t.shipForm.logistics_name,callback:function(e){t.$set(t.shipForm,"logistics_name",e)},expression:"shipForm.logistics_name"}},t._l(t.options,(function(a,i){return e("a-select-opt-group",{key:i},[e("span",{attrs:{slot:"label"},slot:"label"},[e("a-icon",{attrs:{type:"user"}}),t._v(t._s(a.key))],1),t._l(a.option,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.key}},[t._v(" "+t._s(a.value)+" ")])}))],2)})),1)],1),e("div",{staticStyle:{"margin-left":"20px"}},[t._v(" "+t._s(t.$t("view.express.logistics_code")+": ")+" "+t._s(t.shipForm.logistics_name)+" ")])])])],1),e("a-form-model-item",{attrs:{"has-feedback":""}},[e("a-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("component.artilce.save.button"))+" ")])],1)],1),e("template",{slot:"footer"},[e("a-button",{on:{click:t.closeModal}},[t._v(t._s(t.$t("component.artilce.close.button")))])],1)],2)],1)},o=[],n=a("5530"),r=(a("d81d"),a("2dd7")),s=a("3a10"),l=a("1b6c"),u={name:"ordersShips",data:function(){return{visable:!1,formTitle:"",forms:[],rules:{logistics_name:[{required:!0,trigger:"change"}],shipment_id:[{required:!0,trigger:"change"}]},itemLayout:{labelCol:{lg:2},wrapperCol:{lg:22}},shipForm:{ships:"",logistics_name:""}}},props:{options:{type:Array,default:function(){return[{key:Object(l["b"])("view.express.foreign_express1"),label:"GJWL",option:[{key:"SFGJ",value:"顺丰国际"},{key:"DHWL",value:"ヤマト運輸"},{key:"ZCJB",value:"佐川急便"},{key:"RBYZ",value:"日本郵便"}]},{key:Object(l["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:"中邮物流"}]}]}},orders:{type:Array,default:function(){return[]}}},components:{AntModal:r["default"]},methods:{getOption:function(){var t=this,e={};Object(s["i"])({page:1,limit:150}).then((function(a){for(var i=a.list,o=0;o<i.length;o++){var n=i[o],r=n.foreign_express;e[r]||(e[r]=[]),e[r].push({key:n.logistics_code,value:n.logistics_name})}return t.options[0].option=e[2],t.options[1].option=e[1],t.options}))},closeModal:function(){this.visable=!1},handleClick:function(){this.formTitle=this.$t("view.order.list.ship.list.shippings"),this.visable=!0},handleChange1:function(t){this.shipForm.logistics_name=t},handleChange:function(t,e){this.forms[e].logistics_name=t},submitForm:function(){var t=this,e=[],a=this.shipForm.ships.split("\n");a.map((function(t){var a=t.split(",");e.push({order_id:a[0],logistics_name:a[1],shipment_id:a[2]})})),e&&e.length>0&&Object(s["B"])({chosen:e}).then((function(e){0===e.code&&(t.$message.success(t.$t("view.order.list.ship.list.success")),t.visable=!1,t.$emit("ok"))}))}}},c=Object(n["a"])({},u),d=c,p=a("2877"),m=Object(p["a"])(d,i,o,!1,null,null,null);e["default"]=m.exports},"0b68":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",[e("a-row",{attrs:{type:"flex",gutter:10}},[e("a-col",{attrs:{span:24}},[e("a-card",{staticStyle:{"min-height":"calc(100vh - 125px)"},attrs:{bordered:!1}},[e("advance-table",{attrs:{columns:t.columns,"data-source":t.list,title:t.tableTitle,loading:t.loading,rowKey:"id",size:"middle",tableKey:"system-role-SysRoleIndex-table","format-conditions":!0,"row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},pagination:{current:t.queryParam.page,pageSize:t.queryParam.limit,total:t.total,showSizeChanger:!1,showLessItems:!0,showQuickJumper:!0,showTotal:function(e,a){return t.$t("view.item.list.table.total",{num:a[0]+"-"+a[1],total:e})},onChange:t.changeSize,onShowSizeChange:t.onShowSizeChange}},on:{refresh:t.getRecord},scopedSlots:t._u([{key:"fee",fn:function(a){var i=a.record;return e("span",{},[e("defaultCurrency",{attrs:{isFuhao:""}}),t._v(t._s(i.fee)+" ")],1)}},{key:"payway_id",fn:function(a){var i=a.record;return e("span",{},[1===i.payway_id?e("a-tag",{attrs:{color:"green"}},[t._v(" "+t._s(t.$t("procure.pay.title"))+" ")]):2===i.payway_id?e("a-tag",{attrs:{color:"blue"}},[t._v(" "+t._s(t.$t("order.list.from_id.handlePay"))+" ")]):t._e()],1)}},{key:"valid_time",fn:function(a){var i=a.record;return e("span",{},[t._v(" "+t._s(i.start_time)+" ~ "+t._s(i.end_time)+" ")])}}])})],1)],1)],1)],1)},o=[],n=(a("d81d"),a("3528")),r=a("5d9e"),s=a("34c3"),l={name:"RoleBuyRecord",components:{AdvanceTable:r["default"],defaultCurrency:s["default"]},data:function(){return{list:[],selectedRowKeys:[],selectedSubRowKeys:[],selectedRows:[],selectedSubRows:[],selectedUser:"",advanced:!1,single:!0,multiple:!0,subMultiple:!0,currentSelectRoleId:"",selectItem:{},ids:[],subIds:[],loading:!1,subLoading:!1,total:0,labelCol:{span:6},wrapperCol:{span:18},queryParam:{page:1,limit:10,name:void 0,key:void 0,status:void 0},tableTitle:this.$t("view.system.role.buy_record"),columns:[{title:this.$t("view.order.list.order_id"),dataIndex:"fuwu_order_id"},{title:this.$t("compoents.role.set.service_name"),dataIndex:"fuwu_name",align:"center"},{title:this.$t("view.system.user.name"),dataIndex:"user_name",align:"center"},{title:this.$t("view.system.role.service_fee"),dataIndex:"fee",scopedSlots:{customRender:"fee"},align:"center"},{title:this.$t("view.system.user.valid_time"),dataIndex:"valid_time",scopedSlots:{customRender:"valid_time"},align:"center"},{title:this.$t("pay.paymenthod"),dataIndex:"payway_id",scopedSlots:{customRender:"payway_id"},align:"center"},{title:this.$t("view.system.user.buy_time"),dataIndex:"create_time",align:"center"}]}},filters:{},created:function(){this.getRecord()},computed:{},watch:{},methods:{getRecord:function(){var t=this;Object(n["n"])(this.queryParam).then((function(e){e.total_count&&(t.list=e.list,t.total=e.total_count)}))},handleQuery:function(){this.queryParam.page=1,this.getList()},handleQueryRoleUser:function(){this.querySubParam.page=1,this.getRoleUserList()},onShowSizeChange:function(t,e){this.queryParam.limit=e,this.getList()},onShowSizeSubChange:function(t,e){this.querySubParam.limit=e,this.getRoleUserList()},onSizeChange:function(t,e){this.queryParam.page=1,this.queryParam.limit=e,this.getList()},changeSize:function(t,e){this.queryParam.page=t,this.queryParam.limit=e,this.getList()},changeSubSize:function(t,e){this.querySubParam.page=t,this.querySubParam.limit=e,this.getRoleUserList()},onSelectChange:function(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.ids=this.selectedRows.map((function(t){return t.id})),this.single=1!==t.length,this.multiple=!t.length},onSelectSubChange:function(t,e){this.selectedSubRowKeys=t,this.selectedSubRows=e,this.subIds=this.selectedSubRows.map((function(t){return t.id})),this.subMultiple=!t.length}}},u=l,c=(a("6d36"),a("2877")),d=Object(c["a"])(u,i,o,!1,null,null,null);e["default"]=d.exports},"12a1":function(t,e,a){"use strict";a.r(e);a("b0c0");var i=function(){var t=this,e=t._self._c;return e("span",[e("a-button",{attrs:{type:"primary"},on:{click:t.saveInit}},[t._v(t._s(t.$t("components.google.open.button")))]),t.open?e("ant-modal",{attrs:{visible:t.open,"modal-title":t.modalTitle,"adjust-size":!0,modalHeight:"380",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.order.detail.ship_country"),prop:"target_country",required:""}},[e("ps-country-select",{attrs:{countryCode:t.formData.target_country},on:{"update:countryCode":function(e){return t.$set(t.formData,"target_country",e)},"update:country-code":function(e){return t.$set(t.formData,"target_country",e)}}})],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.component.item.syn.ozon.language"),prop:"content_language",required:""}},[e("view-select",{attrs:{lang:t.formData.content_language,backVal:"lang"},on:{change:t.backLang}})],1)],1),e("a-col",{attrs:{lg:12}},[e("a-form-model-item",{attrs:{label:t.$t("view.item.form.channel"),prop:"channel",required:""}},[e("a-select",{attrs:{"show-search":"",placeholder:"","option-filter-prop":"title"},model:{value:t.formData.channel,callback:function(e){t.$set(t.formData,"channel",e)},expression:"formData.channel"}},t._l(t.channelList,(function(a){return e("a-select-option",{key:a.name,attrs:{title:a.name,value:a.value}},[t._v(" "+t._s(a.name)+" ")])})),1)],1)],1)],1)],1)],1)]):t._e()],1)},o=[],n=a("5530"),r=(a("d3b7"),a("3ca3"),a("ddb0"),a("a026")),s=a("aabf"),l=a("1b6c"),u=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),c=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"1605"))})),d=Object(r["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(t){this.initData(this.goods),this.open=!0},saveInit:function(){this.initData(this.goods),this.okEditGoodInfo()},initData:function(t){this.goods=t,this.modalTitle=this.$t("components.google.modal.title"),this.pathList=[],this.formData={target_country:"",goods_id:t.good_id,content_language:""}},backLang:function(t){this.formData.content_language=t},okEditGoodInfo:function(){var t=this,e=JSON.parse(JSON.stringify(this.formData));Object(s["q"])(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}},components:{AntModal:u,PsCountrySelect:c,ViewSelect:d}},m=Object(n["a"])({},p),f=m,g=a("2877"),h=Object(g["a"])(f,i,o,!1,null,null,null);e["default"]=h.exports},"1a13":function(t,e,a){"use strict";a.r(e);a("7db0"),a("d3b7");var i=function(){var t=this,e=t._self._c;return e("span",[t.disabled?t.disabled?e("div",{staticStyle:{height:"31px","line-height":"31px"}},[t._v(" "+t._s(t.optionsList.find((function(e){return e.value===t.workType})).label)+" ")]):t._e():e("a-select",{attrs:{disabled:t.disabled},on:{change:t.handleChange},model:{value:t.workType,callback:function(e){t.workType=e},expression:"workType"}},t._l(t.optionsList,(function(a){return e("a-select-option",{key:a.value,attrs:{value:a.value}},[t._v(" "+t._s(a.label)+" ")])})),1)],1)},o=[],n=(a("a9e3"),a("1b6c")),r={name:"WorkType",data:function(){return{optionsList:[{label:Object(n["b"])("components.complaint.workType.all"),value:0},{label:Object(n["b"])("components.complaint.workType.consult"),value:1},{label:Object(n["b"])("components.complaint.workType.purchase"),value:2},{label:Object(n["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(t){t!==this.workType&&(this.workType=t)}},created:function(){this.isAll&&this.optionsList.unshift({label:Object(n["b"])("components.complaint.faqType.all"),value:0}),this.workType=this.value},methods:{handleChange:function(t){this.$emit("update:value",t),this.$emit("change",t)}}},s=r,l=a("2877"),u=Object(l["a"])(s,i,o,!1,null,null,null);e["default"]=u.exports},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=[],n=a("5530"),r=(a("d3b7"),a("3ca3"),a("ddb0"),a("d81d"),a("a15b"),a("7db0"),a("a026")),s=a("1b6c"),l=a("b775"),u={brandGet:"/bigcommerce/brands",shopCat:"/bigcommerce/categories",goodAdd:"/bigcommerce/products/adding",goodList:"/bigcommerce/products/listing"};function c(t){return Object(l["b"])({url:u.brandGet,method:"get",params:t})}function d(t){return Object(l["b"])({url:u.shopCat,method:"get",params:t})}function p(t){return Object(l["b"])({url:u.goodAdd,method:"post",data:t})}var m=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),f=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"1605"))})),g=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"68dd"))})),h=Object(r["b"])((function(){return Promise.resolve().then(a.bind(null,"5ac8"))})),b={name:"bigcommerceGoods",data:function(){return{open:!1,modalTitle:"",formData:{},channelList:[{name:Object(s["b"])("components.googleGoods.channel.local"),value:"local"},{name:Object(s["b"])("components.googleGoods.channel.online"),value:"online"}],rules:{},brandQuery:{page:1,limit:10},shopCatQuery:{page:1,limit:10},brandList:[],shopCatList:[],stockColumns:[{title:Object(s["b"])("components.bigcommerce.skulist.image"),dataIndex:"image",scopedSlots:{customRender:"image"}},{title:Object(s["b"])("components.bigcommerce.skulist.option_values"),dataIndex:"option_values",scopedSlots:{customRender:"option_values"}},{title:Object(s["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;c(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:f,ViewSelect:g,VDitor:h}},_=Object(n["a"])({},b),v=_,k=a("2877"),y=Object(k["a"])(v,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=[],n=(a("d81d"),a("a159")),r=a("4da9"),s=a("bad6"),l=a("5d9e"),u={name:"Job",components:{CreateForm:r["default"],ViewForm:s["default"],AdvanceTable:l["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(n["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(n["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(n["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(n["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(n["d"])(t.queryParam).then((function(e){t.download(e.msg),t.$message.success("导出成功",3)}))},onCancel:function(){}})}}},c=u,d=a("2877"),p=Object(d["a"])(c,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=[],n=a("a159"),r={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(n["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(n["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(n["h"])(t.form).then((function(e){t.$message.success("修改成功",3),t.open=!1,t.$emit("ok")})):Object(n["a"])(t.form).then((function(e){t.$message.success("新增成功",3),t.open=!1,t.$emit("ok")}))}))}}},s=r,l=a("2877"),u=Object(l["a"])(s,i,o,!1,null,null,null);e["default"]=u.exports},"5f19":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("span",[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("view.item.list.good_id")))]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("view.item.list.itemImage")))]),e("a-col",{attrs:{lg:12}},[t._v(t._s(t.$t("view.item.list.itemTitle")))])],1),e("div",{staticStyle:{"margin-top":"2px",border:"1px solid #ccc",padding:"5px"}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:3}},[t._v(t._s(t.goodInfo.good_id))]),e("a-col",{attrs:{lg:3}},[t.getGoodInfo()?e("div",[e("img",{staticStyle:{width:"80px",height:"80px"},attrs:{src:t.goodInfo.image_url}})]):t._e()]),e("a-col",{staticStyle:{"line-height":"40px"},attrs:{lg:12}},[t.getGoodInfo()?e("div",[t._v(t._s(t.goodInfo.title))]):t._e()])],1)],1)],1)},o=[],n=(a("7db0"),a("d3b7"),{name:"GoodsIdOne",props:{goodsList:{type:Array,default:function(){return[]}},goodsId:{type:String,default:""}},computed:{goodInfo:function(){var t,e=this;return null===(t=this.goodsList)||void 0===t?void 0:t.find((function(t){return t.good_id+""===e.goodsId+""}))}},methods:{getGoodInfo:function(){var t,e=this;return null===(t=this.goodsList)||void 0===t?void 0:t.find((function(t){return t.good_id+""===e.goodsId+""}))}}}),r=n,s=a("2877"),l=Object(s["a"])(r,i,o,!1,null,null,null);e["default"]=l.exports},"6d36":function(t,e,a){"use strict";a("d8ff")},"78f8":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{display:"inline-block"}},t._l(t.list,(function(a,i){return e("span",{key:a},[t._v(t._s(t.$t(a))+" "),i>0&&i!=t.list.length-1?e("span",[t._v(",")]):t._e()])})),0)},o=[],n={name:"FanYiList",props:{list:{type:Array,default:function(){return[]}}}},r=n,s=a("2877"),l=Object(s["a"])(r,i,o,!1,null,null,null);e["default"]=l.exports},"7b2c":function(t,e,a){"use strict";a.r(e);a("99af"),a("b0c0");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",{ref:"search",staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{labelCol:{span:6},wrapperCol:{span:18}}},[e("a-row",{attrs:{gutter:0}},[e("a-col",{attrs:{md:6,sm:24,lg:8}},[e("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:t.$t("table.mall_warehouse")}},[e("ware-house-select",{staticStyle:{width:"200px"},attrs:{isAll:"",wareHouseId:t.queryParam.warehouse_id},on:{change:t.changewarehouse}})],1)],1),e("a-col",{attrs:{md:6,sm:24,lg:8}},[e("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:t.$t("view.item.sku.out_id")}},[e("a-input",{attrs:{placeholder:t.$t("view.item.sku.out_id"),"allow-clear":""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleQuery.apply(null,arguments)}},model:{value:t.queryParam.out_id,callback:function(e){t.$set(t.queryParam,"out_id",e)},expression:"queryParam.out_id"}})],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(t._s(t.$t("view.test.list.query.btn"))+" ")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v(t._s(t.$t("view.test.list.reset.btn"))+" ")],1),e("a-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary"},on:{click:t.handleGoWareHouse}},[e("a-icon",{attrs:{type:"search"}}),t._v(t._s(t.$t("app.menus.left.item.warehouselist"))+" ")],1),e("ExcelData",{attrs:{tableData:t.List,page:t.queryParam.page,pageSize:t.queryParam.limit,total:t.total,loadData:t.nextPageChange,fileName:t.$t("table.mall_warehouse_stock")}})],1)])],1)],1)],1)]),e("a-card",{attrs:{bordered:!1}},[e("stockAdd",{ref:"stockAdd",on:{ok:t.stockUpdateBack}}),e("wareHouseStockLogs",{ref:"wareHouseLogs"}),e("a-table",{ref:"kucunTable",attrs:{size:"middle",loading:t.loading,columns:t.clounms,"data-source":t.List,rowKey:function(t){return"".concat(t.warehouse_id,"_").concat(t.out_id)},defaultExpandAllRows:!0,expandedRowKeys:t.expKeys,pagination:{current:t.queryParam.page,pageSize:t.queryParam.limit,total:t.total,showSizeChanger:!1,showLessItems:!1,showQuickJumper:!1,showTotal:function(e,a){return t.$t("view.warehouse.list.table.total",{num:a[0]+"-"+a[1],total:e})},pageSizeOptions:["5","10","20","50","100"],onChange:t.nextPageChange}},on:{expand:t.tableExpandChange},scopedSlots:t._u([{key:"expandedRowRender",fn:function(t){return[e("div",[e("outItem",{attrs:{outId:t.out_id}})],1)]}},{key:"out_id",fn:function(a,i){return e("span",{},[i&&i.warehouse?e("a",{staticStyle:{color:"#2f54eb"},on:{click:function(e){return t.handleStockAdd(i)}}},[t._v(" "+t._s(i.out_id)+" ")]):t._e()])}},{key:"title",fn:function(a,i){return e("span",{},[i?e("div",[e("div",[t._v(" "+t._s(i.title)+" "),e("stockNameUpdate",{attrs:{wareHouseId:i.warehouse_id,outId:i.out_id,title:i.title},on:{ok:function(e){return t.getList()}}})],1)]):t._e()])}},{key:"warehouse_name",fn:function(a,i){return e("span",{},[i&&i.warehouse?e("div",[t._v(" "+t._s(i.warehouse.name)+" ")]):t._e()])}},{key:"stock_quantity",fn:function(a,i){return e("span",{},[i&&i.warehouse?e("a",{staticStyle:{color:"#2f54eb"},on:{click:function(e){return t.handleStockAdd(i)}}},[t._v(" "+t._s(i.stock_quantity)+" ")]):t._e()])}},{key:"operation",fn:function(a,i){return[e("a",{staticStyle:{color:"#2f54eb"},on:{click:function(e){return t.handleStockLogsList(i)}}},[t._v(t._s(t.$t("view.item.skulist.stocklogs.model.title")))])]}}])})],1)],1)},o=[],n=a("5530"),r=a("2836"),s=Object(n["a"])({},r["default"]),l=s,u=a("2877"),c=Object(u["a"])(l,i,o,!1,null,null,null);e["default"]=c.exports},8220:function(t,e,a){"use strict";a.r(e);var i,o,n={template:'\n <svg t="1598838771152" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2725" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M511.573333 85.333333C276.053333 85.333333 85.333333 276.48 85.333333 512s190.72 426.666667 426.24 426.666667C747.52 938.666667 938.666667 747.52 938.666667 512S747.52 85.333333 511.573333 85.333333zM693.333333 689.066667 469.333333 554.666667 469.333333 298.666667l64 0 0 224 192 113.92L693.333333 689.066667z" p-id="2726"></path></svg>'},r={name:"MtimeIcon",template:'\n <a-icon :component="MtimeSvg" />\n ',data:function(){return{MtimeSvg:n}}},s=r,l=a("2877"),u=Object(l["a"])(s,i,o,!1,null,null,null);e["default"]=u.exports},"8aac":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("tiktokGlobalCategory",{ref:"globalCat",refInFor:!0,attrs:{catList:t.tiktokGlobalCategoryList[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)},backGlobalCategory:function(e){return t.backGlobalCategory(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},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"):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.global_quantity?e("a-input-number",{model:{value:i.global_quantity,callback:function(e){t.$set(i,"global_quantity",e)},expression:"record.global_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[i.inventory&&i.inventory.length?e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("div",{staticStyle:{flex:"1"}},[e("a-select",{staticStyle:{width:"100%"},model:{value:i.inventory[0].global_warehouse_id,callback:function(e){t.$set(i.inventory[0],"global_warehouse_id",e)},expression:"record.inventory[0].global_warehouse_id"}},t._l(t.global_ware_house_list,(function(a){return e("a-select-option",{key:a.id,attrs:{value:a.id}},[t._v(" "+t._s(a.name)+" ")])})),1)],1),e("div",[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.tiktokGlobalItemWarehouse}},[e("a-icon",{staticStyle:{"padding-right":"0"},attrs:{type:"sync"}})],1)],2)],1)]):t._e()]}},{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("tiktokGlobalCategory",{ref:"globalCat",attrs:{catList:t.catList},on:{backGlobalCategory:function(e){return t.backPlGlobalCategory(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(),"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",[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.piliang_warehouse_stock")}},[e("a-input",{staticStyle:{width:"100px"},attrs:{type:"number",min:"1"},on:{change:t.inputPiliangStock}})],1)],1)],1):t._e()])],2)],1)],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("div",{staticStyle:{float:"left"}}),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=[],n=a("5530"),r=(a("3ca3"),a("d81d"),a("25f0"),a("b680"),a("4de4"),a("fb6a"),a("c740"),a("159b"),a("2f62")),s=a("a026"),l=a("296e"),u=a("b70c"),c=a("cec7"),d=a("2e136"),p=Object(s["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),m=Object(s["b"])((function(){return a.e("lang-zh-TW-service~f63b1681").then(a.bind(null,"16f2"))})),f=Object(s["b"])((function(){return a.e("chunk-c738d938").then(a.bind(null,"12b1"))})),g=Object(s["b"])((function(){return a.e("chunk-4b8d1c9d").then(a.bind(null,"5f19"))})),h={name:"kandengList",props:{goodsIds:{type:Array,default:function(){return[]}}},computed:Object(n["a"])({},Object(r["c"])({shop_id:"shopId"})),components:{AntModal:p,goodsIdList:m,leftTabItem:f,kandengGoodsOne:g,dyVditor:c["default"],tiktokGlobalCategory:u["a"],tiktokAttachUpload:d["a"]},data:function(){return{formEditKey:"",columns:[{title:this.$t("components.dyProduct.dyProduct.sku.code"),dataIndex:"id",width:"30%",scopedSlots:{customRender:"id"}},{title:this.$t("view.item.sku.skuname"),dataIndex:"sales_attributes",width:"40%",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"}}],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:2,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:[],global_ware_house_list:[],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.tiktokGlobalItemWarehouse(),this.getPlGlobalCategory(),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.product_attributes={},this.attributesList={},this.pinPaiList={},this.tiktokGlobalCategoryList=[],this.tiktokGlobalPartnerCategoryList=[],this.global_ware_house_list=[],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(l["h"])(i).then((function(i){return 0===i.code&&(delete i.code,delete i.message,a.tiktokProductList[t.good_id]=i,i.category_id&&(e.tiktokGlobalItemAttribute(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=[]),"CROSS_BORDER"!==e.tiktokShopSellerType?e.getGlobalTuiJianCat(t.good_id):e.getGlobalCategory(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 n=[];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),n.push(t))})),a.product_attributes=n}));var a={shop_cipher:this.tiktokShop.cipher,body:this.tiktokProductList,tiktok_good_type:this.tiktokProductType};Object(l["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"))}))},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(-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])})),this.$set(this,"product_attributes",Object.assign({},this.product_attributes))},searchPinPai:function(t,e){this.getPinPai(t,e)},getPinPai:function(t,e){var a=this,i=this,o={shop_cipher:i.tiktokShop.cipher};t&&(o.brand_name=t),Object(l["u"])(o).then((function(t){0===t.code&&(a.pinPaiList[e]=t.data.brands,a.brandList=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(l["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))},getGlobalTuiJianCat:function(t){var e=this,a=this,i={body:{product_title:a.tiktokProductList[t].title},shop_cipher:a.tiktokShop.cipher};Object(l["l"])(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}}))},getGlobalCategory:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher};a.tiktokGlobalLocate&&(i.locale=a.tiktokGlobalLocate),Object(l["j"])(i).then((function(a){0===a.code&&(e.tiktokProductGlobalCatgoryShow=!0,e.tiktokGlobalCategory(a.data.categories,t))}))},getPlGlobalCategory:function(){var t=this,e={shop_cipher:t.tiktokShop.cipher};t.tiktokGlobalLocate&&(e.locale=t.tiktokGlobalLocate),Object(l["j"])(e).then((function(e){0===e.code&&(t.catList=e.data.categories)}))},tiktokGlobalCategory:function(t,e){this.tiktokGlobalCategoryList[e]=t,this.tiktokGlobalPartnerCategoryList[e]=this.tiktokGlobalCategoryList[e].filter((function(t){return"0"===t.parent_id})),this.$set(this,"tiktokGlobalCategoryList",Object.assign({},this.tiktokGlobalCategoryList))},backGlobalCategory:function(t,e){this.tiktokProductList[e].category_id=t,this.changeGlobalCategory(e)},backPlGlobalCategory:function(t){var e=this;this._.map(this.tiktokProductList,(function(a,i){e.tiktokProductList[i].category_id=t})),this.changePlGlobalCategory(t)},changeGlobalCategory:function(t){this.tiktokGlobalCategoryRule(t),this.getPinPai("",t),this.tiktokGlobalItemAttribute(t)},changePlGlobalCategory:function(t){this.tiktokPlGlobalCategoryRule(t),this.getPlPinPai(""),this.tiktokPlGlobalItemAttribute(t)},tiktokGlobalCategoryRule:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher,category_id:a.tiktokProductList[t].category_id};Object(l["i"])(i).then((function(i){var o,n,r,s,l,u;null!==i&&void 0!==i&&null!==(o=i.data)&&void 0!==o&&null!==(n=o.product_certifications)&&void 0!==n&&n.length&&(a.tiktokRule.product_certifications=i.data.product_certifications,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!==(r=i.data)&&void 0!==r&&null!==(s=r.size_chart)&&void 0!==s&&s.is_required&&null!==i&&void 0!==i&&null!==(l=i.data)&&void 0!==l&&null!==(u=l.size_chart)&&void 0!==u&&u.is_supported&&(a.tiktokRule.size_chart=i.data.size_chart,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))}))},tiktokPlGlobalCategoryRule:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher,category_id:t};Object(l["i"])(i).then((function(t){var i,o,n,r,s,l;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!==(n=t.data)&&void 0!==n&&null!==(r=n.size_chart)&&void 0!==r&&r.is_required&&null!==t&&void 0!==t&&null!==(s=t.data)&&void 0!==s&&null!==(l=s.size_chart)&&void 0!==l&&l.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))}))},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))},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)))},tiktokGlobalItemAttribute:function(t){var e=this,a=this,i={shop_cipher:a.tiktokShop.cipher,category_id:a.tiktokProductList[t].category_id};Object(l["k"])(i).then((function(a){0===a.code&&(e.attributeList=a.data.attributes,e.attributesList[t]=a.data.attributes,e.NewAttributesList(t))}))},tiktokPlGlobalItemAttribute:function(t){var e=this,a={shop_cipher:e.tiktokShop.cipher,category_id:t};Object(l["k"])(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)})))}))},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))},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))},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))},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))},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,n){var r;i.product_attributes[n][a].values[0].id=t,i.product_attributes[n][a].values[0].value=null===(r=e.data.attrs)||void 0===r?void 0:r.text})),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&&(e.inventory[0].global_warehouse_id=t)}))}))},inputPiliangStock:function(t){var e=t.target.value;e>0&&this._.map(this.tiktokProductList,(function(t,a){t.skus.forEach((function(t){t.global_quantity&&(t.global_quantity=e)}))}))},tiktokGlobalItemWarehouse:function(){var t=this,e={shop_cipher:this.tiktokShop.cipher};Object(l["o"])(e).then((function(e){0===e.code&&(t.global_ware_house_list=e.data.global_warehouses)}))},resetQuery:function(t,e,a){this.tiktokProductList[a].certifications.forEach((function(a){a.id===e&&(a.images=[{uri:t.img_id}])}))},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(l["a"])(a).then((function(e){t.btnLoading=!1})).catch((function(){t.btnLoading=!1}))}}},b=Object(n["a"])({},h),_=b,v=a("2877"),k=Object(v["a"])(_,i,o,!1,null,null,null);e["default"]=k.exports},"9fc6":function(t,e,a){"use strict";a.r(e);var i=a("5530"),o=(a("7db0"),a("d3b7"),a("b0c0"),a("b775")),n={List:"/wandertemplate/list",Add:"/wandertemplate/add",Edit:"/wandertemplate/edit",Del:"/wandertemplate/del"};function r(t){return Object(o["b"])({url:n.List,method:"post",data:t})}function s(t){return Object(o["b"])({url:n.Add,method:"post",data:t})}function l(t){return Object(o["b"])({url:n.Edit,method:"post",data:t})}var u=a("5d9e"),c=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:u["default"]},computed:Object(i["a"])({},Object(c["c"])(["shopId"])),created:function(){this.getList()},methods:{getList:function(){var t=this;r().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,l(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,s(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),r(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 n})),a.d(e,"a",(function(){return r})),a.d(e,"h",(function(){return s})),a.d(e,"c",(function(){return l})),a.d(e,"d",(function(){return u})),a.d(e,"b",(function(){return c})),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 n(t){return Object(i["b"])({url:"/monitor/job/"+t,method:"get"})}function r(t){return Object(i["b"])({url:"/monitor/job",method:"post",data:t})}function s(t){return Object(i["b"])({url:"/monitor/job",method:"put",data:t})}function l(t){return Object(i["b"])({url:"/monitor/job/"+t,method:"delete"})}function u(t){return Object(i["b"])({url:"/monitor/job/export",method:"get",params:t})}function c(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})}},b129:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("span",[e("a-tooltip",[e("template",{slot:"title"},[t._v(" "+t._s(t.tooltipText)+" ")]),e("a-icon",{style:{fontSize:"14px"},attrs:{type:"copy"},on:{click:t.copy}})],2)],1)},o=[],n=a("ca00"),r=a("1b6c"),s={name:"CopyText",props:{text:{type:String,default:""},tooltipText:{type:String,default:Object(r["b"])("components.copyText.copy")}},methods:{copy:function(){Object(n["b"])(this.text)}}},l=s,u=a("2877"),c=Object(u["a"])(l,i,o,!1,null,null,null);e["default"]=c.exports},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=[],n=a("a159"),r={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(n["e"])(t.jobId).then((function(t){e.form=t.data,e.openView=!0}))},onCloseView:function(){this.openView=!1}}},s=r,l=a("2877"),u=Object(l["a"])(s,i,o,!1,null,null,null);e["default"]=u.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=[],n=a("5530"),r=a("9fc6"),s=Object(n["a"])({},r["default"]),l=s,u=a("2877"),c=Object(u["a"])(l,i,o,!1,null,null,null);e["default"]=c.exports},cc89:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("div")},o=[],n={name:"Exception404",methods:{toHome:function(){this.$router.push({path:"/"})}}},r=n,s=a("2877"),l=Object(s["a"])(r,i,o,!1,null,null,null);e["default"]=l.exports},d58fb:function(t,e,a){"use strict";a.r(e);a("d3b7"),a("ddb0");var i=function(){var t=this,e=t._self._c;return e("span",[t.rakutenItemOpen?e("AntModal",{attrs:{visible:t.rakutenItemOpen,"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",[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.initRakuten}})],1),e("a-row",{staticStyle:{"margin-top":"1rem"},attrs:{type:"flex"}},[e("a-col",[e("leftTabItem",{on:{change:t.changeLeftTab}})],1),e("a-col",{attrs:{flex:"1"}},t._l(t.rakutenGoodInfoList,(function(a,i){return e("div",{key:i,staticStyle:{"padding-bottom":"2rem"}},[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:12}},[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:"512px"},model:{value:a.title,callback:function(e){t.$set(a,"title",e)},expression:"rakutenGoodInfo.title"}})],1)],1)],1)],1):t._e(),"category"===t.formEditKey?e("div",[e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{lg:24}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.genreId"),required:""}},[t._v(" 6 digits:100000 ~ 999999"),e("br"),t.rakutenGenereList[i]&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId1[i]},on:{change:function(e){t.selectGenre(e,0,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i]&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList1.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId2[i]},on:{change:function(e){t.selectGenre(e,1,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList1,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i].rakutenGenere&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList2.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId3[i]},on:{change:function(e){t.selectGenre(e,2,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList2,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i].rakutenGenere&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList3.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId4[i]},on:{change:function(e){t.selectGenre(e,3,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList3,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i].rakutenGenere&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList4.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId5[i]},on:{change:function(e){t.selectGenre(e,4,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList4,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),t.rakutenGenereList[i].rakutenGenere&&t.rakutenGenereList[i].rakutenGenere.rakutenGenereList5.length?e("a-select",{staticStyle:{width:"180px"},attrs:{defaultValue:t.genereId6[i]},on:{change:function(e){t.selectGenre(e,5,i)}}},t._l(t.rakutenGenereList[i].rakutenGenere.rakutenGenereList5,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.genre_id}},[t._v(t._s(a.genre_name))])})),1):t._e(),e("br"),e("a-input",{staticStyle:{width:"100px"},attrs:{max:"999999",min:"100000",disabled:!0},model:{value:a.genreId,callback:function(e){t.$set(a,"genreId",e)},expression:"rakutenGoodInfo.genreId"}})],1)],1)],1)],1):t._e(),"itemInfo"===t.formEditKey?e("div",[e("a-row",[e("a-col",{attrs:{lg:6}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.itemType"),required:""}},[e("a-select",{staticStyle:{width:"200px"},model:{value:a.itemType,callback:function(e){t.$set(a,"itemType",e)},expression:"rakutenGoodInfo.itemType"}},[e("a-select-option",{attrs:{value:"NORMAL"}},[t._v(t._s(t.$t("components.rakuten.product.itemType.normal")))]),e("a-select-option",{attrs:{value:"PRE_ORDER"}},[t._v(t._s(t.$t("components.rakuten.product.itemType.preOrder")))]),e("a-select-option",{attrs:{value:"SUBSCRIPTION"}},[t._v(t._s(t.$t("components.rakuten.product.itemType.subscription")))])],1)],1)],1),"PRE_ORDER"===a.itemType?e("a-col",{attrs:{lg:12,span:24}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.releaseDate")}},[e("a-date-picker",{attrs:{"show-time":""},on:{change:function(e,a){return t.onChangeReleaseDate(e,a,i)}},model:{value:a.releaseDate,callback:function(e){t.$set(a,"releaseDate",e)},expression:"rakutenGoodInfo.releaseDate"}})],1)],1):t._e(),"SUBSCRIPTION"===a.itemType?e("a-col",{attrs:{lg:12,span:24}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.subscription")}},[t._v(" "+t._s(t.$t("components.rakuten.product.subscription.shippingDateFlag"))+" : "),e("a-radio-group",{model:{value:a.subscription.shippingDateFlag,callback:function(e){t.$set(a.subscription,"shippingDateFlag",e)},expression:"rakutenGoodInfo.subscription.shippingDateFlag"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1),t._v(" "+t._s(t.$t("components.rakuten.product.subscription.shippingIntervalFlag"))+" : "),e("a-radio-group",{model:{value:a.subscription.shippingIntervalFlag,callback:function(e){t.$set(a.subscription,"shippingIntervalFlag",e)},expression:"rakutenGoodInfo.subscription.shippingIntervalFlag"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1):t._e()],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.images,(function(a,i){return e("a-col",{key:i,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:a.location}})]),e("div",{staticStyle:{height:"20px",width:"98px"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{disabled:!0},model:{value:a.type,callback:function(e){t.$set(a,"type",e)},expression:"main_image.type"}},[e("a-select-option",{attrs:{value:"CABINET"}},[t._v("CABINET")]),e("a-select-option",{attrs:{value:"GOLD"}},[t._v("GOLD")])],1)],1),e("span",{staticClass:"ant-upload-list-item-actions"},[e("a-icon",{staticStyle:{color:"#fff","margin-left":"5px"},attrs:{type:"eye",title:t.$t("view.item.preview")},on:{click:function(e){return t.handlePreview(a.location)}}})],1)])])])})),1)],1):t._e(),"sku"===t.formEditKey?e("div",[e("a-row",[e("a-col",{attrs:{lg:24}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:2}},[t._v("OutId")]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("view.item.sku.sku.image")))]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("components.rakuten.product.attributes")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("components.rakuten.product.restockOnCancel")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("components.rakuten.product.backOrderFlag")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("components.rakuten.product.orderQuantityLimit")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("view.item.sku.stock_num")))]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("components.rakuten.product.standardPrice")))]),e("a-col",{attrs:{lg:2}},[t._v(t._s(t.$t("components.rakuten.product.shippingFee")))]),e("a-col",{attrs:{lg:3}},[t._v(t._s(t.$t("components.dyProduct.dyProduct.attributes")))])],1),t._l(a.variants,(function(o,n){return e("div",{key:n,staticStyle:{"margin-top":"2px",border:"1px solid #ccc",padding:"5px"}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:2}},[t._v(t._s(n))]),e("a-col",{attrs:{lg:3}},[e("img",{staticStyle:{width:"80px",height:"80px"},attrs:{src:o.images[0].location}}),e("br"),e("a-select",{attrs:{disabled:!0},model:{value:o.images[0].type,callback:function(e){t.$set(o.images[0],"type",e)},expression:"variant.images[0].type"}},[e("a-select-option",{attrs:{value:"CABINET"}},[t._v("CABINET")]),e("a-select-option",{attrs:{value:"GOLD"}},[t._v("GOLD")])],1)],1),e("a-col",{staticStyle:{height:"80px"},attrs:{lg:3}},[a&&o?e("div",{staticStyle:{display:"flex",height:"auto","flex-direction":"column","justify-content":"center"}},[e("span",[t._v(t._s(t.skuAttribute(a.variantSelectors,o.selectorValues)))])]):t._e()]),e("a-col",{staticStyle:{height:"80px"},attrs:{lg:2}},[e("div",{staticStyle:{display:"flex",height:"100%","flex-direction":"column","justify-content":"center"}},[e("a-radio-group",{model:{value:o.restockOnCancel,callback:function(e){t.$set(o,"restockOnCancel",e)},expression:"variant.restockOnCancel"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)]),e("a-col",{staticStyle:{height:"80px"},attrs:{lg:2}},[e("div",{staticStyle:{display:"flex",height:"100%","flex-direction":"column","justify-content":"center"}},[e("a-radio-group",{model:{value:o.backOrderFlag,callback:function(e){t.$set(o,"backOrderFlag",e)},expression:"variant.backOrderFlag"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)]),e("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:2}},[e("a-input-number",{staticStyle:{width:"70px"},model:{value:o.orderQuantityLimit,callback:function(e){t.$set(o,"orderQuantityLimit",e)},expression:"variant.orderQuantityLimit"}})],1),e("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:2}},[e("a-input-number",{staticStyle:{width:"70px"},model:{value:o.quantity,callback:function(e){t.$set(o,"quantity",e)},expression:"variant.quantity"}})],1),e("a-col",{staticStyle:{"line-height":"80px"},attrs:{lg:3}},[e("a-input",{staticStyle:{width:"100px"},model:{value:o.standardPrice,callback:function(e){t.$set(o,"standardPrice",e)},expression:"variant.standardPrice"}})],1),e("a-col",{staticStyle:{height:"80px"},attrs:{lg:2}},[e("div",{staticStyle:{display:"flex",height:"100%","flex-direction":"column","justify-content":"center"}},[e("a-input",{model:{value:o.shipping.fee,callback:function(e){t.$set(o.shipping,"fee",e)},expression:"variant.shipping.fee"}})],1)]),e("a-col",{attrs:{lg:3}},[t.rakutenAttributesList&&t.rakutenAttributesList[i]&&t.rakutenAttributesList[i].genre&&t.rakutenAttributesList[i].genre.attributes&&o.attributes?e("div",t._l(t.rakutenAttributesList[i].genre.attributes,(function(a,r){var s;return e("a-row",{key:r},[a.properties.rmsMandatoryFlg&&null!==(s=o.attributes[r])&&void 0!==s&&s.values?e("span",[a.dictionaryValues?e("a-select",{staticStyle:{width:"100%"},attrs:{"show-search":"",mode:"tags","token-separators":[","],placeholder:a.nameJa},on:{change:function(e){return t.setAttributeName(n,r,a.nameJa,i)},popupScroll:function(e){return t.handleScroll(e,r,i)},blur:function(e){return t.handleSelectNumber(e,r,i)}},model:{value:o.attributes[r].values,callback:function(e){t.$set(o.attributes[r],"values",e)},expression:"variant.attributes[aIndex].values"}},[t._l(a.dictionaryValues,(function(i,o){return[a.showSize>o?e("a-select-option",{key:o,attrs:{value:i.nameJa}},[t._v(t._s(i.nameJa)+" ")]):t._e()]}))],2):t._e(),a.dictionaryValues?t._e():e("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(e){return t.setAttributeName(n,r,a.nameJa,i)}},model:{value:o.attributes[r].values[0],callback:function(e){t.$set(o.attributes[r].values,0,e)},expression:"variant.attributes[aIndex].values[0]"}})],1):t._e()])})),1):t._e()])],1)],1)}))],2)],1)],1):t._e(),"description"===t.formEditKey?e("div",[e("a-row",[e("a-col",{staticStyle:{"margin-top":"10px"},attrs:{lg:24}},[e("v-ditor",{ref:"ComDitor"+i,refInFor:!0,attrs:{id:i,good_id:i,value:a.salesDescription,updateStatus:t.aiTsUpdate},on:{"update:value":function(e){return t.$set(a,"salesDescription",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",[e("a-row",{attrs:{gutter:12}},[e("a-col",{attrs:{lg:24}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.purchasablePeriod")}},[e("a-range-picker",{staticStyle:{width:"420px"},attrs:{format:"YYYY-MM-DDTHH:mm:ssZ",placeholder:["Start Time","End Time"]},on:{change:function(e,a){return t.onChangePurchasablePeriod(e,a,i)}}})],1),e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.pointCampaign")}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:11}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.pointCampaign.applicablePeriod")}},[e("a-range-picker",{staticStyle:{width:"420px"},attrs:{format:"YYYY-MM-DDTHH:mm:ssZ",placeholder:["Start Time","End Time"]},on:{change:function(e,a){return t.onChangeApplicablePeriod(e,a,i)}}})],1)],1),e("a-col",{attrs:{lg:3}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.pointCampaign.benefits")}},[e("a-input-number",{model:{value:a.pointCampaign.benefits.pointRate,callback:function(e){t.$set(a.pointCampaign.benefits,"pointRate",e)},expression:"rakutenGoodInfo.pointCampaign.benefits.pointRate"}})],1)],1),e("a-col",{attrs:{lg:3}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.pointCampaign.optimization.maxPointRate")}},[e("a-input-number",{model:{value:a.pointCampaign.optimization.maxPointRate,callback:function(e){t.$set(a.pointCampaign.optimization,"maxPointRate",e)},expression:"rakutenGoodInfo.pointCampaign.optimization.maxPointRate"}})],1)],1)],1)],1),e("a-row",{attrs:{type:"flex",gutter:24}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.hideItem")}},[e("a-radio-group",{model:{value:a.hideItem,callback:function(e){t.$set(a,"hideItem",e)},expression:"rakutenGoodInfo.hideItem"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.unlimitedInventoryFlag")}},[e("a-radio-group",{model:{value:a.unlimitedInventoryFlag,callback:function(e){t.$set(a,"unlimitedInventoryFlag",e)},expression:"rakutenGoodInfo.unlimitedInventoryFlag"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1)],1),e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.features")}},[e("a-row",{attrs:{gutter:24}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.displayNormalCartButton")}},[e("a-radio-group",{model:{value:a.features.displayNormalCartButton,callback:function(e){t.$set(a.features,"displayNormalCartButton",e)},expression:"rakutenGoodInfo.features.displayNormalCartButton"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.displaySubscriptionCartButton")}},[e("a-radio-group",{model:{value:a.features.displaySubscriptionCartButton,callback:function(e){t.$set(a.features,"displaySubscriptionCartButton",e)},expression:"rakutenGoodInfo.features.displaySubscriptionCartButton"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.shopContact")}},[e("a-radio-group",{model:{value:a.features.shopContact,callback:function(e){t.$set(a.features,"shopContact",e)},expression:"rakutenGoodInfo.features.shopContact"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),a.features.displaySubscriptionCartButton?t._e():e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.displayManufacturerContents")}},[e("a-radio-group",{model:{value:a.features.displayManufacturerContents,callback:function(e){t.$set(a.features,"displayManufacturerContents",e)},expression:"rakutenGoodInfo.features.displayManufacturerContents"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1)],1),e("a-row",{staticStyle:{"margin-top":"10px"},attrs:{gutter:24}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.searchVisibility")}},[e("a-select",{model:{value:a.features.searchVisibility,callback:function(e){t.$set(a.features,"searchVisibility",e)},expression:"rakutenGoodInfo.features.searchVisibility"}},[e("a-select-option",{attrs:{value:"ALWAYS_VISIBLE"}},[t._v(t._s(t.$t("components.rakuten.product.searchVisibility.on")))]),e("a-select-option",{attrs:{value:"ALWAYS_HIDDEN"}},[t._v(t._s(t.$t("components.rakuten.product.searchVisibility.off")))])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.review")}},[e("a-select",{model:{value:a.features.review,callback:function(e){t.$set(a.features,"review",e)},expression:"rakutenGoodInfo.features.review"}},[e("a-select-option",{attrs:{value:"SHOP_SETTING"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.shopSetting")))]),e("a-select-option",{attrs:{value:"VISIBLE"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.displayAbsoluteStockCount")))]),e("a-select-option",{attrs:{value:"HIDDEN"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.hiddenStock")))])],1)],1)],1),e("a-col",{attrs:{lg:8}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.inventoryDisplay")}},[e("a-select",{model:{value:a.features.inventoryDisplay,callback:function(e){t.$set(a.features,"inventoryDisplay",e)},expression:"rakutenGoodInfo.features.inventoryDisplay"}},[e("a-select-option",{attrs:{value:"DISPLAY_ABSOLUTE_STOCK_COUNT"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.displayAbsoluteStockCount")))]),e("a-select-option",{attrs:{value:"HIDDEN_STOCK"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.hiddenStock")))]),e("a-select-option",{attrs:{value:"DISPLAY_LOW_STOCK"}},[t._v(t._s(t.$t("components.rakuten.product.inventoryDisplay.displayLowStock")))])],1)],1)],1),"DISPLAY_LOW_STOCK"===a.features.inventoryDisplay?e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.lowStockThreshold")}},[e("a-input-number",{attrs:{max:20,min:1},model:{value:a.features.lowStockThreshold,callback:function(e){t.$set(a.features,"lowStockThreshold",e)},expression:"rakutenGoodInfo.features.lowStockThreshold"}})],1)],1):t._e()],1)],1),e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.payment")}},[e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.payment.taxIncluded")}},[e("a-radio-group",{model:{value:a.payment.taxIncluded,callback:function(e){t.$set(a.payment,"taxIncluded",e)},expression:"rakutenGoodInfo.payment.taxIncluded"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.payment.taxRate")}},[e("a-select",{staticStyle:{width:"115px"},model:{value:a.payment.taxRate,callback:function(e){t.$set(a.payment,"taxRate",e)},expression:"rakutenGoodInfo.payment.taxRate"}},[e("a-select-option",{attrs:{value:"0"}},[t._v(t._s(t.$t("components.rakuten.product.payment.taxRate.0")))]),e("a-select-option",{attrs:{value:"0.08"}},[t._v("8%")]),e("a-select-option",{attrs:{value:"0.1"}},[t._v("10%")]),e("a-select-option",{attrs:{value:""}},[t._v(t._s(t.$t("components.rakuten.product.payment.taxRate.null")))])],1)],1)],1),e("a-col",{attrs:{lg:4}},[e("a-form-model-item",{attrs:{label:t.$t("components.rakuten.product.payment.cashOnDeliveryFeeIncluded")}},[e("a-radio-group",{model:{value:a.payment.cashOnDeliveryFeeIncluded,callback:function(e){t.$set(a.payment,"cashOnDeliveryFeeIncluded",e)},expression:"rakutenGoodInfo.payment.cashOnDeliveryFeeIncluded"}},[e("a-radio",{attrs:{value:!0}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_true"))+" ")]),e("a-radio",{attrs:{value:!1}},[t._v(" "+t._s(t.$t("view.item.component.item.syn.giga_sandbox_false"))+" ")])],1)],1)],1)],1)],1)],1)],1):t._e()])})),0)],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.saveRakuten}},[t._v(t._s(t.$t("components.imagetext.translation.confirm.ok")))]),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=[],n=a("5530"),r=a("c7eb"),s=a("3835"),l=a("b85c"),u=a("1da1"),c=(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(c["b"])((function(){return Promise.resolve().then(a.bind(null,"2dd7"))})),f=Object(c["b"])((function(){return a.e("lang-zh-TW-service~f63b1681").then(a.bind(null,"16f2"))})),g=Object(c["b"])((function(){return a.e("chunk-c738d938").then(a.bind(null,"12b1"))})),h=Object(c["b"])((function(){return Promise.resolve().then(a.bind(null,"5ac8"))})),b=Object(c["b"])((function(){return a.e("chunk-4b8d1c9d").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(t){this.formEditKey=t},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(t){t&&(this.rakutenShop=t,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(t){var e=this;Promise.all(this._.map(t,(function(t,a){return e.rakutenPublication(t)}))).then((function(t){e.$message.destroy()}))},rakutenPublication:function(t){var e=this,a=this;a.rakutenGenereList[t.good_id]={rakutenGenere:JSON.parse(JSON.stringify(p))},a.genereId1[t.good_id]=0,a.genereId2[t.good_id]=0,a.genereId3[t.good_id]=0,a.genereId4[t.good_id]=0,a.genereId5[t.good_id]=0,a.licenseKey="";var i={};return i.good_id=t.good_id,i.license_key=a.rakutenShop.app_key,Object(d["h"])(i).then((function(i){return 0===i.code&&(a.rakutenGoodInfoList[t.good_id]=i,a.licenseKey=a.rakutenShop.app_key,a.getGenere(0,0,t.good_id),i.genreId&&a.getGenereInit(t.good_id),i.genreId,a.getAttributes(!1,t.good_id)),a.$set(e,"rakutenGoodInfoList",Object.assign({},a.rakutenGoodInfoList)),i}))},getGenereInit:function(t){var e=this,a={genre_id:this.rakutenGoodInfoList[t].genreId};Object(d["d"])(a).then(function(){var a=Object(u["a"])(Object(r["a"])().mark((function a(i){var o,n,u,c,d;return Object(r["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!i.data){a.next=18;break}o=Object(l["a"])(i.data.entries()),a.prev=2,o.s();case 4:if((n=o.n()).done){a.next=10;break}return u=Object(s["a"])(n.value,2),c=u[0],d=u[1],a.next=8,e.selectGenre(d.genre_id,c,t,!0);case 8:a.next=4;break;case 10:a.next=15;break;case 12:a.prev=12,a.t0=a["catch"](2),o.e(a.t0);case 15:return a.prev=15,o.f(),a.finish(15);case 18:case"end":return a.stop()}}),a,null,[[2,12,15,18]])})));return function(t){return a.apply(this,arguments)}}())},getGenere:function(t,e,a){var i=this,o={};return o.genre_id=t,Object(d["c"])(o).then((function(t){if(0===t.code){switch(e){case 0:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList=t.data;break;case 1:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList1=t.data;break;case 2:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList2=t.data;break;case 3:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList3=t.data;break;case 4:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList4=t.data;break;case 5:i.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=t.data;break}i.$set(i,"rakutenGenereList",Object.assign({},i.rakutenGenereList))}return t}))},selectGenre:function(t,e,a,i){var o=this;return Object(u["a"])(Object(r["a"])().mark((function n(){var s,l;return Object(r["a"])().wrap((function(n){while(1)switch(n.prev=n.next){case 0:s=o,l={},n.prev=2,n.t0=e,n.next=0===n.t0?6:1===n.t0?18:2===n.t0?28:3===n.t0?36:4===n.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(e){return e.genre_id===t})),n.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(e){return e.genre_id===t})),n.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(e){return e.genre_id===t})),n.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(e){return e.genre_id===t})),n.abrupt("break",46);case 42:return s.rakutenGenereList[a].rakutenGenere.rakutenGenereList5=[],s.genereId5[a]=0,l=s.rakutenGenereList[a].rakutenGenere.rakutenGenereList4.find((function(e){return e.genre_id===t})),n.abrupt("break",46);case 46:n.next=50;break;case 48:n.prev=48,n.t1=n["catch"](2);case 50:if(!l){n.next=82;break}if(0!==l.p_genre_id||0!==l.lowest_flg){n.next=57;break}return n.next=54,s.getGenere(l.genre_id,1,a);case 54:s.genereId1[a]=Number(l.genre_id.toString()),n.next=82;break;case 57:if(l.p_genre_id!==s.genereId1[a]||0!==l.lowest_flg){n.next=63;break}return n.next=60,s.getGenere(l.genre_id,2,a);case 60:s.genereId2[a]=Number(l.genre_id.toString()),n.next=82;break;case 63:if(l.p_genre_id!==s.genereId2[a]||0!==l.lowest_flg){n.next=69;break}return n.next=66,s.getGenere(l.genre_id,3,a);case 66:s.genereId3[a]=Number(l.genre_id.toString()),n.next=82;break;case 69:if(l.p_genre_id!==s.genereId3[a]||0!==l.lowest_flg){n.next=75;break}return n.next=72,s.getGenere(l.genre_id,4,a);case 72:s.genereId4[a]=Number(l.genre_id.toString()),n.next=82;break;case 75:if(l.p_genre_id!==s.genereId4[a]||0!==l.lowest_flg){n.next=81;break}return n.next=78,s.getGenere(l.genre_id,5,a);case 78:s.genereId5[a]=Number(l.genre_id.toString()),n.next=82;break;case 81:1===l.lowest_flg&&(0===e?s.genereId1[a]=Number(l.genre_id.toString()):1===e?s.genereId2[a]=Number(l.genre_id.toString()):2===e?s.genereId3[a]=Number(l.genre_id.toString()):3===e?s.genereId4[a]=Number(l.genre_id.toString()):4===e?s.genereId5[a]=Number(l.genre_id.toString()):5===e&&(s.genereId6[a]=Number(l.genre_id.toString())),s.rakutenGoodInfoList[a].genreId=l.genre_id.toString(),i?o.getAttributes(!1,a):o.getAttributes(!0,a));case 82:case"end":return n.stop()}}),n,null,[[2,48]])})))()},getAttributes:function(t,e){var a=this,i=this,o={};o.genre_id=i.rakutenGoodInfoList[e].genreId,o.license_key=i.licenseKey,Object(d["b"])(o).then((function(o){if(0===o.code){var n=[];o.attributes.genre.attributes.forEach((function(t,e){t.showSize=50,t.properties.rmsMandatoryFlg&&n.push({name:"",values:[]})})),t&&a._.map(i.rakutenGoodInfoList[e].variants,(function(t,a){i.rakutenGoodInfoList[e].variants[a].attributes=JSON.parse(JSON.stringify(n))})),i.rakutenAttributesList[e]=o.attributes,a.rakutenGoodInfoList=Object.assign({},a.rakutenGoodInfoList)}i.rakutenItemOpen=!0}))},handleScroll:function(t,e,a){var i=t.target.scrollTop,o=t.target.clientHeight,n=t.target.scrollHeight;this.rakutenAttributesList[a].genre.attributes[e].dictionaryValues&&this.rakutenAttributesList[a].genre.attributes[e].dictionaryValues.length&&i+o>=n-10&&this.rakutenAttributesList[a].genre.attributes[e]&&this.rakutenAttributesList[a].genre.attributes[e].showSize<this.rakutenAttributesList[a].genre.attributes[e].dictionaryValues.length&&(this.rakutenAttributesList[a].genre.attributes[e].showSize+=50,this.$set(this,"rakutenAttributesList",JSON.parse(JSON.stringify(this.rakutenAttributesList))))},handleSelectNumber:function(t,e,a){this.rakutenAttributesList[a].genre.attributes[e].showSize=50,this.$set(this,"rakutenAttributesList",JSON.parse(JSON.stringify(this.rakutenAttributesList)))},setAttributeName:function(t,e,a,i){this.rakutenGoodInfoList[i]&&(this.rakutenGoodInfoList[i].variants[t].attributes[e].name=a)},skuAttribute:function(t,e){var a="",i=Object.keys(e);return i.forEach((function(i){t.forEach((function(t){t.key===i&&(a=t.displayName)})),""!==a&&(a+=":"+e[i])})),a},onChangeReleaseDate:function(t,e,a){this.rakutenGoodInfoList[a].releaseDate=e},onChangePurchasablePeriod:function(t,e,a){if(2===e.length){var i=e[0],o=e[1],n=i.split("+"),r=o.split("+"),s=n[0]+"+09:00",l=r[0]+"+09:00";e[0]=s,e[1]=l,this.rakutenGoodInfoList[a].purchasablePeriod.start=s,this.rakutenGoodInfoList[a].purchasablePeriod.end=l}},onChangeApplicablePeriod:function(t,e,a){if(2===e.length){var i=e[0],o=e[1],n=i.split("+"),r=o.split("+"),s=n[0]+"+09:00",l=r[0]+"+09:00";e[0]=s,e[1]=l,this.rakutenGoodInfoList[a].pointCampaign.applicablePeriod.start=s,this.rakutenGoodInfoList[a].pointCampaign.applicablePeriod.end=l}},saveRakuten:function(){var t=this,e=[];this._.map(this.rakutenGoodInfoList,(function(t,a){var i=JSON.parse(JSON.stringify(t));i.goodId=a,e.push(JSON.parse(JSON.stringify(i)))}));var a={data:e,licenseKey:this.licenseKey};Object(d["j"])(a).then((function(e){0===e.code&&t.$message.success({content:t.$t("components.dyProduct.dyProduct.saveSuccess"),duration:5})}))},batchSubmit:function(){var t=this,e=[];t._.map(t.rakutenGoodInfoList,(function(t,a){e.push(Number(a))}));var a={license_key:t.licenseKey,good_ids:e};t.btnLoading=!0,Object(d["a"])(a).then((function(e){t.btnLoading=!1})).catch((function(){t.btnLoading=!1}))}},components:{AntModal:m,goodsIdList:f,leftTabItem:g,VDitor:h,kandengGoodsOne:b}},v=Object(n["a"])({},_),k=v,y=a("2877"),w=Object(y["a"])(k,i,o,!1,null,null,null);e["default"]=w.exports},d8ff:function(t,e,a){},e46b:function(t,e,a){"use strict";a.r(e);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",{ref:"search",staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[e("a-row",{attrs:{gutter:0}},[e("a-col",{attrs:{md:6,sm:24,lg:8}},[e("a-form-item",{attrs:{labelCol:{md:8,sm:6,lg:8},wrapperCol:{md:16,sm:16,lg:16},label:t.$t("view.order.list.orderno")}},[e("a-input",{attrs:{placeholder:t.$t("view.order.list.inputorderno"),"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.order_id,callback:function(e){t.order_id=e},expression:"order_id"}})],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(t._s(t.$t("view.order.list.query.btn"))+" ")],1),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.resetQuery}},[e("a-icon",{attrs:{type:"redo"}}),t._v(t._s(t.$t("view.order.list.reset.btn"))+" ")],1),e("ExcelData",{attrs:{page:t.queryParam.page,pageSize:t.queryParam.limit,total:t.total_count,loadData:t.changeSize,fileName:t.$t("app.menus.left.order.afterorder")}})],1)])],1)],1)],1)]),t.orderDetailModal?e("order-detail",{ref:"OrderDetail",on:{close:function(e){t.orderDetailModal=!1}}}):t._e(),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e("advance-table",{attrs:{loading:t.loading,size:"middle","row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange},"format-conditions":!1,columns:t.columns,"data-source":t.list,rowKey:"after_sale_id",tableKey:"test-cat-catlist-table",expandedRowKeys:t.expandedRowKeys,pagination:{current:t.queryParam.page_no,pageSize:t.queryParam.limit,total:t.total_count,showSizeChanger:!0,showLessItems:!1,showQuickJumper:!1,showTotal:function(e,a){return t.$t("view.order.list.table.total",{num:a[0]+"-"+a[1],total:e})},onChange:t.changeSize,onShowSizeChange:t.onShowSizeChange},scroll:{x:"100%"},title:t.$t("view.order.list.list")},scopedSlots:t._u([{key:"order_id",fn:function(a){var i=a.text,o=a.record;return e("span",{},[e("a",{on:{click:function(e){return t.handleOrderDetail(o)}}},[t._v(" "+t._s(i)+" ")])])}},{key:"refund_amt",fn:function(a){var i=a.record;return e("span",{},[t._v(" "+t._s(i.currency+i.refund_amt)+" ")])}},{key:"after_sale_type",fn:function(a){var i=a.record;return e("span",{},[e("div",[0===i.after_sale_type?e("div",[t._v(t._s(t.$t("app.menus.left.order")))]):t._e(),1===i.after_sale_type?e("div",[t._v(t._s(t.$t("app.menus.left.supply.supplyOrder")))]):t._e()])])}},{key:"after_sale_item",fn:function(a){var i=a.text;return e("span",{},t._l(i,(function(a){return e("a-row",{key:a.sku_id,attrs:{type:"flex"}},[e("a-col",[e("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url}})],1),e("a-col",{staticStyle:{"margin-left":"10px"},attrs:{flex:3}},[e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{flex:3}},[t._v(" "+t._s(a.title)+" ")])],1),e("a-row",{attrs:{type:"flex"}},[e("a-col",[t._v(" "+t._s(a.price)+" ")]),e("a-col",{staticStyle:{"padding-left":"10px"},attrs:{flex:3}},[e("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),t._v(" "+t._s(a.num)+" ")],1)],1),e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{flex:3}},["string"==typeof a.sku_prop?e("span",[t._v(" "+t._s(a.sku_prop)+" ")]):e("span",t._l(a.sku_prop,(function(a,i){return e("div",{key:i},[e("span",[t._v(t._s(i)+":"+t._s(a))])])})),0)])],1)],1)],1)})),1)}},{key:"status",fn:function(a){var i=a.text;return e("span",{},[t._v(" "+t._s(t.$t(i))+" ")])}},{key:"operation",fn:function(a){var i=a.record;return e("span",{},["processing"===i.status?e("a",{on:{click:function(e){return t.handleRefund(i)}}},[t._v(" "+t._s(t.$t("view.order.after_sale.list.returnfull_btn"))+" ")]):t._e()])}}])})],1)],1)},o=[],n=a("5530"),r=a("8d52"),s=Object(n["a"])({},r["default"]),l=s,u=a("2877"),c=Object(u["a"])(l,i,o,!1,null,null,null);e["default"]=c.exports}}]);
@@ -0,0 +1 @@
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c738d938"],{"0ef6":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{ref:"portaletDiv",staticClass:"module"},[e._m(0)])},n=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"module-in"},[t("ul",{staticClass:"information02"},[t("li",[t("div",{staticClass:"sky"},[t("img",{attrs:{src:o("924b"),alt:""}})]),t("div",{staticClass:"information02-data"},[t("span",[e._v("50%")]),t("p",[e._v("压力仪表盘")])])]),t("li",[t("div",{staticClass:"sky"},[t("img",{attrs:{src:o("4781"),alt:""}})]),t("div",{staticClass:"information02-data"},[t("span",[e._v("28%")]),t("p",[e._v("完成率")])])])])])}],s={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},r=s,i=(o("d936"),o("2877")),c=Object(i["a"])(r,a,n,!1,null,"0c32075c",null);t["default"]=c.exports},"120c":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{attrs:{clas:"spyder"}},[t("a-card",{staticStyle:{padding:"20px 10px","align-content":"center"},attrs:{bordered:!1}},[t("div",[t("h2",[e._v("其他平台采集货源需安装蜂洞插件")]),t("span",[e._v("支持 "),t("span",{staticStyle:{color:"red"}},[e._v("temu")]),e._v(" 、 "),t("span",{staticStyle:{color:"red"}},[e._v("亚马逊")]),e._v(" 等平台。")])]),t("div",{staticStyle:{"margin-top":"10px"}},[t("h2",[e._v("插件支持多个主流浏览器")]),t("div",[t("img",{attrs:{src:"https://earth-rt.chengji-inc.com/market/help/2020-12-03/fcd81079-e265-422c-a2c3-e896f7101a8f.png?height=80&width=80"}})])]),t("div",[t("p",[e._v("1、插件安装后,需刷新页面;")]),t("p",[e._v("2、若插件已安装且已开启,但在点击翻译时,仍提示要下载插件,原因是之前的旧插件未删除,要到浏览器的扩展管理中进行删除。")])]),t("div",[t("h2",{staticStyle:{color:"red"}},[e._v("安装教程")]),t("h3",[e._v("不同浏览器安装插件的教程")]),t("h3",[t("span",[e._v("谷歌浏览器")]),e._v("("),t("span",[e._v("下载浏览器")]),e._v(")插件安装方法:")]),t("ol",[t("li",{staticStyle:{"line-height":"30px"}},[t("span",[e._v("1、下载安装文件")]),t("br"),t("span",[e._v(" 下载插件("),t("a",{staticClass:"download-highlight",attrs:{href:"#"}},[e._v("点击下载")]),e._v("),打开插件所在的文件夹,找到已下载的插件,插件后缀是.zip,不需要解压; ")])]),t("li",{staticStyle:{"line-height":"30px"}},[t("span",[e._v("2、打开浏览器扩展页面")]),t("br"),t("span",[e._v(" 打开Chrome谷歌浏览器,复制"),t("a",{attrs:{href:"chrome://extensions/",target:"_blank"}},[e._v("chrome://extensions/")]),e._v(",并粘贴到地址栏,按回车键进入扩展管理页面; ")])]),t("li",{staticStyle:{"line-height":"30px"}},[t("span",[e._v("3、安装插件")]),t("br"),t("span",[e._v(' 打开页面右上角的"开发者模式"开关,刷新页面,将zip文件拖拽至扩展程序管理页面空白处,完成安装。 ')])]),t("li",{staticStyle:{"line-height":"30px"}},[t("span",[e._v("4、移除旧插件(若之前有安装过)")]),t("br"),t("span",[e._v(" 若之前安装过旧版插件,请从扩展页面将其移除掉。 ")])])]),t("p",[e._v("(提示:安装插件显示模糊不妨碍正常使用,如果遇到插件被浏览器清除,重新安装即可)")])])])],1)},n=[],s=o("5530"),r=o("5f6f"),i=Object(s["a"])({},r["default"]),c=i,d=o("2877"),l=Object(d["a"])(c,a,n,!1,null,null,null);t["default"]=l.exports},"12b1":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("a-tabs",{attrs:{"tab-position":e.tabPosition},on:{change:e.changeTab},model:{value:e.activeKey,callback:function(t){e.activeKey=t},expression:"activeKey"}},e._l(e.list,(function(e){return t("a-tab-pane",{key:e.key,attrs:{tab:e.title}})})),1)},n=[],s={props:{defaultTabKey:{type:String,default:"title"},tabItems:{type:Array,default:function(){return[]}},platform:{type:String,default:"rakuten"}},data:function(){return{tabPosition:"left",list:[],tiktokList:[{key:"title",title:this.$t("view.item.list.itemTitle")},{key:"category",title:this.$t("view.attach.list.form.query3")},{key:"brand",title:this.$t("components.dyProduct.dyProduct.bran")},{key:"attribute",title:this.$t("components.dyProduct.dyProduct.attributes")},{key:"image",title:this.$t("view.item.list.itemImage")},{key:"itemInfo",title:this.$t("components.rakuten.tabOne.title")},{key:"sku",title:this.$t("view.bigcommerce.product.publish.table.skuInfo")},{key:"description",title:this.$t("view.alibaba.product.detail.sku.description")},{key:"sizeChart",title:this.$t("components.dyProduct.dyProduct.sizechart.image")},{key:"packageWeight",title:this.$t("components.dyProduct.package_weight.value")},{key:"packageSizeChart",title:this.$t("components.dyProduct.package_size_chart.value")},{key:"other",title:this.$t("components.rakuten.product.features")}],defaultList:[{key:"title",title:this.$t("view.item.list.itemTitle")},{key:"category",title:this.$t("view.attach.list.form.query3")},{key:"image",title:this.$t("view.item.list.itemImage")},{key:"itemInfo",title:this.$t("components.rakuten.tabOne.title")},{key:"sku",title:this.$t("view.bigcommerce.product.publish.table.skuInfo")},{key:"description",title:this.$t("view.alibaba.product.detail.sku.description")},{key:"other",title:this.$t("components.rakuten.product.features")}],activeKey:"title"}},created:function(){this.changeTab(this.defaultTabKey),this.tabItems.length>0?this.list=this.tabItems:"rakuten"===this.platform?this.list=this.defaultList:this.list=this.tiktokList},watch:{defaultTabKey:function(e,t){e&&e!==t&&this.changeTab(e)},tabItems:function(e,t){e&&e!==t&&(this.list=e)}},methods:{changeTab:function(e){this.activeKey=e,this.$emit("change",e)}}},r=s,i=o("2877"),c=Object(i["a"])(r,a,n,!1,null,null,null);t["default"]=c.exports},2855:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("a-result",{attrs:{title:"该功能尚未开发!"},scopedSlots:e._u([{key:"icon",fn:function(){return[t("a-icon",{attrs:{type:"smile",theme:"twoTone"}})]},proxy:!0},{key:"extra",fn:function(){return[t("a-button",{attrs:{type:"primary"},on:{click:e.returnIndex}},[e._v(" 返回工作台 ")])]},proxy:!0}])})},n=[],s={name:"Build",components:{},data:function(){return{}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){},methods:{returnIndex:function(){this.$router.push({path:"/index"})}}},r=s,i=o("2877"),c=Object(i["a"])(r,a,n,!1,null,null,null);t["default"]=c.exports},"2c06":function(e,t,o){"use strict";o("df3e")},"2f84":function(e,t,o){"use strict";o("606c")},4781:function(e,t,o){e.exports=o.p+"img/img02.9ac07e73.png"},"4a49":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("a-spin",{attrs:{spinning:e.loading,tip:"加载中..."}},[t("div",{style:"height:"+e.height},[t("iframe",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.src,frameborder:"no",scrolling:"auto"}})])])},n=[],s={name:"Swagger",components:{},data:function(){return{src:"/admin/swagger-ui.html",height:document.documentElement.clientHeight-120+"px;",loading:!0}},filters:{},created:function(){},computed:{},watch:{},mounted:function(){var e=this;setTimeout((function(){e.loading=!1}),230);var t=this;window.onresize=function(){t.height=document.documentElement.clientHeight-94.5+"px;"}},methods:{}},r=s,i=o("2877"),c=Object(i["a"])(r,a,n,!1,null,null,null);t["default"]=c.exports},"576e":function(e,t,o){e.exports=o.p+"img/chart_sm.8001ec98.png"},"5cb6":function(e,t,o){"use strict";o("6716")},"5f6f":function(e,t,o){"use strict";o.r(t),t["default"]={name:"spyder",components:{},created:function(){},computed:{},data:function(){return{}},methods:{}}},"606c":function(e,t,o){},6716:function(e,t,o){},"924b":function(e,t,o){e.exports=o.p+"img/img01.319f61f4.png"},"92c5":function(e,t,o){},"945a":function(e,t,o){"use strict";o.r(t);o("a9e3"),o("b64b");var a=function(){var e=this,t=e._self._c;return t("span",[e.open?t("AntModal",{attrs:{visible:e.open,"modal-title":e.formTitle,"adjust-size":!0,modalHeight:e.modalHeight,modalWidth:e.modalWidth,"confirm-loading":e.confirmNSLoading},on:{cancel:e.cancelModal,ok:e.okNetSeaGoodInfo}},[t("div",{attrs:{slot:"content"},slot:"content"},[t("div",[t("div",[t("goodsIdList",{staticStyle:{display:"none"},attrs:{goodsIds:e.goodsIds,goodsList:e.goodList},on:{"update:goodsList":function(t){e.goodList=t},"update:goods-list":function(t){e.goodList=t},back:e.initNetsea}})],1),t("a-row",{attrs:{type:"flex"}},[t("a-col",[t("leftTabItem",{attrs:{defaultTabKey:e.formEditKey},on:{change:e.changeLeftTab}})],1),t("a-col",{style:{overflowY:"auto",overflowX:"hidden",height:.78*Number(e.modalHeight)+"px"},attrs:{flex:"1"}},[e._l(e.netseaGoodInfoList,(function(o,a){return t("div",{key:a,staticStyle:{"padding-bottom":"2rem"}},[t("div",{staticStyle:{"margin-bottom":"1rem"}},[t("kandengGoodsOne",{attrs:{goodsList:e.goodList,goodsId:a}})],1),t("a-collapse",{model:{value:e.plActicty,callback:function(t){e.plActicty=t},expression:"plActicty"}},[t("a-collapse-panel",{attrs:{header:a+e.$t("view.item.form.pl.form.params.label")}},[t("div",{staticStyle:{padding:"1rem 0"}},[t("a-form-model",e._b({ref:"netseaGoodInfoForm"+a,refInFor:!0,attrs:{model:o,rules:e.netseaGoodInfoRules}},"a-form-model",{labelCol:{span:3},wrapperCol:{span:20}},!1),["title"===e.formEditKey?t("div",[t("a-form-model-item",{ref:"product_name",refInFor:!0,attrs:{label:e.$t("view.item.list.itemTitle"),help:e.$t("components.netsea.product.catchcopy.limit"),prop:"product_name"}},[t("a-input",{attrs:{id:"product_name"+a},model:{value:o.product_name,callback:function(t){e.$set(o,"product_name",t)},expression:"netseaGoodInfo.product_name"}})],1)],1):e._e(),"category"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netesa.product.category")}},[t("a-input",{attrs:{disabled:""},model:{value:o.category_id,callback:function(t){e.$set(o,"category_id",t)},expression:"netseaGoodInfo.category_id"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netesa.product.category")}},[e.netseaGenereArray[a]&&e.netseaGenereArray[a].netseaGenereList?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,0,a)}},model:{value:e.firstCatId[a],callback:function(t){e.$set(e.firstCatId,a,t)},expression:"firstCatId[good_id]"}},e._l(e.netseaGenereArray[a].netseaGenereList,(function(o,a){return t("a-select-option",{key:a,attrs:{value:o.cat_id}},[e._v(" "+e._s(o.cat_name)+" ")])})),1):e._e(),e.netseaGenereArray[a]&&e.netseaGenereArray[a].netseaGenereList1.length?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,1,a)}},model:{value:e.secondCatId[a],callback:function(t){e.$set(e.secondCatId,a,t)},expression:"secondCatId[good_id]"}},e._l(e.netseaGenereArray[a].netseaGenereList1,(function(o,a){return t("a-select-option",{key:a,attrs:{value:o.cat_id}},[e._v(" "+e._s(o.cat_name)+" ")])})),1):e._e(),e.netseaGenereArray[a]&&e.netseaGenereArray[a].netseaGenereList2.length?t("a-select",{staticStyle:{width:"180px"},on:{change:function(t){e.selectNetSeaGenre(t,2,a)}},model:{value:e.thirdCatId[a],callback:function(t){e.$set(e.thirdCatId,a,t)},expression:"thirdCatId[good_id]"}},e._l(e.netseaGenereArray[a].netseaGenereList2,(function(o,a){return t("a-select-option",{key:a,attrs:{value:o.cat_id}},[e._v(" "+e._s(o.cat_name)+" ")])})),1):e._e()],1)],1):e._e(),"itemInfo"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.manage.code")}},[t("a-input",{attrs:{placeholder:e.$t("components.netsea.product.manage.code.placeholder"),disabled:""},model:{value:o.product_id,callback:function(t){e.$set(o,"product_id",t)},expression:"netseaGoodInfo.product_id"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.status")}},[t("a-radio-group",{model:{value:o.sales_status_code,callback:function(t){e.$set(o,"sales_status_code",t)},expression:"netseaGoodInfo.sales_status_code"}},[t("a-radio",{attrs:{value:"on_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.on_sale"))+" ")]),t("a-radio",{attrs:{value:"end_of_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.end_of_sale"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.method")}},[t("a-radio-group",{model:{value:o.sales_method_code,callback:function(t){e.$set(o,"sales_method_code",t)},expression:"netseaGoodInfo.sales_method_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.normal"))+" ")]),t("a-radio",{attrs:{value:"reserve"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.reserve"))+" ")]),t("a-radio",{attrs:{value:"payment_only"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.payment_only"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.publish.date")}},[t("a-date-picker",{attrs:{"show-time":""},model:{value:o.publish_period_start,callback:function(t){e.$set(o,"publish_period_start",t)},expression:"netseaGoodInfo.publish_period_start"}}),t("a-date-picker",{attrs:{"show-time":""},model:{value:o.publish_period_end,callback:function(t){e.$set(o,"publish_period_end",t)},expression:"netseaGoodInfo.publish_period_end"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.price.closed.flag")}},[t("a-radio-group",{model:{value:o.price_closed_flag,callback:function(t){e.$set(o,"price_closed_flag",t)},expression:"netseaGoodInfo.price_closed_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.false"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.shipping.fee")}},[t("a-radio-group",{model:{value:o.product_ship_setting_code,callback:function(t){e.$set(o,"product_ship_setting_code",t)},expression:"netseaGoodInfo.product_ship_setting_code"}},[t("a-radio",{attrs:{value:"store"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.shop_setting"))+" ")]),t("a-radio",{attrs:{value:"product"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.product.one"))+" "),t("a-input",{staticStyle:{width:"200px"},model:{value:o.product_ship_fee,callback:function(t){e.$set(o,"product_ship_fee",t)},expression:"netseaGoodInfo.product_ship_fee"}})],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.product.discount_code")}},[t("a-radio-group",{on:{change:function(t){return e.discountSwitch(a)}},model:{value:e.netProductDiscountCodeList[a],callback:function(t){e.$set(e.netProductDiscountCodeList,a,t)},expression:"netProductDiscountCodeList[good_id]"}},[t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.false"))+" ")]),t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.true"))+" "),e.netProductDiscountCodeList[a]?t("a-input-number",{staticStyle:{width:"100px"},model:{value:o.product_discount.product_discount_rate,callback:function(t){e.$set(o.product_discount,"product_discount_rate",t)},expression:"netseaGoodInfo.product_discount.product_discount_rate"}}):e._e(),e._v(" % "),e.netProductDiscountCodeList[a]?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:o.product_discount.product_discount_period_start,callback:function(t){e.$set(o.product_discount,"product_discount_period_start",t)},expression:"netseaGoodInfo.product_discount.product_discount_period_start"}}):e._e(),e.netProductDiscountCodeList[a]?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:o.product_discount.product_discount_period_end,callback:function(t){e.$set(o.product_discount,"product_discount_period_end",t)},expression:"netseaGoodInfo.product_discount.product_discount_period_end"}}):e._e()],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.volume_discount"),help:e.$t("components.netsea.product.volume_discount.info")}},[t("a-radio-group",{model:{value:o.volume_discount_target_flag,callback:function(t){e.$set(o,"volume_discount_target_flag",t)},expression:"netseaGoodInfo.volume_discount_target_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.true")))]),t("a-radio",{attrs:{value:!1}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.false")))])],1)],1)],1):e._e(),"image"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.image.license")}},[t("a-radio-group",{model:{value:o.image_repost_flag,callback:function(t){e.$set(o,"image_repost_flag",t)},expression:"netseaGoodInfo.image_repost_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.image.license.true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.image.license.false"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("view.item.list.form.image_url"),help:e.$t("view.item.form.image.limit")}},[t("div",{staticStyle:{"margin-bottom":"10px"}},e._l(o.images,(function(o,n){return t("div",{directives:[{name:"show",rawName:"v-show",value:o.image_url,expression:"image.image_url"}],key:n,staticStyle:{"margin-bottom":"20px",width:"100px",height:"100px","margin-left":"10px",float:"left"}},[t("img",{staticStyle:{width:"100px",height:"100px"},attrs:{src:o.image_url}}),t("br"),e.imageSizeArr&&Object.keys(e.imageSizeArr)?t("div",{style:{textAlign:"center",color:e.imageSizeArr[o.image_no]>500?"#f00":"#000"}},[e._v(" "+e._s(e.imageSizeArr[o.image_no])+"K "),t("a-icon",{attrs:{type:"delete"},on:{click:function(t){return e.deleteImage(o.image_no,a)}}})],1):e._e()])})),0)])],1):e._e(),"description"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.catchcopy"),help:e.$t("components.netsea.product.catchcopy.limit"),prop:"catchcopy"}},[t("a-input",{attrs:{placeholder:e.$t("components.netsea.product.catchcopy.placeholder"),id:"catchcopy"+a},model:{value:o.catchcopy,callback:function(t){e.$set(o,"catchcopy",t)},expression:"netseaGoodInfo.catchcopy"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.comment"),help:e.$t("components.netsea.product.comment.info"),prop:"comment"}},[t("a-textarea",{attrs:{id:"comment"+a},model:{value:o.comment,callback:function(t){e.$set(o,"comment",t)},expression:"netseaGoodInfo.comment"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.description"),help:e.$t("components.netsea.product.description.info"),prop:"description"}},[t("a-textarea",{attrs:{id:"description_for_consumer"+a},model:{value:o.description_for_consumer,callback:function(t){e.$set(o,"description_for_consumer",t)},expression:"netseaGoodInfo.description_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.size"),help:e.$t("components.netsea.product.size.info"),prop:"size"}},[t("a-textarea",{attrs:{id:"size"+a},model:{value:o.size,callback:function(t){e.$set(o,"size",t)},expression:"netseaGoodInfo.size"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.spec"),help:e.$t("components.netsea.product.spec.info"),prop:"spec"}},[t("a-textarea",{attrs:{id:"spec"+a},model:{value:o.spec,callback:function(t){e.$set(o,"spec",t)},expression:"netseaGoodInfo.spec"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.consumer"),help:e.$t("components.netsea.product.consumer.info"),prop:"spec_for_consumer"}},[t("a-textarea",{attrs:{id:"spec_for_consumer"+a},model:{value:o.spec_for_consumer,callback:function(t){e.$set(o,"spec_for_consumer",t)},expression:"netseaGoodInfo.spec_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.notes"),help:e.$t("components.netsea.product.notes.info"),prop:"notes"}},[t("a-textarea",{attrs:{id:"notes"+a},model:{value:o.notes,callback:function(t){e.$set(o,"notes",t)},expression:"netseaGoodInfo.notes"}})],1)],1):e._e(),"sku"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.product_set")}},[t("a-table",{attrs:{columns:e.productSetColumns,"data-source":o.product_set,"row-key":function(e){return e.set_no},pagination:!1},scopedSlots:e._u([{key:"set_branch_code",fn:function(o,n){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_branch_code"+a},model:{value:n.set_branch_code,callback:function(t){e.$set(n,"set_branch_code",t)},expression:"record.set_branch_code"}})],1)}},{key:"set_label",fn:function(o,n){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_label"+a},model:{value:n.set_label,callback:function(t){e.$set(n,"set_label",t)},expression:"record.set_label"}})],1)}},{key:"set_reference_price",fn:function(o,n){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_reference_price"+a},model:{value:n.set_reference_price,callback:function(t){e.$set(n,"set_reference_price",t)},expression:"record.set_reference_price"}})],1)}},{key:"set_price",fn:function(o,n){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_price"+a},model:{value:n.set_price,callback:function(t){e.$set(n,"set_price",t)},expression:"record.set_price"}})],1)}},{key:"set_sku_number",fn:function(o,a){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_sku_number"},model:{value:a.set_sku_number,callback:function(t){e.$set(a,"set_sku_number",t)},expression:"record.set_sku_number"}})],1)}},{key:"set_stock_number",fn:function(o,a){return t("span",{},[t("a-input",{staticStyle:{width:"100px"},attrs:{name:"set_stock_number"},model:{value:a.set_stock_number,callback:function(t){e.$set(a,"set_stock_number",t)},expression:"record.set_stock_number"}})],1)}}],null,!0)})],1)],1):e._e(),"other"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.delivery_terms"),help:e.$t("components.netsea.product.delivery_terms.info"),prop:"delivery_terms"}},[t("a-textarea",{attrs:{id:"delivery_terms"+a},model:{value:o.delivery_terms,callback:function(t){e.$set(o,"delivery_terms",t)},expression:"netseaGoodInfo.delivery_terms"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.return_setting_code")}},[t("a-radio-group",{model:{value:o.return_setting_code,callback:function(t){e.$set(o,"return_setting_code",t)},expression:"netseaGoodInfo.return_setting_code"}},[t("a-radio",{attrs:{value:"allow"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.allow")))]),t("a-radio",{attrs:{value:"deny"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.deny")))]),t("a-radio",{attrs:{value:"negotiable"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.negotiable")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.none")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.search_tag"),help:e.$t("components.netsea.product.search_tag.info")}},e._l(o.search_tags,(function(o,n){return t("div",{key:n,staticStyle:{"margin-bottom":"10px"}},[e._v(" "+e._s(e.$t("components.netsea.product.search_tag"))+e._s(n+1)+": "),t("a-input",{staticStyle:{width:"200px"},attrs:{name:"search_tag_text"+a},model:{value:o.search_tag_text,callback:function(t){e.$set(o,"search_tag_text",t)},expression:"tag.search_tag_text"}})],1)})),0),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.chartlet")}},[t("a-radio-group",{model:{value:o.stamp_id,callback:function(t){e.$set(o,"stamp_id",t)},expression:"netseaGoodInfo.stamp_id"}},[t("a-radio",{attrs:{value:0}},[e._v(e._s(e.$t("components.netsea.product.chartlet.0")))]),t("a-radio",{attrs:{value:1}},[e._v(e._s(e.$t("components.netsea.product.chartlet.1")))]),t("a-radio",{attrs:{value:3}},[e._v(e._s(e.$t("components.netsea.product.chartlet.3")))]),t("a-radio",{attrs:{value:4}},[e._v(e._s(e.$t("components.netsea.product.chartlet.4")))]),t("a-radio",{attrs:{value:5}},[e._v(e._s(e.$t("components.netsea.product.chartlet.5")))]),t("a-radio",{attrs:{value:6}},[e._v(e._s(e.$t("components.netsea.product.chartlet.6")))]),t("a-radio",{attrs:{value:7}},[e._v(e._s(e.$t("components.netsea.product.chartlet.7")))]),t("a-radio",{attrs:{value:8}},[e._v(e._s(e.$t("components.netsea.product.chartlet.8")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.jan_code"),help:e.$t("components.netsea.product.jan_code.info"),prop:"jan_code"}},[t("a-input",{attrs:{id:"jan_code"+a},model:{value:o.jan_code,callback:function(t){e.$set(o,"jan_code",t)},expression:"netseaGoodInfo.jan_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.maker_code"),help:e.$t("components.netsea.product.maker_code.info"),prop:"maker_code"}},[t("a-input",{attrs:{id:"maker_code"+a},model:{value:o.maker_code,callback:function(t){e.$set(o,"maker_code",t)},expression:"netseaGoodInfo.maker_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.reference_price")}},[t("a-select",{model:{value:o.reference_price_type_code,callback:function(t){e.$set(o,"reference_price_type_code",t)},expression:"netseaGoodInfo.reference_price_type_code"}},[t("a-select-option",{attrs:{value:"open_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.open_price"))+" ")]),t("a-select-option",{attrs:{value:"maker_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.maker_price"))+" ")]),t("a-select-option",{attrs:{value:"catalog_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.catalog_price"))+" ")]),t("a-select-option",{attrs:{value:"setting_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.setting_price"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.tax_rate")}},[t("a-radio-group",{model:{value:o.consumption_tax_type_code,callback:function(t){e.$set(o,"consumption_tax_type_code",t)},expression:"netseaGoodInfo.consumption_tax_type_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.normal")))]),t("a-radio",{attrs:{value:"reduced"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.reduced")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.none")))])],1)],1)],1):e._e()])],1)])],1)],1)})),t("div",[e.plDataFields[e.formEditKey]?t("div",[e._v(e._s(e.$t("view.item.form.pl.params.label")))]):e._e(),t("a-form-model",e._b({ref:"TemplateDataForm",attrs:{model:e.TemplateData,rules:e.netseaGoodInfoRules}},"a-form-model",{labelCol:{span:3},wrapperCol:{span:20}},!1),["description"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.catchcopy"),help:e.$t("components.netsea.product.catchcopy.limit"),prop:"catchcopy"}},[t("a-input",{attrs:{placeholder:e.$t("components.netsea.product.catchcopy.placeholder")},model:{value:e.TemplateData.catchcopy,callback:function(t){e.$set(e.TemplateData,"catchcopy",t)},expression:"TemplateData.catchcopy"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.comment"),help:e.$t("components.netsea.product.comment.info"),prop:"comment"}},[t("a-textarea",{attrs:{id:"comment"},model:{value:e.TemplateData.comment,callback:function(t){e.$set(e.TemplateData,"comment",t)},expression:"TemplateData.comment"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.description"),help:e.$t("components.netsea.product.description.info"),prop:"description"}},[t("a-textarea",{attrs:{id:"description_for_consumer"},model:{value:e.TemplateData.description_for_consumer,callback:function(t){e.$set(e.TemplateData,"description_for_consumer",t)},expression:"TemplateData.description_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.size"),help:e.$t("components.netsea.product.size.info"),prop:"size"}},[t("a-textarea",{attrs:{id:"size"},model:{value:e.TemplateData.size,callback:function(t){e.$set(e.TemplateData,"size",t)},expression:"TemplateData.size"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.spec"),help:e.$t("components.netsea.product.spec.info"),prop:"spec"}},[t("a-textarea",{attrs:{id:"spec"},model:{value:e.TemplateData.spec,callback:function(t){e.$set(e.TemplateData,"spec",t)},expression:"TemplateData.spec"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.consumer"),help:e.$t("components.netsea.product.consumer.info"),prop:"spec_for_consumer"}},[t("a-textarea",{attrs:{id:"spec_for_consumer"},model:{value:e.TemplateData.spec_for_consumer,callback:function(t){e.$set(e.TemplateData,"spec_for_consumer",t)},expression:"TemplateData.spec_for_consumer"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.notes"),help:e.$t("components.netsea.product.notes.info"),prop:"notes"}},[t("a-textarea",{attrs:{id:"notes"},model:{value:e.TemplateData.notes,callback:function(t){e.$set(e.TemplateData,"notes",t)},expression:"TemplateData.notes"}})],1)],1):e._e(),"itemInfo"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.status")}},[t("a-radio-group",{model:{value:e.TemplateData.sales_status_code,callback:function(t){e.$set(e.TemplateData,"sales_status_code",t)},expression:"TemplateData.sales_status_code"}},[t("a-radio",{attrs:{value:"on_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.on_sale"))+" ")]),t("a-radio",{attrs:{value:"end_of_sale"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.end_of_sale"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.sale.method")}},[t("a-radio-group",{model:{value:e.TemplateData.sales_method_code,callback:function(t){e.$set(e.TemplateData,"sales_method_code",t)},expression:"TemplateData.sales_method_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.normal"))+" ")]),t("a-radio",{attrs:{value:"reserve"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.reserve"))+" ")]),t("a-radio",{attrs:{value:"payment_only"}},[e._v(" "+e._s(e.$t("components.netsea.product.sale.method.payment_only"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.publish.date")}},[t("a-date-picker",{attrs:{"show-time":""},model:{value:e.TemplateData.publish_period_start,callback:function(t){e.$set(e.TemplateData,"publish_period_start",t)},expression:"TemplateData.publish_period_start"}}),t("a-date-picker",{attrs:{"show-time":""},model:{value:e.TemplateData.publish_period_end,callback:function(t){e.$set(e.TemplateData,"publish_period_end",t)},expression:"TemplateData.publish_period_end"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.price.closed.flag")}},[t("a-radio-group",{model:{value:e.TemplateData.price_closed_flag,callback:function(t){e.$set(e.TemplateData,"price_closed_flag",t)},expression:"TemplateData.price_closed_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.true"))+" ")]),t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.price.closed.flag.false"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.shipping.fee")}},[t("a-radio-group",{model:{value:e.TemplateData.product_ship_setting_code,callback:function(t){e.$set(e.TemplateData,"product_ship_setting_code",t)},expression:"TemplateData.product_ship_setting_code"}},[t("a-radio",{attrs:{value:"store"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.shop_setting"))+" ")]),t("a-radio",{attrs:{value:"product"}},[e._v(" "+e._s(e.$t("components.netsea.product.shipping.fee.product.one"))+" "),t("a-input",{staticStyle:{width:"200px"},model:{value:e.TemplateData.product_ship_fee,callback:function(t){e.$set(e.TemplateData,"product_ship_fee",t)},expression:"TemplateData.product_ship_fee"}})],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.product.discount_code")}},[t("a-radio-group",{model:{value:e.TemplateData.netProductDiscountCode,callback:function(t){e.$set(e.TemplateData,"netProductDiscountCode",t)},expression:"TemplateData.netProductDiscountCode"}},[t("a-radio",{attrs:{value:!1}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.false"))+" ")]),t("a-radio",{attrs:{value:!0}},[e._v(" "+e._s(e.$t("components.netsea.product.product.discount_code.true"))+" "),e.TemplateData.netProductDiscountCode?t("a-input-number",{staticStyle:{width:"100px"},model:{value:e.TemplateData.product_discount.product_discount_rate,callback:function(t){e.$set(e.TemplateData.product_discount,"product_discount_rate",t)},expression:"TemplateData.product_discount.product_discount_rate"}}):e._e(),e._v(" % "),e.TemplateData.netProductDiscountCode?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:e.TemplateData.product_discount.product_discount_period_start,callback:function(t){e.$set(e.TemplateData.product_discount,"product_discount_period_start",t)},expression:"TemplateData.product_discount.product_discount_period_start"}}):e._e(),e.TemplateData.netProductDiscountCode?t("a-date-picker",{attrs:{format:"YYYY-MM-DD HH:00:00","show-time":""},model:{value:e.TemplateData.product_discount.product_discount_period_end,callback:function(t){e.$set(e.TemplateData.product_discount,"product_discount_period_end",t)},expression:"TemplateData.product_discount.product_discount_period_end"}}):e._e()],1)],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.volume_discount"),help:e.$t("components.netsea.product.volume_discount.info")}},[t("a-radio-group",{model:{value:e.TemplateData.volume_discount_target_flag,callback:function(t){e.$set(e.TemplateData,"volume_discount_target_flag",t)},expression:"TemplateData.volume_discount_target_flag"}},[t("a-radio",{attrs:{value:!0}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.true")))]),t("a-radio",{attrs:{value:!1}},[e._v(e._s(e.$t("components.netsea.product.volume_discount.false")))])],1)],1)],1):e._e(),"other"===e.formEditKey?t("div",[t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.delivery_terms"),help:e.$t("components.netsea.product.delivery_terms.info"),prop:"delivery_terms"}},[t("a-textarea",{attrs:{id:"delivery_terms"},model:{value:e.TemplateData.delivery_terms,callback:function(t){e.$set(e.TemplateData,"delivery_terms",t)},expression:"TemplateData.delivery_terms"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.return_setting_code")}},[t("a-radio-group",{model:{value:e.TemplateData.return_setting_code,callback:function(t){e.$set(e.TemplateData,"return_setting_code",t)},expression:"TemplateData.return_setting_code"}},[t("a-radio",{attrs:{value:"allow"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.allow")))]),t("a-radio",{attrs:{value:"deny"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.deny")))]),t("a-radio",{attrs:{value:"negotiable"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.negotiable")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.return_setting_code.none")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.search_tag"),help:e.$t("components.netsea.product.search_tag.info")}},e._l(e.TemplateData.search_tags,(function(o,a){return t("div",{key:a,staticStyle:{"margin-bottom":"10px"}},[e._v(" "+e._s(e.$t("components.netsea.product.search_tag"))+e._s(a+1)+": "),t("a-input",{staticStyle:{width:"200px"},attrs:{name:"search_tag_text"},model:{value:o.search_tag_text,callback:function(t){e.$set(o,"search_tag_text",t)},expression:"tag.search_tag_text"}})],1)})),0),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.chartlet")}},[t("a-radio-group",{model:{value:e.TemplateData.stamp_id,callback:function(t){e.$set(e.TemplateData,"stamp_id",t)},expression:"TemplateData.stamp_id"}},[t("a-radio",{attrs:{value:0}},[e._v(e._s(e.$t("components.netsea.product.chartlet.0")))]),t("a-radio",{attrs:{value:1}},[e._v(e._s(e.$t("components.netsea.product.chartlet.1")))]),t("a-radio",{attrs:{value:3}},[e._v(e._s(e.$t("components.netsea.product.chartlet.3")))]),t("a-radio",{attrs:{value:4}},[e._v(e._s(e.$t("components.netsea.product.chartlet.4")))]),t("a-radio",{attrs:{value:5}},[e._v(e._s(e.$t("components.netsea.product.chartlet.5")))]),t("a-radio",{attrs:{value:6}},[e._v(e._s(e.$t("components.netsea.product.chartlet.6")))]),t("a-radio",{attrs:{value:7}},[e._v(e._s(e.$t("components.netsea.product.chartlet.7")))]),t("a-radio",{attrs:{value:8}},[e._v(e._s(e.$t("components.netsea.product.chartlet.8")))])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.jan_code"),help:e.$t("components.netsea.product.jan_code.info"),prop:"jan_code"}},[t("a-input",{attrs:{id:"jan_code"},model:{value:e.TemplateData.jan_code,callback:function(t){e.$set(e.TemplateData,"jan_code",t)},expression:"TemplateData.jan_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.maker_code"),help:e.$t("components.netsea.product.maker_code.info"),prop:"maker_code"}},[t("a-input",{attrs:{id:"maker_code"},model:{value:e.TemplateData.maker_code,callback:function(t){e.$set(e.TemplateData,"maker_code",t)},expression:"TemplateData.maker_code"}})],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.reference_price")}},[t("a-select",{model:{value:e.TemplateData.reference_price_type_code,callback:function(t){e.$set(e.TemplateData,"reference_price_type_code",t)},expression:"TemplateData.reference_price_type_code"}},[t("a-select-option",{attrs:{value:"open_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.open_price"))+" ")]),t("a-select-option",{attrs:{value:"maker_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.maker_price"))+" ")]),t("a-select-option",{attrs:{value:"catalog_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.catalog_price"))+" ")]),t("a-select-option",{attrs:{value:"setting_price"}},[e._v(" "+e._s(e.$t("components.netsea.product.reference_price.setting_price"))+" ")])],1)],1),t("a-form-model-item",{attrs:{label:e.$t("components.netsea.product.tax_rate")}},[t("a-radio-group",{model:{value:e.TemplateData.consumption_tax_type_code,callback:function(t){e.$set(e.TemplateData,"consumption_tax_type_code",t)},expression:"TemplateData.consumption_tax_type_code"}},[t("a-radio",{attrs:{value:"normal"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.normal")))]),t("a-radio",{attrs:{value:"reduced"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.reduced")))]),t("a-radio",{attrs:{value:"none"}},[e._v(e._s(e.$t("components.netsea.product.tax_rate.none")))])],1)],1)],1):e._e(),t("div",{staticStyle:{"margin-bottom":"1rem"}},[t("a-button",{on:{click:function(t){return e.piCopyData(e.formEditKey)}}},[e._v(e._s(e.$t("view.item.form.pl.params.save")))])],1)])],1)],2)],1)],1)]),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("a-button",{on:{click:e.cancelModal}},[e._v(e._s(e.$t("components.imagetext.translation.confirm.cancel")))]),t("a-button",{attrs:{type:"primary",loading:e.confirmNSLoading},on:{click:e.okNetSeaGoodInfo}},[e._v(e._s(e.$t("view.item.form.pl.save.button")))]),t("a-button",{attrs:{type:"success",loading:e.confirmNSLoading},on:{click:e.okFabu}},[e._v(e._s(e.$t("view.item.form.pl.fabu.button")))])],1)]):e._e()],1)},n=[],s=o("5530"),r=o("c7eb"),i=o("1da1"),c=(o("d3b7"),o("3ca3"),o("ddb0"),o("25f0"),o("b680"),o("d81d"),o("fb6a"),o("159b"),o("7db0"),o("a026")),d=o("c1df"),l=o.n(d),u=o("8caa"),m=Object(c["b"])((function(){return Promise.resolve().then(o.bind(null,"2dd7"))})),p=Object(c["b"])((function(){return o.e("lang-zh-TW-service~f63b1681").then(o.bind(null,"16f2"))})),_=Object(c["b"])((function(){return o.e("chunk-c738d938").then(o.bind(null,"12b1"))})),f=Object(c["b"])((function(){return o.e("chunk-4b8d1c9d").then(o.bind(null,"5f19"))})),g={name:"rakutenAddProduct",props:{goodsIds:{type:Array,default:function(){return[]}}},data:function(){return{formTitle:this.$t("components.dyProduct.dyProduct.title"),formEditKey:"title",open:!1,modalWidth:"1350",modalHeight:"680",goodList:[],netseaGoodInfoList:{},netseaShop:null,imageSizeArr:{},netProductDiscountCodeList:{},netseaGenereArray:{},netseaGoodInfoRules:{product_name:[{required:!0,message:this.$t("view.item.list.form.placeholder.title"),trigger:"blur"},{max:50,message:this.$t("view.item.form.item_name.maxlength"),trigger:"change"}],catchcopy:[{max:50,message:this.$t("view.item.form.catchcopy.maxlength"),trigger:"change"}],comment:[{max:1e3,message:this.$t("view.item.form.comment.maxlength"),trigger:"change"}],description:[{max:5e3,message:this.$t("view.item.form.description_for_consumer.maxlength"),trigger:"change"}],size:[{max:1e3,message:this.$t("view.item.form.size.maxlength"),trigger:"change"}],spec:[{max:1e3,message:this.$t("view.item.form.spec.maxlength"),trigger:"change"}],spec_for_consumer:[{max:5e3,message:this.$t("view.item.form.spec_for_consumer.maxlength"),trigger:"change"}],notes:[{max:1e3,message:this.$t("view.item.form.notes.maxlength"),trigger:"change"}],delivery_terms:[{max:50,message:this.$t("view.item.form.delivery_terms.maxlength"),trigger:"change"}],jan_code:[{max:13,message:this.$t("view.item.form.jan_code.maxlength"),trigger:"change"}],maker_code:[{max:30,message:this.$t("view.item.form.maker_code.maxlength"),trigger:"change"}]},categoryHierarchyList:{},firstCatId:{},secondCatId:{},thirdCatId:{},productSetColumns:[{title:this.$t("components.netsea.product.product_set.set_no"),dataIndex:"set_no",key:"set_no"},{title:this.$t("components.netsea.product.set_branch_code"),dataIndex:"set_branch_code",key:"set_branch_code",scopedSlots:{customRender:"set_branch_code"}},{title:this.$t("components.netsea.product.product_set.set_label"),dataIndex:"set_label",key:"set_label",scopedSlots:{customRender:"set_label"}},{title:this.$t("components.netsea.product.product_set.set_reference_price"),dataIndex:"set_reference_price",key:"set_reference_price",scopedSlots:{customRender:"set_reference_price"}},{title:this.$t("components.netsea.product.product_set.set_price"),dataIndex:"set_price",key:"set_price",scopedSlots:{customRender:"set_price"}},{title:this.$t("components.netsea.product.product_set.set_sku_number"),dataIndex:"set_sku_number",key:"set_sku_number",scopedSlots:{customRender:"set_sku_number"}},{title:this.$t("components.netsea.product.product_set.set_stock_number"),dataIndex:"set_stock_number",key:"set_stock_number",scopedSlots:{customRender:"set_stock_number"}}],confirmNSLoading:!1,plDataFields:{description:["catchcopy","comment","description_for_consumer","size","spec","spec_for_consumer","notes"],itemInfo:["sales_status_code","sales_method_code","publish_period_start","publish_period_end","product_ship_setting_code","product_ship_fee"],other:["delivery_terms","return_setting_code","search_tags","stamp_id","jan_code","maker_code","reference_price_type_code","consumption_tax_type_code"]},TemplateData:{product_discount:{product_discount_rate:"",product_discount_period_start:"",product_discount_period_end:""},search_tags:[{search_tag_no:1,search_tag_text:""},{search_tag_no:2,search_tag_text:""},{search_tag_no:3,search_tag_text:""},{search_tag_no:4,search_tag_text:""},{search_tag_no:5,search_tag_text:""}]},plActicty:[]}},methods:{changeLeftTab:function(e){this.formEditKey=e},cancelModal:function(){this.open=!1},openModal:function(){this.modalHeight=(.9*window.innerHeight).toFixed(0).toString(),this.modalWidth=(.8*window.innerWidth).toFixed(0).toString(),this.open=!0},initLoad:function(e){e&&(this.netseaGoodInfoList={},this.netseaShop=e,this.openModal())},initNetsea:function(e){var t=this;Promise.all(this._.map(e,(function(e,o){return t.netseaPublication(e)}))).then((function(e){t.$message.destroy()}))},netseaPublication:function(e,t){var o=this,a=this,n={};return n.good_id=e.good_id,n.app_key=this.netseaShop.app_key,a.netseaGenereArray[e.good_id]={netseaGenereList:[],netseaGenereList1:[],netseaGenereList2:[]},Object(u["d"])(n).then((function(t){if(0===t.code){a.netseaGoodInfoList[e.good_id]=t.product_info,a.getParentCategory(a.netseaGoodInfoList[e.good_id].category_id,e.good_id),a.imageSizeArr={};var n=[];return a.netseaGoodInfoList[e.good_id].images&&a.netseaGoodInfoList[e.good_id].images.map((function(e){e.image_url&&n.push(a.getImageSizeInKB(e.image_url).then((function(t){return a.imageSizeArr[e.image_no]=t.toFixed(2),t})))})),Promise.all(n).then((function(){a.imageSizeArr=Object.assign({},a.imageSizeArr)})),a.netseaGoodInfoList[e.good_id].publish_period_start&&(a.netseaGoodInfoList[e.good_id].publish_period_start=new Date(1e3*a.netseaGoodInfoList[e.good_id].publish_period_start).toISOString().slice(0,19)),a.netseaGoodInfoList[e.good_id].publish_period_end&&(a.netseaGoodInfoList[e.good_id].publish_period_end=new Date(1e3*a.netseaGoodInfoList[e.good_id].publish_period_end).toISOString().slice(0,19)),a.netseaGoodInfoList[e.good_id].product_discout?(a.netProductDiscountCodeList[e.good_id]=!0,a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start=a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start?new Date(1e3*a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_start).toISOString().slice(0,19):"",a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end=a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end?new Date(1e3*a.netseaGoodInfoList[e.good_id].product_discount.product_discount_period_end).toISOString().slice(0,19):""):(a.netProductDiscountCodeList[e.good_id]=!1,a.netseaGoodInfoList[e.good_id].product_discount={product_discount_rate:"",product_discount_period_start:"",product_discount_period_end:""}),a.app_key=o.netseaShop.app_key,a.getNetSeaGenere(0,0,e.good_id),a.$set(o,"netseaGoodInfoList",Object.assign({},a.netseaGoodInfoList)),o.netseaShop.loading=!1,t}}))},getParentCategory:function(e,t){var o=this,a=this;this.categoryHierarchyList[t]||(this.categoryHierarchyList[t]={level1:{},level2:{},level3:{}}),Object(u["b"])({cat_id:e}).then((function(e){0===e.code&&(e.data.forEach((function(a){if(0===a.p_cat_id)o.categoryHierarchyList[t].level1=a;else{var n=e.data.find((function(e){return e.cat_id===a.p_cat_id}));n&&0===n.p_cat_id?o.categoryHierarchyList[t].level2=a:o.categoryHierarchyList[t].level3=a}})),o.firstCatId[t]=o.categoryHierarchyList[t].level1.cat_id,o.secondCatId[t]=o.categoryHierarchyList[t].level2.cat_id,a.getNetSeaGenere(o.firstCatId[t],1,t),o.thirdCatId[t]=o.categoryHierarchyList[t].level3.cat_id,a.getNetSeaGenere(o.secondCatId[t],2,t),o.$set(o,"categoryHierarchyList",Object.assign({},o.categoryHierarchyList)),o.$set(o,"firstCatId",Object.assign({},o.firstCatId)),o.$set(o,"secondCatId",Object.assign({},o.secondCatId)),o.$set(o,"thirdCatId",Object.assign({},o.thirdCatId)))}))},getNetSeaGenere:function(e,t,o){var a=this,n=this,s={};return s.cat_id=e,Object(u["a"])(s).then((function(e){if(0===e.code)switch(t){case 0:n.netseaGenereArray[o].netseaGenereList=e.data;break;case 1:n.netseaGenereArray[o].netseaGenereList1=e.data;break;case 2:n.netseaGenereArray[o].netseaGenereList2=e.data;break}return a.$set(a,"netseaGenereArray",Object.assign({},a.netseaGenereArray)),e}))},selectNetSeaGenre:function(e,t,o){var a=this,n={};switch(t){case 0:a.netseaGenereArray[o].netseaGenereList1=[],a.netseaGenereArray[o].netseaGenereList2=[],a.netseaGenereArray[o].netseaGenereList3=[],a.secondCatId[o]=0,a.thirdCatId[o]=0,n=a.netseaGenereArray[o].netseaGenereList.find((function(t){return t.cat_id===e}));break;case 1:a.netseaGenereArray[o].netseaGenereList2=[],a.netseaGenereArray[o].netseaGenereList3=[],a.thirdCatId[o]=0,n=a.netseaGenereArray[o].netseaGenereList1.find((function(t){return t.cat_id===e}));break;case 2:a.netseaGenereArray[o].netseaGenereList3=[],n=a.netseaGenereArray[o].netseaGenereList2.find((function(t){return t.cat_id===e}));break}n&&(0===n.p_cat_id?a.getNetSeaGenere(n.cat_id,1,o).then((function(e){a.netseaGenereArray[o].netseaGenereList&&(a.secondCatId[o]=a.netseaGenereArray[o].netseaGenereList1[0].cat_id,a.getNetSeaGenere(a.secondCatId[o],2,o).then((function(e){a.netseaGenereArray[o].netseaGenereList1&&(a.thirdCatId[o]=a.netseaGenereArray[o].netseaGenereList2[0].cat_id,a.netseaGoodInfoList[o].category_id=a.thirdCatId[o])})))})):n.p_cat_id===a.firstCatId[o]?a.getNetSeaGenere(n.cat_id,2,o).then((function(e){a.netseaGenereArray[o].netseaGenereList2&&(a.thirdCatId[o]=a.netseaGenereArray[o].netseaGenereList2[0].cat_id,a.netseaGoodInfoList[o].category_id=a.thirdCatId[o])})):n.p_cat_id===a.secondCatId[o]&&(a.thirdCatId[o]=n.cat_id,a.secondCatId[o]&&(a.netseaGoodInfoList[o].category_id=a.thirdCatId[o])))},discountSwitch:function(e){this.$set(this,"netProductDiscountCodeList",Object.assign({},this.netProductDiscountCodeList))},getImageSizeInKB:function(e){return Object(i["a"])(Object(r["a"])().mark((function t(){return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.abrupt("return",Object(u["c"])({url:e}).then((function(e){if(e.volume)return e.volume})));case 4:t.prev=4,t.t0=t["catch"](0);case 6:case"end":return t.stop()}}),t,null,[[0,4]])})))()},okNetSeaGoodInfo:function(){var e=this,t=this;t.confirmNSLoading=!0;var o=[];this.goodsIds.map((function(e,a){t.$refs["netseaGoodInfoForm"+e]&&t.$refs["netseaGoodInfoForm"+e][0]&&o.push(new Promise((function(o,a){try{t.$refs["netseaGoodInfoForm"+e][0].validate((function(n,s){n?o("success"):Object.keys(s)&&Object.keys(s)[0]&&a(new Error(t.$t("view.item.list.good_id")+e+s[Object.keys(s)[0]][0].message))}))}catch(n){a(new Error(n))}})))})),Promise.all(o).then((function(o){var a=[],n=e._.map(e.netseaGoodInfoList,(function(o,n){var s={};if(s.data=JSON.parse(JSON.stringify(o)),o.publish_period_start&&(s.data.publish_period_start=new Date(l()(s.data.publish_period_start).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),o.publish_period_end&&(s.data.publish_period_end=new Date(l()(s.data.publish_period_end).format("YYYY-MM-DD HH:mm:ss")).getTime()/1e3),t.netProductDiscountCodeList[n]){if(!s.data.product_discount.product_discount_rate)return t.$message.error(t.$t("view.item.form.product_discount_rate.notnull")),"itemInfo";try{s.data.product_discount.product_discount_period_start=new Date(l()(s.data.product_discout.product_discount_period_start).format("YYYY-MM-DD HH:00:00")).getTime()/1e3,s.data.product_discount.product_discount_period_end=new Date(l()(s.data.product_discout.product_discount_period_end).format("YYYY-MM-DD HH:00:00")).getTime()/1e3}catch(c){}}else delete s.data.product_discount;if(s.data.good_id=n,!s.data.product_name)return t.$message.error(t.$t("view.item.form.item_name.notnull")),t.confirmNSLoading=!1,"title";if(!e.isWithinMaxLength(s.data.product_name,50))return t.$message.error(t.$t("view.item.form.item_name.maxlength")),document.getElementById("product_name"+n)&&document.getElementById("product_name"+n).focus(),t.confirmNSLoading=!1,"title";if(s.data.catchcopy&&!e.isWithinMaxLength(s.data.catchcopy,50))return t.$message.error(t.$t("view.item.form.catchcopy.maxlength")),document.getElementById("catchcopy"+n)&&document.getElementById("catchcopy"+n).focus(),t.confirmNSLoading=!1,"category";if(s.data.comment&&!e.isWithinMaxLength(s.data.comment,1e3))return t.$message.error(t.$t("view.item.form.comment.maxlength")),document.getElementById("comment"+n)&&document.getElementById("comment"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.description_for_consumer&&!e.isWithinMaxLength(s.data.description_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.description_for_consumer.maxlength")),document.getElementById("description_for_consumer"+n)&&document.getElementById("description_for_consumer"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.size&&!e.isWithinMaxLength(s.data.size,1e3))return t.$message.error(t.$t("view.item.form.size.maxlength")),document.getElementById("size"+n)&&document.getElementById("size"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.spec&&!e.isWithinMaxLength(s.data.spec,1e3))return t.$message.error(t.$t("view.item.form.spec.maxlength")),document.getElementById("spec"+n)&&document.getElementById("spec"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.spec_for_consumer&&!e.isWithinMaxLength(s.data.spec_for_consumer,5e3))return t.$message.error(t.$t("view.item.form.spec_for_consumer.maxlength")),document.getElementById("spec_for_consumer"+n)&&document.getElementById("spec_for_consumer"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.notes&&!e.isWithinMaxLength(s.data.notes,5e3))return t.$message.error(t.$t("view.item.form.notes.maxlength")),document.getElementById("notes"+n)&&document.getElementById("notes"+n).focus(),t.confirmNSLoading=!1,"description";if(s.data.delivery_terms&&!e.isWithinMaxLength(s.data.delivery_terms,50))return t.$message.error(t.$t("view.item.form.delivery_terms.maxlength")),document.getElementById("delivery_terms"+n)&&document.getElementById("delivery_terms"+n).focus(),t.confirmNSLoading=!1,"other";if(s.data.search_tags.length>0)for(var r=0;r<s.data.search_tags.length;r++)if(!e.isWithinMaxLength(s.data.search_tags[r].search_tag_text,10))return t.$message.error(t.$t("view.item.form.search_tags.maxlength")),document.getElementsByName("search_tag_text"+n)[r]&&document.getElementsByName("search_tag_text"+n)[r].focus(),t.confirmNSLoading=!1,"other";if(s.data.jan_code&&!e.isWithinMaxLength(s.data.jan_code,13))return t.$message.error(t.$t("view.item.form.jan_code.maxlength")),document.getElementById("jan_code"+n)&&document.getElementById("jan_code"+n).focus(),t.confirmNSLoading=!1,"other";if(s.data.maker_code&&!e.isWithinMaxLength(s.data.maker_code,30))return t.$message.error(t.$t("view.item.form.maker_code.maxlength")),document.getElementById("maker_code"+n)&&document.getElementById("maker_code"+n).focus(),t.confirmNSLoading=!1,"other";if(s.data.product_set.length>0)for(var i=0;i<s.data.product_set.length;i++){if(!e.isWithinMaxLength(s.data.product_set[i].set_branch_code,20))return t.$message.error(t.$t("view.item.form.set_branch_code.maxlength")),document.getElementsByName("set_branch_code"+n)[i]&&document.getElementsByName("set_branch_code"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(!e.isWithinMaxLength(s.data.product_set[i].set_label,30))return t.$message.error(t.$t("view.item.form.set_label.maxlength")),document.getElementsByName("set_label"+n)[i]&&document.getElementsByName("set_label"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(!s.data.product_set[i].set_reference_price)return t.$message.error(t.$t("view.item.form.set_reference_price.notnull")),document.getElementsByName("set_reference_price"+n)[i]&&document.getElementsByName("set_reference_price"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(s.data.product_set[i].set_reference_price))return t.$message.error(t.$t("view.item.form.set_reference_price.number")),document.getElementsByName("set_reference_price"+n)[i]&&document.getElementsByName("set_reference_price"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(!s.data.product_set[i].set_price)return t.$message.error(t.$t("view.item.form.set_price.notnull")),document.getElementsByName("set_price"+n)[i]&&document.getElementsByName("set_price"+n)[i].focus(),t.confirmNSLoading=!1,"sku";if(isNaN(s.data.product_set[i].set_price))return t.$message.error(t.$t("view.item.form.set_price.number")),document.getElementsByName("set_price"+n)[i]&&document.getElementsByName("set_price"+n)[i].focus(),t.confirmNSLoading=!1,"sku"}a.push(s.data)}));n=t._.compact(n),a.length>0&&0===n.length?Object(u["f"])({data:a,app_key:t.netseaShop.app_key}).then((function(e){0===e.code?(t.confirmNSLoading=!1,t.$message.success(e.message)):(t.confirmNSLoading=!1,t.$message.error(e.message))})).catch((function(e){t.confirmNSLoading=!1,t.$message.error(e)})):n.length>0&&(t.confirmNSLoading=!1,e.formEditKey=n[0])})).catch((function(e){t.confirmNSLoading=!1,t.$message.error(e)}))},isWithinMaxLength:function(e,t){for(var o=0,a=0;a<e.length;a++)o+=1;return o<=t},deleteImage:function(e,t){this.netseaGoodInfoList[t].images.map((function(t){t.image_no===e&&(t.image_url="")})),this.$set(this,"netseaGoodInfoList",Object.assign({},this.netseaGoodInfoList))},okFabu:function(){var e=this;this.confirmNSLoading=!0,Object(u["e"])({good_ids:this.goodsIds,app_key:this.netseaShop.app_key}).then((function(t){0===t.code?e.$message.success(t.message):e.$message.error(t.message),e.confirmNSLoading=!1})).catch((function(t){e.confirmNSLoading=!1,e.$message.error(t)}))},piCopyData:function(e){var t=this,o=this;this._.map(this.netseaGoodInfoList,(function(a,n){"itemInfo"===e&&t.TemplateData["product_ship_setting_code"]&&(o.netProductDiscountCodeList[n]=!0,o.netseaGoodInfoList[n].product_discount=o.TemplateData.product_discount),o.plDataFields[e].map((function(e){o.netseaGoodInfoList[n][e]=o.TemplateData[e]}))})),this.$set(this,"netseaGoodInfoList",Object.assign({},this.netseaGoodInfoList))}},components:{AntModal:m,goodsIdList:p,leftTabItem:_,kandengGoodsOne:f}},h=Object(s["a"])({},g),v=h,b=o("2877"),y=Object(b["a"])(v,a,n,!1,null,null,null);t["default"]=y.exports},ac2a:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"main"},[t("div",{staticStyle:{"text-align":"right"}},[t("select-lang",{attrs:{currentLangText:!0,defaultLang:e.routerLang}})],1),e.form.role_name&&!e.LoginStatus?t("div",[t("div",[e._v(e._s(e.form.role_name+e.$t("view.user.register"))+":")])]):e._e(),t("a-form-model",{ref:"form",staticClass:"user-layout-login",attrs:{id:"formLogin",model:e.form,rules:e.rules}},[e.LoginStatus?t("a-tabs",{staticClass:"loginTitle",on:{change:function(t){e.loginType=t}}},[t("a-tab-pane",{key:"1",attrs:{tab:e.$t(e.LoginStatus?"login.modal.tab1":"view.user.register.tab1")}}),t("a-tab-pane",{key:"2",attrs:{tab:e.$t(e.LoginStatus?"login.modal.tab2":"view.user.register.tab2")}})],1):e._e(),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.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.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.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),e.LoginStatus?e._e():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.form.realname,callback:function(t){e.$set(e.form,"realname",t)},expression:"form.realname"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),e.LoginStatus?e._e():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.form.mobile,callback:function(t){e.$set(e.form,"mobile",t)},expression:"form.mobile"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"phone"},slot:"prefix"})],1)],1),e.LoginStatus?e._e():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.form.email,callback:function(t){e.$set(e.form,"email",t)},expression:"form.email"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),e.LoginStatus&&e.captchaOnOff?t("a-row",{attrs:{gutter:16}},[t("a-col",{staticClass:"gutter-row",attrs:{span:16}},[t("a-form-model-item",{attrs:{prop:"code"}},[t("a-input",{attrs:{size:"large",type:"text",autocomplete:"off",placeholder:e.$t("login.modal.code")},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.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:{span:8}},[t("img",{staticClass:"getCaptcha",attrs:{src:e.codeUrl},on:{click:e.getCode}})])],1):e._e(),e.LoginStatus?e._e():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.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.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),e.LoginStatus?e._e():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.form.distribution_code,callback:function(t){e.$set(e.form,"distribution_code",t)},expression:"form.distribution_code"}},[t("a-icon",{style:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"security-scan"},slot:"prefix"})],1)],1),e.LoginStatus?t("a-form-item",{staticStyle:{"margin-top":"3rem"}},[t("a-button",{staticClass:"login-button",attrs:{size:"large",type:"primary",htmlType:"submit",loading:e.logining,disabled:e.logining},on:{click:e.handleSubmit}},[e._v(" "+e._s((e.loginType,e.$t("view.modal.login")))+" ")])],1):e._e(),e.LoginStatus?e._e():t("a-form-item",{staticStyle:{"margin-top":"0.25rem","margin-bottom":"1rem"}},[t("a-button",{staticClass:"login-button",attrs:{size:"large",type:"primary",htmlType:"submit",loading:e.logining,disabled:e.logining},on:{click:e.handleRegister}},[e._v(" "+e._s((e.loginType,e.$t("view.user.register")))+" ")])],1),t("a-row",[t("a-col",{staticStyle:{"text-align":"right"},attrs:{lg:24}},[t("a-space",[t("div",{staticClass:"icons-list"},[e.LoginStatus?t("a-button",{attrs:{type:"link"},on:{click:e.goRegister}},[e._v(e._s(e.$t("view.user.register")))]):e._e(),e.LoginStatus?e._e():t("a-button",{attrs:{type:"link"},on:{click:e.goLogin}},[e._v(e._s(e.$t("view.modal.login")))])],1)])],1)],1)],1)],1)},n=[],s=o("5530"),r=(o("d3b7"),o("2f62")),i=o("7ded"),c=o("04b3"),d=o("da7d"),l={components:{allIcon:c["a"],SelectLang:d["a"]},data:function(){return{prefixCls:"ant-pro-global-header-index-action",loginType:"1",allIcon:c["a"],codeUrl:"",form:{username:"",password:"",code:"",cid:"123"},captchaOnOff:!0,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"}]},logining:!1,LoginStatus:!0,CodeTime:null,codeLoading:!1,currentCodeTime:0,routerLang:""}},created:function(){var e;this.getCode(),null!==(e=this.$route.query)&&void 0!==e&&e.lang&&(this.routerLang=this.$route.query.lang),this.$route.query.role&&(this.form.role=this.$route.query.role,this.form.role_name=this.$route.query.role_name),"1"===this.$route.query.register&&this.goRegister(),this.$route.query.ref_code&&(this.form.distribution_code=this.$route.query.ref_code),this.$route.query.token&&this.loginSuccess()},beforeDestroy:function(){clearInterval(this.CodeTime)},methods:Object(s["a"])(Object(s["a"])({getCode:function(){var e=this;Object(i["c"])().then((function(t){e.captchaOnOff=void 0===t.captchaOnOff||t.captchaOnOff,e.captchaOnOff&&(e.codeUrl=t.base64,e.form.cid=t.cid)}))},applyLicense:function(){window.open("/applyLicense","_blank")}},Object(r["b"])(["Login","Logout","SubLogin"])),{},{handleSubmit:function(){var e=this;this.$notification.close("loginExpireTip"),this.logining=!0,this.$refs.form.validate((function(t){t?"1"===e.loginType?e.Login(e.form).then((function(t){return e.loginSuccess(t)})).catch((function(t){return e.requestFailed(t)})).finally((function(){e.logining=!1})):e.SubLogin(e.form).then((function(t){return e.loginSuccess(t)})).catch((function(t){return e.requestFailed(t)})).finally((function(){e.logining=!1})):(setTimeout((function(){e.logining=!1}),600),e.captchaOnOff&&e.getCode())}))},loginSuccess:function(e){this.$router.push({path:"/"})},requestFailed:function(e){this.form.code=void 0,this.getCode(),this.$message.error(e)},handleCloseLoginError:function(){},goRegister:function(){this.rules.email[0].required=!0,this.LoginStatus=!1},goLogin:function(){this.rules.email[0].required=!1,this.LoginStatus=!0},handleRegister:function(){var e=this;this.$refs.form.validate((function(t){t?Object(i["k"])(e.form).then((function(t){0===t.code&&(e.$message.success(e.$t("view.modal.register.succes")),e.goLogin())})):setTimeout((function(){e.logining=!1}),600)}))},getEmailCode:function(){var e=this;this.codeLoading||this.$refs.form.validateField("email",(function(t){t||Object(i["b"])({email:e.form.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)}})},u=l,m=(o("2c06"),o("5cb6"),o("2877")),p=Object(m["a"])(u,a,n,!1,null,"747e8106",null);t["default"]=p.exports},aee6:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("span",[t("a-tabs",{on:{change:e.changeTabGoods},model:{value:e.activeTab,callback:function(t){e.activeTab=t},expression:"activeTab"}},e._l(e.list,(function(e){return t("a-tab-pane",{key:e.good_id,attrs:{tab:e.title}})})),1)],1)},n=[],s=o("5530"),r=o("c7eb"),i=o("1da1"),c=(o("d3b7"),o("3ca3"),o("ddb0"),o("d81d"),o("aabf")),d={name:"GoodsListTab",props:{goodsIdList:{type:Array,default:function(){return[]}}},data:function(){return{activeTab:0,list:{}}},watch:{goodsIdList:function(e,t){e!==t&&this.getGoodsList()}},created:function(){this.getGoodsList()},methods:{changeTab:function(e){},getGoodsList:function(){var e=this;return Object(i["a"])(Object(r["a"])().mark((function t(){return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(e.goodsIdList.map(function(){var t=Object(i["a"])(Object(r["a"])().mark((function t(o,a){var n;return Object(r["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={good_id:o},t.next=3,Object(c["l"])(n);case 3:e.list[o]=t.sent;case 4:case"end":return t.stop()}}),t)})));return function(e,o){return t.apply(this,arguments)}}()));case 2:e._.size(e.list)>1&&(e.activeTab=e.list[e.goodsIdList[0]].good_id,e.$emit("change",e.list[e.goodsIdList[0]]));case 3:case"end":return t.stop()}}),t)})))()},changeTabGoods:function(e){this.activeTab=e,this.$emit("change",this.list[e])}}},l=Object(s["a"])({},d),u=l,m=o("2877"),p=Object(m["a"])(u,a,n,!1,null,null,null);t["default"]=p.exports},d936:function(e,t,o){"use strict";o("92c5")},da84e:function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{ref:"portaletDiv",staticClass:"module module01"},[e._m(0),t("a-icon",{staticClass:"card-icon",attrs:{type:"dashboard"}})],1)},n=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"card"},[t("h3",[e._v("访问量")]),t("div",{staticClass:"card-inner"},[t("span",{staticClass:"card-number"},[e._v("8,846")]),t("div",{staticClass:"card-chart"},[t("div",{staticClass:"chart_sm"},[t("img",{attrs:{src:o("576e"),width:"100%"}})])])])])}],s={created:function(){},mounted:function(){this.$emit("setHeight",this.$refs.portaletDiv.offsetHeight)},watch:{},components:{},methods:{}},r=s,i=(o("2f84"),o("2877")),c=Object(i["a"])(r,a,n,!1,null,"5f97037d",null);t["default"]=c.exports},df3e:function(e,t,o){}}]);