Commit 2c2dcfc4 by wangzhihui

Merge branch 'SAAS+V5.5.0' of http://192.168.3.233:8090/saas_plus/dj-car-life-sy…

…stem into SAAS+V5.5.0
2 parents 0fdc40c1 45a01a0a
......@@ -815,6 +815,16 @@ export const routerName = {
parentId: "90516",
cache: false
},
auth: [
{
authId: "9051612",
parentId: "905160501",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
}
],
component: _import("financeManage/prepaymentManage/detail")
}
}
......@@ -9,12 +9,19 @@
门店名称:
<div class="price">{{ routerInfo.merchantName }}</div>
</div>
<span data-event-code="prepaymentManage_detail_export">
<auth-button category="Button" :show-btn-ids="['9051604']" />
</span>
</template>
<div class="btns flex">
<span data-event-code="prepaymentManage_detail_export">
<!-- <span data-event-code="prepaymentManage_Export">
<auth-button category="Button" :show-btn-ids="['9051604']" />
</span> -->
<!-- <auth-button :show-btn-ids="['9040206', '9040201', '9040202', '9040203', '9040205']"
category="Button" /> -->
<span data-event-code="prepaymentManage_detail_export">
<auth-button category="Button" :show-btn-ids="['9051612']" />
</span>
</div>
</d2-table-header>
......@@ -104,6 +111,11 @@ export default {
minWidth: 90,
},
{
label: "日均流量费",
prop: "dayAvgTrafficFee",
minWidth: 90,
},
{
label: "备注",
prop: "remark",
minWidth: 120,
......@@ -162,7 +174,7 @@ export default {
// delete params.amtList
// delete params.operationTime
// console.log(JSON.parse(JSON.stringify(params)))
// return params
return this.searchFormSearch
},
handleAddUsedQuota() {
this.authPhoneDialogVisible = true
......@@ -173,7 +185,8 @@ export default {
},
handleExport() {
let params = {
method: "dj.smartcarlife.api.fund.usage.limit.export.async",
// 导出门店预付款明细列表(异步)
method: "dj.api.smartcarlife.advancePayment.shopDetailPage.export.async",
...this.getParams()
}
......@@ -185,7 +198,7 @@ export default {
const list = [
...this.dowloadList,
{
name: "预付款管理记录列表详情",
name: "门店预付款明细列表",
exportParam: JSON.stringify(params),
status: "waiting",
timeid: new Date().getTime()
......
......@@ -118,12 +118,13 @@ export default {
maxlength: 50
},
{
label: "门店商户号",
name: "merchantId",
inputType: "number",
type: "input",
isClear: true,
maxlength: 20
maxlength: "9"
},
],
getListApi: advancePaymentPage,
......
......@@ -413,11 +413,11 @@ export default {
},
{
label: "今日店端实际发券数",
prop: "equityToShopCount",
prop: "issueCouponCount",
formatter: (cellValue) => {
return (cellValue.equityToShopCount ?? "") === ""
return (cellValue.issueCouponCount ?? "") === ""
? "-"
: cellValue.equityToShopCount
: cellValue.issueCouponCount
}
},
{
......@@ -449,13 +449,13 @@ export default {
},
{
label: "当日调休",
prop: "equityToShopCount",
formatter: (cellValue) => {
// Y-是 N-否
return (cellValue.onBreak ?? "") === ""
? "-"
: cellValue.onBreak === "Y" ? "是" : "否"
}
prop: "onBreak"
// formatter: (cellValue) => {
// // Y-是 N-否
// return (cellValue.onBreak ?? "") === ""
// ? "-"
// : cellValue.onBreak === "Y" ? "是" : "否"
// }
},
{
label: "今日成交金额",
......@@ -465,7 +465,7 @@ export default {
? "-"
: cellValue.totalOrderMoney
}
},
}
// {
// label: "成交量(轻改)",
......
......@@ -304,8 +304,8 @@ export default {
if (this.tableSearchForm.placeOrderTimeStr) {
this.tableSearchForm.orderTimeStr[0] = new Date(this.tableSearchForm.placeOrderTimeStr[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00'
this.tableSearchForm.orderTimeStr[1] = new Date(this.tableSearchForm.placeOrderTimeStr[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59'
delete this.tableSearchForm.placeOrderTimeStr
}
delete this.tableSearchForm.placeOrderTimeStr
if (this.tableSearchForm.statuses) {
if (this.tableSearchForm.statuses == 6) {
this.tableSearchForm.statuses = [6, 7]
......
......@@ -310,8 +310,8 @@ export default {
if (this.tableSearchForm.placeOrderTimeStr) {
this.tableSearchForm.orderTimeStr[0] = new Date(this.tableSearchForm.placeOrderTimeStr[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00'
this.tableSearchForm.orderTimeStr[1] = new Date(this.tableSearchForm.placeOrderTimeStr[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59'
delete this.tableSearchForm.placeOrderTimeStr
}
delete this.tableSearchForm.placeOrderTimeStr
if (this.tableSearchForm.statuses) {
if (this.tableSearchForm.statuses == 2) {
this.tableSearchForm.statuses = [2, 5]
......
......@@ -746,7 +746,6 @@ export default {
new Date(this.tableSearchForm.placeOrderTimeStr[1])
.toLocaleDateString()
.replace(/\//g, "-") + " 23:59:59"
delete this.tableSearchForm.placeOrderTimeStr
}
if (this.tableSearchForm.reviewedTimeStr) {
this.tableSearchForm.reviewedStartDateStr =
......@@ -757,19 +756,14 @@ export default {
new Date(this.tableSearchForm.reviewedTimeStr[1])
.toLocaleDateString()
.replace(/\//g, "-") + " 23:59:59"
delete this.tableSearchForm.reviewedTimeStr
}
if (this.tableSearchForm.deliveryDateStr) {
this.tableSearchForm.deliveryStartDateStr =
new Date(this.tableSearchForm.deliveryDateStr[0])
.toLocaleDateString()
.replace(/\//g, "-") + " 00:00:00"
this.tableSearchForm.deliveryEndDateStr =
new Date(this.tableSearchForm.deliveryDateStr[1])
.toLocaleDateString()
.replace(/\//g, "-") + " 23:59:59"
delete this.tableSearchForm.deliveryDateStr
this.tableSearchForm.deliveryStartDateStr = Util.dateFormate(this.tableSearchForm.deliveryDateStr[0], 'YYYY-MM-DD 00:00:00')
this.tableSearchForm.deliveryEndDateStr = Util.dateFormate(this.tableSearchForm.deliveryDateStr[1], 'YYYY-MM-DD 23:59:59')
}
delete this.tableSearchForm.placeOrderTimeStr
delete this.tableSearchForm.reviewedTimeStr
delete this.tableSearchForm.deliveryDateStr
},
handleReset() {
for (const key in this.searchForm) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!