Explorar o código

跨天场景股票增删修正

Zhangbw hai 1 mes
pai
achega
55e7887312
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
         }