1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/trade/record"],{1999:function(t,n,e){"use strict";var u=e("706a"),i=e.n(u);i.a},"21e3":function(t,n,e){"use strict";(function(t,n){var u=e("4ea4");e("2ab2");u(e("66fd"));var i=u(e("bbfb"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"706a":function(t,n,e){},"8de5":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return u}));var u={wmWatermark:function(){return e.e("components/wm-watermark/wm-watermark").then(e.bind(null,"e144"))},uEmpty:function(){return e.e("uni_modules/vk-uview-ui/components/u-empty/u-empty").then(e.bind(null,"078a"))},uTimeLine:function(){return e.e("uni_modules/vk-uview-ui/components/u-time-line/u-time-line").then(e.bind(null,"16ba"))},uTimeLineItem:function(){return e.e("uni_modules/vk-uview-ui/components/u-time-line-item/u-time-line-item").then(e.bind(null,"8321"))},uIcon:function(){return e.e("uni_modules/vk-uview-ui/components/u-icon/u-icon").then(e.bind(null,"ccaa"))},uButton:function(){return e.e("uni_modules/vk-uview-ui/components/u-button/u-button").then(e.bind(null,"51b1b"))}},i=function(){var t=this.$createElement,n=(this._self._c,(Number(this.dtlObj.price)/this.dtlObj.area).toFixed(2)),e=this.stepsLogList.length;this.$mp.data=Object.assign({},{$root:{g0:n,g1:e}})},o=[]},bbfb:function(t,n,e){"use strict";e.r(n);var u=e("8de5"),i=e("fad6");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("1999");var a=e("f0c5"),c=Object(a["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);n["default"]=c.exports},df23:function(t,n,e){"use strict";(function(t){var u=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=u(e("448a")),o=e("66f6"),a=u(e("1bf8")),c={components:{wmWatermark:function(){e.e("components/wm-watermark/wm-watermark").then(function(){return resolve(e("e144"))}.bind(null,e)).catch(e.oe)}},data:function(){return{userInfo2:{},rsObj:{},curId:"",custTips:"",dtlObj:{},thtObj:{},tdtObj:{},stepsLogList:[]}},onLoad:function(n){this.curId=n.id;var e=t.getStorageSync("MD_dict");this.thtObj=(0,o.arrToObj)(e.trade_house_type),this.tdtObj=(0,o.arrToObj)(e.trade_deal_type)},onShow:function(){var n=this;this.getData(),t.api.cust.apitradedetail({id:this.curId}).then((function(t){n.dtlObj=t||{}}))},created:function(){this.userInfo2=t.getStorageSync("MD_userInfo2")},methods:{pageTo:function(n,e){t.navigateTo({url:n,events:{update:function(t){}},success:function(t){t.eventChannel.emit("data",e)}})},copyTextHandle:function(n){(0,a.default)({content:"【洪楼News】".concat(n.deal_at,"喜报\n恭喜").concat(n.deal_clerk,"小伙伴今日成交").concat(this.thtObj[n.house_type],"一套\n(1)客户姓名: ").concat(n.customer_name,"\n(2)报备电话:").concat(n.customer_phone,"\n(3)报备渠道:").concat(n.report_dept,"(").concat(this.tdtObj[n.deal_type],")\n(4)成交项目:").concat(n.deal_item,"\n(5)具体房号:").concat(n.house_no,"\n(6)面积:").concat(n.area,"㎡\n(7)总价:").concat(n.price,"元\n(8)单价:").concat((Number(n.price)/n.area).toFixed(2),"元\n(9)折扣:").concat(n.discount||"未知","\n齐心协力向前冲,洪楼业绩显峥嵘!"),success:function(n){t.showToast({title:n,icon:"none"})},error:function(n){t.showToast({title:n,icon:"none",duration:3e3})}})},callHandle:function(){t.makePhoneCall({phoneNumber:this.dtlObj.customer_phone||""})},getData:function(){var n=this;t.api.cust.apitraderecordlist({trade_id:this.curId,page_size:100}).then((function(t){var e=t.list||[];n.stepsLogList=(0,i.default)(e)}))},previewImgHandle:function(n,e){t.previewImage({current:n,urls:e})},addHandle:function(){t.navigateTo({url:"/pages/trade/recordedit?id=".concat(this.curId)})}}};n.default=c}).call(this,e("543d")["default"])},fad6:function(t,n,e){"use strict";e.r(n);var u=e("df23"),i=e.n(u);for(var o in u)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(o);n["default"]=i.a}},[["21e3","common/runtime","common/vendor"]]]);
|