Commit d1beab15 by 10_noah@other.ren

商家后台-订单管理:立即发货按钮,请根据需求展示在相应的订单状态

parent 175d23a9
...@@ -38,7 +38,7 @@ export const tableOption = { ...@@ -38,7 +38,7 @@ export const tableOption = {
"label": "状态", "label": "状态",
"prop": "state", "prop": "state",
"search": true, "search": true,
"dicUrl": "/admin/merchantMallOrder/getMerchantOrderStateOptions", "dicUrl": "/admin/merchantMallOrder/getOrderStateOptions",
}, },
{ {
......
...@@ -21,15 +21,16 @@ ...@@ -21,15 +21,16 @@
<el-button type="button" size="small" <el-button type="button" size="small"
@click="checkTheDetails(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">详情</el-button> @click="checkTheDetails(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">详情</el-button>
<el-button type="button" size="small" <el-button type="button" size="small"
v-if="qwlAuth(scope.row)>=0" v-if="scope.row.state==4||scope.row.state==5||scope.row.state==6"
@click="viewLogistics(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">查看物流</el-button> @click="viewLogistics(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">查看物流</el-button>
<el-button type="button" size="small" <el-button type="button" size="small"
v-if="scope.row.state == 0" v-if="scope.row.state==3"
@click="shipsImmediately(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">立即发货</el-button> @click="shipsImmediately(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">立即发货</el-button>
<el-button type="button" size="small" <el-button type="button" size="small"
v-if="scope.row.state==5||scope.row.state==6||scope.row.state==7"
@click="handleDel(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">删除</el-button> @click="handleDel(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">删除</el-button>
<el-button type="button" size="small" <el-button type="button" size="small"
v-if="cancelOrderButAuth(scope.row)>=0" v-if="scope.row.state==3"
@click="cancelOrder(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">取消订单</el-button> @click="cancelOrder(scope.row)" style="color: #409EFF;margin: 5px;padding: 0px;border: 0px">取消订单</el-button>
</template> </template>
</avue-crud> </avue-crud>
......
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