Commit 69c84edd by wangzhihui

Merge branch 'SAAS+V4.51.1-0415' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.51.1-0415
2 parents f8ea35e0 d5b65f35
......@@ -418,6 +418,7 @@ import { mapActions, mapState, mapMutations } from "vuex"
import { getParkStore } from "@api/editCustomer"
import chooseRuleDialog from './chooseRuleDialog'
import ruleInfoDialog from './ruleInfoDialog'
import { deepClone } from "@/common/util"
export default {
name: "CarDamage",
components: {
......@@ -1135,11 +1136,9 @@ export default {
},
getList() {
var params = this.getParams()
params = {
...this.page,
...params
}
getList(params).then((res) => {
let eventParams = deepClone({ ...this.page, ...params })
if (eventParams?.zyVoucherStatus == 1) eventParams.status = 13
getList(eventParams).then((res) => {
this.tableData = res.list.map((item) => {
item.paySuccessDate = item.paySuccessDate
? Util.dateFormate(item.paySuccessDate, "YYYY-MM-DD HH:mm:ss")
......@@ -1153,10 +1152,9 @@ export default {
},
getOrderCount() {
var params = this.getParams()
params = {
...params
}
getOrderCount(params).then((res) => {
let eventParams = deepClone({ ...params })
if (eventParams?.zyVoucherStatus == 1) eventParams.status = 13
getOrderCount(eventParams).then((res) => {
this.totalCount = res.totalPriceCount
})
},
......@@ -1177,11 +1175,13 @@ export default {
}
params.pageNum = 1
params.method = "dj.api.smartcarlife.ordermanage.export.async"
let eventParams = deepClone({ ...params })
if (eventParams?.zyVoucherStatus == 1) eventParams.status = 13
const list = [
...this.dowloadList,
{
name: "订单列表",
exportParam: JSON.stringify(params),
exportParam: JSON.stringify(eventParams),
status: "waiting",
timeid: new Date().getTime()
}
......@@ -1193,11 +1193,13 @@ export default {
var params = this.getParams()
params.pageNum = 1
params.method = "dj.api.smartcarlife.order.residentEquity.export.async"
let eventParams = deepClone({ ...params })
if (eventParams?.zyVoucherStatus == 1) eventParams.status = 13
const list = [
...this.dowloadList,
{
name: "分润&成本分析",
exportParam: JSON.stringify(params),
exportParam: JSON.stringify(eventParams),
status: "waiting",
timeid: new Date().getTime()
}
......
......@@ -95,7 +95,7 @@
</div>
</el-form-item>
<el-form-item
label="延保协议:"
label="合同协议:"
class="photoItem photoItemList"
v-if="$$(detail.payOrder, 'zyVoucherUrl')"
>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!