徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
13 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-78256894"],{"0b65":function(t,e,r){"use strict";e.a={shortcuts:[{text:"今天",value:function(){var t=new Date,e=new Date;return e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),[e,t]}},{text:"昨天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),[e,t]}},{text:"最近7天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-6))),[e,t]}},{text:"最近30天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),[e,t]}},{text:"上月",value:function(){var t=new Date,e=new Date,r=new Date(e.getFullYear(),e.getMonth(),0).getDate();return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,r))),[e,t]}},{text:"本月",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),[e,t]}},{text:"本年",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),[e,t]}}]}},"198b":function(t,e,r){},a6b9:function(t,e,r){"use strict";r.d(e,"J",(function(){return a})),r.d(e,"n",(function(){return i})),r.d(e,"a",(function(){return u})),r.d(e,"y",(function(){return o})),r.d(e,"z",(function(){return s})),r.d(e,"o",(function(){return c})),r.d(e,"h",(function(){return l})),r.d(e,"b",(function(){return d})),r.d(e,"v",(function(){return p})),r.d(e,"c",(function(){return f})),r.d(e,"B",(function(){return m})),r.d(e,"j",(function(){return h})),r.d(e,"l",(function(){return g})),r.d(e,"w",(function(){return b})),r.d(e,"r",(function(){return w})),r.d(e,"s",(function(){return v})),r.d(e,"u",(function(){return O})),r.d(e,"x",(function(){return y})),r.d(e,"K",(function(){return D})),r.d(e,"t",(function(){return j})),r.d(e,"k",(function(){return _})),r.d(e,"m",(function(){return k})),r.d(e,"q",(function(){return V})),r.d(e,"A",(function(){return T})),r.d(e,"g",(function(){return x})),r.d(e,"f",(function(){return C})),r.d(e,"p",(function(){return F})),r.d(e,"i",(function(){return M})),r.d(e,"F",(function(){return L})),r.d(e,"G",(function(){return S})),r.d(e,"I",(function(){return P})),r.d(e,"d",(function(){return W})),r.d(e,"H",(function(){return Y})),r.d(e,"e",(function(){return E})),r.d(e,"C",(function(){return $})),r.d(e,"E",(function(){return I})),r.d(e,"L",(function(){return z})),r.d(e,"D",(function(){return B}));var n=r("b6bd");function a(t){return Object(n.a)({url:"supplier/supplier",method:"get",params:t})}function i(t){return Object(n.a)({url:"/supplier/supplier/".concat(t),method:"get"})}function u(t){return Object(n.a)({url:"supplier/supplier",method:"post",data:t})}function o(t,e){return Object(n.a)({url:"supplier/supplier/".concat(t),method:"put",data:e})}function s(t,e){return Object(n.a)({url:"/supplier/supplier/set_status/".concat(t,"/").concat(e),method:"put"})}function c(t){return Object(n.a)({url:"/supplier/list",method:"get",params:t})}function l(t){return Object(n.a)({url:"/supplier/order/list",method:"get",params:t})}function d(t){return Object(n.a)({url:"/supplier/order/deliver_remind/".concat(t.supplier_id,"/").concat(t.id),method:"put"})}function p(t){return Object(n.a)({url:"/supplier/order/info/".concat(t),method:"get"})}function f(t){return Object(n.a)({url:"/supplier/order/distribution_info",method:"get",params:{ids:t}})}function m(t,e){return Object(n.a)({url:"/supplier/order/split_order/"+t,method:"get",params:e})}function h(t){return Object(n.a)({url:"/supplier/order/status/".concat(t.id),method:"get",params:t.datas})}function g(t){return Object(n.a)({url:"/supplier/order/refund/".concat(t),method:"get"})}function b(t){return Object(n.a)({url:"/supplier/refund/list",method:"get",params:t})}function w(t){return Object(n.a)({url:"/supplier/home/header",method:"get",params:t})}function v(t){return Object(n.a)({url:"/supplier/home/order",method:"get",params:t})}function O(t){return Object(n.a)({url:"/supplier/home/order_channel",method:"get",params:t})}function y(t){return Object(n.a)({url:"/supplier/home/order_type",method:"get",params:t})}function D(t){return Object(n.a)({url:"/supplier/supplier/login/".concat(t),method:"get"})}function j(t){return Object(n.a)({url:"/supplier/home/supplier",method:"get",params:t})}function _(t){return Object(n.a)({url:"/supplier/refund/detail/".concat(t),method:"get"})}function k(t){return Object(n.a)({url:"/supplier/refund/refund/".concat(t),method:"get"})}function V(t){return Object(n.a)({url:"/supplier/order/no_refund/".concat(t),method:"get"})}function T(t){return Object(n.a)({url:"/supplier/order/refund_integral/".concat(t),method:"get"})}function x(t){return Object(n.a)({url:"/supplier/order/distribution/".concat(t),method:"get"})}function C(t){return Object(n.a)({url:"/supplier/apply/list",method:"get",params:t})}function F(t){return Object(n.a)({url:"/supplier/apply/verify/form/".concat(t),method:"get"})}function M(t){return Object(n.a)({url:"/supplier/apply/mark/form/".concat(t),method:"get"})}function L(t){return Object(n.a)({url:"/supplier/flowing_water/fund_record_info",method:"get",params:t})}function S(t){return Object(n.a)({url:"/supplier/flowing_water/list",method:"get",params:t})}function P(t,e){return Object(n.a)({url:"/supplier/flowing_water/mark/".concat(t),method:"put",params:e})}function W(t){return Object(n.a)({url:"/export/supplierWaterExport",method:"get",params:t})}function Y(t){return Object(n.a)({url:"/supplier/flowing_water/fund_record",method:"get",params:t})}function E(t){return Object(n.a)({url:"/export/supplierWaterRecord",method:"get",params:t})}function $(t){return Object(n.a)({url:"/supplier/extract/list",method:"get",params:t})}function I(t,e){return Object(n.a)({url:"/supplier/extract/verify/".concat(t),method:"post",data:e})}function z(t){return Object(n.a)({url:"/supplier/extract/transfer/".concat(t),method:"get"})}function B(t,e){return Object(n.a)({url:"/supplier/extract/mark/".concat(t),method:"post",data:e})}},e4c3:function(t,e,r){"use strict";r.r(e);var n=r("2f62"),a=r("0b65"),i=r("a6b9");function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var l={data:function(){return{loading:!1,options:a.a,timeVal:[],formValidate:{page:1,limit:20,data:"",status:"",keyword:""},total:0,tableList:[],columns:[{title:"ID",key:"id",width:80},{title:"供应商名称",key:"system_name",minWidth:150},{title:"联系人姓名",key:"name",minWidth:90},{title:"联系方式",key:"phone",minWidth:90},{title:"申请时间",key:"add_time",minWidth:150},{title:"资质图片",slot:"images",minWidth:200},{title:"状态",slot:"status",minWidth:100},{title:"备注",slot:"mark",minWidth:100},{title:"操作",slot:"action",fixed:"right",width:140}]}},computed:s(s({},Object(n.e)("admin/layout",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:96},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getList()},mounted:function(){},methods:{verify:function(t){var e=this;this.$modalForm(Object(i.p)(t.id)).then((function(){return e.getList()}))},mask:function(t){var e=this;this.$modalForm(Object(i.i)(t.id)).then((function(){return e.getList()}))},del:function(t,e,r){var n=this,a={title:e,num:r,url:"/supplier/apply/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(a).then((function(t){n.$Message.success(t.msg),n.tableList.splice(r,1),n.tableList.length||(n.formValidate.page=1==n.formValidate.page?1:n.formValidate.page-1),n.getList()})).catch((function(t){n.$Message.error(t.msg)}))},userSearchs:function(){this.formValidate.page=1,this.getList()},reset:function(){this.formValidate={page:1,limit:20,data:"",status:"",keyword:""},this.timeVal=[],this.getList()},pageChange:function(t){this.formValidate.page=t,this.getList()},onchangeTime:function(t){this.timeVal=t,this.formValidate.data=this.timeVal[0]?this.timeVal.join("-"):"",this.formValidate.page=1,this.getList()},getList:function(){var t=this;Object(i.f)(this.formValidate).then((function(e){var r=e.data;t.tableList=r.list,t.total=r.count})).catch((function(e){t.$Message.error(e.msg)}))}}},d=(r("f73c"),r("2877")),p=Object(d.a)(l,(function(){var t=this,e=t._self._c;return e("div",[e("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[e("div",{staticClass:"new_card_pd"},[e("Form",{ref:"formValidate",attrs:{inline:"",model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:"时间选择:"}},[e("Date-picker",{staticClass:"input-add mr20",attrs:{editable:!1,clearable:!0,value:t.timeVal,format:"yyyy/MM/dd HH:mm:ss",type:"datetimerange",placement:"bottom-start",placeholder:"选择时间",options:t.options},on:{"on-change":t.onchangeTime}})],1),e("FormItem",{attrs:{label:"审核状态:"}},[e("Select",{staticClass:"input-add",attrs:{placeholder:"请选择",clearable:""},on:{"on-change":t.userSearchs},model:{value:t.formValidate.status,callback:function(e){t.$set(t.formValidate,"status",e)},expression:"formValidate.status"}},[e("Option",{attrs:{value:"0"}},[t._v("未处理")]),e("Option",{attrs:{value:"1"}},[t._v("已通过")]),e("Option",{attrs:{value:"2"}},[t._v("未通过")])],1)],1),e("FormItem",{attrs:{label:"供应商:"}},[e("Input",{staticClass:"input-add mr14",attrs:{placeholder:"请输入供应商名称/ID"},model:{value:t.formValidate.keyword,callback:function(e){t.$set(t.formValidate,"keyword",e)},expression:"formValidate.keyword"}}),e("Button",{staticClass:"mr14",attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("查询")]),e("Button",{on:{click:t.reset}},[t._v("重置")])],1)],1)],1)]),e("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[e("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns,data:t.tableList,loading:t.loading,"highlight-row":"","no-data-text":"暂无数据","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"images",fn:function(r){var n=r.row;return[e("div",{staticClass:"acea-row row-middle"},t._l(n.images,(function(t,r){return e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],key:r,staticClass:"tabBox"},[e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:t}})])])})),0)]}},{key:"status",fn:function(r){var n=r.row;return[0==n.status?e("Tag",{attrs:{color:"default",size:"medium"}},[t._v(t._s(n.status_name))]):1==n.status?e("Tag",{attrs:{color:"green",size:"medium"}},[t._v(t._s(n.status_name))]):e("Tag",{attrs:{color:"red",size:"medium"}},[t._v(t._s(n.status_name))])]}},{key:"mark",fn:function(e){var r=e.row;return[t._v("\n\t\t\t"+t._s(r.mark||"-")+"\n\t\t")]}},{key:"action",fn:function(r){var n=r.row,a=r.index;return[0==n.status?e("a",{on:{click:function(e){return t.verify(n)}}},[t._v("审核")]):t._e(),0==n.status?e("Divider",{attrs:{type:"vertical"}}):t._e(),e("a",{on:{click:function(e){return t.mask(n)}}},[t._v("备注")]),e("Divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.del(n,"删除入住申请",a)}}},[t._v("删除")])]}}])}),e("div",{staticClass:"acea-row row-right page"},[e("Page",{attrs:{total:t.total,current:t.formValidate.page,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,null,null);e.default=p.exports},f73c:function(t,e,r){"use strict";r("198b")}}]);