|
@@ -2127,9 +2127,9 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
|
|
|
"use strict";
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
-/* harmony import */ var _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_Quote_vue_vue_type_style_index_0_id_29966f02_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(187);
|
|
|
-/* harmony import */ var _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_Quote_vue_vue_type_style_index_0_id_29966f02_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_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_Quote_vue_vue_type_style_index_0_id_29966f02_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
|
-/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _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_Quote_vue_vue_type_style_index_0_id_29966f02_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _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_Quote_vue_vue_type_style_index_0_id_29966f02_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
+/* harmony import */ var _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_Quote_vue_vue_type_style_index_0_id_8320de5e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(187);
|
|
|
+/* harmony import */ var _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_Quote_vue_vue_type_style_index_0_id_8320de5e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_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_Quote_vue_vue_type_style_index_0_id_8320de5e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
|
+/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _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_Quote_vue_vue_type_style_index_0_id_8320de5e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _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_Quote_vue_vue_type_style_index_0_id_8320de5e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
@@ -2141,7 +2141,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
// ESM COMPAT FLAG
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
|
-// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/product/Quote.vue?vue&type=template&id=29966f02&scoped=true
|
|
|
+// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/product/Quote.vue?vue&type=template&id=8320de5e&scoped=true
|
|
|
var render = function render() {
|
|
|
var _vm$comCurBaseColumns, _vm$enquiryConfig$3$s;
|
|
|
var _vm = this,
|
|
@@ -2154,7 +2154,7 @@ var render = function render() {
|
|
|
expression: "true"
|
|
|
}],
|
|
|
staticClass: "com-loading"
|
|
|
- }) : _vm.quoteLoadState == 1 ? _vm._ssrNode("<div data-v-29966f02>", "</div>", [_c('tab-nav', {
|
|
|
+ }) : _vm.quoteLoadState == 1 ? _vm._ssrNode("<div data-v-8320de5e>", "</div>", [_c('tab-nav', {
|
|
|
attrs: {
|
|
|
"borderType": 'allBorder',
|
|
|
"liWidth": 100,
|
|
@@ -2175,7 +2175,7 @@ var render = function render() {
|
|
|
var _items$basePrice, _items$decoration, _items$basePrice2, _items$basePrice2$ite, _items$basePrice2$ite2, _items$basePrice3, _items$basePrice3$ite, _items$basePrice3$ite2;
|
|
|
return _vm._ssrNode("<div" + _vm._ssrStyle(null, null, {
|
|
|
display: _vm.curWeek == indexs ? '' : 'none'
|
|
|
- }) + " data-v-29966f02>", "</div>", [_vm._ssrNode("<div data-v-29966f02>", "</div>", [_c('tab-nav', {
|
|
|
+ }) + " data-v-8320de5e>", "</div>", [_vm._ssrNode("<div data-v-8320de5e>", "</div>", [_c('tab-nav', {
|
|
|
attrs: {
|
|
|
"borderType": 'incompleteBorder',
|
|
|
"currTab": items.curPrint,
|
|
@@ -2200,7 +2200,7 @@ var render = function render() {
|
|
|
var _items$decorationOrig;
|
|
|
return _vm._ssrNode("<div" + _vm._ssrStyle(null, null, {
|
|
|
display: items.curPrint == index ? '' : 'none'
|
|
|
- }) + " data-v-29966f02>", "</div>", [_c('new-price-table', {
|
|
|
+ }) + " data-v-8320de5e>", "</div>", [_c('new-price-table', {
|
|
|
attrs: {
|
|
|
"tableColumns": [..._vm.undecorated_columns, ...item.part_columns],
|
|
|
"tableData": item.data,
|
|
@@ -2230,7 +2230,7 @@ var render = function render() {
|
|
|
}) : _vm._e(), _vm._ssrNode(" "), _vm._l(items.basePrice, function (item, index) {
|
|
|
return _vm._ssrNode("<div" + _vm._ssrStyle(null, null, {
|
|
|
display: items.curPrint == index && item.decoration_addition.length ? '' : 'none'
|
|
|
- }) + " data-v-29966f02>", "</div>", [_c('new-price-table', {
|
|
|
+ }) + " data-v-8320de5e>", "</div>", [_c('new-price-table', {
|
|
|
attrs: {
|
|
|
"tableData": item.decoration_addition,
|
|
|
"tableColumns": [..._vm.addon_columns, ...item.part_columns],
|
|
@@ -2248,7 +2248,7 @@ var render = function render() {
|
|
|
}
|
|
|
})], 1);
|
|
|
})], 2);
|
|
|
- }), _vm._ssrNode(" "), _vm._ssrNode("<section data-v-29966f02>", "</section>", [_vm._ssrNode("<p class=\"title1\" data-v-29966f02><span data-v-29966f02></span> <span data-v-29966f02>Currency AUD($)</span></p> "), _c('total-table', {
|
|
|
+ }), _vm._ssrNode(" "), _vm._ssrNode("<section data-v-8320de5e>", "</section>", [_vm._ssrNode("<p class=\"title1\" data-v-8320de5e><span data-v-8320de5e></span> <span data-v-8320de5e>Currency AUD($)</span></p> "), _c('total-table', {
|
|
|
attrs: {
|
|
|
"comLocationNum": _vm.comLocationNum,
|
|
|
"tableData": _vm.comBuyData,
|
|
@@ -2260,7 +2260,7 @@ var render = function render() {
|
|
|
on: {
|
|
|
"send-idx": _vm.getChildIdx
|
|
|
}
|
|
|
- }), _vm._ssrNode(" <p class=\"text-red\" data-v-29966f02>Price is ex- gst</p> "), _vm._ssrNode("<ul data-v-29966f02>", "</ul>", [_vm._ssrNode("<li class=\"entry\" data-v-29966f02>", "</li>", [_vm._ssrNode("<div class=\"entry-l\" data-v-29966f02>Delivery Locations</div> "), _c('el-input', {
|
|
|
+ }), _vm._ssrNode(" <p class=\"text-red\" data-v-8320de5e>Price is ex- gst</p> "), _vm._ssrNode("<ul data-v-8320de5e>", "</ul>", [_vm._ssrNode("<li class=\"entry\" data-v-8320de5e>", "</li>", [_vm._ssrNode("<div class=\"entry-l\" data-v-8320de5e>Delivery Locations</div> "), _c('el-input', {
|
|
|
staticStyle: {
|
|
|
"width": "130px"
|
|
|
},
|
|
@@ -2281,11 +2281,11 @@ var render = function render() {
|
|
|
},
|
|
|
expression: "comCurBasePrice.locationNum"
|
|
|
}
|
|
|
- })], 2), _vm._ssrNode(" " + (_vm.comLocationNum > 1 ? "<li class=\"entry\" data-v-29966f02><div class=\"entry-text\" data-v-29966f02>Qty / Location</div></li>" : "<!---->") + " "), _vm._l(_vm.comCurBaseTotalColumns, function (i, k) {
|
|
|
+ })], 2), _vm._ssrNode(" " + (_vm.comLocationNum > 1 ? "<li class=\"entry\" data-v-8320de5e><div class=\"entry-text\" data-v-8320de5e>Qty / Location</div></li>" : "<!---->") + " "), _vm._l(_vm.comCurBaseTotalColumns, function (i, k) {
|
|
|
var _vm$comCurBaseColumns2;
|
|
|
return _vm._ssrNode("<li class=\"entry\"" + _vm._ssrStyle(null, null, {
|
|
|
display: _vm.comLocationNum > k ? '' : 'none'
|
|
|
- }) + " data-v-29966f02>", "</li>", [_vm._ssrNode("<div class=\"entry-l\" data-v-29966f02>Delivery Postcode</div> "), _c('el-input', {
|
|
|
+ }) + " data-v-8320de5e>", "</li>", [_vm._ssrNode("<div class=\"entry-l\" data-v-8320de5e>Delivery Postcode</div> "), _c('el-input', {
|
|
|
staticStyle: {
|
|
|
"width": "130px",
|
|
|
"margin-right": "20px"
|
|
@@ -2331,7 +2331,7 @@ var render = function render() {
|
|
|
},
|
|
|
expression: "i.label"
|
|
|
}
|
|
|
- }) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"entry-r\" data-v-29966f02>", "</div>", [_vm._ssrNode("<span data-v-29966f02>Freight Method</span> "), _c('el-radio-group', {
|
|
|
+ }) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"entry-r\" data-v-8320de5e>", "</div>", [_vm._ssrNode("<span data-v-8320de5e>Freight Method</span> "), _c('el-radio-group', {
|
|
|
on: {
|
|
|
"change": function ($event) {
|
|
|
return _vm.getFreight(k);
|
|
@@ -2353,7 +2353,7 @@ var render = function render() {
|
|
|
"label": 2
|
|
|
}
|
|
|
}, [_vm._v("Air Freight")])], 1)], 2)], 2);
|
|
|
- })], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"entry\" data-v-29966f02>", "</div>", [_vm._ssrNode("<div class=\"entry-l\" data-v-29966f02>Setup</div> <div class=\"entry-l\" data-v-29966f02>include in unit price</div> "), _c('pc-switch', {
|
|
|
+ })], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"entry\" data-v-8320de5e>", "</div>", [_vm._ssrNode("<div class=\"entry-l\" data-v-8320de5e>Setup</div> <div class=\"entry-l\" data-v-8320de5e>include in unit price</div> "), _c('pc-switch', {
|
|
|
model: {
|
|
|
value: _vm.setup_switch,
|
|
|
callback: function ($$v) {
|
|
@@ -2361,7 +2361,7 @@ var render = function render() {
|
|
|
},
|
|
|
expression: "setup_switch"
|
|
|
}
|
|
|
- })], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"entry\" data-v-29966f02>", "</div>", [_vm._ssrNode("<div class=\"entry-l\" data-v-29966f02>Freight</div> <div class=\"entry-l\" data-v-29966f02>include in unit price</div> "), _vm._ssrNode("<div data-v-29966f02>", "</div>", [_c('pc-switch', {
|
|
|
+ })], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"entry\" data-v-8320de5e>", "</div>", [_vm._ssrNode("<div class=\"entry-l\" data-v-8320de5e>Freight</div> <div class=\"entry-l\" data-v-8320de5e>include in unit price</div> "), _vm._ssrNode("<div data-v-8320de5e>", "</div>", [_c('pc-switch', {
|
|
|
model: {
|
|
|
value: _vm.freight_switch,
|
|
|
callback: function ($$v) {
|
|
@@ -2514,7 +2514,7 @@ var render = function render() {
|
|
|
};
|
|
|
var staticRenderFns = [];
|
|
|
|
|
|
-// CONCATENATED MODULE: ./components/product/Quote.vue?vue&type=template&id=29966f02&scoped=true
|
|
|
+// CONCATENATED MODULE: ./components/product/Quote.vue?vue&type=template&id=8320de5e&scoped=true
|
|
|
|
|
|
// EXTERNAL MODULE: external "vuex"
|
|
|
var external_vuex_ = __webpack_require__(5);
|
|
@@ -2866,7 +2866,7 @@ var DIalogXXSuccess = __webpack_require__(30);
|
|
|
methods: {
|
|
|
...Object(external_vuex_["mapActions"])(['getUserInfo']),
|
|
|
multiplyWithMargin(o, m) {
|
|
|
- return Object(external_number_precision_["divide"])(Object(external_number_precision_["times"])(o, 100 + parseFloat(m)), 100);
|
|
|
+ return Object(external_number_precision_["divide"])(Math.round(Object(external_number_precision_["times"])(o, 100 + parseFloat(m))), 100).toFixed(2);
|
|
|
},
|
|
|
async getQuote() {
|
|
|
let margin = 0;
|
|
@@ -3538,7 +3538,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
staticRenderFns,
|
|
|
false,
|
|
|
injectStyles,
|
|
|
- "29966f02",
|
|
|
+ "8320de5e",
|
|
|
"a7f86384"
|
|
|
|
|
|
)
|