pagesB-contract-editPayment.882244e3.js 16 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pagesB-contract-editPayment"],{"13bb":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"new_fllow"},[n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("回款编号")],1),n("v-uni-view",{staticClass:"form_input"},[n("v-uni-input",{attrs:{type:"text","placeholder-style":"font-size:30rpx;color: #999;",placeholder:"请输入回款编号"},model:{value:e.number,callback:function(t){e.number=t},expression:"number"}})],1)],1),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("客户名称")],1),n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",[e._v(e._s(e.info.customer.name))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("合同编号")],1),n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",[e._v(e._s(e.info.contract.num))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("回款期数")],1),n("v-uni-picker",{attrs:{range:e.numList,disabled:!0,value:e.index,"range-key":"num"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeNum.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",[e._v(e._s(e.plannum?e.plannum:"点击选择"))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1)],1),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("回款日期")],1),n("v-uni-picker",{attrs:{mode:"date"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeTime.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",[e._v(e._s(e.return_time?e.return_time:"点击选择"))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1)],1),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("回款金额")],1),n("v-uni-view",{staticClass:"form_input"},[n("v-uni-input",{attrs:{type:"text","placeholder-style":"font-size:30rpx;color: #999;",placeholder:"请输入计划回款金额"},model:{value:e.money,callback:function(t){e.money=t},expression:"money"}})],1)],1),n("v-uni-view",{staticClass:"fllow_form"},[n("v-uni-view",[n("v-uni-text",[e._v("*")]),e._v("计划回款方式")],1),n("v-uni-picker",{attrs:{value:e.index,range:e.type},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.changeType.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"form_right"},[n("v-uni-view",[e._v(e._s(e.return_type?e.return_type:"点击选择"))]),n("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1)],1),n("v-uni-view",{staticClass:"fllow_area"},[n("v-uni-view",{staticClass:"area_head"},[e._v("备注")]),n("v-uni-textarea",{attrs:{placeholder:"请输入备注","placeholder-style":"color:#999"},model:{value:e.remarks,callback:function(t){e.remarks=t},expression:"remarks"}})],1),n("examine-template",{attrs:{remindPeople:e.remindPeople},on:{delExamine:function(t){arguments[0]=t=e.$handleEvent(t),e.delRemind.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"btn_g bg-blue button-hover round",attrs:{id:"btn"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.saveFollow.apply(void 0,arguments)}}},[e._v("保存")])],1)},o=[]},1885:function(e,t,n){"use strict";n.r(t);var i=n("13bb"),o=n("7b5b");for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("d0c3");var r=n("828b"),u=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"12f63b6e",null,!1,i["a"],void 0);t["default"]=u.exports},2703:function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("bf0f"),n("2797"),n("aa9c");var i=n("391e"),o=n("3a07"),a={data:function(){return{type:[],numList:[],info:null,id:"",contractid:"",plannum:"",plan_id:"",number:"",money:"",return_time:"",return_type:"",remarks:"",flow_staff_id:"",BASE_IMG_URL:o.BASE_IMG_URL,remindPeople:[],remindType:"contract"}},onLoad:function(e){this.id=e.id,this.contractid=e.contractid,this.getType(),this.getNum(),this.getPaymentInfo()},methods:{getPaymentInfo:function(){var e=this;(0,i.netPaymentDetail)({id:this.id}).then((function(t){t=t.data,e.info=t,e.number=t.number,e.plannum=t.plan.num,e.return_time=t.return_time,e.money=t.money,e.return_type=t.return_type,e.remarks=t.remarks}))},getType:function(){var e=this;(0,i.netSelect)().then((function(t){e.type=t.data["回款方式"]}))},getNum:function(){var e=this;(0,i.netPaymentNum)({contract_id:this.contractid}).then((function(t){e.numList=t.data}))},changeNum:function(e){this.plan_id=this.numList[e.detail.value].id,this.plannum=this.numList[e.detail.value].num},changeType:function(e){this.return_type=this.type[e.detail.value]},changeTime:function(e){this.return_time=e.detail.value},moreClick:function(){uni.navigateTo({url:"/pagesA/crm/selectMember/selectMember"})},saveFollow:function(){var e=this.id,t=this.number,n=this.money,o=this.return_time,a=this.return_type,r=this.remarks,u=(this.info,this.remindPeople);if(t)if(n)if(o)if(a)if(u&&0!=u.length){var c=[];u.forEach((function(e){c.push(e.id)}));var s=c.join(","),l={id:e,number:t,money:n,return_time:o,return_type:a,remarks:r,flow_staff_ids:s,customer_id:this.info.customer.id,contract_id:this.info.contract.id};(0,i.netEditPaymentInfo)(l).then((function(e){uni.showToast({title:e.msg,icon:"none"}),setTimeout((function(){uni.navigateBack({delta:1})}),2e3)}))}else uni.showToast({title:"请选择回款审批人",icon:"none"});else uni.showToast({title:"请选择回款方式",icon:"none"});else uni.showToast({title:"请选择回款日期",icon:"none"});else uni.showToast({title:"请输入回款金额",icon:"none"});else uni.showToast({title:"请输入回款编号",icon:"none"})}}};t.default=a},"391e":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.daibanKehuFollow=function(e){return(0,i.myRequest)("record/getcustomerList",e)},t.netAddComment=function(e){return(0,i.myRequest)("record/addComment",e)},t.netAddCost=function(e){return(0,i.myRequest)("consume/addConsume",e)},t.netAddFollowRecords=function(e){return(0,i.myRequest)("record/createRecord",e)},t.netAddLianxiren=function(e){return(0,i.myRequest)("contacts/addContacts",e)},t.netAddPayment=function(e){return(0,i.myRequest)("receivables/addReceivables",e)},t.netAddPlan=function(e){return(0,i.myRequest)("receivables_plan/addPlan",e)},t.netAddkehu=function(e){return(0,i.myRequest)("customer/addCustomer",e)},t.netCancelExamine=function(e){return(0,i.myRequest)("contract/cancel",e)},t.netCheckName=function(e){return(0,i.myRequest)("customer/selectName",e)},t.netConcatDetailInfo=function(e){return(0,i.myRequest)("contacts/getDetail",e)},t.netContact=function(e){return(0,i.myRequest)("contacts/getSelectList",e)},t.netContactFileList=function(e){return(0,i.myRequest)("contacts/getFilesList",e)},t.netContactList=function(e){return(0,i.myRequest)("contacts/getList",e)},t.netContinueIsFollow=function(e){return(0,i.myRequest)("record/record_add",e)},t.netContractDetail=function(e){return(0,i.myRequest)("contract/getDetail",e)},t.netContractFileList=function(e){return(0,i.myRequest)("contract/getFilesList",e)},t.netContractList=function(e){return(0,i.myRequest)("contract/getCustomerContacts",e)},t.netContractNum=function(){return(0,i.myRequest)("contract/getContractNumber")},t.netContractProduct=function(e){return(0,i.myRequest)("product/getSelectList",e)},t.netCostDetail=function(e){return(0,i.myRequest)("consume/getDetail",e)},t.netCostList=function(e){return(0,i.myRequest)("consume/getList",e)},t.netCreateContract=function(e){return(0,i.myRequest)("contract/addContract",e)},t.netCrmContractList=function(e){return(0,i.myRequest)("contract/getList",e)},t.netDelContact=function(e){return(0,i.myRequest)("contacts/delContacts",e)},t.netEditContactInfo=function(e){return(0,i.myRequest)("contacts/editContacts",e)},t.netEditContract=function(e){return(0,i.myRequest)("contract/editContract",e)},t.netEditCost=function(e){return(0,i.myRequest)("consume/editConsume",e)},t.netEditFileName=function(e){return(0,i.myRequest)("file/editName",e)},t.netEditKehu=function(e){return(0,i.myRequest)("customer/editCustomer",e)},t.netEditPaymentInfo=function(e){return(0,i.myRequest)("receivables/editReceivables",e)},t.netExamine=function(e){return(0,i.myRequest)("examine_record/examine",e)},t.netFollowRecordDetail=function(e){return(0,i.myRequest)("record/getRecordDetail",e)},t.netGetBriefdata=function(e){return(0,i.myRequest)("index/briefing",e)},t.netGetBumenList=function(e){return(0,i.myRequest)("achievement/getDepartmentList",e)},t.netGetCommentList=function(e){return(0,i.myRequest)("record/commentList",e)},t.netGetDefaultMoney=function(e){return(0,i.myRequest)("achievement/getAchievementDetail",e)},t.netGetDefaultSelfDetail=function(e){return(0,i.myRequest)("achievement/getMyAchievementDetail",e)},t.netGetDepTargetlist=function(e){return(0,i.myRequest)("achievement/getStaffList",e)},t.netGetGongsiList=function(e){return(0,i.myRequest)("achievement/getCompanyAchievement",e)},t.netGetOthersReceivable=function(){return(0,i.myRequest)("statistics/staffReceivablesStatistics")},t.netGetRecordDetail=function(e){return(0,i.myRequest)("achievement/getRecordsDetail",e)},t.netGetRecordList=function(e){return(0,i.myRequest)("achievement/editRecords",e)},t.netGetTargetSelect=function(){return(0,i.myRequest)("achievement/getDepartment")},t.netGetTealList=function(e){return(0,i.myRequest)("achievement/getTeamList",e)},t.netGetreceivableStaff=function(){return(0,i.myRequest)("statistics/receivablesStatistics")},t.netKehuDetail=function(e){return(0,i.myRequest)("customer/customerDetail",e)},t.netKehuFileList=function(e){return(0,i.myRequest)("customer/getFilesList",e)},t.netKehuFollow=function(e){return(0,i.myRequest)("record/getList",e)},t.netKehuList=function(e){return(0,i.myRequest)("customer/getList",e)},t.netKeyCollect=function(e){return(0,i.myRequest)("customer/collect",e)},t.netLianxiren=function(e){return(0,i.myRequest)("contacts/getSelectList",e)},t.netOperationList=function(e){return(0,i.myRequest)("operation/getList",e)},t.netPaymentApproval=function(e){return(0,i.myRequest)("examine_record/getList",e)},t.netPaymentCancel=function(e){return(0,i.myRequest)("receivables/cancel",e)},t.netPaymentDetail=function(e){return(0,i.myRequest)("receivables/getDetail",e)},t.netPaymentList=function(e){return(0,i.myRequest)("receivables/getList",e)},t.netPaymentNum=function(e){return(0,i.myRequest)("receivables_plan/getSelectList",e)},t.netPaymentNumber=function(){return(0,i.myRequest)("receivables/getReceivablesNumber")},t.netPlanListf=function(e){return(0,i.myRequest)("receivables_plan/getList",e)},t.netPrevCustomer=function(e){return(0,i.myRequest)("customer/getSelectList",e)},t.netProductClass=function(e){return(0,i.myRequest)("product/getProducttypeList",e)},t.netProductDetail=function(e){return(0,i.myRequest)("product/getProductDetail",e)},t.netQueryData=function(e){return(0,i.myRequest)("index/search",e)},t.netReceiveKehu=function(e){return(0,i.myRequest)("customer/receive",e)},t.netRemoveColect=function(e){return(0,i.myRequest)("customer/cancelCollect",e)},t.netRemoveSeas=function(e){return(0,i.myRequest)("customer/moveSeas",e)},t.netSearchStaffList=function(e){return(0,i.myRequest)("customer/getSearchStaffList",e)},t.netSelect=function(){return(0,i.myRequest)("common/selectOption")},t.netSelectContract=function(e){return(0,i.myRequest)("contract/getSelectList",e)},t.netSetMymubiao=function(e){return(0,i.myRequest)("achievement/staffEditAchievement",e)},t.netSetTargetMoney=function(e){return(0,i.myRequest)("achievement/addAchievement",e)},t.netStaffList=function(e){return(0,i.myRequest)("common/getSelectStaff",e)},t.netSubordList=function(e){return(0,i.myRequest)("customer/getLowerCustomer",e)},t.netTransKehu=function(e){return(0,i.myRequest)("customer/transfer",e)},t.netTurnoverList=function(e){return(0,i.myRequest)("index/contractRanding",e)};var i=n("3a07")},"60f7":function(e,t,n){var i=n("c86c");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.new_fllow[data-v-12f63b6e]{margin-top:%?40?%;font-size:%?28?%}.new_fllow .fllow_form[data-v-12f63b6e]{display:flex;justify-content:space-between;height:%?100?%;line-height:%?100?%;background-color:#fff;border-bottom:%?1?% solid #eaeaea;padding:0 %?24?%}.new_fllow .fllow_form .form_right[data-v-12f63b6e]{display:flex;color:#999}.new_fllow .fllow_form .form_right uni-image[data-v-12f63b6e]{width:%?40?%;height:%?40?%;margin:%?28?% %?5?% 0 0}.new_fllow .fllow_form uni-text[data-v-12f63b6e]{color:red;margin-left:%?10?%}.new_fllow .fllow_form .form_input uni-input[data-v-12f63b6e]{height:92%;text-align:right;margin-right:%?10?%}.new_fllow .fllow_form .fllow_button[data-v-12f63b6e]{margin-top:%?15?%}.new_fllow .imglist[data-v-12f63b6e]{padding:%?24?% %?34?%;background:#fff;border-bottom:%?1?% solid #eaeaea;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.new_fllow .imglist .imgbox[data-v-12f63b6e]{width:%?160?%;height:%?160?%;margin-right:%?14?%;position:relative;margin-bottom:%?24?%;border:%?1?% solid #eaeaea}.new_fllow .imglist .imgbox .delimg[data-v-12f63b6e]{width:%?32?%;height:%?32?%;border-radius:50%;position:absolute;right:%?-16?%;top:%?-16?%;background:rgba(0,0,0,.5);z-index:2}.new_fllow .imglist .imgbox .selfimg[data-v-12f63b6e]{width:%?160?%;height:%?160?%}.new_fllow .fllow_area[data-v-12f63b6e]{background-color:#fff;margin-bottom:%?30?%;padding-bottom:%?30?%;color:#999}.new_fllow .fllow_area .area_head[data-v-12f63b6e]{height:%?100?%;line-height:%?100?%;font-size:%?32?%;padding:0 %?70?%}.new_fllow .fllow_area .area_head uni-text[data-v-12f63b6e]{color:red}.new_fllow .fllow_area uni-textarea[data-v-12f63b6e]{width:80%;height:%?300?%;padding:%?30?%;background:#f8f8f8;margin:0 auto}.new_fllow .info_head[data-v-12f63b6e]{height:%?80?%;line-height:%?80?%;font-size:%?24?%;color:#999;padding-left:%?24?%}.new_fllow .affiliation[data-v-12f63b6e]{background-color:#fff;margin-bottom:%?20?%;padding-bottom:%?40?%}.new_fllow .affiliation .aff_head[data-v-12f63b6e]{height:%?100?%;line-height:%?100?%;padding-left:%?30?%}.new_fllow .affiliation .aff_head uni-text[data-v-12f63b6e]{color:red;margin-left:%?10?%}.new_fllow .affiliation .aff_con[data-v-12f63b6e]{display:flex;text-align:center;flex-wrap:wrap}.new_fllow .affiliation .aff_con .aff_item[data-v-12f63b6e]{width:%?100?%;margin-right:%?15?%;border-radius:50%;margin-bottom:%?15?%}.new_fllow .affiliation .aff_con .aff_item uni-image[data-v-12f63b6e]{margin-bottom:%?15?%;width:%?60?%;height:%?60?%}.new_fllow .affiliation .aff_con .affbox[data-v-12f63b6e]{position:relative}.new_fllow .affiliation .aff_con .affbox .delremind[data-v-12f63b6e]{width:%?32?%;height:%?32?%;border-radius:50%;position:absolute;right:%?-16?%;top:%?-16?%;background:rgba(0,0,0,.5);z-index:2}.new_fllow .affiliation .aff_con .aff_last uni-image[data-v-12f63b6e]{margin-bottom:%?15?%;width:%?48?%;height:%?48?%}.new_fllow .follow_task[data-v-12f63b6e]{height:%?80?%;line-height:%?80?%}#btn[data-v-12f63b6e]{font-size:%?26?%;color:#fff;text-align:center;line-height:%?88?%;width:%?500?%;height:%?88?%;background:#008eff;border-radius:%?29?%;margin:%?30?% auto}',""]),e.exports=t},"7b5b":function(e,t,n){"use strict";n.r(t);var i=n("2703"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);t["default"]=o.a},d0c3:function(e,t,n){"use strict";var i=n("f5b9"),o=n.n(i);o.a},f5b9:function(e,t,n){var i=n("60f7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var o=n("967d").default;o("2e4addc8",i,!0,{sourceMap:!1,shadowMode:!1})}}]);