Ver código fonte

【修改】bug

howie 2 anos atrás
pai
commit
5a95803863
1 arquivos alterados com 6 adições e 3 exclusões
  1. 6 3
      src/views/supply/sales/components/sales_detail.vue

+ 6 - 3
src/views/supply/sales/components/sales_detail.vue

@@ -71,9 +71,12 @@
           >
             <template slot-scope="scope">
               {{
-                scope.row.orderType == "TRADE" || scope.row.orderType == "HOME"
-                  ? scope.row.enginOrderNo
-                  : scope.row.mainOrderId
+                scope.row.orderType === "TRADE" ||
+                  scope.row.orderType === "HOME" ||
+                  scope.row.orderType === "REQUISITION_TRADE" ||
+                  scope.row.orderType === "REQUISITION_HOME"
+                    ? scope.row.enginOrderNo
+                    : scope.row.mainOrderId
               }}
             </template>
           </el-table-column>