硕顺crm后台
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
72 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pagesA-business-editBusiness","pages-index-groupCompany-contact-contactDetail~pages-index-groupCompany-contact-editInfo~pages-index~ba405b04","pages-index-groupCompany-cost-addCost~pages-index-newSche-newSche~pagesA-cost-index~pagesA-crm-custo~0eb04adb"],{"0221":function(t,e,i){"use strict";var n=i("4b79"),o=i.n(n);o.a},"06ac":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.b_color[data-v-34e30c15]{color:red}.bo_color[data-v-34e30c15]{color:#fff}.valueActive[data-v-34e30c15]{color:#333}.labellist[data-v-34e30c15]{width:100%;display:flex;justify-content:flex-start;flex-wrap:wrap}.labellist .labelbox[data-v-34e30c15]{display:flex;justify-content:flex-start;align-items:center}uni-radio[data-v-34e30c15]{-webkit-transform:scale(.6);transform:scale(.6)}.sales_item[data-v-34e30c15]{display:flex;justify-content:flex-start;padding-bottom:%?15?%;flex-wrap:wrap}.sales_item .checkbox[data-v-34e30c15]{display:flex;justify-content:flex-start;margin-right:%?20?%;margin-bottom:%?20?%}.u-checkbox__icon[data-v-34e30c15]{width:%?20?%;height:%?20?%}',""]),t.exports=e},"0c10":function(t,e,i){"use strict";var n=i("4ea4");i("99af"),i("4160"),i("a434"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("1da3")),a=n(i("4cb0")),s=n(i("7d16")),r=n(i("ffdc")),c=i("2345"),l=i("aa66"),u={components:{selectCustomer:o.default,popupList:a.default,popupProductConfig:s.default,formItem:r.default},data:function(){return{BASE_IMG_URL:c.BASE_IMG_URL,noClick:!0,customerObj:{},listForm:[],productList:[],id:"",info:{}}},onLoad:function(t){this.id=t.id,this.getDetail()},methods:{getDetail:function(){var t=this;(0,l.netBusinessDetail)({id:this.id}).then((function(e){t.info=e.data,t.productList=e.data.product,t.customerObj=e.data.customer,t.getForm()}))},getForm:function(){var t=this;(0,l.netSetForm)({type:"business"}).then((function(e){e=e.data.data,e.forEach((function(e){e.value=t.info[e.id]?t.info[e.id]:""})),t.listForm=e}))},changeCus:function(t){this.$refs.customerChild.init()},sureSelect:function(t){this.customerObj=t},changeOtherData:function(t,e,i){var n=this,o=this.listForm;o.forEach((function(t,o){t.id==i.id&&(t.value=e,n.$set(n.listForm,o,t))}))},addPart:function(){this.$refs.productChild.init()},selectList:function(t){t.forEach((function(t){t.minprice=t.price,t.parts=[],t.product_id=t.id})),this.productList=this.deWeight(t.concat(this.productList))},deWeight:function(t){for(var e=0;e<t.length-1;e++)for(var i=e+1;i<t.length;i++)t[e].id==t[i].id&&(t.splice(i,1),i--);return t},changeNumber:function(t,e){var i=this.productList[e];i.number=t,this.$set(this.productList,e,i)},delProduct:function(t){this.productList.splice(t,1)},toSelectConfig:function(t,e){this.configIndex=e,this.$refs.productConfig.init(t.product_id)},configList:function(t){var e=this.productList[this.configIndex];e.parts=e.parts?e.parts:[],e.parts=this.deWeight(e.parts.concat(t)),this.$set(this.productList,this.configIndex,e)},changeConfigNumber:function(t,e,i){var n=this.productList[i];n.parts[e].number=t,this.$set(this.productList,i,n)},delPeizhi:function(t,e){var i=this.productList[t];i.parts.splice(e,1),this.$set(this.productList,t,i)},toSave:function(){if(this.customerObj.id){var t=this.checkCommonForm(this.listForm);if(t){var e=[];this.productList.length>0&&this.productList.forEach((function(t){e.push({product_id:t.product_id,price:t.price,number:t.number,parts:t.parts,cost_price:t.cost_price,wholesale:t.wholesale})})),t=Object.assign({},t,{customer_id:this.customerObj.id,product:e,id:this.id}),(0,l.netEditBusiness)(t).then((function(t){uni.showToast({title:t.msg,icon:"none"}),setTimeout((function(){uni.navigateBack({delta:1})}),2e3)}))}}else uni.showToast({title:"请选择客户名称",icon:"none"})}}};e.default=u},"0e15":function(t,e,i){"use strict";i("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("553d"),o=i("2345"),a={props:{},data:function(){return{keyword:"",customerlist:[],page:1,totalPage:1,preseCustomerObj:{},BASE_IMG_URL:o.BASE_IMG_URL}},methods:{init:function(){this.$refs.popup.open(),this.page=1,this.customerlist=[],this.getList()},getList:function(){var t=this,e={page:this.page,name:this.keyword};(0,n.netKehuList)(e).then((function(e){t.customerlist=t.customerlist.concat(e.data.data),t.totalPage=e.data.last_page}))},loadMoredata:function(){this.page>=this.totalPage||(this.page++,this.getList())},searchName:function(t){this.page=1,this.customerlist=[],this.getList()},selectItem:function(t,e){this.preseCustomerObj=t},closePopup:function(){this.$refs.popup.close()},sureSelect:function(){this.preseCustomerObj?(this.$refs.popup.close(),this.$emit("getCustomerinfo",this.preseCustomerObj)):this.$refs.popup.close()},hideSelect:function(){this.$refs.popup.close()}}};e.default=a},"10de":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"inp_warp"},[i("v-uni-view",{staticClass:"inp_title key"},[i("v-uni-text",{class:t.flag?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.title)+":")],1),t.isEdit?i("v-uni-view",{staticClass:"form_right"},[i("v-uni-view",[t._v("上传图片")]),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1):t._e()],1),i("v-uni-view",{staticClass:"imglist"},[t._l(t.imgList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"imgbox"},[t.isEdit?i("v-uni-image",{staticClass:"delimg",attrs:{src:t.BASE_IMG_URL+"/close.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.delImg(n)}}}):t._e(),i("v-uni-image",{staticClass:"selfimg_img",attrs:{src:e.file_path},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toPriveImg(n)}}})],1)})),t.imgList.length<t.single&&t.isEdit?i("v-uni-view",{staticClass:"imgbox_tow",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadFiles.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"selfimg",attrs:{src:t.BASE_IMG_URL+"/addfile.png"}})],1):t._e()],2)],1)},a=[]},1139:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uniNumberBox:i("6d10").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{},[i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",[t._v("*")]),t._v("客户名称")],1),i("v-uni-view",{staticClass:"form_right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeCus.apply(void 0,arguments)}}},[i("v-uni-view",{class:t.customerObj.id?"valueActive":""},[t._v(t._s(t.customerObj.id?t.customerObj.name:"点击选择"))]),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),t._l(t.listForm,(function(e,n){return i("form-item",{key:n,attrs:{objInfo:e},on:{changeData:function(e){arguments[0]=e=t.$handleEvent(e),t.changeOtherData.apply(void 0,arguments)}}})})),i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",{staticStyle:{"padding-left":"15rpx"}},[t._v("购买产品")]),i("v-uni-view",{staticClass:"add_in",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addPart.apply(void 0,arguments)}}},[t._v("+添加产品")])],1),0!=t.productList.length?i("v-uni-view",{staticClass:"pro_warp"},t._l(t.productList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"li_warp"},[i("v-uni-view",{staticClass:"cell_con"},[i("v-uni-view",{staticClass:"cell_con_top"},[i("v-uni-view",{staticClass:"contitle"},[t._v(t._s(e.name))]),i("v-uni-image",{staticClass:"deleimg",attrs:{src:t.BASE_IMG_URL+"delete1.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.delProduct(n)}}})],1),i("v-uni-view",{staticClass:"pro_con_box"},[i("v-uni-view",{staticClass:"boxleft"},[i("v-uni-view",{staticClass:"context"},[t._v("编号:"+t._s(e.num))]),i("v-uni-view",{staticClass:"context"},[t._v("单位:"+t._s(e.unit))]),i("v-uni-view",{staticClass:"context"},[t._v("零售价:¥"),i("v-uni-input",{staticClass:"productPrice",attrs:{type:"digit",placeholder:"产品价格"},model:{value:e.price,callback:function(i){t.$set(e,"price",i)},expression:"item.price"}})],1),i("v-uni-view",{staticClass:"context"},[t._v("批发价:¥"),i("v-uni-input",{staticClass:"productPrice",attrs:{type:"digit",placeholder:"批发价"},model:{value:e.wholesale,callback:function(i){t.$set(e,"wholesale",i)},expression:"item.wholesale"}})],1)],1),i("v-uni-view",{staticClass:"conbot"},[i("v-uni-view",{staticClass:"conright"},[i("uni-number-box",{attrs:{min:1},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),function(e){t.changeNumber(e,n)}.apply(void 0,arguments)}},model:{value:e.number,callback:function(i){t.$set(e,"number",i)},expression:"item.number"}})],1)],1)],1)],1)],1)})),1):t._e(),i("v-uni-view",{staticClass:"btn_g bg-blue button-hover round",attrs:{id:"btn"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$noMultipleClicks(t.toSave)}}},[t._v("保存")]),i("popup-list",{ref:"productChild",on:{selectList:function(e){arguments[0]=e=t.$handleEvent(e),t.selectList.apply(void 0,arguments)}}}),i("popup-product-config",{ref:"productConfig",on:{selectList:function(e){arguments[0]=e=t.$handleEvent(e),t.configList.apply(void 0,arguments)}}}),i("select-customer",{ref:"customerChild",on:{getCustomerinfo:function(e){arguments[0]=e=t.$handleEvent(e),t.sureSelect.apply(void 0,arguments)}}})],2)},a=[]},"13e3":function(t,e,i){"use strict";i("4160"),i("a9e3"),i("d3b7"),i("3ca3"),i("159b"),i("ddb0"),i("2b3d"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("2345"),o=i("aa66"),a={props:{imgList:{type:Array,default:[]},flag:{type:Boolean,default:!0},title:{type:String,default:"附件"},single:{type:Number,default:9},istype:{type:String,default:"all"},isEdit:{type:Boolean,default:!0}},data:function(){return{BASE_IMG_URL:n.BASE_IMG_URL}},methods:{toPriveImg:function(t){this.openCommonImg(this.imgList,t)},uploadFiles:function(){var t=this,e=[];"all"==this.istype?e=["album","camera"]:"album"==this.istype?e=["album"]:"camera"==this.istype&&(e=["camera"]),uni.chooseImage({count:this.single,sourceType:e,sizeType:["compressed"],success:function(e){console.log(e,"====");var i=e.tempFilePaths;i.forEach((function(e){t.imgList.length<t.single&&t.toUpload(e)}))}})},toUpload:function(t){var e=this;uni.uploadFile({url:o.uploadUrl,name:"file",header:{token:uni.getStorageSync("token")},filePath:t,success:function(t){var i=JSON.parse(t.data);if(1==i.code){var n={id:i.data.id,file_path:i.data.url};e.$emit("uploadImg",n)}else uni.showToast({title:"上传失败",icon:"none"})},fail:function(t){console.log(t)}})},delImg:function(t){this.$emit("delImg",t)},getImageInfo:function(t){return new Promise((function(e,i){uni.showLoading({title:"压缩中...",icon:"none"}),uni.getImageInfo({src:t,success:function(t){console.log("压缩前",t);var i=t.width,n=t.height,o=new Image;o.src=t.path;var a=document.createElement("canvas"),s=a.getContext("2d");a.width=i/2,a.height=n/2,console.log(o),s.drawImage(o,0,0,i/2,n/2),a.toBlob((function(t){var i=window.URL.createObjectURL(t);console.log("压缩后",i),e(i),uni.hideLoading()}))}})}))}}};e.default=a},1430:function(t,e,i){"use strict";i.r(e);var n=i("10de"),o=i("4b21");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("0221");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"780e565f",null,!1,n["a"],s);e["default"]=c.exports},"16da":function(t,e,i){"use strict";var n=i("468a"),o=i.n(n);o.a},"170d":function(t,e,i){"use strict";var n=i("6b92"),o=i.n(n);o.a},"1b5f":function(t,e,i){"use strict";var n=i("c91e"),o=i.n(n);o.a},"1da3":function(t,e,i){"use strict";i.r(e);var n=i("b9b9"),o=i("c02f");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("c6d5"),i("5186");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"a1c848da",null,!1,n["a"],s);e["default"]=c.exports},2394:function(t,e,i){"use strict";i.r(e);var n=i("fc19"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"24e3":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.doc_item[data-v-649d1837]{display:flex;justify-content:space-between;align-items:center;padding:%?24?% %?35?%;background:#fff;border-bottom:%?1?% solid #ededed}.doc_item .remarkimg[data-v-649d1837]{width:%?31?%;height:%?33?%;margin-right:%?15?%}.doc_item .deleimg[data-v-649d1837]{width:%?44?%;height:%?44?%}.doc_item .doc_name[data-v-649d1837]{width:%?575?%;font-size:%?24?%;color:#333;overflow:hidden}.inp_warp[data-v-649d1837]{padding:%?30?%;background:#fff;display:flex;justify-content:space-between;align-items:center;border-bottom:%?1?% solid #ededed}.inp_warp .inp_title[data-v-649d1837]{font-size:%?32?%;color:#999}.inp_warp .form_right[data-v-649d1837]{display:flex;justify-content:flex-end;align-items:center;color:#999;min-width:%?450?%;text-align:right}.inp_warp .form_right uni-image[data-v-649d1837]{width:%?40?%;height:%?40?%;margin-left:%?24?%}.inp_warp .form_right .rightinput[data-v-649d1837]{width:100%;text-align:right}.inp_warp .add_in[data-v-649d1837]{display:flex;justify-content:flex-end;align-items:center;font-size:%?26?%;color:#ffa205}.inp_warp .add_in .icon-jiahaocu[data-v-649d1837]{font-size:%?28?%;color:#ffa205;margin-right:%?5?%}',""]),t.exports=e},"2b83":function(t,e,i){"use strict";var n=i("f43a"),o=i.n(n);o.a},3166:function(t,e,i){"use strict";i.r(e);var n=i("833a"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"3a2c":function(t,e,i){"use strict";i.r(e);var n=i("0c10"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"3fb8":function(t,e,i){var n=i("5037");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("2d881643",n,!0,{sourceMap:!1,shadowMode:!1})},"454a":function(t,e,i){var n=i("5708");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("4538ebdc",n,!0,{sourceMap:!1,shadowMode:!1})},"468a":function(t,e,i){var n=i("9059");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("429f9d06",n,!0,{sourceMap:!1,shadowMode:!1})},"4a70":function(t,e,i){"use strict";i("4160"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("553d"),o=i("2345"),a={props:{showProduct:{type:Boolean,default:!1},showNumber:{type:Boolean,default:!0}},data:function(){return{BASE_IMG_URL:o.BASE_IMG_URL,name:"",list:[],isAll:!1,selectArr:[]}},methods:{queryList:function(t){this.name=t.detail.value,this.init()},init:function(){this.$refs.popup.open(),this.list=[],this.getProductList()},getProductList:function(){var t=this,e={name:this.name};(0,n.netContractProduct)(e).then((function(e){var i=e.data;i.forEach((function(t){t.number=1,t.select=!1})),t.list=i}))},changeNumber:function(t,e){var i=this.list[e];t>1&&(i.select=!0),i.number=t,this.$set(this.list,e,i),this.handleSelect()},changeSelect:function(t){var e=this.list[t];e.select=!e.select,this.$set(this.list,t,e),this.handleSelect()},selectAll:function(){this.isAll=!this.isAll;var t=this.list;this.isAll?t.forEach((function(t){t.select=!0})):t.forEach((function(t){t.select=!1})),this.list=t,this.handleSelect()},closePopup:function(){this.$refs.popup.close()},handleSelect:function(){var t=this.list,e=[];t.forEach((function(t){t.select&&e.push(t.id)})),this.selectArr=e},sureSelectData:function(){var t=this.list,e=[];t.forEach((function(t){t.select&&e.push(t)})),this.closePopup(),this.$emit("selectList",e)}}};e.default=a},"4b21":function(t,e,i){"use strict";i.r(e);var n=i("13e3"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"4b79":function(t,e,i){var n=i("c75c");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("1f93a234",n,!0,{sourceMap:!1,shadowMode:!1})},"4cb0":function(t,e,i){"use strict";i.r(e);var n=i("b322"),o=i("c93d");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("170d");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"4aeacb7e",null,!1,n["a"],s);e["default"]=c.exports},5037:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.u-empty[data-v-27d61a1e]{display:flex;flex-direction:row;flex-direction:column;justify-content:center;align-items:center;height:100%}.u-image[data-v-27d61a1e]{margin-bottom:%?20?%}.u-slot-wrap[data-v-27d61a1e]{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-top:%?20?%}',""]),t.exports=e},5186:function(t,e,i){"use strict";var n=i("8c47"),o=i.n(n);o.a},"553d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.netKehuList=o,e.netAddkehu=a,e.netSelect=s,e.netSearchStaffList=r,e.netPrevCustomer=c,e.netLianxiren=l,e.netSelectContract=u,e.netCheckName=f,e.netAddFollowRecords=d,e.netContinueIsFollow=p,e.netFollowRecordDetail=v,e.netAddComment=h,e.netGetCommentList=m,e.netStaffList=g,e.netKehuDetail=b,e.netKehuFollow=_,e.daibanKehuFollow=w,e.netAddLianxiren=y,e.netCreateContract=x,e.netContractNum=j,e.netRemoveSeas=C,e.netReceiveKehu=I,e.netTransKehu=E,e.netKeyCollect=k,e.netRemoveColect=R,e.netEditKehu=S,e.netContactList=L,e.netContact=$,e.netContractList=q,e.netKehuFileList=A,e.netConcatDetailInfo=F,e.netContactFileList=D,e.netOperationList=P,e.netEditContactInfo=T,e.netDelContact=M,e.netEditFileName=z,e.netContractDetail=N,e.netPlanListf=B,e.netAddPlan=O,e.netPaymentNum=U,e.netAddPayment=G,e.netPaymentList=V,e.netPaymentNumber=K,e.netPaymentDetail=W,e.netPaymentApproval=H,e.netContractFileList=J,e.netExamine=Y,e.netCancelExamine=Q,e.netEditContract=X,e.netPaymentCancel=Z,e.netEditPaymentInfo=tt,e.netCrmContractList=et,e.netContractProduct=it,e.netProductClass=nt,e.netProductDetail=ot,e.netAddCost=at,e.netCostList=st,e.netCostDetail=rt,e.netEditCost=ct,e.netSubordList=lt,e.netGetBriefdata=ut,e.netTurnoverList=ft,e.netGetreceivableStaff=dt,e.netGetOthersReceivable=pt,e.netGetTargetSelect=vt,e.netGetDepTargetlist=ht,e.netGetDefaultSelfDetail=mt,e.netSetMymubiao=gt,e.netGetRecordList=bt,e.netGetRecordDetail=_t,e.netGetBumenList=wt,e.netGetTealList=yt,e.netGetGongsiList=xt,e.netSetTargetMoney=jt,e.netGetDefaultMoney=Ct,e.netQueryData=It;var n=i("2345");function o(t){return(0,n.myRequest)("customer/getList",t)}function a(t){return(0,n.myRequest)("customer/addCustomer",t)}function s(){return(0,n.myRequest)("common/selectOption")}function r(t){return(0,n.myRequest)("customer/getSearchStaffList",t)}function c(t){return(0,n.myRequest)("customer/getSelectList",t)}function l(t){return(0,n.myRequest)("contacts/getSelectList",t)}function u(t){return(0,n.myRequest)("contract/getSelectList",t)}function f(t){return(0,n.myRequest)("customer/selectName",t)}function d(t){return(0,n.myRequest)("record/createRecord",t)}function p(t){return(0,n.myRequest)("record/record_add",t)}function v(t){return(0,n.myRequest)("record/getRecordDetail",t)}function h(t){return(0,n.myRequest)("record/addComment",t)}function m(t){return(0,n.myRequest)("record/commentList",t)}function g(t){return(0,n.myRequest)("common/getSelectStaff",t)}function b(t){return(0,n.myRequest)("customer/customerDetail",t)}function _(t){return(0,n.myRequest)("record/getList",t)}function w(t){return(0,n.myRequest)("record/getcustomerList",t)}function y(t){return(0,n.myRequest)("contacts/addContacts",t)}function x(t){return(0,n.myRequest)("contract/addContract",t)}function j(){return(0,n.myRequest)("contract/getContractNumber")}function C(t){return(0,n.myRequest)("customer/moveSeas",t)}function I(t){return(0,n.myRequest)("customer/receive",t)}function E(t){return(0,n.myRequest)("customer/transfer",t)}function k(t){return(0,n.myRequest)("customer/collect",t)}function R(t){return(0,n.myRequest)("customer/cancelCollect",t)}function S(t){return(0,n.myRequest)("customer/editCustomer",t)}function L(t){return(0,n.myRequest)("contacts/getList",t)}function $(t){return(0,n.myRequest)("contacts/getSelectList",t)}function q(t){return(0,n.myRequest)("contract/getCustomerContacts",t)}function A(t){return(0,n.myRequest)("customer/getFilesList",t)}function F(t){return(0,n.myRequest)("contacts/getDetail",t)}function D(t){return(0,n.myRequest)("contacts/getFilesList",t)}function P(t){return(0,n.myRequest)("operation/getList",t)}function T(t){return(0,n.myRequest)("contacts/editContacts",t)}function M(t){return(0,n.myRequest)("contacts/delContacts",t)}function z(t){return(0,n.myRequest)("file/editName",t)}function N(t){return(0,n.myRequest)("contract/getDetail",t)}function B(t){return(0,n.myRequest)("receivables_plan/getList",t)}function O(t){return(0,n.myRequest)("receivables_plan/addPlan",t)}function U(t){return(0,n.myRequest)("receivables_plan/getSelectList",t)}function G(t){return(0,n.myRequest)("receivables/addReceivables",t)}function V(t){return(0,n.myRequest)("receivables/getList",t)}function K(){return(0,n.myRequest)("receivables/getReceivablesNumber")}function W(t){return(0,n.myRequest)("receivables/getDetail",t)}function H(t){return(0,n.myRequest)("examine_record/getList",t)}function J(t){return(0,n.myRequest)("contract/getFilesList",t)}function Y(t){return(0,n.myRequest)("examine_record/examine",t)}function Q(t){return(0,n.myRequest)("contract/cancel",t)}function X(t){return(0,n.myRequest)("contract/editContract",t)}function Z(t){return(0,n.myRequest)("receivables/cancel",t)}function tt(t){return(0,n.myRequest)("receivables/editReceivables",t)}function et(t){return(0,n.myRequest)("contract/getList",t)}function it(t){return(0,n.myRequest)("product/getSelectList",t)}function nt(t){return(0,n.myRequest)("product/getProducttypeList",t)}function ot(t){return(0,n.myRequest)("product/getProductDetail",t)}function at(t){return(0,n.myRequest)("consume/addConsume",t)}function st(t){return(0,n.myRequest)("consume/getList",t)}function rt(t){return(0,n.myRequest)("consume/getDetail",t)}function ct(t){return(0,n.myRequest)("consume/editConsume",t)}function lt(t){return(0,n.myRequest)("customer/getLowerCustomer",t)}function ut(t){return(0,n.myRequest)("index/briefing",t)}function ft(t){return(0,n.myRequest)("index/contractRanding",t)}function dt(){return(0,n.myRequest)("statistics/receivablesStatistics")}function pt(){return(0,n.myRequest)("statistics/staffReceivablesStatistics")}function vt(){return(0,n.myRequest)("achievement/getDepartment")}function ht(t){return(0,n.myRequest)("achievement/getStaffList",t)}function mt(t){return(0,n.myRequest)("achievement/getMyAchievementDetail",t)}function gt(t){return(0,n.myRequest)("achievement/staffEditAchievement",t)}function bt(t){return(0,n.myRequest)("achievement/editRecords",t)}function _t(t){return(0,n.myRequest)("achievement/getRecordsDetail",t)}function wt(t){return(0,n.myRequest)("achievement/getDepartmentList",t)}function yt(t){return(0,n.myRequest)("achievement/getTeamList",t)}function xt(t){return(0,n.myRequest)("achievement/getCompanyAchievement",t)}function jt(t){return(0,n.myRequest)("achievement/addAchievement",t)}function Ct(t){return(0,n.myRequest)("achievement/getAchievementDetail",t)}function It(t){return(0,n.myRequest)("index/search",t)}},5708:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */uni-view[data-v-5027cf86]{box-sizing:border-box}.popup_title[data-v-5027cf86]{text-align:center;font-size:%?34?%;color:#333;padding:%?24?%}.searbox[data-v-5027cf86]{width:%?650?%;height:%?68?%;border-radius:%?34?%;margin:0 auto;border:%?1?% solid #008eff;display:flex;justify-content:flex-start;align-items:center;padding:0 %?15?%}.searbox .searchimg[data-v-5027cf86]{width:%?48?%;height:%?48?%;margin-right:%?15?%}.searbox .selfinput[data-v-5027cf86]{width:%?450?%;font-size:%?26?%;color:#008eff}.scrollbox[data-v-5027cf86]{width:100%;height:%?700?%}.scrollbox .pop_list[data-v-5027cf86]{padding:%?24?%}.scrollbox .pop_list .pop_li[data-v-5027cf86]{background:#fff;box-shadow:%?1?% %?1?% %?8?% %?2?% rgba(0,0,0,.1);border-radius:%?24?%;margin-bottom:%?24?%}.scrollbox .pop_list .pop_li .pop_li_top[data-v-5027cf86]{padding:%?28?%;display:flex;justify-content:space-between;align-items:center;border-bottom:%?1?% solid #f5f5f5}.scrollbox .pop_list .pop_li .pop_li_top .pop_title[data-v-5027cf86]{font-size:%?34?%;color:#333}.scrollbox .pop_list .pop_li .pop_li_top .pop_num[data-v-5027cf86]{font-size:%?30?%;color:#666}.scrollbox .pop_list .pop_li .pop_info[data-v-5027cf86]{display:flex;justify-content:flex-start;align-items:center;padding:%?24?% %?30?%}.scrollbox .pop_list .pop_li .pop_info .pop_radio[data-v-5027cf86]{margin-right:%?32?%}.scrollbox .pop_list .pop_li .pop_info .pop_radio uni-radio[data-v-5027cf86]{-webkit-transform:scale(.7);transform:scale(.7)}.scrollbox .pop_list .pop_li .pop_info .infoimg[data-v-5027cf86]{width:%?140?%;height:%?140?%;border-radius:%?20?%;margin-right:%?90?%}.scrollbox .pop_list .pop_li .pop_info .pop_info_cen .pop_info_text[data-v-5027cf86]{font-size:%?28?%;color:#666;margin-bottom:%?15?%}.scrollbox .pop_list .pop_li .pop_info .pop_info_cen .pop_bottom[data-v-5027cf86]{display:flex;justify-content:flex-start;align-items:center;font-size:%?28?%;color:#666}.scrollbox .pop_list .pop_li .pop_info .pop_info_cen .pop_bottom .conright[data-v-5027cf86]{margin-left:%?10?%}.scrollbox .pop_list .pop_li .pop_info .pop_info_cen .pop_bottom .conright .stepbtn[data-v-5027cf86]{width:%?38?%;height:%?38?%;border:%?1?% solid #008eff}.popup_bottom[data-v-5027cf86]{width:100%;padding:0 %?24?%;height:%?100?%;border-top:%?1?% solid #f5f5f5;display:flex;justify-content:space-between;align-items:center}.popup_bottom .pp_left_box[data-v-5027cf86]{display:flex;justify-content:flex-start;align-items:center}.popup_bottom .pp_left_box .pp_left[data-v-5027cf86]{display:flex;justify-content:flex-start;align-items:center;font-size:%?26?%;color:3333}.popup_bottom .pp_left_box .pp_left uni-radio[data-v-5027cf86]{-webkit-transform:scale(.7);transform:scale(.7)}.popup_bottom .pp_left_box .selectnum[data-v-5027cf86]{font-size:%?30?%;color:#fe9440;margin-left:%?24?%}.popup_bottom .pp_right[data-v-5027cf86]{display:flex;justify-content:flex-end;align-items:center}.popup_bottom .pp_right .right_btn[data-v-5027cf86]{width:%?165?%;height:%?60?%;font-size:%?30?%;text-align:center;border-radius:%?30?%}.popup_bottom .pp_right .remove[data-v-5027cf86]{border:%?1?% solid #008eff;color:#008eff;line-height:%?58?%;margin-right:%?24?%}.popup_bottom .pp_right .sure[data-v-5027cf86]{background:#008eff;color:#fff;line-height:%?58?%}',""]),t.exports=e},5722:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.fllow_form[data-v-34e30c15]{display:flex;justify-content:space-between;align-items:center;background-color:#fff;border-bottom:%?1?% solid #eaeaea;padding:%?30?% %?20?%;color:#999;font-size:%?32?%}.fllow_form[data-v-34e30c15] :first-child{flex-shrink:0;font-weight:%?32?%}.fllow_form .form_right[data-v-34e30c15]{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;color:#999;text-align:right;font-weight:%?32?%}.fllow_form .theme[data-v-34e30c15]{color:#5ca9fe}.fllow_form uni-text[data-v-34e30c15]{margin-left:%?10?%}.fllow_form .form_input uni-input[data-v-34e30c15]{text-align:right;margin-right:%?10?%}.fllow_area[data-v-34e30c15]{background-color:#fff;padding:%?30?% %?20?%;padding-bottom:%?30?%;color:#999;font-size:%?32?%}.fllow_area .area_head[data-v-34e30c15]{margin-bottom:%?24?%}.fllow_area uni-textarea[data-v-34e30c15]{width:80%;height:%?300?%;padding:%?30?%;background:#f8f8f8;margin:0 auto}',""]),t.exports=e},5792:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uniPopup:i("cec5").default,uniNumberBox:i("6d10").default,uEmpty:i("58b3").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("uni-popup",{ref:"popup",attrs:{type:"bottom","background-color":"#fff"}},[i("v-uni-view",{staticClass:"popup_title"},[t._v("产品配件")]),i("v-uni-view",{staticClass:"searbox"},[i("v-uni-image",{staticClass:"searchimg",attrs:{src:t.BASE_IMG_URL+"search.png",mode:""}}),i("v-uni-input",{staticClass:"selfinput",attrs:{type:"text",placeholder:"按照备件编号/名称搜索"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.queryList.apply(void 0,arguments)}}})],1),i("v-uni-scroll-view",{staticClass:"scrollbox",attrs:{"scroll-y":!0,"lower-threshold":"30"}},[i("v-uni-view",{staticClass:"pop_list"},[t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"pop_li"},[i("v-uni-view",{staticClass:"pop_li_top"},[i("v-uni-view",{staticClass:"pop_title"},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"pop_num"},[t._v(t._s(e.num))])],1),i("v-uni-view",{staticClass:"pop_info",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.changeSelect(n)}}},[i("v-uni-view",{staticClass:"pop_radio"},[i("v-uni-radio",{attrs:{color:"#008EFF",checked:e.select}})],1),i("v-uni-image",{staticClass:"infoimg",attrs:{src:e.img?e.img:t.BASE_IMG_URL+"img/index-4.png",mode:""}}),i("v-uni-view",{staticClass:"pop_info_cen"},[i("v-uni-view",{staticClass:"pop_bottom",on:{click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[t._v("数量"),i("v-uni-view",{staticClass:"conright"},[i("uni-number-box",{attrs:{min:1},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),function(e){t.changeNumber(e,n)}.apply(void 0,arguments)}},model:{value:e.number,callback:function(i){t.$set(e,"number",i)},expression:"item.number"}})],1)],1)],1)],1)],1)})),0==t.list.length?i("u-empty",{attrs:{text:"暂无更多"}}):t._e()],2)],1),i("v-uni-view",{staticClass:"popup_bottom"},[i("v-uni-view",{staticClass:"pp_left_box"},[i("v-uni-view",{staticClass:"pp_left"},[i("v-uni-radio",{attrs:{color:"#008EFF",checked:t.isAll},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectAll.apply(void 0,arguments)}}}),t._v("全选")],1),i("v-uni-view",{staticClass:"selectnum"},[t._v("已选"+t._s(t.selectArr.length)+"项")])],1),i("v-uni-view",{staticClass:"pp_right"},[i("v-uni-view",{staticClass:"right_btn remove",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closePopup.apply(void 0,arguments)}}},[t._v("取消")]),i("v-uni-view",{staticClass:"right_btn sure",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.sureSelectData.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1)],1)},a=[]},"58b3":function(t,e,i){"use strict";i.r(e);var n=i("971b"),o=i("dae4");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("afc3");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"27d61a1e",null,!1,n["a"],s);e["default"]=c.exports},"5c2b":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.add_in[data-v-8e50a046]{background-color:#008eff;color:#fff;height:%?60?%;line-height:%?60?%;padding:0 %?15?%;font-size:%?24?%;border-radius:%?10?%}.fllow_form[data-v-8e50a046]{display:flex;justify-content:space-between;align-items:center;background-color:#fff;border-bottom:%?1?% solid #eaeaea;padding:%?30?% %?20?%;color:#999;font-size:%?32?%}.fllow_form .form_right[data-v-8e50a046]{display:flex;align-items:center;color:#999}.fllow_form .form_right[data-v-8e50a046] :first-child{width:%?450?%;text-align:right}.fllow_form .form_right uni-image[data-v-8e50a046]{width:%?40?%;height:%?40?%;margin:%?28?% %?5?% 0 0}.fllow_form .theme[data-v-8e50a046]{color:#5ca9fe}.fllow_form uni-text[data-v-8e50a046]{color:red;margin-left:%?10?%}.fllow_form .form_input uni-input[data-v-8e50a046]{text-align:right;margin-right:%?10?%}.pro_warp[data-v-8e50a046]{padding:%?30?% %?24?% 0 %?24?%;background:#fff;border-bottom:%?1?% solid #f5f5f5}.pro_warp .li_warp[data-v-8e50a046]{padding-bottom:%?24?%;margin-bottom:%?24?%;border-bottom:%?2?% solid #f5f5f5}.pro_warp .li_warp[data-v-8e50a046]:last-child{border-bottom:0}.pro_warp .li_warp .cell_con[data-v-8e50a046]{padding:0 %?40?%}.pro_warp .li_warp .cell_con .cell_con_top[data-v-8e50a046]{display:flex;justify-content:space-between;align-items:center}.pro_warp .li_warp .cell_con .cell_con_top .contitle[data-v-8e50a046]{font-size:%?28?%;color:#333}.pro_warp .li_warp .cell_con .cell_con_top .deleimg[data-v-8e50a046]{width:%?44?%;height:%?44?%}.pro_warp .li_warp .cell_con .pro_con_box[data-v-8e50a046]{display:flex;justify-content:space-between;align-items:center}.pro_warp .li_warp .cell_con .pro_con_box .context[data-v-8e50a046]{font-size:%?26?%;color:#666;margin-top:%?10?%;display:flex;justify-content:flex-start;align-items:center}.pro_warp .li_warp .cell_con .pro_con_box .context .productPrice[data-v-8e50a046]{width:%?150?%;background:#f5f5f5;text-align:center}.pro_warp .li_warp .cell_con .pro_con_box .conbot[data-v-8e50a046]{margin-top:%?10?%;display:flex;justify-content:space-between;align-items:center}.pro_warp .li_warp .cell_con .pro_con_box .conbot .conmoney[data-v-8e50a046]{font-size:%?26?%;color:#333}.pro_warp .li_warp .cell_con .config_set[data-v-8e50a046]{margin-top:%?24?%}.pro_warp .li_warp .cell_con .config_set .config_title[data-v-8e50a046]{font-size:%?24?%;color:#333;display:flex;justify-content:flex-start;align-items:center}.pro_warp .li_warp .cell_con .config_set .config_title .addConimg[data-v-8e50a046]{width:%?100?%;height:%?40?%;margin-left:%?10?%}.pro_warp .li_warp .cell_con .config_set .config_list[data-v-8e50a046]{margin-top:%?24?%}.pro_warp .li_warp .cell_con .config_set .config_list .config_li[data-v-8e50a046]{display:flex;justify-content:flex-start;align-items:center;margin-top:%?24?%;border-bottom:%?1?% solid #f5f5f5;padding-bottom:%?24?%}.pro_warp .li_warp .cell_con .config_set .config_list .config_li .conimg[data-v-8e50a046]{width:%?100?%;height:%?100?%;border-radius:%?10?%;margin-right:%?20?%}.pro_warp .li_warp .cell_con .config_set .config_list .config_li .config_name[data-v-8e50a046]{width:%?290?%;font-size:%?24?%;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pro_warp .li_warp .cell_con .config_set .config_list .config_li .config_step[data-v-8e50a046]{margin-left:%?24?%}.pro_warp .li_warp .right_del_btn[data-v-8e50a046]{width:%?90?%;height:%?240?%;background:red;color:#fff;text-align:center;line-height:%?224?%}.del[data-v-8e50a046]{width:%?40?%;height:%?40?%;border-radius:50%;border:%?1?% solid #ff7800;font-size:%?28?%;color:#ff7800;flex-shrink:0;margin-right:%?24?%;text-align:center;line-height:%?38?%}',""]),t.exports=e},"5c61":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.popup_title[data-v-a1c848da]{text-align:center;font-size:%?34?%;color:#333;padding:%?24?%}.searbox[data-v-a1c848da]{width:%?690?%;height:%?60?%;margin:0 %?24?% %?15?%;border-radius:%?30?%;padding:0 %?24?%;display:flex;justify-content:flex-start;align-items:center;background:#f5f5f5}.searbox .searimg[data-v-a1c848da]{width:%?50?%;height:%?50?%;margin-right:%?10?%}.searbox .li_box[data-v-a1c848da]{width:%?630?%}.scrollbox[data-v-a1c848da]{width:100%;height:%?600?%;background:#f5f5f5}.scrollbox .liwarp[data-v-a1c848da]{width:%?702?%;padding:%?20?% %?30?%;margin:%?20?% auto;background:#fff;border-radius:%?10?%;display:flex;justify-content:space-between;align-items:center}.scrollbox .liwarp .warpleft[data-v-a1c848da]{flex:1;display:flex;justify-content:flex-start;align-items:center}.scrollbox .liwarp .warpleft .headerimg[data-v-a1c848da]{width:%?50?%;height:%?50?%;border-radius:50%;margin-right:%?15?%}.scrollbox .liwarp .warpleft .name[data-v-a1c848da]{font-size:%?24?%;color:#333}.scrollbox .liwarp .warpleft .number[data-v-a1c848da]{font-size:%?24?%;color:#999;margin:%?15?% 0}.scrollbox .liwarp .warpleft .guishu[data-v-a1c848da]{font-size:%?24?%;color:#666}.btnlist[data-v-a1c848da]{width:%?750?%;display:flex;justify-content:space-around;padding:%?30?% 0;border-top:%?1?% solid #f5f5f5}.btnlist .btn[data-v-a1c848da]{width:%?200?%;height:%?60?%;border-radius:%?30?%;font-size:%?24?%;color:#fff;text-align:center;line-height:%?60?%}.btnlist .firbtn[data-v-a1c848da]{background:#14c2c1}.btnlist .secbtn[data-v-a1c848da]{background:#ff7800}',""]),t.exports=e},"68de":function(t,e,i){"use strict";i.r(e);var n=i("1139"),o=i("3a2c");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("2b83");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"8e50a046",null,!1,n["a"],s);e["default"]=c.exports},"6b92":function(t,e,i){var n=i("862d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("2404f025",n,!0,{sourceMap:!1,shadowMode:!1})},"6d10":function(t,e,i){"use strict";i.r(e);var n=i("c5ee"),o=i("3166");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("16da");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"18a620fe",null,!1,n["a"],s);e["default"]=c.exports},"7d16":function(t,e,i){"use strict";i.r(e);var n=i("5792"),o=i("99f2");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("d5dc");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"5027cf86",null,!1,n["a"],s);e["default"]=c.exports},"7f00":function(t,e,i){"use strict";var n=i("4ea4");i("4160"),i("caad"),i("c975"),i("a434"),i("a9e3"),i("2532"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i("af19"),a=n(i("ea3f")),s=n(i("1430")),r=n(i("80b8")),c=i("866e"),l={props:{objInfo:{type:Object,default:{}},isEdit:{type:Boolean,default:!0},height:{type:Number,default:300},autoHeight:{type:Boolean,default:!1},index:{type:Number,default:null},isNotRequired:{type:Boolean,default:!1},istype:{type:String,default:"all"}},components:{tkiTree:a.default,uploadImage:s.default,uploadFile:r.default},data:function(){return{dateTimeArray:[],dateArr:[],dateTime:[],addressList:[],show:!1}},computed:{},watch:{},created:function(){"TimePicker"==this.objInfo.component&&this.initTime(),"Cascader"==this.objInfo.component&&(this.addressList=c.citys)},onShow:function(){},methods:{changeInput:function(t){var e=this.objInfo.id,i=t.detail.value;this.$emit("changeData",e,i,this.objInfo)},changeSelect:function(){this.isEdit&&this.$refs.tkitree._show()},selectTree:function(t){console.log(t,"选择");var e=this.objInfo.id;if(t.length>0){console.log("123456");var i=[];t.forEach((function(t){i.push(t.label)})),this.$emit("changeData",e,i.join(","),this.objInfo)}else this.$emit("changeData",e,"",this.objInfo)},changeRate:function(t){var e=t,i=this.objInfo.id;this.$emit("changeData",i,e,this.objInfo)},changeTextarea:function(t){var e=this.objInfo.id,i=t.detail.value;this.$emit("changeData",e,i,this.objInfo)},changeRadio:function(t){var e=t.detail.value,i=this.objInfo.id;this.$emit("changeData",i,e,this.objInfo)},changeCheckbox:function(t){var e=this.objInfo.id,i=t.detail.value;this.$emit("changeData",e,i.join(","),this.objInfo)},changeAddress:function(t){var e=t.detail.value[0];if(-1!=e.indexOf("市")){var i=e.indexOf("市");e=e.substring(0,i)}var n=e+"/"+t.detail.value[1]+"/"+t.detail.value[2],o=this.objInfo.id;this.$emit("changeData",o,n,this.objInfo)},confirm:function(t){var e=t[0].label+t[1].label+t[2].label,i=this.objInfo.id;this.$emit("changeData",i,e,this.objInfo)},changeDate:function(t){var e=t.detail.value,i=this.objInfo.id;this.$emit("changeData",i,e,this.objInfo)},withData:function(t){return t<10?"0"+t:""+t},initTime:function(){var t=new Date,e=t.getFullYear(),i=this.withData(t.getMonth()+1),n=this.withData(t.getDate()),a=this.withData(t.getHours()),s=this.withData(t.getMinutes()),r=this.withData(t.getSeconds()),c={},l=e+"-"+i+"-"+n+" "+a+":"+s+":"+r;c="order_date"==this.objInfo.id?(0,o.dateTimePicker)(7,2015,e,l):(0,o.dateTimePicker)();c.dateTimeArray.pop(),c.dateTime.pop(),c.dateArray.pop();this.dateTimeArray=c.dateTimeArray,this.dateArr=c.dateArray,this.dateTime=c.dateTime},changeColumn:function(t){var e=t.detail.column,i=t.detail.value;if(1==e){var n=this.dateArr[e][i],a=new Date,s=a.getFullYear(),r=s+"-"+n+"-01 00:00:00",c={};c="order_date"==this.objInfo.id?(0,o.dateTimePicker)(7,2015,s,r):(0,o.dateTimePicker)();c.dateTimeArray.pop(),c.dateTime.pop(),c.dateArray.pop();this.dateTimeArray=c.dateTimeArray,this.dateArr=c.dateArray,this.dateTime=c.dateTime}},changeTime:function(t){var e=t.detail.value;if(e.includes(-1))uni.showToast({title:"请选择正确的时间",icon:"none"});else{var i=this.handleTime(e),n=this.objInfo.id;this.$emit("changeData",n,i,this.objInfo,this.index)}},changeAlipayTime:function(t){var e=this.objInfo.id;this.$emit("changeData",e,t.detail.value,this.objInfo)},handleTime:function(t){var e=this.dateArr[0][t[0]],i=this.dateArr[1][t[1]],n=this.dateArr[2][t[2]],o=this.dateArr[3][t[3]],a=this.dateArr[4][t[4]],s=e+"-"+i+"-"+n+" "+o+":"+a;return s},uploadImg:function(t){var e=this.objInfo.id,i=this.objInfo.value?this.objInfo.value:[];i.push(t),this.$emit("changeData",e,i,this.objInfo)},delImg:function(t){var e=this.objInfo.id,i=this.objInfo.value;i.splice(t,1),this.$emit("changeData",e,i,this.objInfo)},uploadFile:function(t){var e=this.objInfo.id,i=this.objInfo.value?this.objInfo.value:[];i.push(t),this.$emit("changeData",e,i,this.objInfo)},delFile:function(t){var e=this.objInfo.id,i=this.objInfo.value;i.splice(t,1),this.$emit("changeData",e,i,this.objInfo)}}};e.default=l},"80b8":function(t,e,i){"use strict";i.r(e);var n=i("c20d7"),o=i("2394");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("1b5f");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"649d1837",null,!1,n["a"],s);e["default"]=c.exports},"833a":function(t,e,i){"use strict";i("a9e3"),i("ac1f"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"UniNumberBox",emits:["change","input","update:modelValue","blur","focus"],props:{value:{type:[Number,String],default:1},modelValue:{type:[Number,String],default:1},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},background:{type:String,default:"#f5f5f5"},color:{type:String,default:"#333"},disabled:{type:Boolean,default:!1}},data:function(){return{inputValue:0}},watch:{value:function(t){this.inputValue=+t},modelValue:function(t){this.inputValue=+t}},created:function(){1===this.value&&(this.inputValue=+this.modelValue),1===this.modelValue&&(this.inputValue=+this.value)},methods:{_calcValue:function(t){if(!this.disabled){var e=this._getDecimalScale(),i=this.inputValue*e,n=this.step*e;if("minus"===t){if(i-=n,i<this.min*e)return;i>this.max*e&&(i=this.max*e)}if("plus"===t){if(i+=n,i>this.max*e)return;i<this.min*e&&(i=this.min*e)}this.inputValue=(i/e).toFixed(String(e).length-1),this.$emit("change",+this.inputValue),this.$emit("input",+this.inputValue),this.$emit("update:modelValue",+this.inputValue)}},_getDecimalScale:function(){var t=1;return~~this.step!==this.step&&(t=Math.pow(10,String(this.step).split(".")[1].length)),t},_onBlur:function(t){this.$emit("blur",t);var e=t.detail.value;if(e){e=+e,e>this.max?e=this.max:e<this.min&&(e=this.min);var i=this._getDecimalScale();this.inputValue=e.toFixed(String(i).length-1),this.$emit("change",+this.inputValue),this.$emit("input",+this.inputValue)}},_onFocus:function(t){this.$emit("focus",t)}}};e.default=n},"862d":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */uni-view[data-v-4aeacb7e]{box-sizing:border-box}.popup_title[data-v-4aeacb7e]{text-align:center;font-size:%?34?%;color:#333;padding:%?24?%}.searbox[data-v-4aeacb7e]{width:%?650?%;height:%?68?%;border-radius:%?34?%;margin:0 auto;border:%?1?% solid #008eff;display:flex;justify-content:flex-start;align-items:center;padding:0 %?15?%}.searbox .searchimg[data-v-4aeacb7e]{width:%?48?%;height:%?48?%;margin-right:%?15?%}.searbox .selfinput[data-v-4aeacb7e]{width:%?450?%;font-size:%?26?%;color:#008eff}.scrollbox[data-v-4aeacb7e]{width:100%;height:%?700?%}.scrollbox .pop_list[data-v-4aeacb7e]{padding:%?24?%}.scrollbox .pop_list .pop_li[data-v-4aeacb7e]{background:#fff;box-shadow:%?1?% %?1?% %?8?% %?2?% rgba(0,0,0,.1);border-radius:%?24?%;margin-bottom:%?24?%}.scrollbox .pop_list .pop_li .pop_li_top[data-v-4aeacb7e]{padding:%?28?%;display:flex;justify-content:space-between;align-items:center;border-bottom:%?1?% solid #f5f5f5}.scrollbox .pop_list .pop_li .pop_li_top .pop_title[data-v-4aeacb7e]{font-size:%?34?%;color:#333}.scrollbox .pop_list .pop_li .pop_li_top .pop_num[data-v-4aeacb7e]{font-size:%?30?%;color:#666}.scrollbox .pop_list .pop_li .pop_info[data-v-4aeacb7e]{display:flex;justify-content:flex-start;align-items:center;padding:%?24?% %?30?%}.scrollbox .pop_list .pop_li .pop_info .pop_radio[data-v-4aeacb7e]{margin-right:%?32?%}.scrollbox .pop_list .pop_li .pop_info .pop_radio uni-radio[data-v-4aeacb7e]{-webkit-transform:scale(.7);transform:scale(.7)}.scrollbox .pop_list .pop_li .pop_info .infoimg[data-v-4aeacb7e]{width:%?140?%;height:%?140?%;border-radius:%?20?%;margin-right:%?60?%}.scrollbox .pop_list .pop_li .pop_info .pop_info_cen .pop_info_text[data-v-4aeacb7e]{font-size:%?28?%;color:#666;margin-bottom:%?15?%}.scrollbox .pop_list .pop_li .pop_info .pop_info_cen .pop_bottom[data-v-4aeacb7e]{display:flex;justify-content:flex-start;align-items:center;font-size:%?28?%;color:#666}.scrollbox .pop_list .pop_li .pop_info .pop_info_cen .pop_bottom .conright[data-v-4aeacb7e]{margin-left:%?10?%}.scrollbox .pop_list .pop_li .pop_info .pop_info_cen .pop_bottom .conright .stepbtn[data-v-4aeacb7e]{width:%?38?%;height:%?38?%;border:%?1?% solid #008eff}.popup_bottom[data-v-4aeacb7e]{width:100%;padding:0 %?24?%;height:%?100?%;border-top:%?1?% solid #f5f5f5;display:flex;justify-content:space-between;align-items:center}.popup_bottom .pp_left_box[data-v-4aeacb7e]{display:flex;justify-content:flex-start;align-items:center}.popup_bottom .pp_left_box .pp_left[data-v-4aeacb7e]{display:flex;justify-content:flex-start;align-items:center;font-size:%?26?%;color:3333}.popup_bottom .pp_left_box .pp_left uni-radio[data-v-4aeacb7e]{-webkit-transform:scale(.7);transform:scale(.7)}.popup_bottom .pp_left_box .selectnum[data-v-4aeacb7e]{font-size:%?30?%;color:#fe9440;margin-left:%?24?%}.popup_bottom .pp_right[data-v-4aeacb7e]{display:flex;justify-content:flex-end;align-items:center}.popup_bottom .pp_right .right_btn[data-v-4aeacb7e]{width:%?165?%;height:%?60?%;font-size:%?30?%;text-align:center;border-radius:%?30?%}.popup_bottom .pp_right .remove[data-v-4aeacb7e]{border:%?1?% solid #008eff;color:#008eff;line-height:%?58?%;margin-right:%?24?%}.popup_bottom .pp_right .sure[data-v-4aeacb7e]{background:#008eff;color:#fff;line-height:%?58?%}',""]),t.exports=e},"8c47":function(t,e,i){var n=i("5c61");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("407f707b",n,!0,{sourceMap:!1,shadowMode:!1})},9059:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.uni-numbox[data-v-18a620fe]{display:flex;flex-direction:row}.uni-numbox-btns[data-v-18a620fe]{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:0 8px;background-color:#f5f5f5;cursor:pointer}.uni-numbox__value[data-v-18a620fe]{margin:0 2px;background-color:#f5f5f5;width:40px;height:26px;text-align:center;font-size:14px;border-left-width:0;border-right-width:0;color:#333}.uni-numbox__minus[data-v-18a620fe]{border-top-left-radius:2px;border-bottom-left-radius:2px}.uni-numbox__plus[data-v-18a620fe]{border-top-right-radius:2px;border-bottom-right-radius:2px}.uni-numbox--text[data-v-18a620fe]{line-height:20px;font-size:20px;font-weight:300;color:#333}.uni-numbox .uni-numbox--disabled[data-v-18a620fe]{color:silver!important;cursor:not-allowed}',""]),t.exports=e},9608:function(t,e,i){"use strict";var n=i("fe8b"),o=i.n(n);o.a},"971b":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uIcon:i("c6a5").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.show?i("v-uni-view",{staticClass:"u-empty",style:{marginTop:t.marginTop+"rpx"}},[i("u-icon",{attrs:{name:t.src?t.src:"empty-"+t.mode,"custom-style":t.iconStyle,label:t.text?t.text:t.icons[t.mode],"label-pos":"bottom","label-color":t.color,"label-size":t.fontSize,size:t.iconSize,color:t.iconColor,"margin-top":"14"}}),i("v-uni-view",{staticClass:"u-slot-wrap"},[t._t("bottom")],2)],1):t._e()},a=[]},"99f2":function(t,e,i){"use strict";i.r(e);var n=i("d9a8"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},ae85:function(t,e,i){var n=i("06ac");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("65f4cd20",n,!0,{sourceMap:!1,shadowMode:!1})},aec2:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uRate:i("a73c").default,tkiTree:i("ea3f").default,uSelect:i("193e").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",["input"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),i("v-uni-view",{staticClass:"form_input"},[t.isEdit?i("v-uni-input",{class:t.objInfo.value?"valueActive":"",attrs:{type:t.objInfo.config.inputType?t.objInfo.config.inputType:"text","placeholder-style":"color:#999;font-size:32rpx;",value:t.objInfo.value,placeholder:t.isEdit?t.objInfo.config.placeholder:""},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.changeInput.apply(void 0,arguments)}}}):t._e(),t.isEdit?t._e():i("v-uni-view",{staticClass:"valueActive"},[t._v(t._s(t.objInfo.value?t.objInfo.value:""))])],1)],1),"input-number"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),i("v-uni-view",{staticClass:"form_input"},[i("v-uni-input",{class:t.objInfo.value?"valueActive":"",attrs:{type:"","placeholder-style":"color:#999;font-size:32rpx;",disabled:!t.isEdit,value:t.objInfo.value,placeholder:t.isEdit?t.objInfo.config.placeholder:""},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.changeInput.apply(void 0,arguments)}}})],1)],1),"select"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),i("v-uni-view",{staticClass:"form_right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeSelect.apply(void 0,arguments)}}},[i("v-uni-view",{class:t.objInfo.value?"valueActive":""},[t._v(t._s(t.isEdit||t.objInfo.value?t.objInfo.value?t.objInfo.value:t.objInfo.config.placeholder:""))]),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),"Rate"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),i("v-uni-view",{staticClass:"form_right"},[i("v-uni-view",[i("u-rate",{attrs:{disabled:!t.isEdit,"active-color":"#FFD049","inactive-color":"#b2b2b2",size:35,gutter:10},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeRate.apply(void 0,arguments)}},model:{value:t.objInfo.value,callback:function(e){t.$set(t.objInfo,"value",e)},expression:"objInfo.value"}})],1)],1)],1),"TimePicker"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),i("v-uni-picker",{attrs:{mode:"multiSelector",disabled:!t.isEdit,range:t.dateTimeArray,value:t.dateTime},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTime.apply(void 0,arguments)},columnchange:function(e){arguments[0]=e=t.$handleEvent(e),t.changeColumn.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"form_right"},[i("v-uni-view",{class:t.objInfo.value?"valueActive":""},[t._v(t._s(t.objInfo.value?t.objInfo.value:t.objInfo.config.placeholder))]),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1)],1),"textarea"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_area"},[i("v-uni-view",{staticClass:"area_head"},[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),i("v-uni-textarea",{class:t.objInfo.value?"valueActive":"",style:{height:t.height+"rpx"},attrs:{maxlength:"-1","auto-height":t.autoHeight,value:t.objInfo.value?t.objInfo.value:"",disabled:!t.isEdit,placeholder:t.isEdit?t.objInfo.config.placeholder:"","placeholder-style":"color:#999;font-size:32rpx;"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTextarea.apply(void 0,arguments)}}})],1),"radio"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),i("v-uni-view",{staticClass:"form_right"},[i("v-uni-radio-group",{staticClass:"labellist",attrs:{disabled:!t.isEdit},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeRadio.apply(void 0,arguments)}}},t._l(t.objInfo.config.content,(function(e,n){return i("v-uni-label",{key:n,staticClass:"labelbox",attrs:{class:"labelbox"}},[i("v-uni-view",[i("v-uni-radio",{attrs:{color:"#008EFF",disabled:!t.isEdit,value:e.value,checked:e.value==t.objInfo.value}})],1),i("v-uni-view",[t._v(t._s(e.value))])],1)})),1)],1)],1),"checkbox"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_area"},[i("v-uni-view",{staticClass:"area_head"},[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),i("v-uni-checkbox-group",{staticStyle:{display:"flex","justify-content":"flex-start","flex-wrap":"wrap"},attrs:{value:t.objInfo.value},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeCheckbox.apply(void 0,arguments)}}},t._l(t.objInfo.config.content,(function(e,n){return i("v-uni-label",{key:n,staticStyle:{"margin-right":"15rpx","margin-bottom":"25rpx",display:"block"}},[i("v-uni-checkbox",{staticClass:"checkbox",attrs:{color:"#ff7800",value:e.value,checked:-1!=t.objInfo.value.indexOf(e.value),disabled:!t.isEdit}}),i("span",[t._v(t._s(e.value))])],1)})),1)],1),"Cascader"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),t.isEdit?i("v-uni-view",{staticClass:"form_right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.show=!0}}},[i("v-uni-view",{class:t.objInfo.value?"valueActive":""},[t._v(t._s(t.isEdit||t.objInfo.value?t.objInfo.value?t.objInfo.value:t.objInfo.config.placeholder:""))]),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1):i("v-uni-view",{staticClass:"form_right"},[i("v-uni-view",{class:t.objInfo.value?"valueActive":""},[t._v(t._s(t.isEdit||t.objInfo.value?t.objInfo.value?t.objInfo.value:t.objInfo.config.placeholder:""))]),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),"DatePicker"!=t.objInfo.component||1!=t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",{class:1==t.objInfo.config.required?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.objInfo.config.label))],1),i("v-uni-picker",{attrs:{mode:"date",disabled:!t.isEdit},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeDate.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"form_right"},[i("v-uni-view",{class:t.objInfo.value?"valueActive":""},[t._v(t._s(t.isEdit||t.objInfo.value?t.objInfo.value?t.objInfo.value:t.objInfo.config.placeholder:""))]),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1)],1),"uploadImage"!=t.objInfo.component||!t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("upload-image",{attrs:{flag:t.objInfo.config.required,imgList:t.objInfo.value?t.objInfo.value:[],title:t.objInfo.config.label,single:t.objInfo.config.maxnum,isEdit:t.isEdit,istype:t.istype},on:{uploadImg:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadImg.apply(void 0,arguments)},delImg:function(e){arguments[0]=e=t.$handleEvent(e),t.delImg.apply(void 0,arguments)}}}),"uploadFile"!=t.objInfo.component||!t.objInfo.config.required&&t.isNotRequired||t.objInfo.config.addShow?t._e():i("upload-file",{attrs:{title:t.objInfo.config.label,flag:t.objInfo.config.required,fileList:t.objInfo.value?t.objInfo.value:[],isEdit:t.isEdit},on:{uploadFile:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadFile.apply(void 0,arguments)},delFile:function(e){arguments[0]=e=t.$handleEvent(e),t.delFile.apply(void 0,arguments)}}}),"select"==t.objInfo.component?i("tki-tree",{ref:"tkitree",attrs:{range:t.objInfo.config.content,multiple:t.objInfo.config.multiple,rangeKey:"label",idKey:"nodeKey",confirmColor:"#008EFF"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.selectTree.apply(void 0,arguments)}}}):t._e(),i("u-select",{attrs:{mode:"mutil-column-auto","value-name":"code","label-name":"name","child-name":"children",list:t.addressList},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}})],1)},a=[]},afc3:function(t,e,i){"use strict";var n=i("3fb8"),o=i.n(n);o.a},b322:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uniPopup:i("cec5").default,uniNumberBox:i("6d10").default,uEmpty:i("58b3").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("uni-popup",{ref:"popup",attrs:{type:"bottom","background-color":"#fff"}},[i("v-uni-view",{staticClass:"popup_title"},[t._v("添加产品")]),i("v-uni-view",{staticClass:"searbox"},[i("v-uni-image",{staticClass:"searchimg",attrs:{src:t.BASE_IMG_URL+"search.png",mode:""}}),i("v-uni-input",{staticClass:"selfinput",attrs:{type:"text",placeholder:"输入产品编号/名称搜索"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.queryList.apply(void 0,arguments)}}})],1),i("v-uni-scroll-view",{staticClass:"scrollbox",attrs:{"scroll-y":!0,"lower-threshold":"30"}},[i("v-uni-view",{staticClass:"pop_list"},[t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"pop_li"},[i("v-uni-view",{staticClass:"pop_li_top"},[i("v-uni-view",{staticClass:"pop_title"},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"pop_num"},[t._v(t._s(e.num))])],1),i("v-uni-view",{staticClass:"pop_info",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.changeSelect(n)}}},[i("v-uni-view",{staticClass:"pop_radio"},[i("v-uni-radio",{attrs:{color:"#008EFF",checked:e.select}})],1),i("v-uni-image",{staticClass:"infoimg",attrs:{src:e.img?e.img:t.BASE_IMG_URL+"img/index-4.png",mode:""}}),i("v-uni-view",{staticClass:"pop_info_cen"},[i("v-uni-view",{staticClass:"pop_info_text"},[t._v("单位:"+t._s(e.unit))]),i("v-uni-view",{staticClass:"pop_info_text"},[t._v("零售价:¥"+t._s(e.price))]),i("v-uni-view",{staticClass:"pop_info_text"},[t._v("批发价:¥"+t._s(e.wholesale))]),t.showNumber?i("v-uni-view",{staticClass:"pop_bottom",on:{click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[t._v("数量"),i("v-uni-view",{staticClass:"conright"},[i("uni-number-box",{attrs:{min:1},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),function(e){t.changeNumber(e,n)}.apply(void 0,arguments)}},model:{value:e.number,callback:function(i){t.$set(e,"number",i)},expression:"item.number"}})],1)],1):t._e()],1)],1)],1)})),0==t.list.length?i("u-empty",{attrs:{text:"暂无更多"}}):t._e()],2)],1),i("v-uni-view",{staticClass:"popup_bottom"},[i("v-uni-view",{staticClass:"pp_left_box"},[i("v-uni-view",{staticClass:"pp_left"},[i("v-uni-radio",{attrs:{color:"#008EFF",checked:t.isAll},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectAll.apply(void 0,arguments)}}}),t._v("全选")],1),i("v-uni-view",{staticClass:"selectnum"},[t._v("已选"+t._s(t.selectArr.length)+"项")])],1),i("v-uni-view",{staticClass:"pp_right"},[i("v-uni-view",{staticClass:"right_btn remove",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closePopup.apply(void 0,arguments)}}},[t._v("取消")]),i("v-uni-view",{staticClass:"right_btn sure",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.sureSelectData.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1)],1)},a=[]},b8c8:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-empty",props:{src:{type:String,default:""},text:{type:String,default:""},color:{type:String,default:"#c0c4cc"},iconColor:{type:String,default:"#c0c4cc"},iconSize:{type:[String,Number],default:120},fontSize:{type:[String,Number],default:26},mode:{type:String,default:"data"},imgWidth:{type:[String,Number],default:120},imgHeight:{type:[String,Number],default:"auto"},show:{type:Boolean,default:!0},marginTop:{type:[String,Number],default:0},iconStyle:{type:Object,default:function(){return{}}}},data:function(){return{icons:{car:"购物车为空",page:"页面不存在",search:"没有搜索结果",address:"没有收货地址",wifi:"没有WiFi",order:"订单为空",coupon:"没有优惠券",favor:"暂无收藏",permission:"无权限",history:"无历史记录",news:"无新闻列表",message:"消息列表为空",list:"列表为空",data:"数据为空"}}}};e.default=n},b9b9:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uniPopup:i("cec5").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("uni-popup",{ref:"popup",attrs:{type:"bottom","background-color":"#fff"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[i("v-uni-view",{staticClass:"popup_title"},[t._v("选择客户")]),i("v-uni-view",{staticClass:"searbox"},[i("v-uni-image",{staticClass:"searimg",attrs:{src:t.BASE_IMG_URL+"ss.png",mode:"scaleToFill"}}),i("v-uni-input",{staticClass:"li_box",class:t.keyword?"fontactive":"",attrs:{type:"text","placeholder-style":"color:#999;",placeholder:"客户名称"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.searchName.apply(void 0,arguments)}},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}})],1),i("v-uni-scroll-view",{staticClass:"scrollbox",attrs:{"scroll-y":!0,"lower-threshold":"30"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.loadMoredata.apply(void 0,arguments)}}},[t._l(t.customerlist,(function(e,n){return i("v-uni-view",{key:n,staticClass:"liwarp",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectItem(e,n)}}},[i("v-uni-view",{staticClass:"warpleft"},[i("v-uni-view",{staticClass:"name"},[t._v("名称:"+t._s(e.name))])],1),i("v-uni-label",{staticClass:"radio"},[i("v-uni-radio",{attrs:{value:"r1",color:"#008EFF",checked:t.preseCustomerObj.id==e.id}})],1)],1)})),0==t.customerlist.length?i("v-uni-view",{staticClass:"noData"},[t._v("暂无更多")]):t._e()],2),i("v-uni-view",{staticClass:"btnlist",on:{click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e)}}},[i("v-uni-view",{staticClass:"btn secbtn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hideSelect.apply(void 0,arguments)}}},[t._v("取消")]),i("v-uni-view",{staticClass:"btn firbtn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.sureSelect.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1)},a=[]},bcc2:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,"uni-radio[data-v-a1c848da]{-webkit-transform:scale(.7);transform:scale(.7)}",""]),t.exports=e},c02f:function(t,e,i){"use strict";i.r(e);var n=i("0e15"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},c20d7:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{},[i("v-uni-view",{staticClass:"inp_warp"},[i("v-uni-view",{staticClass:"inp_title key"},[i("v-uni-text",{class:t.flag?"b_color":"bo_color"},[t._v("*")]),t._v(t._s(t.title)+":")],1),t.isEdit?i("v-uni-view",{staticClass:"form_right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toUploadFile.apply(void 0,arguments)}}},[i("v-uni-view",[t._v("点击上传")]),i("v-uni-view",{staticClass:"iconfont icon-you"})],1):t._e()],1),t._l(t.fileList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"doc_item"},[i("v-uni-image",{staticClass:"remarkimg",attrs:{src:t.BASE_IMG_URL+"/file-clip.png"}}),i("v-uni-view",{staticClass:"doc_name",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.toLookFile(e)}}},[t._v(t._s(e.name))]),t.isEdit?i("v-uni-image",{staticClass:"deleimg",attrs:{src:t.BASE_IMG_URL+"/file_del.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.delFile(n)}}}):t._e()],1)}))],2)},a=[]},c5ee:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"uni-numbox"},[i("v-uni-view",{staticClass:"uni-numbox__minus uni-numbox-btns",style:{background:t.background},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._calcValue("minus")}}},[i("v-uni-text",{staticClass:"uni-numbox--text",class:{"uni-numbox--disabled":t.inputValue<=t.min||t.disabled},style:{color:t.color}},[t._v("-")])],1),i("v-uni-input",{staticClass:"uni-numbox__value",style:{background:t.background,color:t.color},attrs:{disabled:t.disabled,type:"number"},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t._onFocus.apply(void 0,arguments)},blur:function(e){arguments[0]=e=t.$handleEvent(e),t._onBlur.apply(void 0,arguments)}},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}}),i("v-uni-view",{staticClass:"uni-numbox__plus uni-numbox-btns",style:{background:t.background},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._calcValue("plus")}}},[i("v-uni-text",{staticClass:"uni-numbox--text",class:{"uni-numbox--disabled":t.inputValue>=t.max||t.disabled},style:{color:t.color}},[t._v("+")])],1)],1)},a=[]},c6d5:function(t,e,i){"use strict";var n=i("f1b5"),o=i.n(n);o.a},c75c:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.b_color[data-v-780e565f]{color:red}.bo_color[data-v-780e565f]{color:#fff}.imglist[data-v-780e565f]{padding:%?24?% %?34?%;background:#fff;border-bottom:%?1?% solid #ededed;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.imglist .imgbox[data-v-780e565f]{width:%?160?%;height:%?160?%;margin-right:%?14?%;position:relative;margin-bottom:%?24?%}.imglist .imgbox[data-v-780e565f]:nth-child(4n){margin-right:0}.imglist .imgbox .delimg[data-v-780e565f]{width:%?32?%;height:%?32?%;border-radius:50%;position:absolute;right:%?-16?%;top:%?-16?%;background:rgba(0,0,0,.5);z-index:2}.imglist .imgbox .selfimg_img[data-v-780e565f]{width:%?160?%;height:%?160?%}.imglist .imgbox_tow[data-v-780e565f]{width:%?75?%;height:%?75?%}.imglist .imgbox_tow .selfimg[data-v-780e565f]{width:%?75?%;height:%?75?%}.inp_warp[data-v-780e565f]{padding:%?30?%;background:#fff;display:flex;justify-content:space-between;align-items:center;border-bottom:%?1?% solid #ededed}.inp_warp .inp_title[data-v-780e565f]{font-size:%?32?%;color:#999}.inp_warp .form_right[data-v-780e565f]{display:flex;justify-content:flex-end;align-items:center;color:#999;min-width:%?450?%;text-align:right}',""]),t.exports=e},c91e:function(t,e,i){var n=i("24e3");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("cdb100fa",n,!0,{sourceMap:!1,shadowMode:!1})},c93d:function(t,e,i){"use strict";i.r(e);var n=i("4a70"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},cf9a:function(t,e,i){"use strict";var n=i("ae85"),o=i.n(n);o.a},d5dc:function(t,e,i){"use strict";var n=i("454a"),o=i.n(n);o.a},d9a8:function(t,e,i){"use strict";i("4160"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("aa66"),o=i("2345"),a={props:{showConfig:{type:Boolean,default:!1}},data:function(){return{BASE_IMG_URL:o.BASE_IMG_URL,name:"",product_id:"",list:[],isAll:!1,selectArr:[]}},methods:{queryList:function(t){this.name=t.detail.value,this.init(this.product_id)},init:function(t){this.$refs.popup.open(),this.product_id=t,this.list=[],this.getConfigList()},getConfigList:function(){var t=this,e={product_id:this.product_id,name:this.name};(0,n.netProductConfig)(e).then((function(e){var i=e.data;i.forEach((function(t){t.part_id=t.id,t.number=1,t.select=!1})),t.list=i}))},changeNumber:function(t,e){var i=this.list[e];t>1&&(i.select=!0),i.number=t,this.$set(this.list,e,i),this.handleSelect()},changeSelect:function(t){var e=this.list[t];e.select=!e.select,this.$set(this.list,t,e),this.handleSelect()},selectAll:function(){this.isAll=!this.isAll;var t=this.list;this.isAll?t.forEach((function(t){t.select=!0})):t.forEach((function(t){t.select=!1})),this.list=t,this.handleSelect()},closePopup:function(){this.$refs.popup.close()},handleSelect:function(){var t=this.list,e=[];t.forEach((function(t){t.select&&e.push(t.id)})),this.selectArr=e},sureSelectData:function(){var t=this.list,e=[];t.forEach((function(t){t.select&&e.push(t)})),this.closePopup(),this.$emit("selectList",e)}}};e.default=a},dae4:function(t,e,i){"use strict";i.r(e);var n=i("b8c8"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},f1b5:function(t,e,i){var n=i("bcc2");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("c0203a22",n,!0,{sourceMap:!1,shadowMode:!1})},f247:function(t,e,i){"use strict";i.r(e);var n=i("7f00"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},f43a:function(t,e,i){var n=i("5c2b");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("3344c17e",n,!0,{sourceMap:!1,shadowMode:!1})},fc19:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("2345"),o=i("aa66"),a={props:{title:{type:String,default:"附件"},flag:{type:Boolean,default:!1},fileList:{type:Array,default:[]},isEdit:{type:Boolean,default:!0}},data:function(){return{BASE_IMG_URL:n.BASE_IMG_URL}},methods:{toUploadFile:function(){var t=this;wx.chooseMessageFile({count:1,success:function(e){var i=e.tempFiles[0];t.Upload(i.path,i.name)}})},Upload:function(t,e){var i=this;uni.uploadFile({url:o.uploadUrl,name:"file",header:{token:uni.getStorageSync("token")},filePath:t,formData:{name:e},success:function(t){var n=JSON.parse(t.data);if(1==n.code){var o=n.data;o.name=e,o.file_path=o.url,console.log(o,"上传文件"),i.$emit("uploadFile",o)}else uni.showToast({title:"上传失败",icon:"none"})},fail:function(t){console.log(t)}})},toLookFile:function(t){this.openCommonFile(t)},delFile:function(t,e){console.log("删除文件"),this.$emit("delFile",e)}}};e.default=a},fe8b:function(t,e,i){var n=i("5722");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("16ff63be",n,!0,{sourceMap:!1,shadowMode:!1})},ffdc:function(t,e,i){"use strict";i.r(e);var n=i("aec2"),o=i("f247");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("cf9a"),i("9608");var s,r=i("f0c5"),c=Object(r["a"])(o["default"],n["b"],n["c"],!1,null,"34e30c15",null,!1,n["a"],s);e["default"]=c.exports}}]);