{"remainingRequest":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\receiptManagement\\confirmationReceipt\\component\\confirmationReceiptDetail.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\receiptManagement\\confirmationReceipt\\component\\confirmationReceiptDetail.vue","mtime":1713259781147},{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport Breadcrumb from '@/components/Breadcrumb/index.vue'\r\nimport salesOrder from '@/api/BasicDataManagement/salesOrder.js'\r\nimport utils from '@/utils.js'\r\nexport default {\r\n name: 'confirmationReceiptDetail',\r\n components: {Breadcrumb},\r\n data() {\r\n return {\r\n breadcrumbOpt: [{breadcrumbName: '收货确认'}, {breadcrumbName: '详情'}],\r\n parameter: {},\r\n }\r\n },\r\n created() {\r\n if (this.$route.query.detailRows) {\r\n let row = JSON.parse(JSON.stringify(this.$route.query.detailRows))\r\n\r\n this.selectOne(row)\r\n }\r\n },\r\n mounted() {},\r\n methods: {\r\n selectOne(row) {\r\n salesOrder.selectOne(row.id).then((res) => {\r\n console.log(res)\r\n this.parameter = res.data.value\r\n if (!this.parameter.detailList) {\r\n this.parameter.detailList = []\r\n } else {\r\n this.parameter.detailList.forEach((item) => {\r\n item.TaxPrice = item.transactionPrice / item.num\r\n })\r\n }\r\n })\r\n },\r\n //收货\r\n shipmentsBtn() {\r\n this.$confirm('确定要收货吗?', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning',\r\n }).then(() => {\r\n salesOrder.batchReceipt(this.parameter.bizReceipt.id).then((res) => {\r\n if (res.data.state) {\r\n this.$message.success('收货成功!')\r\n this.$router.go(-1)\r\n }\r\n })\r\n })\r\n },\r\n // 关闭//面包屑点击\r\n handleClose() {\r\n this.$router.push({\r\n name: 'confirmationReceipt',\r\n params: {\r\n pageBean: this.$route.query.pageBean,\r\n },\r\n })\r\n this.parameter = {}\r\n },\r\n //详情\r\n detail(val) {\r\n if (val) {\r\n this.modifychoData(val)\r\n }\r\n },\r\n //获取详情\r\n modifychoData(val) {},\r\n },\r\n}\r\n",null]}