Commit 5dfe0dd2 by 王志慧

权益配置

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