Commit 908ca785 by wangql

修复第一轮测试BUG

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