Quellcode durchsuchen

跨天场景股票增删修正

Zhangbw vor 1 Monat
Ursprung
Commit
55e7887312
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/pages/admin/shortPool.vue

+ 1 - 1
src/pages/admin/shortPool.vue

@@ -315,7 +315,7 @@ export default {
       var self = this
       var isDuplicate = false
       for (var i = 0; i < this.stockList.length; i++) {
-        if (this.stockList[i].code === item.code) {
+        if (this.stockList[i].code === item.code && this.stockList[i].status === 2) {
           isDuplicate = true
           break
         }