var substr = function (str, start, end) { if ((typeof str) == 'undefined') return; console.log(str) return str.substring(start, end); } module.exports.substr = substr; 订单号:{{detailInfo.order_sn}} {{detailInfo.state_name}} {{item.title}} 数量:x{{item.total}} {{btn.name}} 安装服务费:¥{{detailInfo.service_amount}} 订单实付金额:¥{{detailInfo.price}} 订单类型:{{detailInfo.order_type_name}} 预约安装时间:{{detailInfo.reserve_time}} 买家留言:{{detailInfo.install_comment}} {{tool.substr(detailInfo.worker_time,11,16)}} {{tool.substr(detailInfo.worker_time,0,10)}} 接单 {{detailInfo.another_name.worker_name}}:{{detailInfo.worker_name}} 联系电话:{{detailInfo.worker_mobile}} {{tool.substr(detailInfo.take_time,11,16)}} {{tool.substr(detailInfo.take_time,0,10)}} 取货 {{tool.substr(detailInfo.install_start_time,11,16)}} {{tool.substr(detailInfo.install_start_time,0,10)}} 上门安装 {{tool.substr(detailInfo.finish_time,11,16)}} {{tool.substr(detailInfo.finish_time,0,10)}} 完成安装 安装完成图片 售后 {{item.name}}