瀏覽代碼

跨天场景股票增删修正

Zhangbw 1 月之前
父節點
當前提交
55e7887312
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
         }