Commit dc64c2c0 by cpa

商家审核

parent 7418b237
......@@ -38,7 +38,8 @@ export const tableOption = {
"label": "状态",
"prop": "state",
"search": true,
"dicUrl": "/admin/merchantMallOrder/getMerchantOrderStateOptions",
"dicUrl": "/admin/mallOrder/getOrderStateOptions",
},
{
"type": "input",
......
......@@ -175,7 +175,7 @@
<script>
let DBG = true
let DBG = false
import {
ZmMixin
} from '@/mixins/ZmMixin.js'
......
......@@ -22,7 +22,7 @@
<el-button type="button" size="small"
@click="lookDetail(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">详情</el-button>
<el-button type="button" size="small"
v-if="scope.row.auditState!=0"
v-if="scope.row.state!=0"
@click="handleUpdate(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">编辑</el-button>
<el-button type="button" size="small"
@click="handleDel(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">删除</el-button>
......@@ -99,10 +99,6 @@
this.id=row.id
this.goodsEditVue=true
}
// console.log("执行编辑方法")
// this.id=row.id
// console.log("赋值id:"+row.id)
// this.goodsEditVue=true
},
// 添加
add() {
......
......@@ -21,7 +21,7 @@
<el-button type="button" size="small"
@click="checkTheDetails(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">详情</el-button>
<el-button type="button" size="small"
v-if="scope.row.state == 1 || scope.row.state == 2"
v-if="qwlAuth(scope.row)>=0"
@click="viewLogistics(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">查看物流</el-button>
<el-button type="button" size="small"
v-if="scope.row.state == 0"
......@@ -184,7 +184,12 @@
}
},
// 取消订单
qwlAuth: function (row) {
let str=row.state
let text='3,6'//待收货,已完成
return text.search(str)
},
// 是否可以取消订单
cancelOrderButAuth: function (row) {
let str=row.state
let text='0,1,2,3,4'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment