UNPKG

beehole-store-server

Version:

www.bee-hole.com

1 lines 6.78 kB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-16d88771","chunk-29b23a57","chunk-03981299"],{"0ce4":function(t,e,r){"use strict";r.r(e);var o=r("2dd7"),n=r("ff41"),i=r.n(n),d=(r("2f2f"),r("3a10")),s=r("1b6c"),u=r("5d9e"),a=r("acd6");e["default"]={name:"OrderInsure",props:{},components:{AntModal:o["a"],Vditor:i.a,AdvanceTable:u["a"],goodsInfo:a["default"],orderInsure:d["c"]},data:function(){return{open:!1,formId:"",labelCol:{span:4},wrapperCol:{span:14},loading:!1,total:0,id:void 0,formTitle:"",contentEditorEdit:"",form:{id:void 0,title:void 0,type:void 0,content:"",status:"0",sort:1},rules:{},queryParam1:{page:1,limit:10},list1:[],total_count1:0,columns1:[],expandedRowKeys:[]}},filters:{},created:function(){this.initColunmns()},computed:{},watch:{},mounted:function(){},methods:{initColunmns:function(){this.columns1=[{title:Object(s["a"])("view.order.list.insure.list.order_id"),dataIndex:"order_id",ellipsis:!0,width:"23%"},{title:Object(s["a"])("view.order.list.insure.list.receive_data_title"),dataIndex:"reveive_data",ellipsis:!0,scopedSlots:{customRender:"receive_data"},width:"23%"},{title:Object(s["a"])("view.order.list.insure.list.err_data_title"),dataIndex:"err_data",ellipsis:!0,width:"23%"},{title:Object(s["a"])("view.order.list.insure.list.status_title"),dataIndex:"status",ellipsis:!0,width:"10%",scopedSlots:{customRender:"status"}},{title:Object(s["a"])("view.order.list.insure.list.create_time_title"),dataIndex:"create_time",scopedSlots:{customRender:"create_time"}}]},cancel:function(){this.open=!1,this.$emit("close")},handleInsure:function(t){var e=this,r=t.order_id;Object(d["c"])({order_id:r}).then((function(t){e.open=!0,e.formTitle="订单保险",e.list1=t.list,e.total_count1=t.total_count}))}}}},"1b6c":function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return d}));var o=r("5530"),n=r("bf0f");function i(t,e){return function(){return Object(n["b"])(t,Object(o["a"])({},e))}}function d(t,e){return Object(n["b"])(t,Object(o["a"])({},e))}},"1eed":function(t,e,r){"use strict";r.r(e);var o=function(){var t=this,e=t._self._c;return e("ant-modal",{attrs:{visible:t.open,"modal-title":t.$t("view.order.list.insure.list"),"adjust-size":!0,modalWidth:"800",modalHeight:"550"},on:{cancel:t.cancel}},[e("template",{slot:"content"},[e("advance-table",{attrs:{loading:t.loading,size:"middle","format-conditions":!1,columns:t.columns1,"data-source":t.list1,rowKey:"review_id",tableKey:"test-cat-catlist-table",expandedRowKeys:t.expandedRowKeys,pagination:{current:t.queryParam1.page,pageSize:t.queryParam1.limit,total:t.total_count1,showSizeChanger:!0,showLessItems:!1,showQuickJumper:!1,showTotal:function(e,r){return t.$t("view.order.list.table.total",{num:r[0]+"-"+r[1],total:e})}},title:t.$t("view.order.list.insure.list.order_insure")},scopedSlots:t._u([{key:"status",fn:function(r){var o=r.record;return e("span",{},[1===o.status?e("span",{staticStyle:{color:"green"}},[t._v(t._s(t.$t("view.order.list.insure.list.success")))]):t._e(),2===o.status?e("span",{staticStyle:{color:"red"}},[t._v(t._s(t.$t("view.order.list.insure.list.error")))]):t._e()])}},{key:"create_time",fn:function(r){var o=r.record;return e("span",{},[t._v(" "+t._s(t.parseTime(o.create_time,"{y}-{m}-{d} {h}:{i}:{s} "))+" ")])}}])})],1),e("template",{slot:"footer"},[e("a-button",{on:{click:t.cancel}},[t._v(" "+t._s(t.$t("view.order.list.review.list.cancle.btn"))+" ")])],1)],2)},n=[],i=r("5530"),d=r("0ce4"),s=Object(i["a"])({},d["default"]),u=s,a=(r("99c1"),r("2877")),c=Object(a["a"])(u,o,n,!1,null,null,null);e["default"]=c.exports},"3a10":function(t,e,r){"use strict";r.d(e,"e",(function(){return i})),r.d(e,"b",(function(){return d})),r.d(e,"a",(function(){return s})),r.d(e,"h",(function(){return u})),r.d(e,"g",(function(){return a})),r.d(e,"f",(function(){return c})),r.d(e,"c",(function(){return l})),r.d(e,"d",(function(){return f})),r.d(e,"i",(function(){return b}));var o=r("b775"),n={orderList:"/order/list",orderFaHuo:"/order/ship",orderAfter:"/after_sales/list",orderRefund:"/after_sales/refund",orderPushLog:"/order/push/log",orderPush:"/order/push",orderInsure:"/order/insure",orderItems:"/order/items",wuliuList:"/order/waybill/list"};function i(t){return Object(o["b"])({url:n.orderList,method:"post",data:t})}function d(t){return Object(o["b"])({url:n.orderFaHuo,method:"post",data:t})}function s(t){return Object(o["b"])({url:n.orderAfter,method:"post",data:t})}function u(t){return Object(o["b"])({url:n.orderRefund,method:"post",data:t})}function a(t){return Object(o["b"])({url:n.orderPushLog,method:"post",data:t})}function c(t){return Object(o["b"])({url:n.orderPush,method:"post",data:t})}function l(t){return Object(o["b"])({url:n.orderInsure,method:"post",data:t})}function f(t){return Object(o["b"])({url:n.orderItems,method:"post",data:t})}function b(t){return Object(o["b"])({url:n.wuliuList,method:"post",data:t})}},"55a8":function(t,e,r){},"99c1":function(t,e,r){"use strict";r("55a8")},aabf:function(t,e,r){"use strict";r.d(e,"d",(function(){return i})),r.d(e,"a",(function(){return d})),r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return u})),r.d(e,"e",(function(){return a})),r.d(e,"h",(function(){return c})),r.d(e,"g",(function(){return l})),r.d(e,"f",(function(){return f}));var o=r("b775"),n={goodlist:"/good/list",goodadd:"/good/add",goodsInfo:"/good/info",goodsDelete:"/good/delete",goodsSubAdd:"/good/sub/add",itemFilingAdd:"/good/filing/add",searchSkuInfo:"/good/sku/search",searchHsCodeInfo:"/good/hscode/search",searchCustomsItem:"/good/customs_item/search"};function i(t){return Object(o["b"])({url:n.goodlist,method:"post",data:t})}function d(t){var e=t.view_id?n.goodsSubAdd:n.goodadd;return Object(o["b"])({url:e,method:"post",data:t})}function s(t){return Object(o["b"])({url:n.goodsInfo,method:"post",data:t})}function u(t){return Object(o["b"])({url:n.goodsDelete,method:"post",data:t})}function a(t){return Object(o["b"])({url:n.itemFilingAdd,method:"post",data:t})}function c(t){return Object(o["b"])({url:n.searchSkuInfo,method:"post",data:t})}function l(t){return Object(o["b"])({url:n.searchHsCodeInfo,method:"post",data:t})}function f(t){return Object(o["b"])({url:n.searchCustomsItem,method:"post",data:t})}},acd6:function(t,e,r){"use strict";r.r(e);var o=function(){var t=this,e=t._self._c;return e("div",[t._v(" "+t._s(t.title)+" ")])},n=[],i=(r("a9e3"),r("aabf")),d={name:"GoodsInfo1",props:{goodId:{type:Number,required:!0}},components:{},data:function(){return{title:""}},filters:{},created:function(){this.getList()},computed:{},watch:{},methods:{getList:function(){var t=this;Object(i["c"])({good_id:this.goodId}).then((function(e){t.title=e.title}))}}},s=d,u=r("2877"),a=Object(u["a"])(s,o,n,!1,null,null,null);e["default"]=a.exports}}]);