소스 검색

Update index.vue

lex 1 년 전
부모
커밋
b92709d872
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.content = "";
       // this.closeOrder.orderIds = [row.id];
       // this.closeOrder.orderIds = [row.id];
       //
       //
-      const message = row.status === 2 ? '该订单已发货,关闭后将自动返还库存?' :'是否要关闭订单?'
+      const message = row.status === 2 || row.deliveryTime ? '该订单已发货,关闭后将自动返还库存?' :'是否要关闭订单?'
       this.$confirm(message, "提示", {
       this.$confirm(message, "提示", {
         confirmButtonText: "确定",
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         cancelButtonText: "取消",