Browse Source

Update index.vue

lex 1 year ago
parent
commit
b92709d872
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/oms/order/index.vue

+ 1 - 1
src/views/oms/order/index.vue

@@ -480,7 +480,7 @@ export default {
       // this.closeOrder.content = "";
       // this.closeOrder.orderIds = [row.id];
       //
-      const message = row.status === 2 ? '该订单已发货,关闭后将自动返还库存?' :'是否要关闭订单?'
+      const message = row.status === 2 || row.deliveryTime ? '该订单已发货,关闭后将自动返还库存?' :'是否要关闭订单?'
       this.$confirm(message, "提示", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",