@gct-paas/word 0.1.63-beta.5 → 0.1.63-beta.6

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/dist/index.es.js +14 -5
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -89127,7 +89127,8 @@ const fields$1 = [
89127
89127
  optionMapping: { value: "id_", label: "name_" },
89128
89128
  searchFields: ["name_"],
89129
89129
  baseQuery: {
89130
- "production_identification_type_.in": ["LOT", "SN"]
89130
+ "production_identification_type_.in": ["LOT", "SN"],
89131
+ is_rework_: 0
89131
89132
  }
89132
89133
  },
89133
89134
  defaultProps: {},
@@ -89542,7 +89543,8 @@ const fields = [
89542
89543
  optionMapping: { value: "id_", label: "name_" },
89543
89544
  searchFields: ["name_"],
89544
89545
  baseQuery: {
89545
- "production_identification_type_.in": ["LOT", "SN"]
89546
+ "production_identification_type_.in": ["LOT", "SN"],
89547
+ is_rework_: 0
89546
89548
  }
89547
89549
  },
89548
89550
  defaultProps: {},
@@ -89695,10 +89697,17 @@ async function openEntrustSterilBatchListScan(options) {
89695
89697
  GctMessage.error("扫描的物料批次不存在");
89696
89698
  return;
89697
89699
  }
89698
- const { queryData, exp } = buildLikeQuery([], "", {
89700
+ const { queryData: typeQueryData, exp: typeExp } = buildLikeQuery([], "", {
89699
89701
  "production_identification_type_.in": ["LOT", "SN"],
89700
- ...requestBody
89702
+ is_rework_: 0
89701
89703
  });
89704
+ const queryData = {
89705
+ ...typeQueryData,
89706
+ ...requestBody
89707
+ };
89708
+ const nameKeys = Object.keys(requestBody);
89709
+ const nameExp = nameKeys.length <= 1 ? nameKeys[0] ?? "" : `AND(${nameKeys.join(",")})`;
89710
+ const exp = typeExp && nameExp ? `AND(${nameExp},${typeExp})` : nameExp || typeExp;
89702
89711
  const result = await callBizService(remoteSync.api, {
89703
89712
  query: queryData,
89704
89713
  exp
@@ -124399,7 +124408,7 @@ const manifest$9 = {
124399
124408
  },
124400
124409
  computed: {
124401
124410
  onlyMainModelCanDefault: true,
124402
- onValueChangeRule: idOnValueChangeRule
124411
+ onValueChangeRule: [...hyperlinkAndIdOnValueChangeRules]
124403
124412
  }
124404
124413
  };
124405
124414
  const __vite_glob_0_63 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/word",
3
- "version": "0.1.63-beta.5",
3
+ "version": "0.1.63-beta.6",
4
4
  "description": "GCT 在线 word",
5
5
  "keywords": [
6
6
  "vue",