cloud-web-corejs 1.0.54-dev.804 → 1.0.54-dev.806

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.
@@ -212,16 +212,14 @@
212
212
  class="search-input"
213
213
  max="200"
214
214
  v-model="szTaMb.sszstEn"
215
- @clear="
216
- szTaMb.sszst = null;
217
- szTaMb.sszstBm = null;
218
- $forceUpdate();
219
- "
215
+ @clear="clearSszst"
220
216
  :disabled="szTaMb.taType === 0"
221
217
  v-el-readonly
222
218
  clearable
223
219
  >
220
+ <!-- element 的 suffix 插槽不受 disabled 影响,图标要自己按禁用条件收起来 -->
224
221
  <i
222
+ v-if="szTaMb.taType !== 0"
225
223
  slot="suffix"
226
224
  class="el-input__icon el-icon-search"
227
225
  @click="showSzTaMbDialog = true"
@@ -293,15 +291,13 @@
293
291
  class="search-input"
294
292
  max="200"
295
293
  v-model="szTaMb.menuKindName"
296
- @clear="
297
- szTaMb.menuKindCode = '';
298
- $forceUpdate();
299
- "
294
+ @clear="clearMenuKind"
300
295
  v-el-readonly
301
296
  clearable
302
297
  :disabled="otherFlag"
303
298
  >
304
299
  <i
300
+ v-if="!otherFlag"
305
301
  slot="suffix"
306
302
  class="el-input__icon el-icon-search"
307
303
  @click="showMenuKindDialog = true"
@@ -396,7 +392,7 @@
396
392
  class="button-sty"
397
393
  icon="el-icon-upload2"
398
394
  @click="excelExport"
399
- >导出</el-button
395
+ >{{ $t1("导出") }}</el-button
400
396
  >
401
397
  </template>
402
398
  <template #default>
@@ -469,11 +465,12 @@
469
465
  >
470
466
  <span slot="suffix" class="el-input__suffix-inner">
471
467
  <i
472
- v-if="row.referenceZd"
468
+ v-if="row.referenceZd && !!row.zdEn"
473
469
  class="el-input__icon el-icon-circle-close"
474
470
  @click.stop="confirmClearReferenceZd(row)"
475
471
  ></i>
476
472
  <i
473
+ v-if="!!row.zdEn"
477
474
  class="el-input__icon el-icon-search"
478
475
  @click="openReferenceZdDialog(row, rowIndex, $table)"
479
476
  ></i>
@@ -510,7 +507,7 @@
510
507
  >
511
508
  <el-input
512
509
  v-model="row.zdEn"
513
- @keydown.native="inputZdEn(row)"
510
+ @focus="cacheZdEn(row)"
514
511
  @input="
515
512
  (val) => {
516
513
  changeZdEn(val, row);
@@ -674,11 +671,11 @@
674
671
  class="search-input"
675
672
  v-model="row.toTaBmZd"
676
673
  clearable
677
- @clear="$forceUpdate()"
678
674
  v-el-readonly
679
675
  :disabled="!!row.systems || !!row.relationZd"
680
676
  >
681
677
  <i
678
+ v-if="!row.systems && !row.relationZd"
682
679
  slot="suffix"
683
680
  class="el-input__icon el-icon-search"
684
681
  @click="openToTaBmZdDialog(row, rowIndex, $table)"
@@ -748,12 +745,6 @@
748
745
  @confirm="confirmInsertSzTaMb"
749
746
  :multi="false"
750
747
  />
751
- <szTaMbDialog
752
- v-if="showItemSzTaMbDialog"
753
- :visiable.sync="showItemSzTaMbDialog"
754
- @confirm="confirmInsertItemSzTaMb"
755
- multi="false"
756
- />
757
748
  <MenuKindDialog
758
749
  v-if="showMenuKindDialog"
759
750
  :visiable.sync="showMenuKindDialog"
@@ -788,12 +779,7 @@
788
779
  class="search-input"
789
780
  max="200"
790
781
  v-model="referenceEntity"
791
- @clear="
792
- referenceKey = null;
793
- refServiceName = null;
794
- referenceShowFields = [];
795
- $forceUpdate();
796
- "
782
+ @clear="clearReferenceEntity"
797
783
  v-el-readonly
798
784
  clearable
799
785
  >
@@ -889,6 +875,7 @@
889
875
  :visiable.sync="showEntityFieldDialog1"
890
876
  @confirm="confirmEntityFieldDialog1"
891
877
  :taBm="referenceEntity"
878
+ :rows="referenceKeyRows"
892
879
  :multi="false"
893
880
  />
894
881
  <zdDialog
@@ -896,6 +883,7 @@
896
883
  :visiable.sync="showEntityFieldDialog2"
897
884
  @confirm="confirmEntityFieldDialog2"
898
885
  :taBm="referenceEntity"
886
+ :rows="referenceShowRows"
899
887
  :multi="true"
900
888
  />
901
889
  <preformDialog
@@ -982,10 +970,7 @@
982
970
  class="search-input"
983
971
  max="200"
984
972
  v-model="toTaBmZdEntity"
985
- @clear="
986
- toTaBmZdEntity = null;
987
- toTaBmZdField = null;
988
- "
973
+ @clear="toTaBmZdField = null"
989
974
  v-el-readonly
990
975
  clearable
991
976
  >
@@ -1056,6 +1041,7 @@
1056
1041
  :visiable.sync="showEntityFieldDialog3"
1057
1042
  @confirm="confirmEntityFieldDialog3"
1058
1043
  :taBm="toTaBmZdEntity"
1044
+ :rows="toTaBmZdFieldRows"
1059
1045
  :multi="false"
1060
1046
  />
1061
1047
  <!--end-->