Browse Source

change: 商品价格数字舍入处理.

peter 5 months ago
parent
commit
4776237806

+ 6 - 6
.nuxt/components/index.js

@@ -37,6 +37,12 @@ export const TinymceDynamicLoadScript = () => import('../../components/Tinymce/d
 export const Tinymce = () => import('../../components/Tinymce/index.vue' /* webpackChunkName: "components/tinymce" */).then(c => wrapFunctional(c.default || c))
 export const TinymcePlugins = () => import('../../components/Tinymce/plugins.js' /* webpackChunkName: "components/tinymce-plugins" */).then(c => wrapFunctional(c.default || c))
 export const TinymceToolbar = () => import('../../components/Tinymce/toolbar.js' /* webpackChunkName: "components/tinymce-toolbar" */).then(c => wrapFunctional(c.default || c))
+export const ProductLeft = () => import('../../components/product/ProductLeft.vue' /* webpackChunkName: "components/product-left" */).then(c => wrapFunctional(c.default || c))
+export const ProductRight = () => import('../../components/product/ProductRight.vue' /* webpackChunkName: "components/product-right" */).then(c => wrapFunctional(c.default || c))
+export const ProductQuote = () => import('../../components/product/Quote.vue' /* webpackChunkName: "components/product-quote" */).then(c => wrapFunctional(c.default || c))
+export const CustomElSliderButton = () => import('../../components/custom-el-slider/button.vue' /* webpackChunkName: "components/custom-el-slider-button" */).then(c => wrapFunctional(c.default || c))
+export const CustomElSlider = () => import('../../components/custom-el-slider/index.vue' /* webpackChunkName: "components/custom-el-slider" */).then(c => wrapFunctional(c.default || c))
+export const CustomElSliderMarker = () => import('../../components/custom-el-slider/marker.vue' /* webpackChunkName: "components/custom-el-slider-marker" */).then(c => wrapFunctional(c.default || c))
 export const ProductBuilderDialogSelectAddr = () => import('../../components/product-builder/DialogSelectAddr.vue' /* webpackChunkName: "components/product-builder-dialog-select-addr" */).then(c => wrapFunctional(c.default || c))
 export const ProductBuilderStep1 = () => import('../../components/product-builder/step-1.vue' /* webpackChunkName: "components/product-builder-step1" */).then(c => wrapFunctional(c.default || c))
 export const ProductBuilderStep2 = () => import('../../components/product-builder/step-2.vue' /* webpackChunkName: "components/product-builder-step2" */).then(c => wrapFunctional(c.default || c))
@@ -49,12 +55,6 @@ export const TableStockTable = () => import('../../components/table/StockTable.v
 export const TableTotalTable = () => import('../../components/table/TotalTable.vue' /* webpackChunkName: "components/table-total-table" */).then(c => wrapFunctional(c.default || c))
 export const TableUnitTable = () => import('../../components/table/UnitTable.vue' /* webpackChunkName: "components/table-unit-table" */).then(c => wrapFunctional(c.default || c))
 export const TableParamTable = () => import('../../components/table/paramTable.vue' /* webpackChunkName: "components/table-param-table" */).then(c => wrapFunctional(c.default || c))
-export const CustomElSliderButton = () => import('../../components/custom-el-slider/button.vue' /* webpackChunkName: "components/custom-el-slider-button" */).then(c => wrapFunctional(c.default || c))
-export const CustomElSlider = () => import('../../components/custom-el-slider/index.vue' /* webpackChunkName: "components/custom-el-slider" */).then(c => wrapFunctional(c.default || c))
-export const CustomElSliderMarker = () => import('../../components/custom-el-slider/marker.vue' /* webpackChunkName: "components/custom-el-slider-marker" */).then(c => wrapFunctional(c.default || c))
-export const ProductLeft = () => import('../../components/product/ProductLeft.vue' /* webpackChunkName: "components/product-left" */).then(c => wrapFunctional(c.default || c))
-export const ProductRight = () => import('../../components/product/ProductRight.vue' /* webpackChunkName: "components/product-right" */).then(c => wrapFunctional(c.default || c))
-export const ProductQuote = () => import('../../components/product/Quote.vue' /* webpackChunkName: "components/product-quote" */).then(c => wrapFunctional(c.default || c))
 export const TinymceComponentsEditorImage = () => import('../../components/Tinymce/components/EditorImage.vue' /* webpackChunkName: "components/tinymce-components-editor-image" */).then(c => wrapFunctional(c.default || c))
 
 // nuxt/nuxt.js#8607

+ 6 - 6
.nuxt/components/readme.md

@@ -45,6 +45,12 @@ You can directly use them in pages and other components without the need to impo
 - `<Tinymce>` | `<tinymce>` (components/Tinymce/index.vue)
 - `<TinymcePlugins>` | `<tinymce-plugins>` (components/Tinymce/plugins.js)
 - `<TinymceToolbar>` | `<tinymce-toolbar>` (components/Tinymce/toolbar.js)
+- `<ProductLeft>` | `<product-left>` (components/product/ProductLeft.vue)
+- `<ProductRight>` | `<product-right>` (components/product/ProductRight.vue)
+- `<ProductQuote>` | `<product-quote>` (components/product/Quote.vue)
+- `<CustomElSliderButton>` | `<custom-el-slider-button>` (components/custom-el-slider/button.vue)
+- `<CustomElSlider>` | `<custom-el-slider>` (components/custom-el-slider/index.vue)
+- `<CustomElSliderMarker>` | `<custom-el-slider-marker>` (components/custom-el-slider/marker.vue)
 - `<ProductBuilderDialogSelectAddr>` | `<product-builder-dialog-select-addr>` (components/product-builder/DialogSelectAddr.vue)
 - `<ProductBuilderStep1>` | `<product-builder-step1>` (components/product-builder/step-1.vue)
 - `<ProductBuilderStep2>` | `<product-builder-step2>` (components/product-builder/step-2.vue)
@@ -57,10 +63,4 @@ You can directly use them in pages and other components without the need to impo
 - `<TableTotalTable>` | `<table-total-table>` (components/table/TotalTable.vue)
 - `<TableUnitTable>` | `<table-unit-table>` (components/table/UnitTable.vue)
 - `<TableParamTable>` | `<table-param-table>` (components/table/paramTable.vue)
-- `<CustomElSliderButton>` | `<custom-el-slider-button>` (components/custom-el-slider/button.vue)
-- `<CustomElSlider>` | `<custom-el-slider>` (components/custom-el-slider/index.vue)
-- `<CustomElSliderMarker>` | `<custom-el-slider-marker>` (components/custom-el-slider/marker.vue)
-- `<ProductLeft>` | `<product-left>` (components/product/ProductLeft.vue)
-- `<ProductRight>` | `<product-right>` (components/product/ProductRight.vue)
-- `<ProductQuote>` | `<product-quote>` (components/product/Quote.vue)
 - `<TinymceComponentsEditorImage>` | `<tinymce-components-editor-image>` (components/Tinymce/components/EditorImage.vue)

File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/client/220abb4.js


File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/client/220abb4.js.map


File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/client/3948f55.js


File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/client/3948f55.js.map


File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/client/ad0b118.js


File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/client/ad0b118.js.map


File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/client/c37d741.js


File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/client/c37d741.js.map


File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/client/css/5d75c34.css


File diff suppressed because it is too large
+ 214 - 214
.nuxt/dist/server/client.manifest.json


+ 18 - 18
.nuxt/dist/server/components/product-quote.js

@@ -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"
   
 )

File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/server/components/product-quote.js.map


+ 18 - 18
.nuxt/dist/server/components/product-right.js

@@ -3841,9 +3841,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__));
 
 
 /***/ }),
@@ -3909,7 +3909,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,
@@ -3922,7 +3922,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,
@@ -3943,7 +3943,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,
@@ -3968,7 +3968,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,
@@ -3998,7 +3998,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],
@@ -4016,7 +4016,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,
@@ -4028,7 +4028,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"
     },
@@ -4049,11 +4049,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"
@@ -4099,7 +4099,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);
@@ -4121,7 +4121,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) {
@@ -4129,7 +4129,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) {
@@ -4282,7 +4282,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);
@@ -4634,7 +4634,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;
@@ -5306,7 +5306,7 @@ var component = Object(componentNormalizer["a" /* default */])(
   staticRenderFns,
   false,
   injectStyles,
-  "29966f02",
+  "8320de5e",
   "a7f86384"
   
 )

File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/server/components/product-right.js.map


+ 1 - 1
.nuxt/dist/server/index.spa.html

@@ -5,5 +5,5 @@
   <link href="/_nuxt/css/9b69cf1.css" rel="stylesheet"><link href="/_nuxt/css/e6fe802.css" rel="stylesheet"></head>
   <body {{ body_attrs }}>
     {{ APP }}
-  <script src="/_nuxt/5564347.js"></script><script src="/_nuxt/81e88a2.js"></script><script src="/_nuxt/70bd80b.js"></script><script src="/_nuxt/81b58d4.js"></script></body>
+  <script src="/_nuxt/220abb4.js"></script><script src="/_nuxt/81e88a2.js"></script><script src="/_nuxt/70bd80b.js"></script><script src="/_nuxt/3948f55.js"></script></body>
 </html>

+ 18 - 18
.nuxt/dist/server/pages/product/_code.js

@@ -4253,9 +4253,9 @@ module.exports = {
 
 "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__));
 
 
 /***/ }),
@@ -4321,7 +4321,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,
@@ -4334,7 +4334,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,
@@ -4355,7 +4355,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,
@@ -4380,7 +4380,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,
@@ -4410,7 +4410,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],
@@ -4428,7 +4428,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,
@@ -4440,7 +4440,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"
     },
@@ -4461,11 +4461,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"
@@ -4511,7 +4511,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);
@@ -4533,7 +4533,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) {
@@ -4541,7 +4541,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) {
@@ -4694,7 +4694,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);
@@ -5046,7 +5046,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;
@@ -5718,7 +5718,7 @@ var component = Object(componentNormalizer["a" /* default */])(
   staticRenderFns,
   false,
   injectStyles,
-  "29966f02",
+  "8320de5e",
   "a7f86384"
   
 )

File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/server/pages/product/_code.js.map


+ 12 - 12
.nuxt/dist/server/server.js

@@ -71143,6 +71143,12 @@ __webpack_require__.d(components_namespaceObject, "TinymceDynamicLoadScript", fu
 __webpack_require__.d(components_namespaceObject, "Tinymce", function() { return Tinymce; });
 __webpack_require__.d(components_namespaceObject, "TinymcePlugins", function() { return TinymcePlugins; });
 __webpack_require__.d(components_namespaceObject, "TinymceToolbar", function() { return TinymceToolbar; });
+__webpack_require__.d(components_namespaceObject, "ProductLeft", function() { return ProductLeft; });
+__webpack_require__.d(components_namespaceObject, "ProductRight", function() { return ProductRight; });
+__webpack_require__.d(components_namespaceObject, "ProductQuote", function() { return ProductQuote; });
+__webpack_require__.d(components_namespaceObject, "CustomElSliderButton", function() { return CustomElSliderButton; });
+__webpack_require__.d(components_namespaceObject, "CustomElSlider", function() { return CustomElSlider; });
+__webpack_require__.d(components_namespaceObject, "CustomElSliderMarker", function() { return CustomElSliderMarker; });
 __webpack_require__.d(components_namespaceObject, "ProductBuilderDialogSelectAddr", function() { return ProductBuilderDialogSelectAddr; });
 __webpack_require__.d(components_namespaceObject, "ProductBuilderStep1", function() { return ProductBuilderStep1; });
 __webpack_require__.d(components_namespaceObject, "ProductBuilderStep2", function() { return ProductBuilderStep2; });
@@ -71155,12 +71161,6 @@ __webpack_require__.d(components_namespaceObject, "TableStockTable", function()
 __webpack_require__.d(components_namespaceObject, "TableTotalTable", function() { return TableTotalTable; });
 __webpack_require__.d(components_namespaceObject, "TableUnitTable", function() { return TableUnitTable; });
 __webpack_require__.d(components_namespaceObject, "TableParamTable", function() { return TableParamTable; });
-__webpack_require__.d(components_namespaceObject, "CustomElSliderButton", function() { return CustomElSliderButton; });
-__webpack_require__.d(components_namespaceObject, "CustomElSlider", function() { return CustomElSlider; });
-__webpack_require__.d(components_namespaceObject, "CustomElSliderMarker", function() { return CustomElSliderMarker; });
-__webpack_require__.d(components_namespaceObject, "ProductLeft", function() { return ProductLeft; });
-__webpack_require__.d(components_namespaceObject, "ProductRight", function() { return ProductRight; });
-__webpack_require__.d(components_namespaceObject, "ProductQuote", function() { return ProductQuote; });
 __webpack_require__.d(components_namespaceObject, "TinymceComponentsEditorImage", function() { return TinymceComponentsEditorImage; });
 
 // EXTERNAL MODULE: external "vue"
@@ -72807,6 +72807,12 @@ const TinymceDynamicLoadScript = () => __webpack_require__.e(/* import() | compo
 const Tinymce = () => __webpack_require__.e(/* import() | components/tinymce */ 49).then(__webpack_require__.bind(null, 143)).then(c => wrapFunctional(c.default || c));
 const TinymcePlugins = () => __webpack_require__.e(/* import() | components/tinymce-plugins */ 52).then(__webpack_require__.bind(null, 150)).then(c => wrapFunctional(c.default || c));
 const TinymceToolbar = () => __webpack_require__.e(/* import() | components/tinymce-toolbar */ 53).then(__webpack_require__.bind(null, 151)).then(c => wrapFunctional(c.default || c));
+const ProductLeft = () => __webpack_require__.e(/* import() | components/product-left */ 31).then(__webpack_require__.bind(null, 324)).then(c => wrapFunctional(c.default || c));
+const ProductRight = () => __webpack_require__.e(/* import() | components/product-right */ 33).then(__webpack_require__.bind(null, 325)).then(c => wrapFunctional(c.default || c));
+const ProductQuote = () => __webpack_require__.e(/* import() | components/product-quote */ 32).then(__webpack_require__.bind(null, 241)).then(c => wrapFunctional(c.default || c));
+const CustomElSliderButton = () => __webpack_require__.e(/* import() | components/custom-el-slider-button */ 10).then(__webpack_require__.bind(null, 158)).then(c => wrapFunctional(c.default || c));
+const CustomElSlider = () => __webpack_require__.e(/* import() | components/custom-el-slider */ 9).then(__webpack_require__.bind(null, 161)).then(c => wrapFunctional(c.default || c));
+const CustomElSliderMarker = () => __webpack_require__.e(/* import() | components/custom-el-slider-marker */ 11).then(__webpack_require__.bind(null, 159)).then(c => wrapFunctional(c.default || c));
 const ProductBuilderDialogSelectAddr = () => __webpack_require__.e(/* import() | components/product-builder-dialog-select-addr */ 26).then(__webpack_require__.bind(null, 240)).then(c => wrapFunctional(c.default || c));
 const ProductBuilderStep1 = () => __webpack_require__.e(/* import() | components/product-builder-step1 */ 28).then(__webpack_require__.bind(null, 320)).then(c => wrapFunctional(c.default || c));
 const ProductBuilderStep2 = () => __webpack_require__.e(/* import() | components/product-builder-step2 */ 29).then(__webpack_require__.bind(null, 321)).then(c => wrapFunctional(c.default || c));
@@ -72819,12 +72825,6 @@ const TableStockTable = () => __webpack_require__.e(/* import() | components/tab
 const TableTotalTable = () => __webpack_require__.e(/* import() | components/table-total-table */ 47).then(__webpack_require__.bind(null, 209)).then(c => wrapFunctional(c.default || c));
 const TableUnitTable = () => __webpack_require__.e(/* import() | components/table-unit-table */ 48).then(__webpack_require__.bind(null, 210)).then(c => wrapFunctional(c.default || c));
 const TableParamTable = () => __webpack_require__.e(/* import() | components/table-param-table */ 45).then(__webpack_require__.bind(null, 314)).then(c => wrapFunctional(c.default || c));
-const CustomElSliderButton = () => __webpack_require__.e(/* import() | components/custom-el-slider-button */ 10).then(__webpack_require__.bind(null, 158)).then(c => wrapFunctional(c.default || c));
-const CustomElSlider = () => __webpack_require__.e(/* import() | components/custom-el-slider */ 9).then(__webpack_require__.bind(null, 161)).then(c => wrapFunctional(c.default || c));
-const CustomElSliderMarker = () => __webpack_require__.e(/* import() | components/custom-el-slider-marker */ 11).then(__webpack_require__.bind(null, 159)).then(c => wrapFunctional(c.default || c));
-const ProductLeft = () => __webpack_require__.e(/* import() | components/product-left */ 31).then(__webpack_require__.bind(null, 324)).then(c => wrapFunctional(c.default || c));
-const ProductRight = () => __webpack_require__.e(/* import() | components/product-right */ 33).then(__webpack_require__.bind(null, 325)).then(c => wrapFunctional(c.default || c));
-const ProductQuote = () => __webpack_require__.e(/* import() | components/product-quote */ 32).then(__webpack_require__.bind(null, 241)).then(c => wrapFunctional(c.default || c));
 const TinymceComponentsEditorImage = () => __webpack_require__.e(/* import() | components/tinymce-components-editor-image */ 50).then(__webpack_require__.bind(null, 432)).then(c => wrapFunctional(c.default || c));
 
 // nuxt/nuxt.js#8607

File diff suppressed because it is too large
+ 0 - 0
.nuxt/dist/server/server.js.map


+ 18 - 18
.nuxt/vetur/tags.json

@@ -116,6 +116,24 @@
   "TinymceToolbar": {
     "description": "Auto imported from components/Tinymce/toolbar.js"
   },
+  "ProductLeft": {
+    "description": "Auto imported from components/product/ProductLeft.vue"
+  },
+  "ProductRight": {
+    "description": "Auto imported from components/product/ProductRight.vue"
+  },
+  "ProductQuote": {
+    "description": "Auto imported from components/product/Quote.vue"
+  },
+  "CustomElSliderButton": {
+    "description": "Auto imported from components/custom-el-slider/button.vue"
+  },
+  "CustomElSlider": {
+    "description": "Auto imported from components/custom-el-slider/index.vue"
+  },
+  "CustomElSliderMarker": {
+    "description": "Auto imported from components/custom-el-slider/marker.vue"
+  },
   "ProductBuilderDialogSelectAddr": {
     "description": "Auto imported from components/product-builder/DialogSelectAddr.vue"
   },
@@ -152,24 +170,6 @@
   "TableParamTable": {
     "description": "Auto imported from components/table/paramTable.vue"
   },
-  "CustomElSliderButton": {
-    "description": "Auto imported from components/custom-el-slider/button.vue"
-  },
-  "CustomElSlider": {
-    "description": "Auto imported from components/custom-el-slider/index.vue"
-  },
-  "CustomElSliderMarker": {
-    "description": "Auto imported from components/custom-el-slider/marker.vue"
-  },
-  "ProductLeft": {
-    "description": "Auto imported from components/product/ProductLeft.vue"
-  },
-  "ProductRight": {
-    "description": "Auto imported from components/product/ProductRight.vue"
-  },
-  "ProductQuote": {
-    "description": "Auto imported from components/product/Quote.vue"
-  },
   "TinymceComponentsEditorImage": {
     "description": "Auto imported from components/Tinymce/components/EditorImage.vue"
   }

Some files were not shown because too many files changed in this diff