sbd-npm 1.1.99 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/util.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.1.99",
3
+ "version": "1.2.0",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -1438,7 +1438,9 @@ const Util = {
1438
1438
  ed_obj.val("");
1439
1439
  break;
1440
1440
  }
1441
- Util.init_range_picker_date(start_id, end_id);
1441
+ if (select_val !== "101") {
1442
+ Util.init_range_picker_date(start_id, end_id);
1443
+ }
1442
1444
  if (select_val === "0") { // 记录之前的时间
1443
1445
  Obj.start_date = sd_obj.val();
1444
1446
  Obj.end_date = ed_obj.val();
@@ -1944,6 +1946,7 @@ const Util = {
1944
1946
  if (item["holder_num"] && item["holder_num"] > 0) {
1945
1947
  $(".holder_" + code).each(function () {
1946
1948
  $(this).html(Util.pack_holder_num(item));
1949
+ $(this).attr("data-val", item["holder_num"]);
1947
1950
  });
1948
1951
  }
1949
1952
  if ($("#remark_" + code).length) {