Commit 5dfe0dd2 by 王志慧

权益配置

1 parent 3e81ae5a
......@@ -68,7 +68,7 @@
</template>
<script>
// import { orderManageStatusList, orderSourceList, deliveryTypeList } from '@/common/constant'
import { orderManageStatusList, orderSourceList, deliveryTypeList } from '@/common/constants'
export default {
name: 'orderDetail',
data() {
......@@ -223,8 +223,9 @@ export default {
name: 'goodsName'
}
]
const res = await this.$apis.common.getCrowdfundingOrderConfig()
let hideStatus = res == 1
// const res = await this.$apis.common.getCrowdfundingOrderConfig()
// let hideStatus = res == 1
let hideStatus =true
if (hideStatus) {
const filterFormList = ['customerPhone', 'shareStaffName', 'shareStaffTypeName', 'vin', 'shipAddress']
for (let i = 0; i < detailFormData.length; i++) {
......
......@@ -230,26 +230,13 @@
}}</span>
</div>
<div slot="auth-button" slot-scope="scope">
<el-button
type="text"
size="mini"
style="margin-right: 10px"
@click="handleDetail(scope.scope)"
>
查看订单
</el-button>
<auth-button
slot="auth-button"
:show-btn-ids="['9040106', '9040107', '9040109']"
:data="scope.scope"
/>
<!-- <auth-button :data="scope.scope"></auth-button> -->
<span style="margin-right: 10px">
<el-button
type="text"
size="mini"
style="margin-right: 10px"
@click="handleRefund(scope.scope)"
>
退款
</el-button>
</span>
<span style="margin-right: 10px">
<!-- <span style="margin-right: 10px">
<el-button
type="text"
size="mini"
......@@ -258,17 +245,7 @@
>
订单核销
</el-button>
</span>
<span style="margin-right: 10px">
<el-button
type="text"
size="mini"
style="margin-right: 10px"
@click="handleExpressInfo(scope.scope)"
>
商品发货
</el-button>
</span>
</span> -->
<span style="margin-right: 10px">
<el-button
type="text"
......@@ -1090,8 +1067,9 @@ export default {
},
// 查看订单
handleDetail(row) {
console.log(row)
this.$router.push({
path: "/orderManage/orderDetail",
path: "/crowdfundDetail",
query: {
orderCode: row.orderCode
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!