Commit 3e20491a by 10_noah@other.ren

商家后台-订单管理:不需要发货的商品订单,待收货状态不要展示“查看物流”按钮

parent 5b9747ec
......@@ -22,7 +22,7 @@
v-if="qxqAuth(scope.row)>=0"
@click="checkTheDetails(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">详情</el-button>
<el-button type="button" size="small"
v-if="qwlAuth(scope.row)>=0"
v-if="scope.row.state===4 && scope.row.isLogistics===1"
@click="viewLogistics(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">查看物流</el-button>
<el-button type="button" size="small"
v-if="ljfhAuth(scope.row)>=0"
......@@ -188,11 +188,11 @@
}
},
qwlAuth: function (row) {//查看物流
let str=row.state
let text='4,6'//待收货,已完成
return text.search(str)
},
// qwlAuth: function (row) {//查看物流
// let str=row.state
// let text='4,6'//待收货,已完成
// return text.search(str)
// },
ljfhAuth: function (row) {//立即发货
let str=row.state
let text='3'//待发货
......
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