调整
This commit is contained in:
55932
node_modules/vue-plugin-hiprint/dist/vue-plugin-hiprint.js
generated
vendored
55932
node_modules/vue-plugin-hiprint/dist/vue-plugin-hiprint.js
generated
vendored
File diff suppressed because one or more lines are too long
@@ -22,7 +22,7 @@
|
|||||||
"*://*.shein.com/",
|
"*://*.shein.com/",
|
||||||
"*://*.geiwohuo.com/",
|
"*://*.geiwohuo.com/",
|
||||||
"*://*.ltwebstatic.com/",
|
"*://*.ltwebstatic.com/",
|
||||||
"*://*.rqlis.com*"
|
"*://*.rqlis.com"
|
||||||
],
|
],
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"cookies",
|
"cookies",
|
||||||
|
|||||||
@@ -182,10 +182,13 @@ import JsonExcel from 'vue-json-excel'
|
|||||||
this.rejectShow = true
|
this.rejectShow = true
|
||||||
},
|
},
|
||||||
async toReject() {
|
async toReject() {
|
||||||
this.$refs.rejectForm.validate((valid) => {
|
this.$refs.rejectForm.validate(async (valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
this.loadingText = '正在拼命处理中~'
|
||||||
|
this.isLoading = true
|
||||||
this.rejectShow = false
|
this.rejectShow = false
|
||||||
this.reject()
|
await this.reject()
|
||||||
|
this.isLoading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -203,20 +206,21 @@ import JsonExcel from 'vue-json-excel'
|
|||||||
return item.skus == obj[0].skus
|
return item.skus == obj[0].skus
|
||||||
})
|
})
|
||||||
let params = {}
|
let params = {}
|
||||||
if (obj[0].num == 1) {
|
if (obj.length > 1) {
|
||||||
params = {
|
|
||||||
adjustId: obj[0].id,
|
|
||||||
reason: this.rejectForm.reason,
|
|
||||||
result: 2
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
params.adjustId = obj[0].id
|
params.adjustId = obj[0].id
|
||||||
params.adjustResultMap = {}
|
params.adjustResultMap = {}
|
||||||
for (let k = 0; k < obj.length; k++) {
|
for (let k = 0; k < obj.length; k++) {
|
||||||
params.adjustResultMap[obj[k].id] = 2
|
params.adjustResultMap[obj[k].id] = 2
|
||||||
}
|
}
|
||||||
params.result = 2
|
params.result = 2
|
||||||
|
} else {
|
||||||
|
params = {
|
||||||
|
adjustId: obj[0].id,
|
||||||
|
reason: this.rejectForm.reason,
|
||||||
|
result: 2
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
// console.log(obj[0].mallName, params)
|
||||||
let res = await sendChromeAPIMessage({
|
let res = await sendChromeAPIMessage({
|
||||||
url: 'gmp/bg/magneto/api/price/purchase-adjust/review',
|
url: 'gmp/bg/magneto/api/price/purchase-adjust/review',
|
||||||
needMallId: true,
|
needMallId: true,
|
||||||
|
|||||||
@@ -548,6 +548,7 @@ import { DualAxes } from '@antv/g2plot'
|
|||||||
if (item.productSkcId == this.skcList[i].productSkcId) {
|
if (item.productSkcId == this.skcList[i].productSkcId) {
|
||||||
this.skcList[i].saleAmount = this.skcList[i].saleAmount + item.saleAmount
|
this.skcList[i].saleAmount = this.skcList[i].saleAmount + item.saleAmount
|
||||||
this.skcList[i].costAmount = this.skcList[i].costAmount + item.costAmount
|
this.skcList[i].costAmount = this.skcList[i].costAmount + item.costAmount
|
||||||
|
this.skcList[i].saleCount = this.skcList[i].saleCount + item.saleCount
|
||||||
this.skcList[i].profitAmount = this.skcList[i].profitAmount + item.profitAmount
|
this.skcList[i].profitAmount = this.skcList[i].profitAmount + item.profitAmount
|
||||||
flag = true
|
flag = true
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<ai-title
|
<ai-title
|
||||||
slot="title"
|
slot="title"
|
||||||
title="物流统计"
|
title="物流统计"
|
||||||
tips="数据来源于“履约服务账单->明细->缴费记录"
|
tips="数据来源于“履约服务账单->明细->缴费记录”"
|
||||||
isShowBottomBorder>
|
isShowBottomBorder>
|
||||||
</ai-title>
|
</ai-title>
|
||||||
<template slot="content">
|
<template slot="content">
|
||||||
@@ -184,7 +184,7 @@ import {sendChromeAPIMessage } from '@/api/chromeApi'
|
|||||||
let item = res.result.list[i]
|
let item = res.result.list[i]
|
||||||
this.totalLogisticFee += item.amount
|
this.totalLogisticFee += item.amount
|
||||||
|
|
||||||
this.transList.push(item.ptransId)
|
this.transList.push({ptransId: item.ptransId, chargeType: item.chargeType} )
|
||||||
}
|
}
|
||||||
if ((this.reqData.pageSize * this.reqData.pageNum) < res.result.total) {
|
if ((this.reqData.pageSize * this.reqData.pageNum) < res.result.total) {
|
||||||
this.reqData.pageNum ++
|
this.reqData.pageNum ++
|
||||||
@@ -203,10 +203,10 @@ import {sendChromeAPIMessage } from '@/api/chromeApi'
|
|||||||
needMallId: true,
|
needMallId: true,
|
||||||
mallId: this.$store.state.mallList[0].mallId,
|
mallId: this.$store.state.mallList[0].mallId,
|
||||||
data: {
|
data: {
|
||||||
chargeType: 0,
|
chargeType: this.transList[i].chargeType,
|
||||||
pageSize: 100,
|
pageSize: 100,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
ptransId: this.transList[i]
|
ptransId: this.transList[i].ptransId
|
||||||
}})
|
}})
|
||||||
if (res.errorCode == 1000000) {
|
if (res.errorCode == 1000000) {
|
||||||
for (let k = 0; k < res.result.list.length; k++) {
|
for (let k = 0; k < res.result.list.length; k++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user