Commit 908ca785 by wangql

修复第一轮测试BUG

1 parent a2029d7b
......@@ -2,7 +2,7 @@
# 测试环境(http://frontend.test.glsx.com.cn/dj-carlife-web/#/login) glsadmin admin123
# 生产环境(http://dj.glsx.com.cn/dj-carlife-web/#/login) liushiquan1 liushiq123
# 生产环境(http://dj.glsx.com.cn/dj-carlife-web/#/login) liushiquan1 liushiq123
预发布账号: yfbyyb a123456
......@@ -37,3 +37,5 @@ dev_4.13.0 分支以上线并往 develop 以及 master 上合并
提测由于部署问题,直接从 dev_4.14.0 拉取 dev_4.14.1 代码相同的分支做部署
12 月大版本下部分 从测试中的分支 dev_4.14.1 拉取 dev_4.14.2 分支去做 清分及对账优化 版本,待 dev_4.14.1 上线后将代码合并进开发中的 dev_4.14.2
dev_4.14.1 上线后已合并到主干上以及 dev_v4.14.2 上
紧急版本 dev_v4.14.1.2 上线后以合并到 develop 以及 master 主干上,版本代码已合并到提测版本 dev_v4.14.2 上
......@@ -282,6 +282,7 @@ export default {
if (infoForm.merchantType == '7') {
params.reportType = infoForm.reportType
}
params.sceneType = this.scene
params.method = 'dj.api.smartcarlife.goodsOrderProfitAllocation.exportAccountStatementForAudit.async'
console.log('params', params)
const list = [
......
......@@ -379,14 +379,20 @@ export default {
...mapActions({ close: 'd2admin/page/close' }),
getDetail(row) {
if (this.isSubOrder) {
subOrderDetail({ subOrderCode: row.orderCode }).then(res => {
if (this.$route.params.from && this.$route.params.from == 'orderSupplement') {//从待补录订单列表跳转过来
mainOrderDetail({ orderCode: row.inputtedOrderCode }).then(res => {
this.pushData(res)
})
} else {
mainOrderDetail({ orderCode: row.orderCode }).then(res => {
this.pushData(res)
})
if (this.isSubOrder) {
subOrderDetail({ subOrderCode: row.orderCode }).then(res => {
this.pushData(res)
})
} else {
mainOrderDetail({ orderCode: row.orderCode }).then(res => {
this.pushData(res)
})
}
}
},
......
......@@ -141,7 +141,7 @@
查询
</el-button>
<el-button size="small"
@click="handleReset">
@click="handleReset(searchForm.sceneType)">
重置
</el-button>
</div>
......@@ -538,13 +538,13 @@
width="120"
fixed="right">
<template slot-scope="scope">
<el-button type="text"
<!-- <el-button type="text"
size="mini"
style="margin-right: 10px;"
v-if="scope.row.hasOwnProperty('subOrderProfitAllocations') && scope.row.channelType == 2"
@click="exWarehouse(scope.row)">
出库
</el-button>
</el-button> -->
<auth-button :data="scope" />
</template>
</el-table-column>
......@@ -726,15 +726,16 @@ export default {
optionLabel: 'merchantName',
optionsName: 'PlatformMerchantList'
},
// {
// label: '出库状态',
// name: 'outboundStatus',
// type: 'select',
// optionList: [],
// optionId: 'confId',
// optionLabel: 'confLabel',
// optionsName: 'warehouseStatusList'
// },
{
label: '出库状态',
name: 'outboundStatus',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confLabel',
optionsName: 'warehouseStatusList'
}, {
label: '渠道',
name: 'channelType',
type: 'select',
......@@ -908,6 +909,7 @@ export default {
this.shopProfitType_visible = false
this.yq_visible = false
}
this.handleReset(val)
this.getList()
this.getTotal()
}
......@@ -933,7 +935,7 @@ export default {
this.financeChart.setOption(funnelOption)
})
},
handleReset() {
handleReset(sceneType) {
this.searchForm = {
time: '',
yqMerchantId: '',
......@@ -943,7 +945,8 @@ export default {
platformMerchantId: '',
outboundStatus: '',
channelType: '',
businessModel: ''
businessModel: '',
sceneType: sceneType
}
this.searchSelectObj = {
orderOrTrade: {
......
......@@ -65,7 +65,7 @@
<template slot="auth-button"
slot-scope="scope">
<el-button type="text"
v-if="scope.scope.inputtedOrderCode"
v-if="scope.scope.inputStatus == '1'"
@click="orderDetail(scope.scope)">
订单详情
</el-button>
......@@ -428,15 +428,26 @@ export default {
},
orderDetail(row) {
getList({ orderCode: row.inputtedOrderCode }).then(res => {
if (row.sceneType && row.sceneType == 1) {
getList({ orderCode: row.inputtedOrderCode }).then(res => {
this.$router.push({
name: 'orderDetail',
params: {
detail: res.list[0],
from: 'orderSupplement'
}
})
})
}
if (row.sceneType && row.sceneType == 3) {
this.$router.push({
name: 'orderDetail',
name: 'financeDetail',
params: {
detail: res.list[0],
rowInfo: row,
from: 'orderSupplement'
}
})
})
}
},
selectableFn(row, index) {
......
......@@ -202,7 +202,12 @@ export default {
},
handleCancel() {
// this.close({ tagName: '/recordList' })
this.$router.push({ name: 'costCategoryManage' })
this.$router.push({
name: 'costCategoryManage',
params: {
activeName: this.$route.params.activeName
}
})
this.close({ tagName: '/editLedger' })
}
}
......
......@@ -283,7 +283,7 @@ export default {
return
}
this.$confirm("保存后该费用类目将按照设定应用到清分规则中,是否确定保存?", "提示", {
this.$confirm("保存后该费用类目将按照设定应用到对账规则中,是否确定保存?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
......@@ -311,7 +311,12 @@ export default {
},
handleCancel() {
// this.close({ tagName: '/recordList' })
this.$router.push({ name: 'costCategoryManage' })
this.$router.push({
name: 'costCategoryManage',
params: {
activeName: this.$route.params.activeName
}
})
this.close({ tagName: '/editLedger' })
},
......
......@@ -35,7 +35,9 @@ export default {
},
mounted() {
if (this.$route.params.activeName) {
this.activeName = this.$route.params.activeName
}
},
methods: {}
......
......@@ -223,7 +223,8 @@ export default {
name: 'editLedger',
params: {
addOrEdit: 'edit',
info: row
info: row,
activeName: 'ledger'
}
})
},
......
......@@ -138,9 +138,6 @@ export default {
}, {
confId: 2,
confLabel: '服务商'
}, {
confId: 3,
confLabel: '公共'
}
],
sceneTypeList: deepClone(sceneCodeList),
......@@ -215,14 +212,15 @@ export default {
name: 'editReconciliation',
params: {
addOrEdit: 'edit',
info: row
info: row,
activeName: 'reconciliation'
}
})
},
// 删除
delReconciliationCategory(row) {
this.$confirm("删除后不可恢复,不影响原有已设置的财务规则。是否确定删除?", "提示", {
this.$confirm("删除后不可恢复,不影响原有已设置的对账规则。是否确定删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
......
......@@ -177,10 +177,10 @@ export default {
this.notice.warningTips('请选择4s店')
return
}
// if (this.chooseServiceData.length == 0) {
// this.notice.warningTips('请选择服务商')
// return
// }
if (this.chooseServiceData.length == 0) {
this.notice.warningTips('请选择服务商')
return
}
delete params.yqMerchant
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!