1 |
- {"version":3,"file":"pages/home/myDetail/enquiryDetail.js","sources":["webpack:///./utils/price.js","webpack:///./pages/home/myDetail/enquiryDetail.vue?d31b","webpack:///./pages/home/myDetail/enquiryDetail.vue?5bcf","webpack:///./pages/home/myDetail/enquiryDetail.vue?eb8f","webpack:///./pages/home/myDetail/enquiryDetail.vue?f70e","webpack:///./pages/home/myDetail/enquiryDetail.vue","webpack:///./pages/home/myDetail/enquiryDetail.vue?47f8","webpack:///./pages/home/myDetail/enquiryDetail.vue?52f4"],"sourcesContent":["// 商品价格计算相关\nimport { times, plus, minus, divide } from 'number-precision'\n\n// 价格格式化\nexport function formatPrice(value, needSymbol = true) {\n // 不能在最后一步显示之前格式化999 111, 否则可能出现单价1买999个得到999价格被格式化成poa的情况\n if (value === 0) {\n return needSymbol ? '£0.00' : '0.00'\n } else {\n return needSymbol ? `£${value}` : `${value}`\n }\n}\n\n// 简单的乘法换算\nfunction multiply(value, ratio = 100) {\n return parseFloat((value * ratio).toPrecision(12))\n}\n// 小数处理, 四舍五入, 为toFixed做准备\nexport function round(number, ratio = 100) {\n return Math.round(multiply(number, ratio)) / ratio\n}\n\n/**\n * 将字符串简单转换成数字, 并可数倍转换. 注意, 这个适用于整数倍(商品件数), 非整数的不能用这个处理小数.\n * @param {*} value 目标值\n * @param {*} ratio 倍数, 默认1\n * @returns number | origin, 转换后的数字, 无法转成数字的返回原值\n */\nexport function transformNumber(value, ratio = 1) {\n const v = Number(value)\n if (Number.isNaN(v)) {\n return value\n } else {\n // 保留两位小数\n return divide(Math.trunc(times(times(v, ratio), 100)), 100)\n }\n}\n\n// unit 单个商品的, 没有乘数量. 因为含有111 999 这些极端值, 没有格式化输出之前直接乘回出问题的.\nexport const getUnit = function (buyNum, index, attributeList, basePriceList) {\n // 算出购买数量位于 价格阶梯的 哪个区间\n const candidate = Object.entries(attributeList).filter(\n item => buyNum >= item[1]\n )\n\n let key = 'website_qty1'\n if (candidate.length) {\n key = candidate.pop()[0]\n }\n\n return transformNumber(basePriceList[index][key], buyNum)\n}\n\n// 打印和附加价格 的steup之和. 商品基础价格现在没有setup了.\nexport const getSetup = function (buyNum, form, additionList) {\n const sum = Object.entries(form).reduce((total, current) => {\n let s = 0\n // 打印服务表单的数据跟附加服务表单的数据结构不一致, 以数字id字符串键名的是打印服务的数据\n if (/\\d+/.test(current[0]) && current[1].enable) {\n const temp = current[1].colorForm.filter(\n i => i.id === current[1].printService\n )\n let colorNumber = 1\n if (temp.length) {\n colorNumber = temp[0].colorNumber\n }\n\n const decoration = current[1].decorationList.filter(\n i => i.id === current[1].printService\n )\n let setup = 0\n if (decoration.length) {\n setup = plus(\n Number(decoration[0].website_setup),\n times(Number(decoration[0].supplier_setup), colorNumber - 1)\n )\n }\n s = plus(s, setup)\n } else if (current[1].length) {\n // 附加服务的表单数据, 有值说明该项有选中了附加服务\n const addition = additionList[current[0]].filter(addition =>\n current[1].includes(addition.id)\n )\n\n if (addition.length) {\n const temp = addition.reduce((t, c) => {\n let value = Number(c.website_setup)\n if ([5, 6].includes(c.website_setup_id)) {\n // 5是poa, 6是waived. 这种情况一般setup是留空的, 不留空大概是异常数据, 重置0保险一点.\n value = 0\n }\n return plus(t, Number.isNaN(value) ? 0 : value)\n }, 0)\n\n s = plus(s, temp)\n }\n }\n\n total = plus(total, s)\n return total\n }, 0)\n return transformNumber(sum)\n}\n\n// 打印价格的 阶梯基础价*购买数量.\nexport const getPrint = function (buyNum, form, attributeList) {\n // 算出购买数量位于 价格阶梯的 哪个区间\n const candidate = Object.entries(attributeList).filter(\n item => buyNum >= item[1]\n )\n const key = `website_qty${candidate.length}`\n const key2 = `supplier_qty${candidate.length}`\n\n // 如果其中一项为POA, 则‘和’都是POA\n const result = Object.entries(form).reduce((total, current) => {\n if (total === 'POA') {\n return total\n }\n let sum = 0\n if (/\\d+/.test(current[0]) && current[1].enable) {\n const temp = current[1].colorForm.filter(\n i => i.id === current[1].printService\n )\n let colorNumber = 1\n if (temp.length) {\n colorNumber = temp[0].colorNumber\n }\n\n const decoration = current[1].decorationList.filter(\n i => i.id === current[1].printService\n )\n // 打印价格的基础价. 其中数字111(代表'-') 和999(代表'POA')\n const p1 = transformNumber(decoration[0][key])\n if (p1 === 999 || p1 === 111 || typeof p1 !== 'number') {\n return 'POA'\n }\n // 打印价格的附加价\n const p2 = transformNumber(decoration[0][key2])\n if (p2 === 999 || p2 === 111 || typeof p2 !== 'number') {\n return 'POA'\n }\n let price = 0\n if (decoration.length) {\n price = plus(p1, times(p2, colorNumber - 1))\n }\n sum = plus(sum, price)\n }\n total = plus(total, sum)\n return total\n }, 0)\n\n return transformNumber(result, buyNum)\n}\n// 附加服务除了packing之外的总价\nexport const getAddon = function (buyNum, form, attributeList, additionList) {\n // 算出购买数量位于 价格阶梯的 哪个区间\n const candidate = Object.entries(attributeList).filter(\n item => buyNum >= item[1]\n )\n const key = `website_qty${candidate.length}`\n const result = Object.entries(form).reduce((total, current) => {\n if (total === 'POA') {\n return total\n }\n\n let sum = 0\n if (!/\\d+/.test(current[0]) && current[0] !== 'packaging') {\n sum = additionList[current[0]]\n .filter(item => current[1].includes(item.id))\n .reduce((t, c) => {\n if (t === 'POA') {\n return t\n }\n let temp = transformNumber(c[key])\n if (temp === 999 || temp === 111 || typeof temp !== 'number') {\n temp = 0\n return 'POA'\n }\n t = plus(t, temp)\n return t\n }, 0)\n }\n return plus(total, sum)\n }, 0)\n\n return transformNumber(result, buyNum)\n}\n// 附加服务中 packing 的价格\nexport const getPackaging = function (\n buyNum,\n form,\n attributeList,\n additionList\n) {\n // 算出购买数量位于 价格阶梯的 哪个区间\n const candidate = Object.entries(attributeList).filter(\n item => buyNum >= item[1]\n )\n const key = `website_qty${candidate.length}`\n const result = Object.entries(form).reduce((total, current) => {\n if (total === 'POA') {\n return total\n }\n\n let sum = 0\n if (!/\\d+/.test(current[0]) && current[0] === 'packaging') {\n sum = additionList[current[0]]\n .filter(item => current[1].includes(item.id))\n .reduce((t, c) => {\n if (t === 'POA') {\n return t\n }\n let temp = transformNumber(c[key])\n if (temp === 999 || temp === 111 || typeof temp !== 'number') {\n temp = 0\n return 'POA'\n }\n t = plus(t, temp)\n return t\n }, 0)\n }\n return plus(total, sum)\n }, 0)\n\n return transformNumber(result, buyNum)\n}\n\n// 运费计算. 从product页面抄过来的逻辑. +号是隐式类型转换\nexport const getFright = function (buyNum, config, freight, weight, ratio = 1) {\n // 单独批次数量的总重\n const totalWeight = Math.ceil(times(+weight.unit_w_local, buyNum))\n\n const expressFactor = plus(\n 1,\n divide(plus(+config.express_freight, +config.fuel), 100)\n )\n\n const AAEFactor = plus(\n 1,\n divide(plus(+config.bag_freight, +config.fuel), 100)\n )\n let frightCost = 0\n\n if (freight.type === 1) {\n if (totalWeight > 20) {\n const a1 = minus(totalWeight, 20)\n const a2 = times(a1, +freight.basic)\n const a3 = plus(+freight.pickup, a2)\n frightCost = times(a3, expressFactor)\n } else {\n frightCost = times(+freight.pickup, expressFactor)\n }\n } else if (freight.type === 2) {\n const a1 = times(totalWeight, +freight.basic)\n const a2 = plus(+freight.pickup, a1)\n frightCost = times(a2, AAEFactor)\n } else {\n frightCost = 0\n }\n return transformNumber(frightCost, ratio)\n}\n","// Exports\nmodule.exports = {\n\n};\n","// Exports\nmodule.exports = {\n\n};\n","export * from \"-!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-0!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-2!../../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./enquiryDetail.vue?vue&type=style&index=0&id=0826eaac&prod&lang=scss\"","export * from \"-!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-0!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-2!../../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./enquiryDetail.vue?vue&type=style&index=1&id=0826eaac&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"page-enquiry-detail com-main com-margin-auto\"},[_c('el-breadcrumb',{attrs:{\"separator-class\":\"el-icon-arrow-right\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/' }}},[_vm._v(\"Home\")]),_vm._v(\" \"),_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/home/myDetail', query: { type: 'enquiry' } }}},[_vm._v(\"My Enquiry\")]),_vm._v(\" \"),_c('el-breadcrumb-item',[_vm._v(\"detail\")])],1),_vm._ssrNode(\" \"),(_vm.loading)?_c('div',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loadiding),expression:\"loadiding\"}],staticClass:\"com-loading\"},[]):_vm._e(),_vm._ssrNode(\" \"),(!_vm.loading)?_vm._ssrNode(\"<div data-v-0826eaac>\",\"</div>\",[_vm._ssrNode(\"<section class=\\\"main-header\\\" data-v-0826eaac>\",\"</section>\",[_vm._ssrNode(\"<h1 data-v-0826eaac>\"+_vm._ssrEscape(\"Job Name: \"+_vm._s(_vm.detail.Enquiry_Title))+\"</h1> <div class=\\\"main-header-mid flex between\\\" data-v-0826eaac><div class=\\\"left\\\" data-v-0826eaac></div> <ul class=\\\"right\\\" data-v-0826eaac><li data-v-0826eaac>\"+_vm._ssrEscape(\"Enquiry No: \"+_vm._s(_vm.detail.Auto_Number))+\"</li> <li data-v-0826eaac>\"+_vm._ssrEscape(\"Enquiry Date:\\n \"+_vm._s(_vm.formatStepDesc(_vm.detail.Created_Time)))+\"</li> <li data-v-0826eaac>\"+_vm._ssrEscape(\"Payment Terms: \"+_vm._s(_vm.detail.Payment_Terms))+\"</li></ul></div> \"),_vm._ssrNode(\"<div class=\\\"steps\\\" data-v-0826eaac>\",\"</div>\",[_c('el-steps',{attrs:{\"active\":_vm.computedEnquiryState,\"align-center\":\"\",\"finish-status\":\"success\",\"process-status\":\"wait\"}},[_c('el-step',{attrs:{\"title\":\"Enquiry Submitted\",\"description\":_vm.formatStepDesc(_vm.detail.Enquiry_Created)}}),_vm._v(\" \"),_c('el-step',{attrs:{\"title\":\"Enquiry Confirmed\",\"description\":_vm.formatStepDesc(_vm.detail.Enquiry_Allocated)}}),_vm._v(\" \"),_c('el-step',{attrs:{\"title\":\"Quote Drafted\",\"description\":_vm.formatStepDesc(_vm.detail.Quote_Created)}}),_vm._v(\" \"),_c('el-step',{attrs:{\"title\":\"Quote Sent\",\"description\":_vm.formatStepDesc(_vm.detail.Quote_Sent)}}),_vm._v(\" \"),_c('el-step',{attrs:{\"title\":\"Order Confirmed\"}}),_vm._v(\" \"),_c('el-step',{attrs:{\"title\":\"Enquiry Closed\",\"description\":_vm.formatStepDesc(_vm.detail.Enquiry_Closed)}})],1)],1)],2),_vm._ssrNode(\" \"+((\n (_vm.detail.Website_Message && _vm.detail.Website_Message.length > 1) ||\n (_vm.detail.Artworklink && _vm.detail.Artworklink.length)\n )?(\"<section data-v-0826eaac><p class=\\\"sharing-title\\\" data-v-0826eaac>Enquiries Information</p> <div class=\\\"sharing-address\\\" data-v-0826eaac><p style=\\\"white-space: pre-wrap\\\" data-v-0826eaac>\"+_vm._ssrEscape(_vm._s(_vm.detail.Website_Message))+\"</p> <p data-v-0826eaac>\\n Artwork link:\\n <a\"+(_vm._ssrAttr(\"href\",_vm.detail.Artworklink))+\" target=\\\"_brank\\\" style=\\\"color: blue; text-decoration: underline\\\" data-v-0826eaac>\"+_vm._ssrEscape(_vm._s(_vm.detail.Artworklink))+\"</a></p></div></section>\"):\"<!---->\")+\" \"),(\n _vm.detail.Quotes_Information &&\n _vm.detail.Quotes_Information.quotes_details_data?.length\n )?_vm._ssrNode(\"<section data-v-0826eaac>\",\"</section>\",[_vm._ssrNode(\"<div class=\\\"sharing-title\\\" data-v-0826eaac>Quotes Information</div> \"),_c('el-table',{attrs:{\"data\":[_vm.detail.Quotes_Information],\"header-cell-style\":{\n background: '#fff',\n color: '#101010',\n fontWeight: 'normal',\n }}},[_c('el-table-column',{attrs:{\"width\":\"200\",\"prop\":\"Quote_Title\",\"label\":\"Quote Name\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"Quote_Stage\",\"label\":\"Status\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',[_vm._v(_vm._s(scope.row.Quote_Stage || _vm.detail.Quote_Stage))])]}}],null,false,3801520526)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"Total_Including_Tax\",\"label\":\"Grand Total\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.transformNumber(scope.row.Total_Including_Tax))+\"\\n \")]}}],null,false,3681501733)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"\",\"label\":\"Date\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.formatStepDesc(scope.row.Created_Time))+\"\\n \")])]}}],null,false,1050211034)})],1),_vm._ssrNode(\" <br data-v-0826eaac> \"),_c('el-table',{staticStyle:{\"margin-left\":\"80px\",\"width\":\"calc(100% - 80px)\"},attrs:{\"header-cell-style\":{\n background: '#fff',\n color: '#101010',\n fontWeight: 'normal',\n },\"data\":_vm.detail.Quotes_Information.quotes_details_data}},[_c('el-table-column',{attrs:{\"label\":\"S.No\",\"type\":\"index\",\"width\":\"65\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"min-width\":\"300\",\"prop\":\"product_name\",\"label\":\"Product Name\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',[_c('div',{staticClass:\"text-link\"},[_vm._v(_vm._s(scope.row.product_name))]),_vm._v(\" \"),(scope.row.product_description)?_c('div',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(\"\\n \"+_vm._s(scope.row.product_description)+\"\\n \")]):_vm._e()])]}}],null,false,155598485)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"quantity\",\"label\":\"Quantity\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"list_price\",\"label\":\"List Prices\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.transformNumber(scope.row.list_price))+\"\\n \")]}}],null,false,2248021059)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"amount\",\"label\":\"Amount\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.transformNumber(scope.row.amount))+\"\\n \")]}}],null,false,2571101279)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"Tax\",\"label\":\"Tax\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.transformNumber(scope.row.Tax))+\"\\n \")]}}],null,false,1276862622)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"Discount\",\"label\":\"Discount\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.transformNumber(scope.row.Discount))+\"\\n \")]}}],null,false,1436355502)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"net_total\",\"label\":\"Total\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.transformNumber(scope.row.net_total))+\"\\n \")]}}],null,false,3728241425)})],1),_vm._ssrNode(\" <div class=\\\"table-wrap\\\" data-v-0826eaac><table class=\\\"total\\\" data-v-0826eaac><tr data-v-0826eaac><td data-v-0826eaac>Sub Total</td> <td data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.detail.Currency)+\" \\n \")+\"<div class=\\\"num\\\" data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.transformNumber(\n _vm.detail.Quotes_Information\n .quotecalculation__Sub_Total_Amount\n ))+\"\\n \")+\"</div></td></tr> <tr data-v-0826eaac><td data-v-0826eaac>Total Taxes</td> <td data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.detail.Currency)+\" \\n \")+\"<div class=\\\"num\\\" data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.transformNumber(_vm.detail.Quotes_Information.Tax_Total))+\"\\n \")+\"</div></td></tr> <tr data-v-0826eaac><td data-v-0826eaac>Total Discount</td> <td data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.detail.Currency)+\" \\n \")+\"<div class=\\\"num\\\" data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.transformNumber(_vm.detail.Quotes_Information.Discount_Amount))+\"\\n \")+\"</div></td></tr> <tr data-v-0826eaac><td data-v-0826eaac>Adjustment</td> <td data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.detail.Currency)+\" \\n \")+\"<div class=\\\"num\\\" data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.transformNumber(_vm.detail.Quotes_Information.Adjustment))+\"\\n \")+\"</div></td></tr> <tr data-v-0826eaac><td data-v-0826eaac>Grand Total</td> <td data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.detail.Currency)+\" \\n \")+\"<div class=\\\"num\\\" data-v-0826eaac>\"+_vm._ssrEscape(\"\\n \"+_vm._s(_vm.transformNumber(\n _vm.detail.Quotes_Information.Total_Including_Tax\n ))+\"\\n \")+\"</div></td></tr></table></div>\")],2):_vm._e(),_vm._ssrNode(\" \"),(_vm.detail.orderInformation.length)?_vm._ssrNode(\"<section data-v-0826eaac>\",\"</section>\",[_vm._ssrNode(\"<div class=\\\"sharing-title\\\" data-v-0826eaac>Order Information</div> \"),_c('el-table',{attrs:{\"data\":_vm.detail.orderInformation,\"header-cell-style\":{\n background: '#fff',\n color: '#101010',\n fontWeight: 'normal',\n },\"row-style\":{ cursor: 'pointer' }},on:{\"row-click\":_vm.navToOrderDetail}},[_c('el-table-column',{attrs:{\"width\":\"100\",\"label\":\"Order No\",\"prop\":\"Reference\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{},[_vm._v(_vm._s(scope.row.Reference))])]}}],null,false,2088554928)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":\"Job name\",\"prop\":\"Sales_Order_Title_Job_Name\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',{staticClass:\"text-link\"},[_vm._v(\"\\n \"+_vm._s(scope.row.Sales_Order_Title_Job_Name)+\"\\n \")])]}}],null,false,1077885697)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":\"Order Status\",\"prop\":\"Order_Stage\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":\"Invoice status\",\"prop\":\"Invoice_status1\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":\"Grand Total\",\"prop\":\"Total_Including_Tax\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.transformNumber(scope.row.Total_Including_Tax))+\"\\n \")]}}],null,false,3681501733)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"align\":\"center\",\"label\":\"Date\",\"prop\":\"Sales_Order_Created\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('div',[_vm._v(_vm._s(_vm.formatStepDesc(scope.row.Sales_Order_Created)))])]}}],null,false,3904710774)}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"label\":\"Action\",\"width\":\"90\",\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{staticStyle:{\"background-color\":\"rgb(0, 33, 59)\",\"color\":\"#fff\"},attrs:{\"size\":\"small\",\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":function($event){return _vm.navToOrderDetail(scope.row)}}},[_vm._v(\"View\")])]}}],null,false,778695663)})],1)],2):_vm._e(),_vm._ssrNode(\" \"),(\n (_vm.detail.Emaillink && _vm.detail.Emaillink.length) ||\n (_vm.detail.Email_link2 && _vm.detail.Email_link2.length)\n )?_vm._ssrNode(\"<section data-v-0826eaac>\",\"</section>\",[_vm._ssrNode(\"<br data-v-0826eaac> <br data-v-0826eaac> \"),_c('el-tabs',{model:{value:(_vm.activeEnquiryMail),callback:function ($$v) {_vm.activeEnquiryMail=$$v},expression:\"activeEnquiryMail\"}},[(_vm.detail.Email_link2 && _vm.detail.Email_link2.length)?_c('el-tab-pane',{attrs:{\"label\":\"Initial Quote\",\"name\":\"quote\"}},[_c('iframe',{staticStyle:{\"overflow\":\"scroll\"},attrs:{\"src\":_vm.detail.Email_link2,\"frameborder\":\"0\",\"height\":\"1200px\",\"width\":\"100%\"}})]):_vm._e(),_vm._v(\" \"),(_vm.detail.Emaillink && _vm.detail.Emaillink.length)?_c('el-tab-pane',{attrs:{\"label\":\"Initial Enquiry\",\"name\":\"enquiry\"}},[_c('iframe',{staticStyle:{\"overflow\":\"scroll\"},attrs:{\"src\":_vm.detail.Emaillink,\"frameborder\":\"0\",\"height\":\"1200px\",\"width\":\"100%\"}})]):_vm._e()],1)],2):_vm._e()],2):_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--2-0!../../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./enquiryDetail.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--2-0!../../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./enquiryDetail.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./enquiryDetail.vue?vue&type=template&id=0826eaac&scoped=true\"\nimport script from \"./enquiryDetail.vue?vue&type=script&lang=js\"\nexport * from \"./enquiryDetail.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./enquiryDetail.vue?vue&type=style&index=0&id=0826eaac&prod&lang=scss\")\nif (style0.__inject__) style0.__inject__(context)\nvar style1 = require(\"./enquiryDetail.vue?vue&type=style&index=1&id=0826eaac&prod&lang=scss&scoped=true\")\nif (style1.__inject__) style1.__inject__(context)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n \"0826eaac\",\n \"6a044f5c\"\n \n)\n\nexport default component.exports"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AAEA;AAGA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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AAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;;;;;;;;AA3BA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;;AC1FA;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;A","sourceRoot":""}
|