{"version":3,"sources":["webpack:///./src/components/user-center/pay.vue?4f44","webpack:///./node_modules/core-js/internals/string-repeat.js","webpack:///./src/utils/calculation.ts","webpack:///./src/assets/imgs sync ^\\.\\/AfterSale.*\\.png$","webpack:///./src/components/sales/enter_package.vue?40f2","webpack:///./src/components/sales/sales-type.vue?822f","webpack:///./src/views/order-details.vue?b5af","webpack:///./node_modules/core-js/modules/es.number.to-fixed.js","webpack:///./src/components/user-center/pay.vue?4d19","webpack:///./src/components/user-center/pay.vue","webpack:///./src/components/sales/sales-type.vue?682d","webpack:///./src/components/sales/sales-type.vue","webpack:///./src/views/order-details.vue?7a1e","webpack:///./src/views/order-details.vue","webpack:///./node_modules/core-js/modules/es.array.find-index.js","webpack:///./src/views/order-details.vue?cecc","webpack:///./src/components/sales/enter_package.vue?d85e","webpack:///./src/components/sales/enter_package.vue","webpack:///./src/views/order-details.vue?fb85"],"names":["global","toIntegerOrInfinity","toString","requireObjectCoercible","RangeError","module","exports","count","str","this","result","n","Infinity","getSupplementaryAmount","data","SupplementaryAmount","Cn2CnFreightList","forEach","element","LocalDifference","ResponseList","LocalActualAmount","map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","$","uncurryThis","thisNumberValue","$repeat","fails","String","floor","Math","repeat","stringSlice","slice","un$ToFixed","toFixed","pow","x","acc","log","x2","multiply","c","index","c2","divide","dataToString","s","t","length","FORCED","target","proto","forced","fractionDigits","z","j","k","number","fractDigits","sign","_hoisted_1","class","_defineComponent","__name","props","Date","ShowPay","Boolean","SourceId","Number","Ids","Array","PayType","emits","setup","__props","emit","store","useUsersStore","toRefs","getJwtToken","useI18n","PayRef","ref","PayForm","reactive","customer_order_no","pay_password","couponIndex","DonePay","payRules","required","message","trigger","min","PayLoad","SubmitPay","formEl","validate","valid","fields","value","Api","coupon_code","Coupons","SerialNumber","coupon_security_code","SecurityCode","then","res","IsError","success","catch","WarehouseId","PayPwd","DeliveryIds","CurrencyCode","CustomerCode","BoxIds","CouponNo","PaymentStatus","ElMessageBox","alert","confirmButtonText","showClose","closeOnPressEscape","callback","watch","val","OrderNo","use_coupon_type_id","CustomerId","BalanceItem","BalanceItems","immediate","deep","onMounted","_ctx","_cache","_component_el_button","_resolveComponent","_component_router_link","_component_el_form_item","_component_el_input","_component_el_option","_component_el_select","_component_el_form","_component_el_dialog","_openBlock","_createBlock","modelValue","$event","title","$t","width","center","footer","_withCtx","_createElementVNode","_createVNode","onClick","size","default","_createTextVNode","_toDisplayString","_","type","loading","ref_key","model","rules","label","AvailableAmount","$currency","A","to","path","StatusId","_unref","TotalAmount","TotalPayment","prop","_withDirectives","clearable","placeholder","_createElementBlock","_Fragment","_renderList","Coupon","key","CouponConsumeRange","DiscountAmount","_vShow","__exports__","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","Sku","ShowSale","CustomerAddress","UserWarehousesList","GetDefaultAddress","CountryCode","GetReceiveAddresses","addressTypeId","ReceiveAddresses","SaleLoad","SaleRef","SaleRules","ReasonId","DoneSale","SaleForm","BusinessTypeId","SaleTypeId","ImgUrlList","Remark","GoodsStatu","SaleOrderItems","QuantityChange","Price","ele","Qty","numberFormat","SubmitSale","body","GoodsStatusId","push","ItemUniqueId","UniqueId","Quantity","obj","Address","Mobile","ReceiverName","item","url","Reason","SaleTypeChange","typeIds","type_id","BasicDictionaryList","DicValue","SaleTypes","_component_suffix_img","_component_el_table_column","_component_el_input_number","_component_el_table","_component_el_scrollbar","row","ImagePath","Product","SkuTitle","align","max","precision","onChange","_createCommentVNode","B","SaleType","_normalizeClass","SelectSaleType","src","require","DicName","Desc","AddressCard","isDefault","Warehouses","AddressId","_Transition","name","cancel","OSS","imgList","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","FreightTypes","PayDate","active","ShowEnter","SkuItem","arraySpanMethod","column","rowIndex","columnIndex","setSpanArr","SaleClick","productDetails","href","Router","query","outId","OutId","mallId","MallId","window","open","CancelSupplementaryPayment","ItemId","ShopId","GetOrders","useRouter","route","useRoute","Steps","SaleOrderList","isEnterPackage","Cancel","confirm","cancelButtonText","ElLoading","service","lock","text","background","SaleOrderNo","close","getSpanArr","Arr","reduce","find","i","_d","num","PageSize","PageIndex","order_no","CustomerOrder","CustomerOrderSourceId","StatuList","icon","isType","concat","Statu","findIndex","FreightType","ChangeFreightType","OrderId","CustomerOrderId","TransportationType","RemarkLoding","setRemark","Items","ItemID","ItemRemark","ItemMemo","OrderID","OrderReamrk","OrderMemo","setArrive","ItemList","IsArriveStockOut","setState","_component_svg_icon","_component_el_step","_component_el_steps","_component_EditPen","_component_el_icon","_component_el_radio","_component_el_radio_group","_component_el_popover","_component_el_popconfirm","_component_el_tooltip","_component_el_link","Loading","formatDate","CreatedOn","Status","Step","PaymentTypeId","ReceiveInformation","TransnationalFreightType","placement","reference","PurchasingSiteId","Types","FT","ID","TypeName","Days","TransnationalFreightTypeId","Expresses","CompanyName","ExpressNo","PaymentType","WarehouseAddress","style","Freight","LocalFreightAmount","ReasonType","onConfirm","TotalItemAmount","header","effect","content","rows","disabled","RemarkUrl","preview","HaveAfterSale","Item","ProductImgUrl","ProductName","moment","CreationTime","format","StatuId","Cn2TransnationalCurrency","ItemsTotalAmount","CnFreightAmount","InsuranceFees","PaidAmount","EnterPackage","onHideEnter","onEnterChange","SalesType","onHideSale","onSaleChange","Pay","onPayChange","$findIndex","addToUnscopables","FIND_INDEX","SKIPS_HOLES","callbackfn","arguments","undefined","DoneEnter","EnterLoad","CompanyId","console","AfterSaleId","Id","DictionaryList"],"mappings":"kHAAA,W,2DCCA,IAAIA,EAAS,EAAQ,QACjBC,EAAsB,EAAQ,QAC9BC,EAAW,EAAQ,QACnBC,EAAyB,EAAQ,QAEjCC,EAAaJ,EAAOI,WAIxBC,EAAOC,QAAU,SAAgBC,GAC/B,IAAIC,EAAMN,EA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,sBAAS,iBAAM,CACtBE,yBAAad,EAAsB,CACjCK,WAAYgE,EAASqO,UACrB,sBAAuBjT,EAAO,KAAOA,EAAO,GAAK,SAACa,GAAD,OAAmB+D,EAASqO,UAAapS,IAC1FiC,YAAa/C,EAAKgB,GAAG,OACrBQ,KAAM,QACNpG,MAAO,eACN,CACDqG,QAASL,sBAAS,iBAAM,EACrBT,wBAAW,GAAOqC,gCAAoBC,cAAW,KAAMC,wBAAYoQ,EAAe1V,OAAO,SAAC6K,GACzF,OAAQ9H,yBAAcC,yBAAaL,EAAsB,CACvD6C,IAAKqF,EAAO9B,SACZzE,MAAOuG,EAAOR,QACdrK,MAAO6K,EAAO9B,UACb,KAAM,EAAG,CAAC,QAAS,aACpB,UAEN/E,EAAG,GACF,EAAG,CAAC,aAAc,oBAEvBA,EAAG,GACF,EAAG,CAAC,WACP8F,gCAAoB,IAAI,GAC5BpG,yBAAajB,EAAyB,CACpC6B,MAAOlC,EAAKgB,GAAG,SACd,CACDS,QAASL,sBAAS,iBAAM,CACtBE,yBAAaoH,OAAK,CAChB7G,KAAM,EACN8G,QAAS9D,EAASG,WAClBuC,IAAK,GACJ,KAAM,EAAG,CAAC,gBAEf3F,EAAG,GACF,EAAG,CAAC,cAETA,EAAG,GACF,EAAG,CAAC,QAAS,cAElBA,EAAG,GACF,EAAG,CAAC,aAAc,gB,iCChPzB,MAAM4B,EAA2B,IAAgB,EAAQ,CAAC,CAAC,YAAY,qBAExD,U,kCCRf","file":"assets/js/chunk-6099d292.0624e6b5.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./pay.vue?vue&type=style&index=0&id=4a657d3e&lang=scss\"","'use strict';\nvar global = require('../internals/global');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar RangeError = global.RangeError;\n\n// `String.prototype.repeat` method implementation\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\nmodule.exports = function repeat(count) {\n var str = toString(requireObjectCoercible(this));\n var result = '';\n var n = toIntegerOrInfinity(count);\n if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n return result;\n};\n","export function getSupplementaryAmount(data) {\r\n let SupplementaryAmount = 0\r\n data.Cn2CnFreightList.forEach((element) => {\r\n SupplementaryAmount += element.LocalDifference\r\n })\r\n data.ResponseList.forEach((element) => {\r\n SupplementaryAmount += element.LocalActualAmount\r\n })\r\n return SupplementaryAmount\r\n}\r\n","var map = {\n\t\"./AfterSale1.png\": \"62df\",\n\t\"./AfterSale2.png\": \"0a65\",\n\t\"./AfterSale3.png\": \"fef1\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"2ab7\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./enter_package.vue?vue&type=style&index=0&id=2f8c2662&scoped=true&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./sales-type.vue?vue&type=style&index=0&id=7903b234&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./order-details.vue?vue&type=style&index=1&id=1b493d1a&lang=scss\"","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar fails = require('../internals/fails');\n\nvar RangeError = global.RangeError;\nvar String = global.String;\nvar floor = Math.floor;\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar un$ToFixed = uncurryThis(1.0.toFixed);\n\nvar pow = function (x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\n\nvar log = function (x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n } return n;\n};\n\nvar multiply = function (data, n, c) {\n var index = -1;\n var c2 = c;\n while (++index < 6) {\n c2 += n * data[index];\n data[index] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\n\nvar divide = function (data, n) {\n var index = 6;\n var c = 0;\n while (--index >= 0) {\n c += data[index];\n data[index] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\n\nvar dataToString = function (data) {\n var index = 6;\n var s = '';\n while (--index >= 0) {\n if (s !== '' || index === 0 || data[index] !== 0) {\n var t = String(data[index]);\n s = s === '' ? t : s + repeat('0', 7 - t.length) + t;\n }\n } return s;\n};\n\nvar FORCED = fails(function () {\n return un$ToFixed(0.00008, 3) !== '0.000' ||\n un$ToFixed(0.9, 0) !== '1' ||\n un$ToFixed(1.255, 2) !== '1.25' ||\n un$ToFixed(1000000000000000128.0, 0) !== '1000000000000000128';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n un$ToFixed({});\n});\n\n// `Number.prototype.toFixed` method\n// https://tc39.es/ecma262/#sec-number.prototype.tofixed\n$({ target: 'Number', proto: true, forced: FORCED }, {\n toFixed: function toFixed(fractionDigits) {\n var number = thisNumberValue(this);\n var fractDigits = toIntegerOrInfinity(fractionDigits);\n var data = [0, 0, 0, 0, 0, 0];\n var sign = '';\n var result = '0';\n var e, z, j, k;\n\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number != number) return 'NaN';\n if (number <= -1e21 || number >= 1e21) return String(number);\n if (number < 0) {\n sign = '-';\n number = -number;\n }\n if (number > 1e-21) {\n e = log(number * pow(2, 69, 1)) - 69;\n z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(data, 0, z);\n j = fractDigits;\n while (j >= 7) {\n multiply(data, 1e7, 0);\n j -= 7;\n }\n multiply(data, pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(data, 1 << 23);\n j -= 23;\n }\n divide(data, 1 << j);\n multiply(data, 1, 1);\n divide(data, 2);\n result = dataToString(data);\n } else {\n multiply(data, 0, z);\n multiply(data, 1 << -e, 0);\n result = dataToString(data) + repeat('0', fractDigits);\n }\n }\n if (fractDigits > 0) {\n k = result.length;\n result = sign + (k <= fractDigits\n ? '0.' + repeat('0', fractDigits - k) + result\n : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));\n } else {\n result = sign + result;\n } return result;\n }\n});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, vShow as _vShow, withDirectives as _withDirectives, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-footer\" }\n\nimport {\r\n reactive,\r\n ref,\r\n onMounted,\r\n watch,\r\n toRefs,\r\n} from 'vue'\r\nimport * as Api from '@/utils/api'\r\nimport type { FormInstance, FormRules } from 'element-plus'\r\nimport { ElMessageBox } from 'element-plus'\r\nimport { useI18n } from 'vue-i18n'\r\nimport { getSupplementaryAmount } from '@/utils/calculation'\r\n\r\nimport { useUsersStore } from '@/pinia'\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'pay',\n props: {\r\n Date: Object,\r\n ShowPay: Boolean,\r\n SourceId: Number,\r\n Ids: Array,\r\n PayType: String,\r\n},\n emits: ['PayChange'],\n setup(__props, { emit }) {\n\nconst props = __props\n\r\nconst store = useUsersStore()\r\nconst { getJwtToken } = toRefs(store)\r\n\r\nconst { t } = useI18n()\r\nconst PayRef = ref()\r\n\r\nconst PayForm = reactive({\r\n customer_order_no: null,\r\n pay_password: null,\r\n couponIndex: null,\r\n})\r\n\r\n\r\nconst DonePay = () => {\r\n emit('PayChange')\r\n}\r\n\r\nconst payRules = reactive({\r\n pay_password: [\r\n { required: true, message: t('请输入'), trigger: 'blur' },\r\n { min: 6, message: t('最少6位'), trigger: 'change' },\r\n ],\r\n})\r\n\r\nconst PayLoad = ref(false)\r\nconst SubmitPay = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate((valid, fields) => {\r\n if (valid) {\r\n if (PayForm.customer_order_no) {\r\n PayLoad.value = true\r\n Api.Post('bank/api/Payment/', {\r\n customer_order_no: PayForm.customer_order_no,\r\n pay_password: PayForm.pay_password,\r\n coupon_code:\r\n PayForm.couponIndex != null\r\n ? Coupons.value[PayForm.couponIndex].SerialNumber\r\n : null,\r\n coupon_security_code:\r\n PayForm.couponIndex != null\r\n ? Coupons.value[PayForm.couponIndex].SecurityCode\r\n : null,\r\n })\r\n .then((res) => {\r\n PayLoad.value = false\r\n if (!res.IsError) {\r\n success()\r\n }\r\n })\r\n .catch(() => {\r\n PayLoad.value = false\r\n })\r\n }\r\n if (props.PayType == 'Delivery') {\r\n Api.Post('orders/api/DeliveryServerFreight/', {\r\n WarehouseId: '6',\r\n PayPwd: PayForm.pay_password,\r\n DeliveryIds: props.Ids,\r\n })\r\n .then((res) => {\r\n PayLoad.value = false\r\n if (!res.IsError) {\r\n success()\r\n }\r\n })\r\n .catch(() => {\r\n PayLoad.value = false\r\n })\r\n }\r\n if (props.PayType == 'Box') {\r\n Api.Post('orders/api/TransportBox/', {\r\n WarehouseId: '6',\r\n CurrencyCode: 'USD',\r\n CustomerCode: getJwtToken.value.CustomerCode,\r\n PayPwd: PayForm.pay_password,\r\n BoxIds: props.Ids,\r\n CouponNo:\r\n PayForm.couponIndex != null\r\n ? Coupons.value[PayForm.couponIndex].SerialNumber\r\n : null,\r\n })\r\n .then((res) => {\r\n PayLoad.value = false\r\n if (!res.IsError) {\r\n success()\r\n }\r\n })\r\n .catch(() => {\r\n PayLoad.value = false\r\n })\r\n }\r\n }\r\n })\r\n}\r\nconst success = () => {\r\n store.PaymentStatus = !store.PaymentStatus\r\n ElMessageBox.alert(t('支付成功'), '', {\r\n confirmButtonText: 'OK',\r\n showClose: false,\r\n closeOnPressEscape: false,\r\n callback: () => {\r\n emit('PayChange')\r\n },\r\n })\r\n}\r\n\r\n\r\nwatch(\r\n () => props.ShowPay,\r\n (val) => {\r\n if (val) {\r\n PayForm.couponIndex = null\r\n if (props.Date.OrderNo) {\r\n PayForm.customer_order_no = props.Date.OrderNo\r\n }\r\n if (props.SourceId != 40) {\r\n Api.Get('bank/api/Coupons/', {\r\n use_coupon_type_id: props.Date.OrderNo ? 1 : 2,\r\n }).then((res) => {\r\n Coupons.value = res.Coupons\r\n })\r\n }\r\n Api.Get('bank/api/CustomerBalance/', {\r\n CustomerId: 0,\r\n }).then((res) => {\r\n BalanceItem.value =\r\n res.BalanceItems.length > 0 ? res.BalanceItems[0] : null\r\n })\r\n }\r\n },\r\n {\r\n immediate: true,\r\n deep: true,\r\n }\r\n)\r\n\r\nconst BalanceItem = ref(null)\r\nconst Coupons = ref(null)\r\nonMounted(() => {})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createBlock(_component_el_dialog, {\n modelValue: props.ShowPay,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((props.ShowPay) = $event)),\n title: _ctx.$t('支付订单'),\n width: \"400px\",\n \"before-close\": DonePay,\n center: true\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_1, [\n _createVNode(_component_el_button, {\n onClick: DonePay,\n size: \"large\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('关闭')), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"danger\",\n size: \"large\",\n loading: PayLoad.value,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (SubmitPay(PayRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('支付')), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n ref_key: \"PayRef\",\n ref: PayRef,\n model: PayForm,\n rules: payRules,\n \"label-position\": \"top\",\n class: \"PackageForm\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('账户余额')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(BalanceItem.value\r\n ? BalanceItem.value.AvailableAmount + ' ' + BalanceItem.value.CurrencyCode\r\n : 0) + \" \" + _toDisplayString(_ctx.$currency.A) + \" \", 1),\n _createVNode(_component_router_link, { to: { path: '/userCenter/wallet' } }, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n class: \"RechargeBtn\",\n type: \"danger\",\n onClick: DonePay\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('充值')), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('应付金额')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.Date.StatusId == 4\r\n ? _unref(getSupplementaryAmount)(props.Date)\r\n : (props.Date.TotalAmount || props.Date.TotalPayment).toFixed(2)) + \" \" + _toDisplayString(_ctx.$currency.A), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('交易密码'),\n prop: \"pay_password\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n size: \"large\",\n modelValue: PayForm.pay_password,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((PayForm.pay_password) = $event)),\n type: \"password\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"label\"]),\n _withDirectives(_createVNode(_component_el_form_item, {\n label: _ctx.$t('优惠劵')\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: PayForm.couponIndex,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((PayForm.couponIndex) = $event)),\n size: \"large\",\n clearable: \"\",\n placeholder: _ctx.$t('请选择')\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(Coupons.value, (Coupon, index) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: index,\n label: Coupon.CouponConsumeRange + '$' + Coupon.DiscountAmount,\n value: index\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"placeholder\"])\n ]),\n _: 1\n }, 8, [\"label\"]), [\n [_vShow, props.SourceId != 40]\n ])\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"title\"]))\n}\n}\n\n})","import script from \"./pay.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./pay.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./pay.vue?vue&type=style&index=0&id=4a657d3e&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, Transition as _Transition, vShow as _vShow, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = { class: \"sales-type\" }\nconst _hoisted_2 = { class: \"Product\" }\nconst _hoisted_3 = { class: \"SkuTitle\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"SaleTypes\"\n}\nconst _hoisted_5 = [\"onClick\"]\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = { class: \"dialog-footer\" }\n\nimport {\r\n reactive,\r\n ref,\r\n onMounted,\r\n watch,\r\n toRefs,\r\n} from 'vue'\r\nimport type { FormInstance, FormRules } from 'element-plus'\r\nimport * as Api from '@/utils/api'\r\nimport { useI18n } from 'vue-i18n'\r\nimport OSS from '@/components/oss.vue'\r\nimport { numberFormat } from '@/utils/format'\r\nimport AddressCard from '@/components/user-center/address_card.vue'\r\nimport { ElMessageBox } from 'element-plus'\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'sales-type',\n props: {\r\n Sku: Object,\r\n ShowSale: Boolean,\r\n OrderNo: String,\r\n},\n emits: ['SaleChange', 'HideSale'],\n setup(__props, { emit }) {\n\nconst props = __props\n\r\nconst { t } = useI18n()\r\nconst CustomerAddress = ref(null)\r\nconst UserWarehousesList = ref(null)\r\n\r\nconst GetDefaultAddress = () => {\r\n Api.Get('user/api/GetCustomerDefaultAddress', { CountryCode: 'KH' }).then(\r\n (res) => {\r\n CustomerAddress.value = res\r\n }\r\n )\r\n}\r\n\r\nconst GetReceiveAddresses = () => {\r\n Api.Get('user/api/ReceiveAddresses_New/', {\r\n addressTypeId: 1,\r\n }).then((res) => {\r\n UserWarehousesList.value = res.ReceiveAddresses\r\n })\r\n}\r\n\r\nconst SaleLoad = ref(false)\r\nconst SaleRef = ref()\r\nconst SaleRules = reactive({\r\n ReasonId: [{ required: true, message: t('请选择'), trigger: 'change' }],\r\n})\r\nconst title = ref('')\r\n\r\n\r\nconst DoneSale = () => {\r\n emit('HideSale')\r\n}\r\n\r\n\r\n\r\nconst SaleForm = reactive({\r\n BusinessTypeId: 1,\r\n SaleTypeId: null,\r\n ReasonId: null,\r\n ImgUrlList: [],\r\n OrderNo: null,\r\n Remark: null,\r\n TotalAmount: null,\r\n GoodsStatu: null,\r\n SaleOrderItems: [],\r\n})\r\n\r\nconst QuantityChange = () => {\r\n let Price = 0\r\n props.Sku.forEach((ele) => {\r\n Price += (ele.Qty || 1) * ele.Price\r\n })\r\n SaleForm.TotalAmount = numberFormat(Price)\r\n}\r\n\r\nconst SubmitSale = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate((valid, fields) => {\r\n if (valid) {\r\n let body = {}\r\n SaleForm.OrderNo = props.OrderNo\r\n SaleForm.SaleOrderItems = []\r\n SaleForm.GoodsStatu = props.Sku[0].GoodsStatusId\r\n props.Sku.forEach((ele) => {\r\n SaleForm.SaleOrderItems.push({\r\n ItemUniqueId: ele.UniqueId,\r\n Quantity: ele.Qty,\r\n })\r\n })\r\n\r\n if (SaleForm.SaleTypeId == 2) {\r\n let obj = {\r\n Address: CustomerAddress.value.Address,\r\n Mobile: CustomerAddress.value.Mobile,\r\n ReceiverName: CustomerAddress.value.ReceiverName,\r\n }\r\n SaleForm.TotalAmount = 0\r\n body = { ...SaleForm, ...obj }\r\n } else {\r\n body = { ...SaleForm }\r\n }\r\n body.ImgUrlList = body.ImgUrlList.map((item) => {\r\n return item.url\r\n })\r\n\r\n SaleLoad.value = true\r\n Api.Post('orders/api/SaleOrder/', body)\r\n .then((res) => {\r\n SaleLoad.value = false\r\n success()\r\n })\r\n .catch(() => {\r\n SaleLoad.value = false\r\n })\r\n }\r\n })\r\n}\r\n\r\nconst success = () => {\r\n ElMessageBox.alert(t('提交成功'), '', {\r\n confirmButtonText: 'OK',\r\n showClose: false,\r\n closeOnPressEscape: false,\r\n callback: () => {\r\n emit('SaleChange')\r\n },\r\n })\r\n}\r\n\r\nconst Reason = ref(null)\r\n\r\nconst SaleTypeChange = (val) => {\r\n if (val == 2) {\r\n GetDefaultAddress()\r\n }\r\n SaleForm.SaleTypeId = val\r\n let typeIds = [229, 230, 231]\r\n Reason.value = null\r\n SaleForm.ReasonId = null\r\n Api.Get('basic/api/BasicDictionary/', {\r\n type_id: typeIds[val - 1],\r\n }).then((res) => {\r\n SaleForm.ReasonId = res.BasicDictionaryList[0].DicValue\r\n Reason.value = res.BasicDictionaryList\r\n })\r\n}\r\n\r\nconst SaleTypes = ref(null)\r\nonMounted(() => {\r\n Api.Get('basic/api/BasicDictionary/', {\r\n type_id: 234,\r\n }).then((res) => {\r\n SaleTypes.value = res.BasicDictionaryList\r\n })\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_suffix_img = _resolveComponent(\"suffix-img\")!\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_input_number = _resolveComponent(\"el-input-number\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_scrollbar = _resolveComponent(\"el-scrollbar\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_dialog, {\n modelValue: props.ShowSale,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((props.ShowSale) = $event)),\n title: title.value,\n width: \"800px\",\n \"before-close\": DoneSale,\n center: true\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_7, [\n _createVNode(_component_el_button, {\n onClick: DoneSale,\n size: \"large\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('关闭')), 1)\n ]),\n _: 1\n }),\n _withDirectives(_createVNode(_component_el_button, {\n type: \"danger\",\n size: \"large\",\n loading: SaleLoad.value,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (SubmitSale(SaleRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('提交')), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]), [\n [_vShow, SaleForm.SaleTypeId]\n ])\n ])\n ]),\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(QuantityChange()) + \" \", 1),\n _createVNode(_component_el_table, {\n data: props.Sku,\n \"header-row-class-name\": \"ProductTab\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('商品信息'),\n width: \"200\",\n \"header-align\": \"center\"\n }, {\n default: _withCtx(({ row }) => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_suffix_img, {\n url: row.ImagePath,\n type: 5\n }, null, 8, [\"url\"]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", null, _toDisplayString(row.Product), 1),\n _createElementVNode(\"p\", null, _toDisplayString(row.SkuTitle), 1)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n prop: \"Quantity\",\n label: _ctx.$t('数量'),\n align: \"center\"\n }, null, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('退/换货数量'),\n align: \"center\"\n }, {\n default: _withCtx(({ row }) => [\n _createTextVNode(_toDisplayString(!row.Qty ? (row.Qty = 1) : null) + \" \", 1),\n (row.Qty)\n ? (_openBlock(), _createBlock(_component_el_input_number, {\n key: 0,\n modelValue: row.Qty,\n \"onUpdate:modelValue\": ($event: any) => ((row.Qty) = $event),\n min: 1,\n max: row.Quantity,\n precision: 0,\n onChange: QuantityChange\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"max\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('单价'),\n align: \"center\"\n }, {\n default: _withCtx(({ row }) => [\n _createTextVNode(_toDisplayString(_ctx.$currency.B) + \" \" + _toDisplayString(_unref(numberFormat)(row.Price)), 1)\n ]),\n _: 1\n }, 8, [\"label\"])\n ]),\n _: 1\n }, 8, [\"data\"]),\n (SaleTypes.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(SaleTypes.value, (SaleType) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\r\n 'SaleType',\r\n { SelectSaleType: SaleType.DicValue == SaleForm.SaleTypeId },\r\n ]),\n key: SaleType.DicValue,\n onClick: ($event: any) => (SaleTypeChange(SaleType.DicValue))\n }, [\n _createElementVNode(\"img\", {\n src: \r\n require('../../assets/imgs/AfterSale' +\r\n SaleType.DicValue +\r\n '.png')\r\n \n }, null, 8, _hoisted_6),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", null, _toDisplayString(SaleType.DicName), 1),\n _createElementVNode(\"p\", null, _toDisplayString(SaleType.Desc), 1)\n ])\n ], 10, _hoisted_5))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (SaleForm.SaleTypeId == 2)\n ? (_openBlock(), _createBlock(_component_el_scrollbar, {\n key: 1,\n \"max-height\": \"200px\",\n class: \"UserWarehousesList\"\n }, {\n default: _withCtx(() => [\n (CustomerAddress.value && !UserWarehousesList.value)\n ? (_openBlock(), _createBlock(AddressCard, {\n key: 0,\n item: CustomerAddress.value,\n isDefault: true,\n index: 0\n }, null, 8, [\"item\"]))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(UserWarehousesList.value, (Warehouses, index) => {\n return (_openBlock(), _createBlock(AddressCard, {\n item: Warehouses,\n index: index,\n isDefault: Warehouses.AddressId == CustomerAddress.value.AddressId,\n key: index,\n onClick: ($event: any) => (CustomerAddress.value = Warehouses)\n }, null, 8, [\"item\", \"index\", \"isDefault\", \"onClick\"]))\n }), 128)),\n (!UserWarehousesList.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"AddressesPlaceholder\",\n onClick: GetReceiveAddresses\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('显示全部')), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(!UserWarehousesList.value\r\n ? 1\r\n : 3 - (UserWarehousesList.value.length % 3), (placeholder) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: placeholder,\n class: \"AddressesPlaceholder\"\n }))\n }), 128))\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_Transition, { name: \"el-fade-in-linear\" }, {\n default: _withCtx(() => [\n (SaleForm.SaleTypeId)\n ? (_openBlock(), _createBlock(_component_el_form, {\n key: 0,\n ref_key: \"SaleRef\",\n ref: SaleRef,\n model: SaleForm,\n rules: SaleRules,\n \"label-position\": \"top\",\n class: \"PackageForm\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('原因'),\n prop: \"ReasonId\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: SaleForm.ReasonId,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((SaleForm.ReasonId) = $event)),\n placeholder: _ctx.$t('请选择'),\n size: \"large\",\n class: \"cancelOrder\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(Reason.value, (cancel) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: cancel.DicValue,\n label: cancel.DicName,\n value: cancel.DicValue\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"placeholder\"])\n ]),\n _: 1\n }, 8, [\"label\"]),\n (SaleForm.SaleTypeId != 2)\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 0,\n label: _ctx.$t('退款金额')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$currency.B) + \" \" + _toDisplayString(SaleForm.TotalAmount), 1)\n ]),\n _: 1\n }, 8, [\"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('备注')\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: SaleForm.Remark,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((SaleForm.Remark) = $event)),\n type: \"textarea\",\n placeholder: _ctx.$t('请输入')\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('上传凭证')\n }, {\n default: _withCtx(() => [\n _createVNode(OSS, {\n type: 4,\n imgList: SaleForm.ImgUrlList,\n max: 2\n }, null, 8, [\"imgList\"])\n ]),\n _: 1\n }, 8, [\"label\"])\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\", \"title\"])\n ]))\n}\n}\n\n})","import script from \"./sales-type.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./sales-type.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./sales-type.vue?vue&type=style&index=0&id=7903b234&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, unref as _unref, resolveComponent as _resolveComponent, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1b493d1a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = { class: \"OrderNo\" }\nconst _hoisted_3 = { class: \"Status\" }\nconst _hoisted_4 = { class: \"StatusName\" }\nconst _hoisted_5 = { class: \"StatusType\" }\nconst _hoisted_6 = { class: \"Detaileds\" }\nconst _hoisted_7 = { class: \"Detailed\" }\nconst _hoisted_8 = { class: \"Detailed\" }\nconst _hoisted_9 = { class: \"Detailed\" }\nconst _hoisted_10 = { class: \"Products\" }\nconst _hoisted_11 = { class: \"Product\" }\nconst _hoisted_12 = [\"onClick\"]\nconst _hoisted_13 = {\n key: 0,\n class: \"SupplementaryPayment\"\n}\nconst _hoisted_14 = {\n key: 0,\n class: \"SupplementaryPayment\"\n}\nconst _hoisted_15 = { class: \"Remarks\" }\nconst _hoisted_16 = { class: \"SkuTitle\" }\nconst _hoisted_17 = { class: \"Additional\" }\nconst _hoisted_18 = { class: \"OrderMemo\" }\nconst _hoisted_19 = { class: \"isTotal\" }\nconst _hoisted_20 = { key: 1 }\n\nimport { ref, onMounted, toRefs, watch } from 'vue'\r\nimport { useRouter, useRoute } from 'vue-router'\r\nimport * as Api from '@/utils/api'\r\nimport * as moment from 'moment'\r\nimport { useI18n } from 'vue-i18n'\r\nimport { formatDate, numberFormat } from '@/utils/format'\r\nimport { getSupplementaryAmount } from '@/utils/calculation'\r\n\r\nimport Pay from '@/components/user-center/pay.vue'\r\nimport Loading from '@/components/loading.vue'\r\nimport SalesType from '@/components/sales/sales-type.vue'\r\nimport EnterPackage from '@/components/sales/enter_package.vue'\r\nimport { ElMessageBox, ElLoading } from 'element-plus'\r\n\r\nimport { useUsersStore } from '@/pinia'\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'order-details',\n setup(__props) {\n\r\nconst store = useUsersStore()\r\nconst { PaymentStatus, FreightTypes } = toRefs(store)\r\n\r\nconst { t } = useI18n()\r\nconst ShowPay = ref(false)\r\nconst ShowSale = ref(false)\r\nconst PayDate = ref(null)\r\nconst SourceId = ref(null)\r\nconst active = ref(1)\r\nconst Sku = ref(null)\r\n\r\nconst ShowEnter = ref(false)\r\nconst SkuItem = ref(null)\r\n\r\nconst arraySpanMethod = ({\r\n row,\r\n column,\r\n rowIndex,\r\n columnIndex,\r\n}: SpanMethodProps) => {\r\n if (columnIndex == 3) {\r\n let count = setSpanArr.value[rowIndex]\r\n if (count) {\r\n return [count, 1]\r\n } else {\r\n return [0, 0]\r\n }\r\n }\r\n}\r\n\r\nconst SaleClick = (row) => {\r\n Sku.value = row\r\n ShowSale.value = true\r\n}\r\n\r\nconst productDetails = (item) => {\r\n const href = Router.resolve({\r\n path: '/productDetails',\r\n query: { outId: item.OutId, mallId: item.MallId },\r\n })\r\n window.open(href.href, '_blank')\r\n}\r\n\r\nconst CancelSupplementaryPayment = (ItemId, ShopId) => {\r\n Api.Post('orders/api/SupplyFeight/', {\r\n OrderNo: item.value.OrderNo,\r\n ItemId,\r\n ShopId,\r\n }).then((res) => {\r\n GetOrders()\r\n })\r\n}\r\n\r\nconst Router = useRouter()\r\nconst route = useRoute()\r\n\r\nwatch(\r\n () => PaymentStatus.value,\r\n (res) => {\r\n GetOrders()\r\n },\r\n {\r\n deep: true,\r\n }\r\n)\r\n\r\nconst item = ref(null)\r\nconst Steps = ref(null)\r\nconst SaleOrderList = ref(null)\r\n\r\nconst isEnterPackage = (item) => {\r\n SkuItem.value = item\r\n ShowEnter.value = true\r\n}\r\n\r\nconst Cancel = (item) => {\r\n ElMessageBox.confirm(t('是否撤销申请'), t('提示'), {\r\n confirmButtonText: t('确定'),\r\n cancelButtonText: t('取消'),\r\n type: 'warning',\r\n }).then(() => {\r\n const loading = ElLoading.service({\r\n lock: true,\r\n text: 'Loading',\r\n background: 'rgba(0, 0, 0, 0.7)',\r\n })\r\n Api.Post('orders/api/DeleteSaleOrder', {\r\n SaleOrderNo: item.SaleOrderNo,\r\n }).then((res) => {\r\n loading.close()\r\n GetOrders()\r\n })\r\n })\r\n}\r\n\r\nconst setSpanArr = ref([])\r\n\r\nconst getSpanArr = (data) => {\r\n let Arr = []\r\n //计算重复店铺ID数量\r\n Arr = data.reduce((obj, item) => {\r\n let find = obj.find((i) => i.ShopId === item.ShopId)\r\n let _d = {\r\n ...{ ShopId: item.ShopId },\r\n num: 1,\r\n }\r\n find ? find.num++ : obj.push(_d)\r\n return obj\r\n }, [])\r\n let Numbers = []\r\n //设置合并行\r\n Arr.forEach((element) => {\r\n for (let i = 0; i < element.num; i++) {\r\n setSpanArr.value.push(i == 0 ? element.num : 0)\r\n }\r\n })\r\n}\r\n\r\nconst SupplementaryAmount = ref(null)\r\n\r\nconst GetOrders = () => {\r\n Api.Post('orders/api/SaleOrderList', {\r\n OrderNo: route.query.OrderNo,\r\n PageSize: 20,\r\n PageIndex: 1,\r\n }).then((res) => {\r\n SaleOrderList.value = res.SaleOrderList\r\n })\r\n\r\n Api.Get('orders/api/orders/', { order_no: route.query.OrderNo }).then(\r\n (res) => {\r\n if (!res.IsError) {\r\n getSpanArr(res.CustomerOrder.ResponseList)\r\n item.value = res.CustomerOrder\r\n\r\n PayDate.value = item.value\r\n SourceId.value = item.value.CustomerOrderSourceId\r\n\r\n let StatuList =\r\n item.value.CustomerOrderSourceId == 10\r\n ? [\r\n {\r\n title: '提交订单',\r\n id: 2,\r\n icon: '1-7',\r\n },\r\n {\r\n title: '付款成功',\r\n id: 6,\r\n icon: '1-6',\r\n isType: 1,\r\n },\r\n {\r\n title: '商品出库',\r\n id: 160,\r\n icon: '1-2',\r\n isType: 1,\r\n },\r\n ]\r\n : [\r\n {\r\n title: '等待审核',\r\n id: 2,\r\n icon: '1-3',\r\n },\r\n {\r\n title: '等待采购',\r\n id: 3,\r\n icon: '1-1',\r\n },\r\n {\r\n title: '发往海外',\r\n id: 9,\r\n icon: '1-4',\r\n },\r\n ]\r\n\r\n StatuList = StatuList.concat([\r\n {\r\n title: '等待收货',\r\n id: 180,\r\n icon: '1-8',\r\n },\r\n {\r\n title: '完成',\r\n id: 200,\r\n icon: '1-5',\r\n },\r\n ])\r\n\r\n if (item.value.StatusId == 4) {\r\n SupplementaryAmount.value = getSupplementaryAmount(res.CustomerOrder)\r\n }\r\n\r\n let Statu = StatuList.findIndex((index) => {\r\n return index.id >= item.value.StatusId\r\n })\r\n active.value = Statu\r\n Steps.value = StatuList\r\n }\r\n }\r\n )\r\n}\r\n\r\nconst FreightType = ref(null)\r\nconst ChangeFreightType = () => {\r\n if (FreightType.value) {\r\n const loading = ElLoading.service({\r\n lock: true,\r\n text: 'Loading',\r\n background: 'rgba(0, 0, 0, 0.7)',\r\n })\r\n Api.Post('orders/api/ChangeTranFreightType', {\r\n OrderId: item.value.CustomerOrderId,\r\n TransportationType: FreightType.value,\r\n }).then(() => {\r\n FreightType.value = null\r\n loading.close()\r\n GetOrders()\r\n })\r\n }\r\n}\r\n\r\nconst RemarkLoding = ref(false)\r\nconst setRemark = () => {\r\n let Items = []\r\n item.value.ResponseList.forEach((e) => {\r\n Items.push({ ItemID: e.ItemId, ItemRemark: e.ItemMemo })\r\n })\r\n RemarkLoding.value = true\r\n Api.Post('orders/api/CustomerTagging/', {\r\n OrderID: item.value.CustomerOrderId,\r\n OrderReamrk: item.value.OrderMemo,\r\n Items,\r\n }).then((res) => {\r\n RemarkLoding.value = false\r\n })\r\n}\r\n\r\nconst setArrive = (item) => {\r\n Api.Post('orders/api/SetItemArriveStockOut/', {\r\n ItemList: [\r\n {\r\n ItemId: item.ItemId,\r\n IsArriveStockOut: item.IsArriveStockOut ? 1 : 0,\r\n },\r\n ],\r\n })\r\n}\r\n\r\nonMounted(() => {\r\n store.setState('basic/api/TransnationalType/', { type_id: 1 }, 'FreightTypes')\r\n GetOrders()\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_svg_icon = _resolveComponent(\"svg-icon\")!\n const _component_el_step = _resolveComponent(\"el-step\")!\n const _component_el_steps = _resolveComponent(\"el-steps\")!\n const _component_EditPen = _resolveComponent(\"EditPen\")!\n const _component_el_icon = _resolveComponent(\"el-icon\")!\n const _component_el_radio = _resolveComponent(\"el-radio\")!\n const _component_el_radio_group = _resolveComponent(\"el-radio-group\")!\n const _component_el_popover = _resolveComponent(\"el-popover\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_suffix_img = _resolveComponent(\"suffix-img\")!\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_popconfirm = _resolveComponent(\"el-popconfirm\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_link = _resolveComponent(\"el-link\")!\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (!item.value)\n ? (_openBlock(), _createBlock(Loading, {\n key: 0,\n type: 13\n }))\n : _createCommentVNode(\"\", true),\n (item.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.$t('订单号')) + \": \", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.OrderNo), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createTextVNode(_toDisplayString(_ctx.$t('下单时间')) + \": \", 1),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(formatDate)(item.value.CreatedOn, 'yyyy-MM-dd hh:mm:ss')), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"label\", null, _toDisplayString(item.value.Status), 1),\n (item.value.StatusId == 3)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 0,\n type: \"danger\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (ShowPay.value = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('支付订单')), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (item.value.StatusId == 4)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 1,\n type: \"danger\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (ShowPay.value = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('补款')), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_el_steps, {\n active: active.value,\n \"align-center\": \"\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(Steps.value, (Step, index) => {\n return _withDirectives((_openBlock(), _createBlock(_component_el_step, { key: index }, {\n icon: _withCtx(() => [\n _createVNode(_component_svg_icon, {\n name: Step.icon\n }, null, 8, [\"name\"])\n ]),\n title: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(Step.title)), 1)\n ]),\n _: 2\n }, 1536)), [\n [_vShow, !Step.isType || Step.isType == item.value.PaymentTypeId]\n ])\n }), 128))\n ]),\n _: 1\n }, 8, [\"active\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.$t('收货人信息')), 1),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('收货人')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.ReceiveInformation.ReceiverName), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('地址')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.ReceiveInformation.Address), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('手机号码')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.ReceiveInformation.Mobile), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.$t('配送信息')), 1),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('运输方式')) + \":\", 1),\n _createElementVNode(\"span\", null, [\n _createTextVNode(_toDisplayString(item.value.TransnationalFreightType) + \" \", 1),\n _createVNode(_component_el_popover, {\n placement: \"bottom\",\n title: _ctx.$t('修改运输方式'),\n trigger: \"hover\",\n width: 300\n }, {\n reference: _withCtx(() => [\n (\r\n item.value.StatusId < 7 &&\r\n (item.value.CustomerOrderSourceId == 5 ||\r\n item.value.PurchasingSiteId == 1)\r\n )\n ? (_openBlock(), _createBlock(_component_el_icon, {\n key: 0,\n class: \"ChangeFreight\",\n onClick: ChangeFreightType\n }, {\n default: _withCtx(() => [\n _createVNode(_component_EditPen)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_radio_group, {\n modelValue: FreightType.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((FreightType).value = $event)),\n onChange: ChangeFreightType\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(FreightTypes)?.Types, (FT) => {\n return _withDirectives((_openBlock(), _createBlock(_component_el_radio, {\n key: FT.ID,\n label: FT.ID,\n size: \"large\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(FT.TypeName + ' ' + FT.Days), 1)\n ]),\n _: 2\n }, 1032, [\"label\"])), [\n [_vShow, FT.ID != item.value.TransnationalFreightTypeId]\n ])\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"title\"])\n ])\n ])\n ]),\n (item.value?.Expresses)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('快递公司')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.Expresses.CompanyName), 1)\n ])\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('快递单号')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.Expresses.ExpressNo), 1)\n ])\n ])\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.$t('付款信息')), 1),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('付款方式')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.PaymentType), 1)\n ])\n ]),\n (item.value.WarehouseAddress)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.$t('提货仓库')), 1),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(item.value.WarehouseAddress), 1)\n ])\n ])\n ], 64))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_el_table, {\n data: item.value.ResponseList,\n style: {\"width\":\"100%\"},\n \"header-row-class-name\": \"ProductTab\",\n \"span-method\": arraySpanMethod\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('商品信息'),\n width: \"400\",\n \"header-align\": \"center\"\n }, {\n default: _withCtx(({ row }) => [\n _createElementVNode(\"div\", _hoisted_11, [\n (\r\n item.value.CustomerOrderSourceId != 40 &&\r\n item.value.CustomerOrderSourceId != 10 &&\r\n row.GoodsStatusId <= 10\r\n )\n ? (_openBlock(), _createBlock(_component_el_select, {\n key: 0,\n modelValue: row.IsArriveStockOut,\n \"onUpdate:modelValue\": ($event: any) => ((row.IsArriveStockOut) = $event),\n onChange: ($event: any) => (setArrive(row))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_option, {\n label: _ctx.$t('到齐发货'),\n value: false\n }, null, 8, [\"label\"]),\n _createVNode(_component_el_option, {\n label: _ctx.$t('货到即发'),\n value: true\n }, null, 8, [\"label\"])\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"onChange\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_suffix_img, {\n url: row.ImagePath,\n type: 5\n }, null, 8, [\"url\"]),\n _createElementVNode(\"div\", {\n class: \"SkuTitle\",\n onClick: ($event: any) => (productDetails(row))\n }, [\n _createElementVNode(\"p\", null, _toDisplayString(row.Product), 1),\n _createElementVNode(\"p\", null, _toDisplayString(row.SkuTitle), 1)\n ], 8, _hoisted_12)\n ])\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n prop: \"GoodsStatus\",\n label: _ctx.$t('状态'),\n align: \"center\"\n }, null, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n prop: \"Quantity\",\n label: _ctx.$t('数量'),\n align: \"center\"\n }, null, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n label: _ctx.$t(item.value.ShopId ? '运费' : '中中运费'),\n align: \"center\"\n }, {\n default: _withCtx(({ row }) => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(item.value.Cn2CnFreightList, (Freight, index) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: index }, [\n _withDirectives(_createElementVNode(\"div\", null, _toDisplayString(_ctx.$currency.B) + \" \" + _toDisplayString(_unref(numberFormat)(Freight.LocalFreightAmount)), 513), [\n [_vShow, Freight.ShopId == row.ShopId]\n ]),\n (Freight.ShopId == row.ShopId && Freight.LocalDifference)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createElementVNode(\"p\", null, _toDisplayString(Freight.ReasonType), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$currency.B) + \" \" + _toDisplayString(_unref(numberFormat)(Freight.LocalDifference)), 1),\n _createVNode(_component_el_popconfirm, {\n title: _ctx.$t('是否取消'),\n onConfirm: ($event: any) => (CancelSupplementaryPayment(null, row.ShopId))\n }, {\n reference: _withCtx(() => [\n _createVNode(_component_el_button, {\n size: \"small\",\n type: \"danger\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('取消补款')), 1)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"title\", \"onConfirm\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('单价'),\n align: \"center\"\n }, {\n default: _withCtx(({ row }) => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$currency.B) + \" \" + _toDisplayString(_unref(numberFormat)(row.Price)), 1),\n (row.LocalActualAmount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t('补货款')), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$currency.B) + \" \" + _toDisplayString(_unref(numberFormat)(row.LocalActualAmount)), 1),\n _createElementVNode(\"p\", null, _toDisplayString(row.ReasonType), 1),\n _createVNode(_component_el_popconfirm, {\n title: _ctx.$t('是否取消'),\n onConfirm: ($event: any) => (CancelSupplementaryPayment(row.ItemId, null))\n }, {\n reference: _withCtx(() => [\n _createVNode(_component_el_button, {\n size: \"small\",\n type: \"danger\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('取消补款')), 1)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"title\", \"onConfirm\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('小计'),\n align: \"center\"\n }, {\n default: _withCtx(({ row }) => [\n _createTextVNode(\" $\" + _toDisplayString(_unref(numberFormat)(row.TotalItemAmount)), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n align: \"center\",\n width: \"200\"\n }, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('备注')) + \" \", 1),\n (item.value.CustomerOrderSourceId == 5)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 0,\n type: \"danger\",\n loading: RemarkLoding.value,\n onClick: setRemark\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('保存')), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(({ row }) => [\n _createVNode(_component_el_tooltip, {\n class: \"box-item\",\n effect: \"dark\",\n content: _ctx.$t('仅自己可见'),\n placement: \"top\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: row.ItemMemo,\n \"onUpdate:modelValue\": ($event: any) => ((row.ItemMemo) = $event),\n rows: 1,\n type: \"textarea\",\n disabled: item.value.CustomerOrderSourceId == 5 ? false : true\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"disabled\"])\n ]),\n _: 2\n }, 1032, [\"content\"]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_el_input, {\n modelValue: row.Remark,\n \"onUpdate:modelValue\": ($event: any) => ((row.Remark) = $event),\n rows: 2,\n disabled: \"\",\n type: \"textarea\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _withDirectives(_createVNode(_component_suffix_img, {\n url: row.RemarkUrl,\n preview: true,\n type: 0\n }, null, 8, [\"url\"]), [\n [_vShow, row.RemarkUrl != '']\n ])\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('操作'),\n align: \"center\"\n }, {\n default: _withCtx(({ row }) => [\n _withDirectives(_createVNode(_component_el_button, {\n onClick: ($event: any) => (SaleClick(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('发起售后')), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]), [\n [_vShow, \r\n row.HaveAfterSale == 0 &&\r\n row.GoodsStatusId == 180 &&\r\n item.value.PaymentTypeId != 2\r\n ]\n ])\n ]),\n _: 1\n }, 8, [\"label\"])\n ]),\n _: 1\n }, 8, [\"data\"]),\n _withDirectives(_createVNode(_component_el_table, {\n data: SaleOrderList.value,\n style: {\"width\":\"100%\"},\n \"header-row-class-name\": \"ProductTab\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('商品信息'),\n width: \"300\",\n \"header-align\": \"center\"\n }, {\n default: _withCtx(({ row }) => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(row.Items, (Item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"Product\",\n key: Item\n }, [\n _createVNode(_component_suffix_img, {\n url: Item.ProductImgUrl,\n type: 5\n }, null, 8, [\"url\"]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"p\", null, _toDisplayString(Item.ProductName), 1),\n _createElementVNode(\"p\", null, _toDisplayString(Item.SkuTitle), 1)\n ])\n ]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('发起时间'),\n align: \"center\"\n }, {\n default: _withCtx(({ row }) => [\n _createTextVNode(_toDisplayString(moment(row.CreationTime).format('YYYY-MM-DD HH:mm:ss')), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n prop: \"SaleOrderNo\",\n label: _ctx.$t('售后订单'),\n align: \"center\"\n }, null, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n prop: \"SaleType\",\n label: _ctx.$t('类型'),\n align: \"center\"\n }, null, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n prop: \"Statu\",\n label: _ctx.$t('状态'),\n align: \"center\"\n }, null, 8, [\"label\"]),\n _createVNode(_component_el_table_column, {\n label: _ctx.$t('操作'),\n align: \"center\"\n }, {\n default: _withCtx(({ row }) => [\n _withDirectives(_createVNode(_component_el_link, {\n target: \"_blank\",\n style: {\"margin\":\"0 10px 0 0\"},\n onClick: ($event: any) => (isEnterPackage(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('录入包裹')), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]), [\n [_vShow, row.StatuId == 5]\n ]),\n _withDirectives(_createVNode(_component_el_link, {\n target: \"_blank\",\n style: {\"margin\":\"0 10px 0 0\"},\n onClick: ($event: any) => (isEnterPackage(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('申请平台介入')), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]), [\n [_vShow, row.StatuId == 2]\n ]),\n _withDirectives(_createVNode(_component_el_link, {\n target: \"_blank\",\n style: {\"margin\":\"0 10px 0 0\"},\n onClick: ($event: any) => (Cancel(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('撤销申请')), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]), [\n [_vShow, row.StatuId == 1]\n ]),\n _createVNode(_component_router_link, {\n to: {\r\n name: 'afterSalesOrder',\r\n query: { id: row.SaleOrderNo },\r\n }\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_link, { target: \"_blank\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('售后详情')), 1)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"to\"])\n ]),\n _: 1\n }, 8, [\"label\"])\n ]),\n _: 1\n }, 8, [\"data\"]), [\n [_vShow, SaleOrderList.value?.length]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_17, [\n _withDirectives(_createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_el_tooltip, {\n class: \"box-item\",\n effect: \"dark\",\n content: _ctx.$t('仅自己可见'),\n placement: \"top\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: item.value.OrderMemo,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((item.value.OrderMemo) = $event)),\n rows: 5,\n type: \"textarea\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"content\"]),\n _createElementVNode(\"p\", null, [\n (item.value.CustomerOrderSourceId == 5)\n ? (_openBlock(), _createBlock(_component_el_button, {\n key: 0,\n type: \"danger\",\n loading: RemarkLoding.value,\n onClick: setRemark\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('保存')), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]))\n : _createCommentVNode(\"\", true)\n ])\n ], 512), [\n [_vShow, item.value.CustomerOrderSourceId == 5]\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n (!SupplementaryAmount.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('总金额')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.Cn2TransnationalCurrency) + \" \" + _toDisplayString(_unref(numberFormat)(item.value.ItemsTotalAmount)), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('运费')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.Cn2TransnationalCurrency) + \" \" + _toDisplayString(_unref(numberFormat)(item.value.CnFreightAmount)), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('保险费')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.Cn2TransnationalCurrency) + \" \" + _toDisplayString(_unref(numberFormat)(item.value.InsuranceFees)), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('应付金额')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.Cn2TransnationalCurrency) + \" \" + _toDisplayString(_unref(numberFormat)(item.value.TotalAmount)), 1)\n ])\n ], 64))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('已付金额')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.Cn2TransnationalCurrency) + \" \" + _toDisplayString(_unref(numberFormat)(item.value.PaidAmount)), 1)\n ]),\n (SupplementaryAmount.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('补款金额')) + \":\", 1),\n _createElementVNode(\"span\", null, _toDisplayString(item.value.Cn2TransnationalCurrency) + \" \" + _toDisplayString(_unref(numberFormat)(SupplementaryAmount.value)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n (ShowEnter.value)\n ? (_openBlock(), _createBlock(EnterPackage, {\n key: 0,\n SkuItem: SkuItem.value,\n ShowEnter: ShowEnter.value,\n onHideEnter: _cache[4] || (_cache[4] = ($event: any) => (ShowEnter.value = false)),\n onEnterChange: _cache[5] || (_cache[5] = ($event: any) => {;(ShowEnter.value = false), GetOrders()})\n }, null, 8, [\"SkuItem\", \"ShowEnter\"]))\n : _createCommentVNode(\"\", true),\n (item.value && Sku.value)\n ? (_openBlock(), _createBlock(SalesType, {\n key: 1,\n ShowSale: ShowSale.value,\n OrderNo: item.value.OrderNo,\n Sku: [Sku.value],\n onHideSale: _cache[6] || (_cache[6] = ($event: any) => (ShowSale.value = false)),\n onSaleChange: _cache[7] || (_cache[7] = ($event: any) => {;(ShowSale.value = false), GetOrders()})\n }, null, 8, [\"ShowSale\", \"OrderNo\", \"Sku\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(Pay, {\n Date: PayDate.value,\n ShowPay: ShowPay.value,\n SourceId: SourceId.value,\n onPayChange: _cache[8] || (_cache[8] = ($event: any) => (ShowPay.value = false))\n }, null, 8, [\"Date\", \"ShowPay\", \"SourceId\"])\n ], 64))\n}\n}\n\n})","import script from \"./order-details.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./order-details.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./order-details.vue?vue&type=style&index=0&id=1b493d1a&lang=scss\"\nimport \"./order-details.vue?vue&type=style&index=1&id=1b493d1a&lang=scss\"\nimport \"./order-details.vue?vue&type=style&index=2&id=1b493d1a&scoped=true&lang=scss\"\n\nimport exportComponent from \"F:\\\\NewLODAPC\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1b493d1a\"]])\n\nexport default __exports__","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./order-details.vue?vue&type=style&index=2&id=1b493d1a&scoped=true&lang=scss\"","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2f8c2662\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"enter_package\" }\nconst _hoisted_2 = { class: \"dialog-footer\" }\n\nimport { ref, reactive, onMounted, watch } from 'vue'\r\nimport type { FormInstance, FormRules } from 'element-plus'\r\nimport * as Api from '@/utils/api'\r\nimport { useI18n } from 'vue-i18n'\r\nimport OSS from '@/components/oss.vue'\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'enter_package',\n props: {\r\n SkuItem: Object,\r\n ShowEnter: Boolean,\r\n},\n emits: ['EnterChange', 'HideEnter'],\n setup(__props, { emit }) {\n\nconst props = __props\n\r\nconst { t } = useI18n()\r\n\r\n\r\nconst DoneEnter = () => {\r\n emit('HideEnter')\r\n}\r\n\r\nconst SaleRef = ref()\r\nconst title = ref(null)\r\n\r\nconst SaleRules = reactive({\r\n Remark: [{ required: true, message: t('不能为空'), trigger: 'blur' }],\r\n})\r\n\r\nconst EnterLoad = ref(false)\r\n\r\nconst SaleForm = reactive({\r\n CompanyId: null,\r\n ImgUrlList: [],\r\n Remark: null,\r\n})\r\n\r\nconst SubmitSale = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate((valid, fields) => {\r\n if (valid) {\r\n let body = {\r\n ImgUrlList: [],\r\n }\r\n body.ImgUrlList = body.ImgUrlList.map((item) => {\r\n return item.url\r\n })\r\n\r\n console.log(body)\r\n if (props.SkuItem.StatuId != 2) {\r\n body = {\r\n AfterSaleId: props.SkuItem.Id,\r\n ExpressNo: SaleForm.Remark,\r\n CompanyId: SaleForm.CompanyId,\r\n ImgUrlList: body.ImgUrlList,\r\n }\r\n EnterLoad.value = true\r\n\r\n Api.Post('orders/api/SaleAddExpress', body).then((res) => {\r\n EnterLoad.value = false\r\n emit('EnterChange')\r\n })\r\n } else {\r\n body = {\r\n SaleOrderNo: props.SkuItem.SaleOrderNo,\r\n Remark: SaleForm.Remark,\r\n ImgUrlList: body.ImgUrlList,\r\n }\r\n EnterLoad.value = true\r\n Api.Post('orders/api/SalePlatformIntervention', body).then((res) => {\r\n EnterLoad.value = false\r\n emit('EnterChange')\r\n })\r\n }\r\n }\r\n })\r\n}\r\n\r\n\r\nconst DictionaryList = ref(null)\r\n\r\nwatch(\r\n () => props.SkuItem.StatuId,\r\n (val) => {\r\n title.value = val == 2 ? t('客服介入') : t('录入包裹')\r\n if (val != 2) {\r\n Api.Get('basic/api/BasicDictionary/', {\r\n type_id: 196,\r\n }).then((res) => {\r\n DictionaryList.value = res.BasicDictionaryList\r\n SaleForm.CompanyId = res.BasicDictionaryList[0].DicValue\r\n })\r\n }\r\n },\r\n {\r\n deep: true,\r\n immediate: true,\r\n }\r\n)\r\n\r\nonMounted(() => {})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_option = _resolveComponent(\"el-option\")!\n const _component_el_select = _resolveComponent(\"el-select\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_el_dialog, {\n modelValue: props.ShowEnter,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((props.ShowEnter) = $event)),\n title: title.value,\n width: \"800px\",\n \"before-close\": DoneEnter,\n center: true\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_2, [\n _createVNode(_component_el_button, {\n onClick: DoneEnter,\n size: \"large\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('关闭')), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"danger\",\n size: \"large\",\n loading: EnterLoad.value,\n onClick: _cache[2] || (_cache[2] = ($event: any) => (SubmitSale(SaleRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('提交')), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n ref_key: \"SaleRef\",\n ref: SaleRef,\n model: SaleForm,\n rules: SaleRules,\n \"label-position\": \"top\",\n class: \"PackageForm\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('售后单号')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.SkuItem.SaleOrderNo), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('类型')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.SkuItem.SaleType), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('状态')\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.SkuItem.Statu), 1)\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_el_form_item, {\n label: props.SkuItem.StatuId == 2 ? _ctx.$t('介入原因') : _ctx.$t('快递单号'),\n prop: \"Remark\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: SaleForm.Remark,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((SaleForm.Remark) = $event)),\n placeholder: _ctx.$t('请输入')\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ]),\n _: 1\n }, 8, [\"label\"]),\n (props.SkuItem.StatuId != 2)\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 0,\n label: _ctx.$t('选择快递')\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_select, {\n modelValue: SaleForm.CompanyId,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((SaleForm.CompanyId) = $event)),\n placeholder: _ctx.$t('请选择'),\n size: \"large\",\n class: \"cancelOrder\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(DictionaryList.value, (cancel) => {\n return (_openBlock(), _createBlock(_component_el_option, {\n key: cancel.DicValue,\n label: cancel.DicName,\n value: cancel.DicValue\n }, null, 8, [\"label\", \"value\"]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"placeholder\"])\n ]),\n _: 1\n }, 8, [\"label\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_el_form_item, {\n label: _ctx.$t('上传凭证')\n }, {\n default: _withCtx(() => [\n _createVNode(OSS, {\n type: 4,\n imgList: SaleForm.ImgUrlList,\n max: 2\n }, null, 8, [\"imgList\"])\n ]),\n _: 1\n }, 8, [\"label\"])\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"title\"])\n ]))\n}\n}\n\n})","import script from \"./enter_package.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./enter_package.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./enter_package.vue?vue&type=style&index=0&id=2f8c2662&scoped=true&lang=scss\"\n\nimport exportComponent from \"F:\\\\NewLODAPC\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2f8c2662\"]])\n\nexport default __exports__","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./order-details.vue?vue&type=style&index=0&id=1b493d1a&lang=scss\""],"sourceRoot":""}