@bee-hole/server
Version:
www.bee-hole.com
1 lines • 108 kB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-02533e70"],{"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")),d=a("dcb0"),u=a("2f62"),m={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(u["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(d["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(d["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()}}},p=Object(r["a"])({},m),h=p,f=(a("5ea1"),a("2877")),_=Object(f["a"])(h,i,o,!1,null,null,null);e["default"]=_.exports},"0544":function(t,e,a){},"0c68":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:"650",title:t.formTitle,"label-col":t.labelCol,"wrapper-col":t.wrapperCol,visible:t.open,"body-style":{height:"calc(100vh - 100px)",overflow:"auto"}},on:{close:t.cancel}},[e("a-form-model",{ref:"form",attrs:{model:t.form,rules:t.rules,layout:"vertical"}},[e("a-form-model-item",{attrs:{label:t.$t("view.bank.bank_name"),prop:"bank_name"}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.bank_name")},model:{value:t.form.bank_name,callback:function(e){t.$set(t.form,"bank_name",e)},expression:"form.bank_name"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.company_name"),prop:"company_name"}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.company_name")},model:{value:t.form.company_name,callback:function(e){t.$set(t.form,"company_name",e)},expression:"form.company_name"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.bank_account_number"),prop:"bank_account_number"}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.bank_account_number")},model:{value:t.form.bank_account_number,callback:function(e){t.$set(t.form,"bank_account_number",e)},expression:"form.bank_account_number"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.beneficial_bank_name"),prop:"beneficial_bank_name"}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.beneficial_bank_name")},model:{value:t.form.beneficial_bank_name,callback:function(e){t.$set(t.form,"beneficial_bank_name",e)},expression:"form.beneficial_bank_name"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.beneficial_bank_code")}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.beneficial_bank_code")},model:{value:t.form.beneficial_bank_code,callback:function(e){t.$set(t.form,"beneficial_bank_code",e)},expression:"form.beneficial_bank_code"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.swift_code")}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.swift_code")},model:{value:t.form.swift_code,callback:function(e){t.$set(t.form,"swift_code",e)},expression:"form.swift_code"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.branch_address")}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.branch_address")},model:{value:t.form.branch_address,callback:function(e){t.$set(t.form,"branch_address",e)},expression:"form.branch_address"}})],1),e("div",{staticClass:"bottom-control",staticStyle:{"z-index":"9999"}},[e("a-space",[e("a-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("component.bank.save.btn"))+" ")]),e("a-button",{on:{click:t.cancel}},[t._v(" "+t._s(t.$t("component.bank.cancel.btn"))+" ")])],1)],1)],1)],1)},o=[],r=a("5530"),n=a("b4c5"),s=Object(r["a"])({},n["default"]),l=s,c=a("2877"),d=Object(c["a"])(l,i,o,!1,null,"7356ef97",null);e["default"]=d.exports},"1d18":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",{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:t.$t("view.bank.bank_name")}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.bank_name"),"allow-clear":""},model:{value:t.queryParam.bank_name,callback:function(e){t.$set(t.queryParam,"bank_name",e)},expression:"queryParam.bank_name"}})],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.article.list.article.query")))],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.article.list.article.reset")))],1)],1)])],1)],1)],1)]),e("a-card",{staticClass:"table-card",attrs:{bordered:!1}},[t.showAddModal?e("bank-add-form",{ref:"bankAddForm",on:{ok:t.getList,close:function(e){t.showAddModal=!1}}}):t._e(),t.showEditModal?e("bank-edit-form",{ref:"bankEditForm",on:{ok:t.getList,close:function(e){t.showEditModal=!1}}}):t._e(),e("advance-table",{attrs:{columns:t.columns,"data-source":t.list,title:t.$t("view.bank.bank.management"),loading:t.loading,rowKey:"bank_id",size:"middle",tableKey:"system-bank-BankIndex-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:!1,showQuickJumper:!0,showTotal:function(e,a){return t.$t("view.order.list.table.total",{num:a[0]+"-"+a[1],total:e})},onChange:t.changeSize,onShowSizeChange:t.onSizeChange}},on:{refresh:t.getList},scopedSlots:t._u([{key:"operation",fn:function(a){a.text;var i=a.record;return e("span",{},[e("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:bank:edit"],expression:"['system:bank:edit']"}],on:{click:function(e){return t.handleUpdate(i)}}},[t._v(" "+t._s(t.$t("view.bank.edit"))+" ")]),e("a-divider",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:bank:remove"],expression:"['system:bank:remove']"}],attrs:{type:"vertical"}}),e("a",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:bank:remove"],expression:"['system:bank:remove']"}],on:{click:function(e){return t.handleDelete(i)}}},[t._v(" "+t._s(t.$t("view.bank.delete"))+" ")])],1)}}])},[e("div",{staticClass:"table-operations",attrs:{slot:"button"},slot:"button"},[e("a-button",{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:["system:bank:add"],expression:"['system:bank:add']"}],attrs:{type:"primary"},on:{click:t.handleAdd}},[e("a-icon",{attrs:{type:"plus"}}),t._v(" "+t._s(t.$t("view.bank.new.add"))+" ")],1)],1)])],1)],1)},o=[],r=(a("d81d"),a("8003")),n=a("5d9e"),s=a("0c68"),l=a("6b3b"),c=a("1b6c"),d={name:"Bank",components:{BankAddForm:s["default"],AdvanceTable:n["default"],BankEditForm:l["default"]},data:function(){return{list:[],selectedRowKeys:[],selectedRows:[],advanced:!1,single:!0,multiple:!0,ids:[],loading:!1,sunloading:!1,total:0,dateRange:[],labelCol:{span:6},wrapperCol:{span:18},queryParam:{page:1,limit:10,bank_name:void 0},addModalRefName:"addModal",columns:[{title:Object(c["a"])("view.bank.bank_id"),dataIndex:"bank_id",ellipsis:!0,width:"10%",align:"center"},{title:Object(c["a"])("view.bank.bank_name"),dataIndex:"bank_name",align:"center"},{title:Object(c["a"])("view.bank.company_name"),dataIndex:"company_name",align:"center"},{title:Object(c["a"])("view.bank.bank_account_number"),dataIndex:"bank_account_number",align:"center"},{title:Object(c["a"])("view.bank.beneficial_bank_name"),dataIndex:"beneficial_bank_name",align:"center"},{title:Object(c["a"])("view.bank.create_time"),dataIndex:"create_time",align:"center"},{title:Object(c["a"])("view.bank.operation"),dataIndex:"operation",width:"200",scopedSlots:{customRender:"operation"},align:"center"}],showAddModal:!1,showEditModal:!1}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.loading=!0,Object(r["b"])(this.queryParam).then((function(e){t.list=e.list||[],t.total=e.total_count||0,t.loading=!1})).catch((function(){t.loading=!1}))},handleQuery:function(){this.queryParam.page=1,this.getList()},resetQuery:function(){this.queryParam={page:1,limit:10,bank_name:void 0},this.handleQuery()},onShowSizeChange:function(t,e){this.queryParam.limit=e,this.getList()},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()},onSelectChange:function(t,e){this.selectedRowKeys=t,this.rows=e,this.ids=this.selectedRows.map((function(t){return t.bank_id})),this.single=1!==t.length,this.multiple=!t.length},toggleAdvanced:function(){this.advanced=!this.advanced},handleAdd:function(){var t=this;this.showAddModal=!0,this.$nextTick((function(){t.$refs.bankAddForm.handleAdd()}))},handleUpdate:function(t){var e=this;this.showEditModal=!0,this.$nextTick((function(){e.$refs.bankEditForm.handleUpdate(t)}))},handleDelete:function(t){var e=this;this.$confirm({title:this.$t("view.bank.delete.confirm"),onOk:function(){return Object(r["a"])({bank_id:t.bank_id}).then((function(){e.getList(),e.$message.success(e.$t("view.bank.delete.success"))}))},onCancel:function(){}})}}},u=d,m=a("2877"),p=Object(m["a"])(u,i,o,!1,null,"c3d3eaa6",null);e["default"]=p.exports},"1fc7":function(t,e,a){"use strict";a.r(e);var i=a("c0c3"),o=a("2dd7");e["default"]={name:"CreateForm",props:{typeOptions:{type:Array,required:!0}},components:{AntModal:o["default"]},data:function(){return{loading:!1,formTitle:"",form:{id:void 0,configName:void 0,configKey:void 0,configValue:void 0,configType:"Y",remark:void 0},open:!1,rules:{configName:[{required:!0,message:"参数名称不能为空",trigger:"blur"}],configKey:[{required:!0,message:"参数编码不能为空",trigger:"blur"},{validator:this.checkConfigKeyUnique}],configValue:[{required:!0,message:"参数值不能为空",trigger:"blur"}]}}},filters:{},created:function(){},computed:{},watch:{},methods:{cancel:function(){this.open=!1,this.$emit("close")},reset:function(){void 0!==this.$refs.form&&this.$refs.form.resetFields()},handleAdd:function(){this.open=!0,this.formTitle="添加参数"},handleUpdate:function(t,e){var a=this,o=t?t.id:e;Object(i["e"])(o).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.id?Object(i["i"])(t.form).then((function(e){t.$message.success("修改成功",3),t.open=!1,t.$emit("ok")})):Object(i["i"])(t.form).then((function(e){t.$message.success("新增成功",3),t.open=!1,t.$emit("ok")}))}))},checkConfigKeyUnique:function(t,e,a){var o="参数编码已存在";if(""===e)a();else{var r={configKey:e,id:void 0!==this.form.id?this.form.id:""};Object(i["a"])(r).then((function(t){"1"===t.data.code?a():a(o)}))}}}}},"2ab0":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("4bd2"),a("2877")),d=Object(c["a"])(l,i,o,!1,null,null,null);e["default"]=d.exports},"4bd2":function(t,e,a){"use strict";a("0544")},5703: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:"45%",title:t.formTitle,"label-col":4,"wrapper-col":14,visible:t.open,"body-style":{height:"calc(100vh - 100px)",overflow:"auto"}},on:{close:t.cancel}},[e("a-form-model",{ref:"form",attrs:{model:t.form,rules:t.rules,layout:"vertical"}},[e("a-form-model-item",{attrs:{label:"参数编码",prop:"configKey"}},[e("a-input",{attrs:{placeholder:"请输入"},model:{value:t.form.configKey,callback:function(e){t.$set(t.form,"configKey",e)},expression:"form.configKey"}})],1),e("a-form-model-item",{attrs:{label:"参数名称",prop:"configName"}},[e("a-input",{attrs:{placeholder:"请输入"},model:{value:t.form.configName,callback:function(e){t.$set(t.form,"configName",e)},expression:"form.configName"}})],1),e("a-form-model-item",{attrs:{label:"参数值",prop:"configValue"}},[e("a-input",{attrs:{placeholder:"请输入"},model:{value:t.form.configValue,callback:function(e){t.$set(t.form,"configValue",e)},expression:"form.configValue"}})],1),e("a-form-model-item",{attrs:{label:"是否内置参数",prop:"configType"}},[e("a-radio-group",{attrs:{"button-style":"solid"},model:{value:t.form.configType,callback:function(e){t.$set(t.form,"configType",e)},expression:"form.configType"}},t._l(t.typeOptions,(function(a,i){return e("a-radio-button",{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",{on:{click:t.cancel}},[t._v(" 取消 ")])],1)],1)],1)],1)},o=[],r=a("5530"),n=a("1fc7"),s=Object(r["a"])({},n["default"]),l=s,c=a("2877"),d=Object(c["a"])(l,i,o,!1,null,null,null);e["default"]=d.exports},5881: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",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"操作信息",layout:"vertical",column:3,bordered:""}},[e("a-descriptions-item",{attrs:{label:"操作模块"}},[t._v(" "+t._s(t.form.module)+" ")]),e("a-descriptions-item",{attrs:{label:"登录信息"}},[t._v(" #"+t._s(t.form.member_id)+" / "+t._s(t.form.member_name)+" / "+t._s(t.form.ip)+" / "+t._s(t.form.region)+" ")]),e("a-descriptions-item",{attrs:{label:"请求方式"}},[t._v(" "+t._s(t.form.method)+" ")]),e("a-descriptions-item",{attrs:{label:"请求地址"}},[t._v(" "+t._s(t.form.url)+" ")]),e("a-descriptions-item",{attrs:{label:"操作方法",span:2}},[e("div",{staticStyle:{"word-break":"break-all"}},[t._v(t._s(t.form.method))])])],1),e("a-divider"),e("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"接口信息",layout:"vertical",column:3,bordered:""}},[e("a-descriptions-item",{attrs:{label:"请求头部",span:3}},[t._v(" "+t._s(t.form.header_data)+" ")]),e("a-descriptions-item",{attrs:{label:"GET参数",span:3}},[t._v(" "+t._s(t.form.get_data)+" ")]),e("a-descriptions-item",{attrs:{label:"POST参数",span:3}},[t._v(" "+t._s(t.form.post_data)+" ")]),e("a-descriptions-item",{attrs:{label:"操作状态"}},[0===t.form.error_code?e("a-badge",{attrs:{status:"processing",text:"正常"}}):t._e(),0!==t.form.error_code?e("a-badge",{attrs:{status:"error",text:"失败"}}):t._e()],1),e("a-descriptions-item",{attrs:{label:"操作时间"}},[t._v(" "+t._s(t.parseTime(t.form.created_at))+" ")]),e("a-descriptions-item",{attrs:{label:"耗时"}},[t._v(" "+t._s(t.form.take_up_time)+"毫秒 ")]),e("a-descriptions-item",{attrs:{label:"回复信息"}},[t._v(" "+t._s(t.form.error_msg)+" ")]),0!==t.form.error_code?e("a-descriptions-item",{attrs:{label:"报错日志"}},[t._v(" "+t._s(t.form.error_data)+" ")]):t._e()],1),null!==t.form.logContent?e("a-divider"):t._e(),null!==t.form.logContent?e("a-descriptions",{staticStyle:{"word-break":"break-all","word-wrap":"break-word"},attrs:{title:"变更记录",layout:"vertical",column:3,bordered:""}},[e("a-descriptions-item",{attrs:{label:"请求ID",span:3}},[t._v(" "+t._s(t.form.req_id)+" ")]),e("a-descriptions-item",{attrs:{label:"变更情况",span:3}},[t._v(" 无 ")])],1):t._e()],1)},o=[],r={name:"ViewForm",props:{},data:function(){return{form:{},openView:!1}},filters:{},created:function(){},computed:{},watch:{},methods:{handleView:function(t){this.openView=!0,this.form=t},onCloseView:function(){this.openView=!1}}},n=r,s=a("2877"),l=Object(s["a"])(n,i,o,!1,null,null,null);e["default"]=l.exports},"5af5":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t._self._c;return e("ant-modal",{attrs:{visible:t.open,"modal-title":t.formTitle,"adjust-size":!0,modalWidth:"640",modalHeight:"420"},on:{cancel:t.cancel}},[e("a-form-model",{ref:"form",attrs:{slot:"content",model:t.form,rules:t.rules,layout:"vertical"},slot:"content"},[e("a-row",{staticClass:"form-row",attrs:{gutter:32}},[e("a-col",{attrs:{lg:12,md:12,sm:24}},[e("a-form-model-item",{attrs:{label:"参数编码",prop:"configKey"}},[e("a-input",{attrs:{placeholder:"请输入"},model:{value:t.form.configKey,callback:function(e){t.$set(t.form,"configKey",e)},expression:"form.configKey"}})],1)],1),e("a-col",{attrs:{lg:12,md:12,sm:24}},[e("a-form-model-item",{attrs:{label:"参数名称",prop:"configName"}},[e("a-input",{attrs:{placeholder:"请输入"},model:{value:t.form.configName,callback:function(e){t.$set(t.form,"configName",e)},expression:"form.configName"}})],1)],1),e("a-col",{attrs:{lg:12,md:12,sm:24}},[e("a-form-model-item",{attrs:{label:"参数值",prop:"configValue"}},[e("a-input",{attrs:{placeholder:"请输入"},model:{value:t.form.configValue,callback:function(e){t.$set(t.form,"configValue",e)},expression:"form.configValue"}})],1)],1),e("a-col",{attrs:{lg:12,md:12,sm:24}},[e("a-form-model-item",{attrs:{label:"是否内置参数",prop:"configType"}},[e("a-radio-group",{attrs:{"button-style":"solid"},model:{value:t.form.configType,callback:function(e){t.$set(t.form,"configType",e)},expression:"form.configType"}},t._l(t.typeOptions,(function(a,i){return e("a-radio-button",{key:i,attrs:{value:a.dictValue}},[t._v(t._s(a.dictLabel))])})),1)],1)],1),e("a-col",{attrs:{lg:24,md:24,sm:24,span:24}},[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)],1)],1)],1),e("template",{slot:"footer"},[e("a-button",{on:{click:t.cancel}},[t._v(" 取消 ")]),e("a-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(" 保存 ")])],1)],2)},o=[],r=a("5530"),n=a("1fc7"),s=Object(r["a"])({},n["default"]),l=s,c=a("2877"),d=Object(c["a"])(l,i,o,!1,null,null,null);e["default"]=d.exports},"5ea1":function(t,e,a){"use strict";a("a4d4")},"6b3b":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:"650",title:t.formTitle,"label-col":t.labelCol,"wrapper-col":t.wrapperCol,visible:t.open,"body-style":{height:"calc(100vh - 100px)",overflow:"auto"}},on:{close:t.cancel}},[e("a-form-model",{ref:"form",attrs:{model:t.form,rules:t.rules,layout:"vertical"}},[e("a-form-model-item",{attrs:{label:t.$t("view.bank.bank_name"),prop:"bank_name"}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.bank_name")},model:{value:t.form.bank_name,callback:function(e){t.$set(t.form,"bank_name",e)},expression:"form.bank_name"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.company_name"),prop:"company_name"}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.company_name")},model:{value:t.form.company_name,callback:function(e){t.$set(t.form,"company_name",e)},expression:"form.company_name"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.bank_account_number"),prop:"bank_account_number"}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.bank_account_number")},model:{value:t.form.bank_account_number,callback:function(e){t.$set(t.form,"bank_account_number",e)},expression:"form.bank_account_number"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.beneficial_bank_name"),prop:"beneficial_bank_name"}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.beneficial_bank_name")},model:{value:t.form.beneficial_bank_name,callback:function(e){t.$set(t.form,"beneficial_bank_name",e)},expression:"form.beneficial_bank_name"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.beneficial_bank_code")}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.beneficial_bank_code")},model:{value:t.form.beneficial_bank_code,callback:function(e){t.$set(t.form,"beneficial_bank_code",e)},expression:"form.beneficial_bank_code"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.swift_code")}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.swift_code")},model:{value:t.form.swift_code,callback:function(e){t.$set(t.form,"swift_code",e)},expression:"form.swift_code"}})],1),e("a-form-model-item",{attrs:{label:t.$t("view.bank.branch_address")}},[e("a-input",{attrs:{placeholder:t.$t("component.bank.input.branch_address")},model:{value:t.form.branch_address,callback:function(e){t.$set(t.form,"branch_address",e)},expression:"form.branch_address"}})],1),e("div",{staticClass:"bottom-control",staticStyle:{"z-index":"9999"}},[e("a-space",[e("a-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("component.bank.save.btn"))+" ")]),e("a-button",{on:{click:t.cancel}},[t._v(" "+t._s(t.$t("component.bank.cancel.btn"))+" ")])],1)],1)],1)],1)},o=[],r=a("5530"),n=a("b4c5"),s=Object(r["a"])({},n["default"]),l=s,c=a("2877"),d=Object(c["a"])(l,i,o,!1,null,"5ccac6fc",null);e["default"]=d.exports},8003:function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"a",(function(){return r})),a.d(e,"c",(function(){return n})),a.d(e,"d",(function(){return s}));var i=a("b775");function o(t){return Object(i["b"])({url:"/bank/list",method:"post",data:t})}function r(t){return Object(i["b"])({url:"/bank/delete",method:"post",data:t})}function n(t){return Object(i["b"])({url:"/bank/get",method:"post",params:t})}function s(t){return Object(i["b"])({url:"/bank/add",method:"post",data:t})}},"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