UNPKG

@bee-hole/server

Version:

www.bee-hole.com

1 lines 114 kB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-54c91c08"],{"0280":function(t,e,a){"use strict";a.r(e);a("b0c0");var i=function(){var t=this,e=t._self._c;return e("span",{staticClass:"yahooPath"},[e("a-icon",{attrs:{type:"plus"},on:{click:t.openPathList}}),e("ant-modal",{attrs:{visible:t.show,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:t.isMobile?"80vh":"680",modalWidth:t.isMobile?"100vw":"900"},on:{cancel:t.cancelPathList,ok:t.cancelPathList}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("div",[e("a-button",{on:{click:t.openFormInit}},[t._v(t._s(t.$t("components.yahooPathAdd.addbtn")))])],1),t.pathList?e("a-tree",{attrs:{replaceFields:{title:"name",key:"page_key",slot:"title",display:"display",hidden_page_flag:"hidden_page_flag",parentName:"parentName",parent_page_key:"parent_page_key"},treeData:t.pathList,loadedKeys:t.loadKeys,blockNode:!0,loadData:t.loadPath},on:{expand:t.expandNode},scopedSlots:t._u([{key:"title",fn:function(a,i){return[e("div",{staticClass:"pageKeyItem",staticStyle:{color:"#000",display:"flex","align-items":"center"}},[t._v(" "+t._s(a.name)+" "),e("a-icon",{staticStyle:{"margin-left":"15px"},attrs:{type:"edit"},on:{click:function(e){return t.handleUpdate({page_key:a.page_key,name:a.name,display:a.display,parent_page_key:a.parent_page_key,hidden_flag:a.hidden_page_flag,parentName:a.parentName},a,i)}}})],1)]}}],null,!1,2555784184)}):t._e()],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancelPathList}},[t._v(t._s(t.$t("view.test.list.form.button.cancel")))])],1)]),e("ant-modal",{attrs:{visible:t.open,"modal-title":t.formTitle1,"adjust-size":!0,modalHeight:t.isMobile?"80vh":"680",modalWidth:t.isMobile?"100vw":"900"},on:{cancel:t.cancelForm,ok:t.ok}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("a-form",[e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.name")}},[e("a-input",{attrs:{placeholder:""},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.display")}},[e("a-select",{model:{value:t.form.display,callback:function(e){t.$set(t.form,"display",e)},expression:"form.display"}},[e("a-select-option",{attrs:{value:"0"}},[t._v("私有")]),e("a-select-option",{attrs:{value:"1"}},[t._v("共有")])],1)],1),e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.hiddenFlag")}},[e("a-select",{model:{value:t.form.hidden_flag,callback:function(e){t.$set(t.form,"hidden_flag",e)},expression:"form.hidden_flag"}},[e("a-select-option",{attrs:{value:"0"}},[t._v("普通页面")]),e("a-select-option",{attrs:{value:"1"}},[t._v("隐藏页面")])],1)],1),e("a-form-item",{attrs:{label:t.$t("components.yahooPathAdd.form.parentPageKey")}},[e("div",{attrs:{color:{color:t.form.page_key?"#ccc":"#000"}},on:{click:t.openPathSelect}},[e("a-icon",{attrs:{type:"plus"}}),t._v(t._s(t.parentName)+" ")],1)])],1)],1)]),e("ant-modal",{attrs:{visible:t.visable,"modal-title":t.formTitle2,"adjust-size":!0,modalHeight:t.isMobile?"80vh":"680",modalWidth:t.isMobile?"100vw":"900"},on:{cancel:t.cancelPathSelect,ok:t.cancelPathSelect}},[e("div",{attrs:{slot:"content"},slot:"content"},[t.pathList?e("a-tree",{attrs:{replaceFields:{title:"name",key:"page_key",slot:"title"},treeData:t.pathList,loadedKeys:t.loadKeys,loadData:t.loadPath,checkable:"",checkStrictly:!0,checkedKeys:t.pathKeys},on:{check:t.onCheck},scopedSlots:t._u([{key:"title",fn:function(a){var i=a.name;return[e("div",{staticClass:"pageKeyItem",staticStyle:{color:"#000",display:"flex","align-items":"center"}},[t._v(" "+t._s(i)+" ")])]}}],null,!1,1425135114)}):t._e()],1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancelPathSelect}},[t._v(t._s(t.$t("view.test.list.form.button.cancel")))])],1)])],1)},o=[],r=a("5530"),n=a("c7eb"),s=a("1da1"),l=a("2909"),c=(a("d81d"),a("99af"),a("2dd7")),u=a("dcb0"),d=a("2f62"),p={name:"yahooPathAdd",components:{AntModal:c["default"]},data:function(){return{open:!1,pathList:[],form:{},visable:!1,show:!1,pathKeys:[],loadKeys:[],parentName:""}},computed:Object(r["a"])({},Object(d["c"])(["shopId","isMobile"])),props:{sellerId:{type:String,default:""}},created:function(){this.formTitle=this.$t("components.yahooPathAdd.form.name"),this.formTitle1=this.$t("components.yahooPathAdd.form.name.add.title"),this.formTitle2=this.$t("components.yahooPathAdd.form.name.select.title"),this.getPathList()},methods:{openAddForm:function(){this.open=!0},cancelForm:function(){this.open=!1},openPathList:function(){this.show=!0},cancelPathList:function(){this.show=!1},getPathList:function(t,e){var a=this,i={seller_id:this.sellerId};return t&&(i.page_key=t),Object(u["j"])(i).then((function(i){return i.data.results&&i.data.results.length>0?i.data.results?(i.data.results.map((function(a){a.title&&(a.label=a.name,a.isLeaf=!1),a.isLeaf=!1,a.label=a.name,a.parentName=e,t&&(a.parent_page_key=t)})),"0"!==i.data.total_results_available?t?i.data.results:(a.pathList=Object(l["a"])(i.data.results),a.pathList):[]):void 0:null}))},loadPath:function(t,e){var a=this;return Object(s["a"])(Object(n["a"])().mark((function e(){var i;return Object(n["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a.loadKeys.push(t.eventKey),a.parentName=t.label,e.next=4,a.getPathList(t.eventKey,t.label);case 4:i=e.sent,i&&i.length&&(t.dataRef.children=i),a.pathList=Object(l["a"])(a.pathList);case 7:case"end":return e.stop()}}),e)})))()},loadEvent:function(t){},onCheck:function(t,e){t.checked.length?this.pathKeys=[t.checked[t.checked.length-1]]:this.pathKeys=[],this.pathKeys.length?this.form.parent_page_key=this.pathKeys[0]:this.form.parent_page_key="",this.parentName=e.node.label},handleUpdate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.form=t,this.pathKeys=[],this.parentName=t.parentName,this.formTitle1=this.$t("components.yahooPathAdd.form.name.edit.title",{name:t.name}),this.openAddForm()},expandNode:function(t){var e=[];t.map((function(t){e.push(t)})),this.loadKeys=[].concat(e)},ok:function(){var t=this;this.form.seller_id=this.sellerId,Object(u["h"])(this.form).then((function(e){0===e.code&&(t.$message.success(t.$t("components.yahooPathAdd.success")),t.$emit("ok"),t.loadKeys=[],t.pathKeys=[],t.getPathList())}))},openPathSelect:function(){this.form.page_key||(this.visable=!0)},cancelPathSelect:function(){this.visable=!1},openFormInit:function(){this.parentName="",this.form=Object.assign({},{seller_id:this.sellerId}),this.pathKeys=[],this.formTitle1=this.$t("components.yahooPathAdd.form.name.add.title"),this.openAddForm()}}},m=Object(r["a"])({},p),h=m,g=(a("5ea1"),a("2877")),_=Object(g["a"])(h,i,o,!1,null,null,null);e["default"]=_.exports},"0c6d":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("span",[t.complaint?e("a-button",{attrs:{type:"link"},on:{click:t.openModal}},[t._v(t._s(t.workOrderId?t.$t("view.workOrder.handle.button"):t.$t("components.complaint.detail.btn")))]):t._e(),e("ant-modal",{attrs:{visible:t.open,"modal-title":t.formTitle,"adjust-size":!0,modalHeight:t.isMobile?"500":"580",modalWidth:t.isMobile?"600":"800"},on:{cancel:t.cancel}},[t.complaint&&t.open?e("div",{attrs:{slot:"content"},slot:"content"},[t.orderDetailModal?e("order-detail",{ref:"OrderDetail",on:{close:function(e){t.orderDetailModal=!1}}}):t._e(),e("previewImg",{attrs:{previewVisible:t.previewImgShow,previewImage:t.preImg},on:{"update:previewVisible":function(e){t.previewImgShow=e},"update:preview-visible":function(e){t.previewImgShow=e}}}),e("a-form",{attrs:{"label-col":t.labelCol,"wrapper-col":t.wrapperCol},model:{value:t.complaint,callback:function(e){t.complaint=e},expression:"complaint"}},[t.workOrderList&&t.workOrderList.length>1?e("a-form-item",{attrs:{label:t.$t("components.complaint.detail.currentWorkOrder"),prop:"work_order_id"}},[e("a-select",{staticStyle:{width:"100%"},attrs:{"default-value":t.complaint.work_order_id},on:{change:t.switchWorkOrder}},t._l(t.workOrderList,(function(a){return e("a-select-option",{key:a.work_order_id,attrs:{value:a.work_order_id}},[t._v(t._s(a.details))])})),1)],1):t._e(),2==t.complaint.work_order_type&&t.complaint.complaint_ref_id&&1==t.shop_id?e("a-form-item",{attrs:{label:t.$t("procure.list.order.order_id"),prop:"faq_id"}},[e("a",{on:{click:function(e){return t.handleOrderDetail()}}},[t._v(t._s(t.complaint.complaint_ref_id))])]):t._e(),3==t.complaint.work_order_type&&t.complaint.complaint_ref_id&&1==t.shop_id?e("a-form-item",{attrs:{label:t.$t("view.supply.list.order.id"),prop:"faq_id"}},[e("a",{on:{click:function(e){return t.handleOrderDetail()}}},[t._v(t._s(t.complaint.complaint_ref_id))])]):t._e(),e("a-form-item",{attrs:{label:t.$t("components.complaint.faqId"),prop:"faq_id"}},[e("faqType",{attrs:{value:t.complaint.faq_id,disabled:""},on:{"update:value":function(e){return t.$set(t.complaint,"faq_id",e)}}})],1),e("a-form-item",{attrs:{label:t.$t("components.complaint.detailImages"),prop:"detail_images"}},[e("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[t.complaint.detail_image_1?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_1},on:{click:function(e){return t.previewImage(t.complaint.detail_image_1)}}}):t._e(),t.complaint.detail_image_2?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_2},on:{click:function(e){return t.previewImage(t.complaint.detail_image_2)}}}):t._e(),t.complaint.detail_image_3?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_3},on:{click:function(e){return t.previewImage(t.complaint.detail_image_3)}}}):t._e(),t.complaint.detail_image_4?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_4},on:{click:function(e){return t.previewImage(t.complaint.detail_image_4)}}}):t._e(),t.complaint.detail_image_5?e("img",{staticStyle:{height:"80px","margin-right":"10px","margin-bottom":"10px",cursor:"pointer"},attrs:{src:t.complaint.detail_image_5},on:{click:function(e){return t.previewImage(t.complaint.detail_image_5)}}}):t._e()])]),e("a-form-item",{attrs:{label:t.$t("components.complaint.details"),prop:"details"}},[e("div",{staticStyle:{width:"100%"}},[e("div",{staticStyle:{"min-height":"32px","word-break":"break-word",display:"flex","align-content":"center","align-items":"center","flex-wrap":"wrap"}},[t._v(" "+t._s(t.complaint.details)+" ")])])]),t.complaint.results?e("div",{staticStyle:{"margin-bottom":"20px"}},[e("a-list",{attrs:{"item-layout":"horizontal","data-source":t.complaint.results},scopedSlots:t._u([{key:"renderItem",fn:function(a,i){return e("a-list-item",{},[e("a-list-item-meta",[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{key:i,style:{display:"flex",justifyContent:"space-between",paddingTop:"15px",borderTop:0===i?" 1px solid #e8e8e8":"0"}},[e("div",[e("supply-info",{attrs:{shopId:a.shop_id===t.complaint.executor_shop_id?t.complaint.executor_shop_id:t.complaint.executee_shop_id}})],1),e("div",[e("div",[t._v(t._s(a.create_time))])])])]),e("div",{attrs:{slot:"description"},slot:"description"},[e("div",{domProps:{innerHTML:t._s(a.execution_result)}})])])],1)}}],null,!1,2466928742)})],1):t._e(),t.complaint&&t.complaint.status?e("a-form-item",{attrs:{label:t.$t("components.complaint.status"),prop:"status"}},[e("div",{staticStyle:{"text-align":"right","margin-bottom":"10px","min-height":"32px","word-break":"break-word",display:"flex","align-content":"center","align-items":"center","flex-wrap":"wrap"}},[e("span",{staticStyle:{"margin-right":"10px"}},[t._v(" "+t._s(t.$t("WorkOrder."+t.complaint.status)))]),"FINISHED"!=t.complaint.status?e("endingWorkOrder",{attrs:{workOrderId:t.complaint.work_order_id},on:{refresh:t.openModal}}):t._e()],1)]):t._e(),t.complaint&&"FINISHED"!=t.complaint.status?e("div",[e("commitWorkOrder",{ref:"commitWorkOrder",attrs:{isFormBtn:!1,workOrderId:t.complaint.work_order_id},on:{ok:t.openModal}})],1):t._e()],1)],1):t._e(),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("a-button",{on:{click:t.cancel}},[t._v(t._s(t.$t("components.complaint.detail.cancel")))]),t.complaint&&"FINISHED"!=t.complaint.status?e("a-button",{attrs:{type:"primary"},on:{click:t.submit}},[t._v(t._s(t.$t("view.workorder.handle.submit")))]):t._e()],1)])],1)},o=[],r=a("5530"),n=(a("d3b7"),a("3ca3"),a("ddb0"),a("4de4"),a("255f")),s=a("2dd7"),l=a("2f62"),c=a("a026"),u=a("8eb3"),d=a("0a56"),p=Object(c["b"])((function(){return a.e("chunk-ab8ba5de").then(a.bind(null,"7bb9"))})),m=Object(c["b"])((function(){return a.e("chunk-769b976f").then(a.bind(null,"95fb"))})),h=Object(c["b"])((function(){return Promise.all([a.e("lang-package~4e34e71e"),a.e("chunk-fa04ce72")]).then(a.bind(null,"c03e"))})),g=Object(c["b"])((function(){return a.e("chunk-769b976f").then(a.bind(null,"dc25"))})),_={name:"ComplaintDetail",data:function(){return{complaint:null,open:!1,formTitle:"",labelCol:{span:24},wrapperCol:{span:20},workOrderList:[],previewImgShow:!1,preImg:"",orderDetailModal:!1}},props:{orderId:{type:String,default:""},workOrderId:{type:String,default:""}},created:function(){this.formTitle=this.$t("components.complaint.detail.modal.title"),this.workOrderId?this.getWorkOrder():this.getComplaint()},watch:{orderId:function(t,e){this.getComplaint()}},methods:{getComplaint:function(){var t=this;Object(n["f"])({complaint_ref_id:this.orderId}).then((function(e){e.list&&e.list.length>0&&(t.workOrderList=e.list,t.complaint=e.list[e.list.length-1])}))},getWorkOrder:function(){var t=this;Object(n["c"])({work_order_id:this.workOrderId}).then((function(e){t.complaint=e}))},cancel:function(){this.open=!1},openModal:function(){this.open=!0,this.workOrderId?this.getWorkOrder():this.getComplaint()},switchWorkOrder:function(t){var e=this.workOrderList.filter((function(e){if(e.work_order_id===t)return e}));e&&e.length>0&&(this.complaint=Object.assign({},e[0]))},previewImage:function(t){this.preImg=t,this.previewImgShow=!0},submit:function(){this.$refs.commitWorkOrder.backChecked()},handleOrderDetail:function(){var t=this,e={};this.complaint.work_order_type,e.order_id=this.complaint.complaint_ref_id,this.orderDetailModal=!0,this.$nextTick((function(){return t.$refs.OrderDetail.handleOrderDetail(e)}))}},computed:Object(r["a"])({},Object(l["c"])(["shopId","isMobile"])),components:{AntModal:s["default"],faqType:p,endingWorkOrder:m,commitWorkOrder:h,supplyInfo:u["default"],previewImg:g,OrderDetail:d["default"]}},f=Object(r["a"])({},_),k=f,b=a("2877"),v=Object(b["a"])(k,i,o,!1,null,null,null);e["default"]=v.exports},"2ab0":function(t,e,a){},"32e5":function(t,e,a){},"3b1b":function(t,e,a){"use strict";a.r(e);a("b0c0"),a("a9e3");var i=function(){var t=this,e=t._self._c;return e("div",[e("a-card",{staticClass:"orderList",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:12,type:"flex"}},["admin"==t.roles[0]?e("a-col",{attrs:{lg:7,xl:8,xxl:6}},[e("a-form-item",{attrs:{label:t.$t("view.order.list.shop.seller")}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("seller-list",{on:{changeuser:t.changeUser}})],1)])],1):t._e(),"admin"==t.roles[0]&&t.userId?e("a-col",{attrs:{lg:6,xl:6,xxl:4}},[e("a-form-item",{attrs:{label:t.$t("view.order.list.shop")}},[e("shop-select",{ref:"shopSelect",attrs:{userId:t.userId},on:{change:t.changeShop}})],1)],1):t._e(),t.userId?t._e():e("a-col",{attrs:{lg:11,xl:"admin"==t.roles[0]?6:8,xxl:"admin"==t.roles[0]?4:6}},[e("a-form-item",{attrs:{label:t.$t("view.order.detail.item"),labelCol:{md:8,sm:8,lg:10},wrapperCol:{md:16,sm:16,lg:14}}},[e("good-list",{staticStyle:{width:"100%"},attrs:{type:"radio"},on:{changeitem:t.changeItem}})],1)],1)],1),e("a-row",{attrs:{gutter:12,type:"flex"}},[e("a-col",{attrs:{lg:7,xl:8,xxl:6}},[e("a-form-item",{attrs:{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.orderId,callback:function(e){t.orderId=e},expression:"orderId"}})],1)],1),e("a-col",{attrs:{lg:6,xl:6,xxl:4,xs:24,md:12}},[e("a-form-item",{attrs:{label:t.$t("view.order.list.export.user_select_title")}},[e("member-list",{attrs:{shopId:t.checkedShopId},on:{changeMember:t.changeMember}})],1)],1),e("a-col",{attrs:{lg:11,xl:5,xxl:5,md:16}},[e("a-form-item",{attrs:{label:t.$t("view.order.list.export.time_select_title"),labelCol:{md:3,sm:8,lg:6,xl:4,xxl:3},wrapperCol:{lg:18,xl:20,xxl:21}}},[e("a-range-picker",{staticStyle:{width:"auto"},attrs:{"show-time":""},model:{value:t.exportTime,callback:function(e){t.exportTime=e},expression:"exportTime"}},[e("template",{slot:"renderExtraFooter"})],2)],1)],1),e("a-col",{attrs:{lg:24,xl:24,xxl:8}},[e("span",{staticClass:"table-page-search-submitButtons buttonsTools"},[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("a-button",{staticStyle:{"margin-left":"8px"},on:{click:t.orderExport}},[e("a-icon"),t._v(t._s(t.$t("view.order.list.export.btn"))+" ")],1),e("syn-config",{attrs:{syn_idf:2}})],1)])],1),e("a-row",{attrs:{gutter:12,type:"flex"}},[e("a-col",{attrs:{lg:7,xl:7,xxl:6}},[e("a-form-item",{attrs:{label:t.$t("view.purchaseOrder.list.purchaseId"),labelCol:{xl:10},wrapperCol:{xl:14}}},[e("a-input",{attrs:{placeholder:t.$t("view.purchaseOrder.list.purchaseId"),"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.purchaseId,callback:function(e){t.purchaseId=e},expression:"purchaseId"}})],1)],1),e("a-col",{attrs:{lg:7,xl:7,xxl:6}},[e("a-form-item",{attrs:{label:t.$t("view.item.component.item.syn.syntype.title"),labelCol:{xl:10},wrapperCol:{xl:14}}},[e("platform",{attrs:{syntype:t.from_id,viewPlatform:2},on:{"update:syntype":function(e){t.from_id=e},selectPlatForm:t.changePlatForm}})],1)],1),t.platFormShops.length?e("a-col",{attrs:{lg:7,xl:6,xxl:4}},[e("a-form-item",{attrs:{label:t.$t("components.dyProduct.dyProduct.oauth.shopname")}},[e("a-select",{staticStyle:{width:"255px"},attrs:{allowClear:!0,placeholder:t.$t("components.dyProduct.dyProduct.shopname.placeholder")},model:{value:t.from_shop_id,callback:function(e){t.from_shop_id=e},expression:"from_shop_id"}},t._l(t.platFormShops,(function(a,i){return e("a-select-option",{key:i,attrs:{value:a.value}},[t._v(t._s(a.name))])})),1)],1)],1):t._e()],1)],1)],1)]),e("div",[e("view-select",{staticStyle:{display:"none"},on:{change:t.backViewId}}),t.showReviewModal?e("review-list",{ref:"ReviewList",on:{close:function(e){t.showReviewModal=!1}}}):t._e(),t.orderDetailModal?e("order-detail",{ref:"OrderDetail",attrs:{modalHeight:.8*t.windowHeight+""},on:{close:function(e){t.orderDetailModal=!1}}}):t._e(),t.showFaHuoModal?e("review-list1",{ref:"ReviewList1",on:{ok:t.getList,close:function(e){t.showFaHuoModal=!1}}}):t._e(),t.showInsureModal?e("insure-list",{ref:"InsureList",on:{ok:t.getList,close:function(e){t.showInsureModal=!1}}}):t._e(),t.showModifyShipping?e("modify-shipping",{ref:"ModifyShipping",on:{ok:t.getList,close:function(e){t.showModifyShipping=!1}}}):t._e(),t.showHandlePayModal?e("handle-pay-list",{ref:"HandlePayList",on:{ok:t.getList,close:function(e){t.showHandlePayModal=!1}}}):t._e(),t.showCaiGouModal?e("caigou",{ref:"pushCaiGou",on:{ok:t.getList,close:function(e){t.showCaiGouModal=!1}}}):t._e(),e("stockAdd",{ref:"stockAdd"})],1),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[e("a-tabs",{staticClass:"loginTitle",on:{change:function(e){return t.orderQuery(e)}}},t._l(t.statusLists,(function(t){return e("a-tab-pane",{key:t.value,attrs:{tab:t.label}})})),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:"order_id",tableKey:"test-cat-catlist-table",expandedRowKeys:t.expandedRowKeys,pagination:{current:t.queryParam.page,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:" "},scopedSlots:t._u([{key:"order_id",fn:function(a){var i=a.text,o=a.record;return e("span",{},[o.from_id?e("div",[t.shouldDisplayTag(o)?e("a-tag",{attrs:{color:"#f50"}},[t._v(" "+t._s(t.showTag(o))+" ")]):t._e()],1):t._e(),e("div",{staticStyle:{display:"flex","flex-wrap":"wrap"}},[e("span",[e("a",{on:{click:function(e){return t.handleOrderDetail(o)}}},[t._v(" "+t._s(i)+" ")]),e("copyText",{attrs:{text:i,tooltipText:t.$t("view.order.list.order_id.copy")}})],1)]),e("div",[t._v(t._s(o.create_time))]),e("a",{attrs:{type:"primary"},on:{click:function(e){return t.orderPrint(o)}}},[t._v(t._s(t.$t("view.order.detail.print.btn")))]),e("br"),"admin"==t.roles[0]&&1!==o.shop_id?e("div",[e("supply-info",{attrs:{shopId:o.shop_id}})],1):t._e(),o.order_item[0].stock_log?e("div",[t._v(" "+t._s(t.$t("view.order.target.wareHouse"))+" : "),o.order_item[0].stock_log?e("wareHouseInfo",{attrs:{isTag:!0,warehouseId:Number(o.order_item[0].stock_log.warehouse_id)}}):t._e(),"ORDER_WAIT_SHIP"===o.status?e("span",[t._v("-")]):t._e(),"ORDER_WAIT_SHIP"===o.status?e("orderSwitchWareHouse",{attrs:{skuId:o.order_item[0].sku_id,orderId:o.order_id},on:{ok:t.getList}}):t._e()],1):t._e(),o.order_item[0].stock_log?e("div",[e("webHookInfo",{attrs:{orderId:o.order_id,orderStatus:o.status,wareHouseId:Number(o.order_item[0].stock_log.warehouse_id)}})],1):t._e(),e("dispath-note",{staticStyle:{display:"none"},attrs:{order:o}})],1)}},{key:"order_item",fn:function(a){var i=a.text,o=a.record;return e("span",{},t._l(i,(function(a,r){return e("div",{key:a.sku_id,staticStyle:{display:"flex","margin-bottom":"10px"}},[e("div",[e("a-avatar",{attrs:{shape:"square",size:85,src:a.img_url},on:{click:function(e){return t.openItem(a)}}}),1==t.shopId?e("div",{staticStyle:{"margin-top":"0.5rem"}},[e("a-tag",{attrs:{color:2==a.mailing_mode?"red":"green"}},[1===t.shopId?e("div",[2==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.myself"))+" ")]):t._e(),1==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):t._e(),0==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.platform"))+" ")]):t._e()]):t._e(),1!==t.shopId?e("div",[2==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.myself1"))+" ")]):t._e(),1==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):t._e(),0==a.mailing_mode?e("div",[t._v(" "+t._s(t.$t("view.item.component.item.supply.shippingConfig.platform1"))+" ")]):t._e()]):t._e()])],1):t._e()],1),e("div",{staticStyle:{"margin-left":"10px",flex:"1"}},[e("a-row",{attrs:{type:"flex"}},[e("a-col",{attrs:{flex:3}},[e("a",{on:{click:function(e){return t.openItem(a)}}},[t._v(" "+t._s(a.title)+" ")])])],1),e("a-row",{attrs:{type:"flex"}},[e("a-col",[t._v(" "+t._s(o.currency)+" "+t._s(a.price)+" ")]),e("a-col",{staticStyle:{"padding-left":"5px"}},[e("a-icon",{staticStyle:{"font-size":"10px","margin-right":"0","padding-right":"0"},attrs:{type:"close"}}),t._v(" "+t._s(a.num)+" ")],1),e("a-col",{staticStyle:{"padding-left":"5px"}},[a.activity_info&&a.activity_info.wholesaleprice_id>0?e("a-tooltip",[e("template",{slot:"title"},[t._v(" "+t._s(1===t.wholesalePriceData.type?t.$t("view.order.list.discount",{start:t.wholesalePriceData.start_num,end:t.wholesalePriceData.end_num,discount:t.wholesalePriceData.price}):t.$t("view.order.list.price",{start:t.wholesalePriceData.start_num,end:t.wholesalePriceData.end_num,price:t.shopQuoteCurrency+t.wholesalePriceData.price}))+" ")]),e("a-tag",{attrs:{color:"#2db7f5"},on:{mouseover:function(e){return t.getOrderItemWholesalePrice(a.activity_info.wholesaleprice_id)}}},[t._v(" "+t._s(t.$t("view.item.wholesale.form.new_price"))+" ")])],2):t._e()],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),e("a-row",[e("a-col",{attrs:{flex:3}},[t._v(" "+t._s(t.$t("view.item.sku.barcode"))+" : "+t._s(a.barcode)+" ")]),e("a-col",{attrs:{flex:3}},[t._v(" "+t._s(t.$t("view.item.sku.out_id"))+" : "),e("a",{on:{click:function(e){return t.handleStockAdd(a)}}},[t._v(" "+t._s(a.out_id))]),e("skuConv",{attrs:{fromPlatform:o.from_id,outId:a.out_id}})],1),e("a-col",{attrs:{flex:3}})],1),r<i.length-1?e("a-divider"):t._e()],1)])})),0)}},{key:"payment",fn:function(a){var i=a.text,o=a.record;return e("span",{},[""===o.from_id?e("a-row",[e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.list.biaojiahuobi"))+" : "+t._s(t.shopQuoteCurrency)+" "+t._s(i)+" ")]),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.list.payhuobiprice"))+" : "+t._s(o.trans_currency)+" "+t._s(o.trans_amount)+" ")])],1):t._e(),""!==o.from_id?e("a-row",[e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(o.currency)+" "+t._s(i)+" ")])],1):t._e()],1)}},{key:"status",fn:function(a){var i=a.text;return e("span",{},[e("div",[t._v(" "+t._s(t.$t(i))+" ")])])}},{key:"paymemberInfo",fn:function(a){var i=a.record;return e("span",{},[e("a-row",[i?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.gangwei.list.realname"))+" : "),"CN"===i.country||"HK"===i.country||"MO"===i.country||"TW"===i.country||"SG"===i.country||"JP"===i.country||"KR"===i.country||"HU"===i.country||"VN"===i.country?e("span",[t._v(t._s(i.last_name||"")+" "+t._s(i.first_name||""))]):e("span",[t._v(t._s(i.first_name||"")+" "+t._s(i.last_name||""))]),!i.member_id||"purchase"!=i.from_id&&"handlePay"!=i.from_id&&""!=i.from_id?t._e():e("message",{staticStyle:{display:"inline-block","margin-left":"5px"},attrs:{memberId:i.member_id}})],1):t._e(),i.phone&&""!=i.phone?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_phone"))+" : "+t._s(i.phone)+" ")]):t._e(),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_country"))+" : "+t._s(t.$t(i.country))+" ")]),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_state"))+" : "+t._s(i.state)+" ")]),i.city?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_city"))+" : "+t._s(i.city)+" ")]):t._e(),i.street?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_street"))+" : "+t._s(i.street)+" ")]):t._e(),i.apartment?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.ship_men"))+" : "+t._s(i.apartment)+" ")]):t._e(),i.zip_code?e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.zipcode"))+" : "+t._s(i.zip_code)+" ")]):t._e(),e("a-col",{attrs:{lg:24}},[t._v(" "+t._s(t.$t("view.order.detail.memberNote"))+" : "+t._s(i.member_note)+" ")]),e("a-col",{attrs:{lg:24}},[e("a-button",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===i.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}],attrs:{type:"primary"},on:{click:function(e){return t.handleModifyShipping(i)}}},[t._v(" "+t._s(t.$t("view.system.resourcegroup.Update"))+" ")])],1)],1)],1)}},{key:"operation",fn:function(a){var i=a.record;return e("span",{},[e("a",{on:{click:function(e){return t.handleReview(i)}}},[t._v(" "+t._s(t.$t("view.order.list.review.btn"))+" ")]),e("span",[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleInsure(i)}}},[t._v(" "+t._s(t.$t("view.order.list.insure.btn"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"===i.status||"ORDER_PART_PAID"===i.status,expression:"record.status === 'ORDER_WAIT_PAYMENT' || record.status === 'ORDER_PART_PAID'"}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handlePay(i,!1)}}},[t._v(" "+t._s(t.$t("view.order.list.manual_pay"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"===i.status||"ORDER_PART_PAID"===i.status||"ORDER_WAIT_SHIP"===i.status,expression:"\n record.status === 'ORDER_WAIT_PAYMENT' ||\n record.status === 'ORDER_PART_PAID' ||\n record.status === 'ORDER_WAIT_SHIP'\n "}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleCloseOrder(i,!1)}}},[t._v(" "+t._s(t.$t("view.order.list.closeOrder"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_PAYMENT"!==i.status&&"ORDER_PART_PAID"!==i.status&&"handlePay"===i.from_id,expression:"\n record.status !== 'ORDER_WAIT_PAYMENT' &&\n record.status !== 'ORDER_PART_PAID' &&\n record.from_id === 'handlePay'\n "}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handlePay(i,!0)}}},[t._v(" "+t._s(t.$t("view.order.list.manual_pay"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===i.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleFaHuo(i)}}},[t._v(" "+t._s(t.$t("view.order.list.ship.btn"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_AFTER_SALE"===i.status,expression:"record.status === 'ORDER_AFTER_SALE'"}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.handleCancelAfterSales(i)}}},[t._v(" "+t._s(t.$t("view.order.list.aftersale.cancel.btn"))+" ")])],1),e("span",{directives:[{name:"show",rawName:"v-show",value:"ORDER_WAIT_SHIP"===i.status,expression:"record.status === 'ORDER_WAIT_SHIP'"}]},[e("a-divider",{attrs:{type:"vertical"}}),e("a-popover",{attrs:{title:t.$t("view.order.list.reset.push.log.title"),trigger:"click",placement:"bottom"}},[e("template",{slot:"content"},[e("a-table",{attrs:{columns:t.logListTitle,"data-source":t.logData,pagination:{pageSize:3}}},[e("span",{attrs:{slot:"action"},slot:"action"},[e("a-button",{attrs:{type:"primary"},on:{click:function(e){return t.orderPush(i)}}},[t._v(" "+t._s(t.$t("view.order.list.reset.push.log.action.btn"))+" ")])],1)])],1),e("a",{attrs:{type:"primary"},on:{click:function(e){return t.orderPushLog(i)}}},[t._v(t._s(t.$t("view.order.list.reset.push.log")))])],2)],1),"ORDER_WAIT_SHIP"===i.status?e("span",[e("a-divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.pushCaiGou(i)}}},[t._v(t._s(t.$t("component.procure.create.button1")))])],1):t._e(),e("div",[e("div",{attrs:{title:"订单备注"}},[i.user_note?e("a-tag",{staticStyle:{width:"80%"},attrs:{color:"orange"}},[t._v(t._s(i.user_note))]):t._e()],1),e("order-note",{attrs:{orderId:i.order_id,note:i.user_note},on:{ok:function(e){return t.getList()}}})],1)])}}])},[e("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[1!=t.shopId?e("autoPur"):t._e(),e("ordersShips",{attrs:{orders:t.selectedRows||[]},on:{ok:t.okShips}})],1)])],1)],1)},o=[],r=a("5530"),n=a("6958"),s=Object(r["a"])({},n["default"]),l=s,c=(a("be5e"),a("2877")),u=Object(c["a"])(l,i,o,!1,null,null,null);e["default"]=u.exports},"5ea1":function(t,e,a){"use strict";a("a4d4")},6947:function(t,e,a){"use strict";a("b6ad")},"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_sto