kz-ui-base 1.0.161 → 2.0.148

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 (70) hide show
  1. package/api/system/config.js +0 -17
  2. package/common/src/components/base/dialog/BaseDialog.vue +4 -15
  3. package/common/src/components/base/dialog/editDialog.vue +2 -2
  4. package/common/src/components/basics/RightToolbar/advancedQuery.vue +26 -5
  5. package/common/src/components/basics/RightToolbar/advancedQueryClose.vue +26 -5
  6. package/common/src/components/basics/RightToolbar/index.vue +5 -6
  7. package/common/src/components/custom/Material/index.vue +27 -25
  8. package/common/src/components/custom/Material/indexTs.vue +27 -25
  9. package/common/src/utils/request.js +0 -5
  10. package/common/src/views/login.vue +0 -5
  11. package/common/src/views/tenantLogin.vue +0 -5
  12. package/components/base/dialog/elTable.vue +2 -2
  13. package/components/base/dialog/sampleEditDialog.vue +38 -61
  14. package/components/base/dialog/smapleDialog.vue +12 -12
  15. package/components/base/dialog/tableForm.vue +6 -6
  16. package/components/customForm/OpMenus.vue +5 -5
  17. package/components/customForm/datePicker.vue +5 -4
  18. package/components/customForm/dropDownList.vue +8 -8
  19. package/components/customForm/lookupDialog.vue +3 -3
  20. package/components/customForm/printDialog.vue +17 -17
  21. package/components/customForm/sampleEditDialog.vue +3 -3
  22. package/components/customForm/searchTable.vue +4 -4
  23. package/components/customForm/table.vue +5 -5
  24. package/components/customForm/textarea.vue +1 -1
  25. package/components/customForm/treeDownList.vue +1 -1
  26. package/components/customForm/upload.vue +1 -1
  27. package/components/customForm/uploadButton.vue +7 -7
  28. package/components/customForm/uploadDialog.vue +1 -1
  29. package/list-base-page/doublelistBasePageTs.vue +16 -16
  30. package/list-base-page/listBasePageTs.vue +64 -228
  31. package/package.json +1 -1
  32. package/views/bd/common/modal/AddressInfoModal.vue +8 -8
  33. package/views/bd/common/modal/BankInfoModal.vue +10 -10
  34. package/views/bd/common/modal/CustomerContactsModal.vue +13 -13
  35. package/views/bd/common/modal/CustomerModal.vue +49 -51
  36. package/views/bd/common/modal/DeptModal.vue +10 -10
  37. package/views/bd/common/modal/EmployeeModal.vue +22 -26
  38. package/views/bd/common/modal/ItemModal.vue +20 -23
  39. package/views/bd/common/modal/ItemModalBk.vue +8 -8
  40. package/views/bd/common/modal/NumberingRuleModal.vue +8 -8
  41. package/views/bd/common/modal/PostModal.vue +22 -22
  42. package/views/bd/common/modal/ProjectModal.vue +8 -8
  43. package/views/bd/common/modal/SalesmanInfoModel.vue +7 -7
  44. package/views/bd/common/modal/VendorModal.vue +24 -28
  45. package/views/bd/common/modal/WorkGroupModal.vue +40 -44
  46. package/views/bd/common/modal/materialCodeModal.vue +30 -23
  47. package/views/fd/common/modal/AddResourceModal.vue +6 -8
  48. package/views/fd/common/modal/AssetModal.vue +17 -17
  49. package/views/fd/common/modal/EquipmentModal.vue +10 -10
  50. package/views/fd/common/modal/FactoryTreeModal.vue +1 -3
  51. package/views/fd/common/modal/ResourceModal.vue +6 -6
  52. package/views/fd/common/modal/SiteModal.vue +11 -9
  53. package/views/fd/common/modal/StorageUnitModal.vue +9 -9
  54. package/views/fd/common/modal/StorageZoneModal.vue +11 -11
  55. package/views/fd/common/modal/WorkAreaModal.vue +9 -9
  56. package/views/fd/common/modal/WorkCenterModal.vue +9 -9
  57. package/views/fd/common/modal/WorkUnitModal.vue +9 -9
  58. package/views/pd/common/modal/BopModal.vue +10 -10
  59. package/views/pd/common/modal/DrawingPathModal.vue +52 -52
  60. package/views/pd/common/modal/ParameterModal.vue +18 -18
  61. package/views/pd/common/modal/ProcessModal.vue +15 -15
  62. package/views/pd/common/modal/ProdRoutingDtlModal.vue +19 -19
  63. package/views/pd/common/modal/ProdRoutingModal.vue +14 -14
  64. package/views/pd/common/modal/ProdStructureModal.vue +14 -14
  65. package/views/pd/common/modal/ProdstructTemplateHdrModal.vue +25 -27
  66. package/views/pd/common/modal/ProductionVersionModal.vue +35 -35
  67. package/views/pd/common/modal/technicalStandardModal.vue +20 -20
  68. package/views/system/common/modal/UserModal.vue +70 -72
  69. package/components/base/dialog/MultiLanguageDialog.vue +0 -308
  70. package/components/base/dialog/config.js +0 -85
@@ -2,7 +2,7 @@
2
2
  <base-dialog
3
3
  :visible.sync="visible"
4
4
  width="960px"
5
- :title="t('fd.equipment.title')"
5
+ title="设备选择"
6
6
  append-to-body
7
7
  @on-confirm="handleConfirm"
8
8
  @on-cancel="handleCancel"
@@ -17,12 +17,12 @@
17
17
  >
18
18
  <el-row class="mb8">
19
19
  <el-col :span="8">
20
- <el-form-item :label="t('fd.equipment.equipmentNo')" prop="equipmentNo">
20
+ <el-form-item label="设备编号" prop="equipmentNo">
21
21
  <el-input v-model="listQueryParams.equipmentNo" clearable/>
22
22
  </el-form-item>
23
23
  </el-col>
24
24
  <el-col :span="8">
25
- <el-form-item :label="t('fd.equipment.equipmentName')" prop="equipmentName">
25
+ <el-form-item label="设备名称" prop="equipmentName">
26
26
  <el-input v-model="listQueryParams.equipmentName" clearable/>
27
27
  </el-form-item>
28
28
  </el-col>
@@ -33,13 +33,13 @@
33
33
  icon="el-icon-search"
34
34
  size="mini"
35
35
  @click="handleQuery"
36
- >{{ t('fd.equipment.search') }}
36
+ >查询
37
37
  </el-button>
38
38
  <el-button
39
39
  icon="el-icon-refresh"
40
40
  size="mini"
41
41
  @click="resetQuery"
42
- >{{ t('fd.equipment.reset') }}
42
+ >重置
43
43
  </el-button>
44
44
  </el-form-item>
45
45
  </el-col>
@@ -60,10 +60,10 @@
60
60
  @selection-change="onSelectionChange"
61
61
  >
62
62
  <el-table-column type="selection" min-width="50" align="center" />
63
- <el-table-column prop="workUnitNo" :label="t('fd.equipment.workUnitNo')" min-width="100" align="left" show-overflow-tooltip />
64
- <el-table-column prop="workUnitName" :label="t('fd.equipment.workUnitName')" min-width="100" align="left" show-overflow-tooltip />
65
- <el-table-column prop="equipmentNo" :label="t('fd.equipment.equipmentNo')" min-width="100" align="left" show-overflow-tooltip/>
66
- <el-table-column prop="equipmentName" :label="t('fd.equipment.equipmentName')" min-width="100" align="left" show-overflow-tooltip/>
63
+ <el-table-column prop="workUnitNo" label="作业单元编号" min-width="100" align="left" show-overflow-tooltip />
64
+ <el-table-column prop="workUnitName" label="作业单元名称" min-width="100" align="left" show-overflow-tooltip />
65
+ <el-table-column prop="equipmentNo" label="设备名称" min-width="100" align="left" show-overflow-tooltip/>
66
+ <el-table-column prop="equipmentName" label="设备名称" min-width="100" align="left" show-overflow-tooltip/>
67
67
  </el-table>
68
68
  <pagination
69
69
  :total="listQueryParams.total"
@@ -145,7 +145,7 @@ export default {
145
145
  },
146
146
  handleConfirm() {
147
147
  if (!this.multipleSelection || this.multipleSelection.length === 0) {
148
- this.msgError(this.t('fd.equipment.required.selectOne'));
148
+ this.msgError("请选择一笔设备数据!");
149
149
  } else {
150
150
  if(this.multipleChoice) {
151
151
  this.$closeDialog(true, this.multipleSelection);
@@ -32,9 +32,7 @@ export default {
32
32
  },
33
33
  dialogTitle: {
34
34
  type: String,
35
- default: function() {
36
- return this.t('fd.factoryTree.title');
37
- },
35
+ default: "选择组织"
38
36
  },
39
37
  siteId: {
40
38
  type: [String, Number],
@@ -191,9 +191,9 @@ export default class ResourceModal extends Vue {
191
191
  pageSize: 10,
192
192
  pageNum: 1,};
193
193
  listColumns = [
194
- {text: this.t('fd.resource.resourceNo'), property: "resourceNo"},
195
- {text: this.t('fd.resource.resourceName'), property: "resourceName"},
196
- {text: this.t('fd.resource.resourceStatusCode'), property: "resourceStatusCode", dictType: "resource_status_code"},
194
+ {text: "资源编号", property: "resourceNo"},
195
+ {text: "资源名称", property: "resourceName"},
196
+ {text: "资源状态", property: "resourceStatusCode", dictType: "resource_status_code"},
197
197
  ];
198
198
 
199
199
  getDictLabelByValue(dictType, value) {
@@ -259,9 +259,9 @@ export default class ResourceModal extends Vue {
259
259
  weatherUseEam().then(res => {
260
260
  if(res){
261
261
  this.$set(this, 'useEam', res.data);
262
- let list = this.useEam? [{text: this.t('fd.resource.innerEquipmentNo'), property: "innerEquipmentNo"},
263
- {text: this.t('fd.resource.innerEquipmentName'), property: "innerEquipmentName"}]:
264
- [{text: this.t('fd.resource.outerEquipmentNo'), property: "outerEquipmentNo"}]
262
+ let list = this.useEam? [{text: "关联设备编号", property: "innerEquipmentNo"},
263
+ {text: "关联设备名称", property: "innerEquipmentName"}]:
264
+ [{text: "外部设备编号", property: "outerEquipmentNo"}]
265
265
  this.listColumns = [...this.listColumns, ...list];
266
266
  }
267
267
  })
@@ -12,18 +12,20 @@ import {listComponentWithParent} from "@srcApi/fd/component";
12
12
  pkField = "id";
13
13
  // 列表列信息
14
14
  listColumns = [
15
- {text: this.t('fd.site.componentNo'), property: "componentNo"},
16
- {text: this.t('fd.site.componentName'), property: "componentName"},
17
- {text: this.t('fd.site.componentAbbr'), property: "componentAbbr"},
18
- {text: this.t('fd.site.parentComponentNo'), property: "parentComponentNo"},
19
- {text: this.t('fd.site.parentComponentName'), property: "parentComponentName"},
15
+ {text: `组织机构编号`, property: "componentNo"},
16
+ {text: `组织机构名称`, property: "componentName"},
17
+ {text: `组织机构简称`, property: "componentAbbr"},
18
+ {text: `上一级编号`, property: "parentComponentNo"},
19
+ {text: `上一级名称`, property: "parentComponentName"},
20
20
  ];
21
+ //是否显示勾选框
22
+ isMultiple = true;
21
23
  // 查询条件
22
24
  searchRules = [
23
- {text: this.t('fd.site.componentNo'), property: "componentNo", op: "LI",principal:true,},
24
- {text: this.t('fd.site.componentName'), property: "componentName", op: "LI"},
25
- {text: this.t('fd.site.parentComponentNo'), property: "parentComponentNo", op: "LI"},
26
- {text: this.t('fd.site.parentComponentName'), property: "parentComponentName", op: "LI"},
25
+ {text: `组织机构编号`, property: "componentNo", op: "LI",principal:true,},
26
+ {text: `组织机构名称`, property: "componentName", op: "LI"},
27
+ {text: `上一级编号`, property: "parentComponentNo", op: "LI"},
28
+ {text: `上一级名称`, property: "parentComponentName", op: "LI"},
27
29
  {text: `componentTypeCode`, property: "componentTypeCode", componentTypeCode: "1", visible: false},
28
30
  ];
29
31
 
@@ -16,17 +16,17 @@ export default class StorageUnitModalList extends ListBasePage {
16
16
  isMultiple = true;
17
17
  // 列表列信息
18
18
  listColumns = [
19
- {text: this.t('fd.storageUnit.siteName'), property: "siteName"},
20
- {text: this.t('fd.storageUnit.componentNo'), property: "componentNo"},
21
- {text: this.t('fd.storageUnit.componentName'), property: "componentName"},
22
- {text: this.t('fd.storageUnit.componentAbbr'), property: "componentAbbr"},
23
- {text: this.t('fd.storageUnit.parentComponentNo'), property: "parentComponentNo"},
24
- {text: this.t('fd.storageUnit.parentComponentName'), property: "parentComponentName"},
19
+ {text: `组织机构`, property: "siteName"},
20
+ {text: `库位编号`, property: "componentNo"},
21
+ {text: `库位名称`, property: "componentName"},
22
+ {text: `库位简称`, property: "componentAbbr"},
23
+ {text: `上一级编号`, property: "parentComponentNo"},
24
+ {text: `上一级名称`, property: "parentComponentName"},
25
25
  ];
26
26
  // 查询条件
27
27
  searchRules = [
28
28
  {
29
- text: this.t('fd.storageUnit.siteId'), property: "siteId", displayType: "DropDownList",
29
+ text: `组织机构`, property: "siteId", displayType: "DropDownList",
30
30
  setting: {
31
31
  url: "/fd/site/list",
32
32
  //指定显示字段和取值字段
@@ -34,8 +34,8 @@ export default class StorageUnitModalList extends ListBasePage {
34
34
  valueField: "id",
35
35
  }
36
36
  },
37
- {text: this.t('fd.storageUnit.componentNo'), property: "componentNo", op: "LI"},
38
- {text: this.t('fd.storageUnit.componentName'), property: "componentName", op: "LI"},
37
+ {text: `库位编号`, property: "componentNo", op: "LI"},
38
+ {text: `库位名称`, property: "componentName", op: "LI"},
39
39
  ];
40
40
 
41
41
  opMenus = [
@@ -17,18 +17,18 @@ export default class StorageZoneModalList extends ListBasePage {
17
17
  isMultiple = true;
18
18
  // 列表列信息
19
19
  listColumns = [
20
- {text: this.t('fd.storageZone.siteName'), property: "siteName"},
21
- {text: this.t('fd.storageZone.componentNo'), property: "componentNo"},
22
- {text: this.t('fd.storageZone.isVmi'), property: "isVmiName"},
23
- {text: this.t('fd.storageZone.componentName'), property: "componentName"},
24
- {text: this.t('fd.storageZone.componentAbbr'), property: "componentAbbr"},
25
- {text: this.t('fd.storageZone.parentComponentNo'), property: "parentComponentNo"},
26
- {text: this.t('fd.storageZone.parentComponentName'), property: "parentComponentName"},
20
+ {text: `组织机构`, property: "siteName"},
21
+ {text: `仓库编号`, property: "componentNo"},
22
+ {text: `是否VMI`, property: "isVmiName"},
23
+ {text: `仓库名称`, property: "componentName"},
24
+ {text: `仓库简称`, property: "componentAbbr"},
25
+ {text: `上一级编号`, property: "parentComponentNo"},
26
+ {text: `上一级名称`, property: "parentComponentName"},
27
27
  ];
28
28
  // 查询条件
29
29
  searchRules = [
30
30
  {
31
- text: this.t('fd.storageZone.siteId'),
31
+ text: `组织机构`,
32
32
  property: "siteId",
33
33
  displayType: "DropDownList",
34
34
  op:"EQ",
@@ -42,8 +42,8 @@ export default class StorageZoneModalList extends ListBasePage {
42
42
  siteId: this.value?.siteId,
43
43
  disabled: !!this.value?.siteId
44
44
  },
45
- {text: this.t('fd.storageZone.componentNo'), property: "componentNo", op: "LI"},
46
- {text: this.t('fd.storageZone.componentName'), property: "componentName", op: "LI"},
45
+ {text: `仓库编号`, property: "componentNo", op: "LI"},
46
+ {text: `仓库名称`, property: "componentName", op: "LI"},
47
47
  ];
48
48
 
49
49
  opMenus = [
@@ -103,7 +103,7 @@ export default class StorageZoneModalList extends ListBasePage {
103
103
  row.parentComponentNo = this.componentMap[row.parentComponentId]['componentNo'];
104
104
  row.parentComponentName = this.componentMap[row.parentComponentId]['componentName'];
105
105
  row.siteName = this.siteMap[row.siteId]['componentName'];
106
- row.isVmiName = row.hasOwnProperty("isVmi") && row['isVmi'] == '1' ? this.t('fd.common.yes') : this.t('fd.common.no');
106
+ row.isVmiName = row.hasOwnProperty("isVmi") && row['isVmi'] == '1' ? '' : '';
107
107
  }
108
108
  this.listQueryParams.total = Number(response.total);
109
109
  this.listData = response.rows;
@@ -20,7 +20,7 @@ import {listComponentWithParent} from "@srcApi/fd/component";
20
20
  // 查询条件
21
21
  searchRules = [
22
22
  {
23
- text: this.t('fd.workArea.siteId'),
23
+ text: `组织机构`,
24
24
  property: "siteId",
25
25
  displayType: "DropDownList",
26
26
  setting: {
@@ -30,18 +30,18 @@ import {listComponentWithParent} from "@srcApi/fd/component";
30
30
  valueField: "id",
31
31
  },
32
32
  },
33
- {property: "componentNo", text: this.t('fd.workArea.componentNo'), display: "TextBox", op: "LI"},
34
- {property: "componentName", text: this.t('fd.workArea.componentName'), display: "TextBox", op: "LI"},
33
+ {property: "componentNo", text: "工作区域编号", display: "TextBox", op: "LI"},
34
+ {property: "componentName", text: "工作区域名称", display: "TextBox", op: "LI"},
35
35
  ];
36
36
 
37
37
  // 列表列信息
38
38
  listColumns = [
39
- {text: this.t('fd.workArea.siteName'), property: "siteName"},
40
- {text: this.t('fd.workArea.componentNo'), property: "componentNo"},
41
- {text: this.t('fd.workArea.componentName'), property: "componentName"},
42
- {text: this.t('fd.workArea.componentAbbr'), property: "componentAbbr"},
43
- {text: this.t('fd.workArea.parentComponentNo'), property: "parentComponentNo"},
44
- {text: this.t('fd.workArea.parentComponentName'), property: "parentComponentName"},
39
+ {text: "组织机构", property: "siteName"},
40
+ {text: "工作区域编号", property: "componentNo"},
41
+ {text: "工作区域名称", property: "componentName"},
42
+ {text: "工作区域简称", property: "componentAbbr"},
43
+ {text: "上一级编号", property: "parentComponentNo"},
44
+ {text: "上一级名称", property: "parentComponentName"},
45
45
  ];
46
46
 
47
47
  listSetting = {
@@ -19,7 +19,7 @@ export default class WorkCenterModalList extends ListBasePage {
19
19
  isMultiple = true;
20
20
  searchRules = [
21
21
  {
22
- text: this.t('fd.workCenter.siteId'),
22
+ text: `组织机构`,
23
23
  property: "siteId",
24
24
  displayType: "DropDownList",
25
25
  setting: {
@@ -29,18 +29,18 @@ export default class WorkCenterModalList extends ListBasePage {
29
29
  valueField: "id",
30
30
  },
31
31
  },
32
- {property: "componentNo", text: this.t('fd.workCenter.componentNo'), display: "TextBox", op: "LI"},
33
- {property: "componentName", text: this.t('fd.workCenter.componentName'), display: "TextBox", op: "LI"},
32
+ {property: "componentNo", text: "工作中心编号", display: "TextBox", op: "LI"},
33
+ {property: "componentName", text: "工作中心名称", display: "TextBox", op: "LI"},
34
34
  ];
35
35
 
36
36
  // 列表列信息
37
37
  listColumns = [
38
- {text: this.t('fd.workCenter.siteName'), property: "siteName"},
39
- {text: this.t('fd.workCenter.componentNo'), property: "componentNo"},
40
- {text: this.t('fd.workCenter.componentName'), property: "componentName"},
41
- {text: this.t('fd.workCenter.componentAbbr'), property: "componentAbbr"},
42
- {text: this.t('fd.workCenter.parentComponentNo'), property: "parentComponentNo"},
43
- {text: this.t('fd.workCenter.parentComponentName'), property: "parentComponentName"},
38
+ {text: "组织机构", property: "siteName"},
39
+ {text: "工作中心编号", property: "componentNo"},
40
+ {text: "工作中心名称", property: "componentName"},
41
+ {text: "工作中心简称", property: "componentAbbr"},
42
+ {text: "上一级编号", property: "parentComponentNo"},
43
+ {text: "上一级名称", property: "parentComponentName"},
44
44
  ];
45
45
 
46
46
  listSetting = {
@@ -16,7 +16,7 @@
16
16
  isMultiple = true;
17
17
  searchRules = [
18
18
  {
19
- text: this.t('fd.workUnit.parentComponentId'),
19
+ text: `工作中心`,
20
20
  property: "parentComponentId",
21
21
  displayType: "DropDownList",
22
22
  setting: {
@@ -36,17 +36,17 @@
36
36
  parentComponentId: this.value?.workCenterId,
37
37
  disabled: !!this.value?.workCenterId
38
38
  },
39
- {property: "componentNo", text: this.t('fd.workUnit.componentNo'), display: "TextBox", op: "LI"},
40
- {property: "componentName", text: this.t('fd.workUnit.componentName'), display: "TextBox", op: "LI"},
41
- {property: "siteId", text: this.t('fd.workUnit.siteId'), display: "TextBox", op: "EQ", visible:false, siteId: this.value?.siteId},
39
+ {property: "componentNo", text: "作业单元编号", display: "TextBox", op: "LI"},
40
+ {property: "componentName", text: "作业单元名称", display: "TextBox", op: "LI"},
41
+ {property: "siteId", text: "组织Id", display: "TextBox", op: "EQ", visible:false, siteId: this.value?.siteId},
42
42
  ];
43
43
  // 列表列信息
44
44
  listColumns = [
45
- {text: this.t('fd.workUnit.parentComponentNo'), property:"parentComponentNo"},
46
- {text: this.t('fd.workUnit.parentComponentName'), property:"parentComponentName"},
47
- {text: this.t('fd.workUnit.componentNo'), property:"componentNo"},
48
- {text: this.t('fd.workUnit.componentName'), property:"componentName"},
49
- {text: this.t('fd.workUnit.componentAbbr'), property:"componentAbbr"},
45
+ {text:"作业中心编号", property:"parentComponentNo"},
46
+ {text:"作业中心名称", property:"parentComponentName"},
47
+ {text:"作业单元编号", property:"componentNo"},
48
+ {text:"作业单元名称", property:"componentName"},
49
+ {text:"作业单元简称", property:"componentAbbr"},
50
50
  ];
51
51
 
52
52
  listSetting = {
@@ -11,16 +11,16 @@ export default class BopList extends ListBasePage {
11
11
  serviceName= "bop";
12
12
  pkField= "id";
13
13
  // 列表列信息
14
- listColumns = [
15
- {text: this.t('pd.bop.processSeq'), property: "processSeq" },
16
- {text: this.t('pd.bop.processNo'), property: "processNo" },
17
- {text: this.t('pd.bop.processName'), property: "processName" }
18
- ];
19
- // 查询条件
20
- searchRules= [
21
- {text: this.t('pd.bop.processSeq'), property: "processSeq", displayType: "TextBox",op:"LI", width: 12},
22
- {text: this.t('pd.bop.version'), property: "productionVersionId", displayType: "TextBox",op:"EQ", visible: false},
23
- ];
14
+ listColumns = [
15
+ {text: "步骤", property: "processSeq" },
16
+ {text: "工序编号", property: "processNo" },
17
+ {text: "工序名称", property: "processName" }
18
+ ];
19
+ // 查询条件
20
+ searchRules= [
21
+ {text: "步骤", property: "processSeq", displayType: "TextBox",op:"LI", width: 12},
22
+ {text: "版本", property: "productionVersionId", displayType: "TextBox",op:"EQ", visible: false},
23
+ ];
24
24
 
25
25
  areaSetting= [
26
26
  {
@@ -17,30 +17,30 @@ export default class PathList extends ListBasePage {
17
17
  // 列表列信息
18
18
  listColumns = [
19
19
  //{key: 0, label: "序号", visible: true},
20
- {text: this.t('pd.drawingPath.drawingPathNo'), property: "drawingPathNo" },
21
- {text: this.t('pd.drawingPath.drawingPathName'), property: "drawingPathName",width: 170 },
22
- {text: this.t('pd.drawingPath.inDiameter'), property: "inDiameter" },
23
- {text: this.t('pd.drawingPath.outDiameter'), property: "outDiameter" },
24
- {text: this.t('pd.drawingPath.drawingPass1'), property: "drawingPass1" },
25
- {text: this.t('pd.drawingPath.drawingPass2'), property: "drawingPass2" },
26
- {text: this.t('pd.drawingPath.drawingPass3'), property: "drawingPass3" },
27
- {text: this.t('pd.drawingPath.drawingPass4'), property: "drawingPass4" },
28
- {text: this.t('pd.drawingPath.drawingPass5'), property: "drawingPass5" },
29
- {text: this.t('pd.drawingPath.drawingPass6'), property: "drawingPass6" },
30
- {text: this.t('pd.drawingPath.drawingPass7'), property: "drawingPass7" },
31
- {text: this.t('pd.drawingPath.drawingPass8'), property: "drawingPass8" },
32
- {text: this.t('pd.drawingPath.drawingPass9'), property: "drawingPass9" },
33
- {text: this.t('pd.drawingPath.drawingPass10'), property: "drawingPass10" },
34
- {text: this.t('pd.drawingPath.drawingPass11'), property: "drawingPass11" },
35
- {text: this.t('pd.drawingPath.drawingPass12'), property: "drawingPass12" },
36
- {text: this.t('pd.drawingPath.drawingPass13'), property: "drawingPass13" },
37
- {text: this.t('pd.drawingPath.drawingPass14'), property: "drawingPass14" },
38
- {text: this.t('pd.drawingPath.drawingPass15'), property: "drawingPass15" },
39
- {text: this.t('pd.drawingPath.drawingPass16'), property: "drawingPass16" },
20
+ {text: "拉拔路径编号", property: "drawingPathNo" },
21
+ {text: "拉拔路径名称", property: "drawingPathName",width: 170 },
22
+ {text: "进线mm", property: "inDiameter" },
23
+ {text: "出线mm", property: "outDiameter" },
24
+ {text: "拉拔道次1", property: "drawingPass1" },
25
+ {text: "拉拔道次2", property: "drawingPass2" },
26
+ {text: "拉拔道次3", property: "drawingPass3" },
27
+ {text: "拉拔道次4", property: "drawingPass4" },
28
+ {text: "拉拔道次5", property: "drawingPass5" },
29
+ {text: "拉拔道次6", property: "drawingPass6" },
30
+ {text: "拉拔道次7", property: "drawingPass7" },
31
+ {text: "拉拔道次8", property: "drawingPass8" },
32
+ {text: "拉拔道次9", property: "drawingPass9" },
33
+ {text: "拉拔道次10", property: "drawingPass10" },
34
+ {text: "拉拔道次11", property: "drawingPass11" },
35
+ {text: "拉拔道次12", property: "drawingPass12" },
36
+ {text: "拉拔道次13", property: "drawingPass13" },
37
+ {text: "拉拔道次14", property: "drawingPass14" },
38
+ {text: "拉拔道次15", property: "drawingPass15" },
39
+ {text: "拉拔道次16", property: "drawingPass16" },
40
40
  ];
41
41
  // 查询条件
42
42
  searchRules= [
43
- {text: this.t('pd.drawingPath.siteId'), property: "siteId",
43
+ {text: "组织", property: "siteId",
44
44
  displayType: "DropDownList",
45
45
  setting: {
46
46
  url: "/fd/fd/getAllSites?siteTypeCode=2",
@@ -48,14 +48,14 @@ export default class PathList extends ListBasePage {
48
48
  valueField: "siteId",
49
49
  },
50
50
  },
51
- {text: this.t('pd.drawingPath.drawingPathNo'), property: "drawingPathNo", displayType: "TextBox",op:"LI"},
52
- {text: this.t('pd.drawingPath.drawingPathName'), property: "drawingPathName", displayType: "TextBox",op:"LI"},
53
- {text: this.t('pd.drawingPath.outDiameter'), property: "outDiameter", displayType: "TextBox",op:"LI"},
54
- {text: this.t('pd.drawingPath.inDiameter'), property: "inDiameter", displayType: "TextBox",op:"LI"},
51
+ {text: "拉拔路径编号", property: "drawingPathNo", displayType: "TextBox",op:"LI"},
52
+ {text: "拉拔路径名称", property: "drawingPathName", displayType: "TextBox",op:"LI"},
53
+ {text: "出线mm", property: "outDiameter", displayType: "TextBox",op:"LI"},
54
+ {text: "进线mm", property: "inDiameter", displayType: "TextBox",op:"LI"},
55
55
  ];
56
56
  // 列信息
57
57
  editColumns= [
58
- { text: this.t('pd.drawingPath.siteId'), property: "siteId",
58
+ { text: "组织", property: "siteId",
59
59
  displayType: "DropDownList",
60
60
  setting: {
61
61
  url: "/fd/fd/getAllSites?siteTypeCode=2",
@@ -63,26 +63,26 @@ export default class PathList extends ListBasePage {
63
63
  valueField: "siteId",
64
64
  },
65
65
  },
66
- { text: this.t('pd.drawingPath.drawingPathNo'), property: "drawingPathNo", displayType: "TextBox" },
67
- { text: this.t('pd.drawingPath.drawingPathName'), property: "drawingPathName", displayType: "TextBox" },
68
- { text: this.t('pd.drawingPath.inDiameter'), property: "inDiameter", displayType: "TextBox" },
69
- { text: this.t('pd.drawingPath.outDiameter'), property: "outDiameter", displayType: "TextBox" },
70
- { text: this.t('pd.drawingPath.drawingPass1'), property: "drawingPass1", displayType: "TextBox" },
71
- { text: this.t('pd.drawingPath.drawingPass2'), property: "drawingPass2", displayType: "TextBox" },
72
- { text: this.t('pd.drawingPath.drawingPass3'), property: "drawingPass3", displayType: "TextBox" },
73
- { text: this.t('pd.drawingPath.drawingPass4'), property: "drawingPass4", displayType: "TextBox" },
74
- { text: this.t('pd.drawingPath.drawingPass5'), property: "drawingPass5", displayType: "TextBox" },
75
- { text: this.t('pd.drawingPath.drawingPass6'), property: "drawingPass6", displayType: "TextBox" },
76
- { text: this.t('pd.drawingPath.drawingPass7'), property: "drawingPass7", displayType: "TextBox" },
77
- { text: this.t('pd.drawingPath.drawingPass8'), property: "drawingPass8", displayType: "TextBox" },
78
- { text: this.t('pd.drawingPath.drawingPass9'), property: "drawingPass9", displayType: "TextBox" },
79
- { text: this.t('pd.drawingPath.drawingPass10'), property: "drawingPass10", displayType: "TextBox" },
80
- { text: this.t('pd.drawingPath.drawingPass11'), property: "drawingPass11", displayType: "TextBox" },
81
- { text: this.t('pd.drawingPath.drawingPass12'), property: "drawingPass12", displayType: "TextBox" },
82
- { text: this.t('pd.drawingPath.drawingPass13'), property: "drawingPass13", displayType: "TextBox" },
83
- { text: this.t('pd.drawingPath.drawingPass14'), property: "drawingPass14", displayType: "TextBox" },
84
- { text: this.t('pd.drawingPath.drawingPass15'), property: "drawingPass15", displayType: "TextBox" },
85
- { text: this.t('pd.drawingPath.drawingPass16'), property: "drawingPass16", displayType: "TextBox" },
66
+ { text: "拉拔路径编号", property: "drawingPathNo", displayType: "TextBox" },
67
+ { text: "拉拔路径名称", property: "drawingPathName", displayType: "TextBox" },
68
+ { text: "进线直径mm", property: "inDiameter", displayType: "TextBox" },
69
+ { text: "出线直径mm", property: "outDiameter", displayType: "TextBox" },
70
+ { text: "拉拔道次1", property: "drawingPass1", displayType: "TextBox" },
71
+ { text: "拉拔道次2", property: "drawingPass2", displayType: "TextBox" },
72
+ { text: "拉拔道次3", property: "drawingPass3", displayType: "TextBox" },
73
+ { text: "拉拔道次4", property: "drawingPass4", displayType: "TextBox" },
74
+ { text: "拉拔道次5", property: "drawingPass5", displayType: "TextBox" },
75
+ { text: "拉拔道次6", property: "drawingPass6", displayType: "TextBox" },
76
+ { text: "拉拔道次7", property: "drawingPass7", displayType: "TextBox" },
77
+ { text: "拉拔道次8", property: "drawingPass8", displayType: "TextBox" },
78
+ { text: "拉拔道次9", property: "drawingPass9", displayType: "TextBox" },
79
+ { text: "拉拔道次10", property: "drawingPass10", displayType: "TextBox" },
80
+ { text: "拉拔道次11", property: "drawingPass11", displayType: "TextBox" },
81
+ { text: "拉拔道次12", property: "drawingPass12", displayType: "TextBox" },
82
+ { text: "拉拔道次13", property: "drawingPass13", displayType: "TextBox" },
83
+ { text: "拉拔道次14", property: "drawingPass14", displayType: "TextBox" },
84
+ { text: "拉拔道次15", property: "drawingPass15", displayType: "TextBox" },
85
+ { text: "拉拔道次16", property: "drawingPass16", displayType: "TextBox" },
86
86
  ];
87
87
  isMultiple = true;
88
88
  listSetting = {
@@ -96,22 +96,22 @@ export default class PathList extends ListBasePage {
96
96
  // 表单校验
97
97
  editRules= {
98
98
  drawingPathNo: [
99
- { required: true, message: this.t('pd.drawingPath.required.drawingPathNo'), trigger: "blur" }
99
+ { required: true, message: "拉拔路径编号不能为空", trigger: "blur" }
100
100
  ],
101
101
  drawingPathName: [
102
- { required: true, message: this.t('pd.drawingPath.required.drawingPathName'), trigger: "blur" }
102
+ { required: true, message: "拉拔路径名称不能为空", trigger: "blur" }
103
103
  ],
104
104
  inDiameter: [
105
- { required: true, message: this.t('pd.drawingPath.required.inDiameter'), trigger: "blur" }
105
+ { required: true, message: "进线直径mm不能为空", trigger: "blur" }
106
106
  ],
107
107
  outDiameter: [
108
- { required: true, message: this.t('pd.drawingPath.required.outDiameter'), trigger: "blur" }
108
+ { required: true, message: "出线直径mm不能为空", trigger: "blur" }
109
109
  ],
110
110
  drawingPass1: [
111
- { required: true, message: this.t('pd.drawingPath.required.drawingPass1'), trigger: "blur" }
111
+ { required: true, message: "拉拔道次1不能为空", trigger: "blur" }
112
112
  ],
113
113
  siteId: [
114
- { required: true, message: this.t('pd.drawingPath.required.siteId'), trigger: "blur" }
114
+ { required: true, message: "请选择组织", trigger: "blur" }
115
115
  ],
116
116
  };
117
117
  created(){
@@ -13,35 +13,35 @@ export default class ParameterList extends ListBasePage {
13
13
  // 列表列信息
14
14
  listColumns = [
15
15
  //{key: 0, label: "序号", visible: true},
16
- {text: this.t('pd.parameter.parameterNo'), property: "parameterNo" },
17
- {text: this.t('pd.parameter.parameterName'), property: "parameterName" },
18
- {text: this.t('pd.parameter.featureAttributeCode'), property: "featureAttributeCode",
16
+ {text: "参数编号", property: "parameterNo" },
17
+ {text: "参数名称", property: "parameterName" },
18
+ {text: "特性属性", property: "featureAttributeCode",
19
19
  setting: {
20
20
  dictType: "feature_attribute_code",
21
21
  }},
22
- {text: this.t('pd.parameter.qualitativeRequest'), property: "qualitativeRequest" },
23
- {text: this.t('pd.parameter.standardValue'), property: "standardValue" },
24
- {text: this.t('pd.parameter.uomCode'), property: "uomCode",
22
+ {text: "定性要求", property: "qualitativeRequest" },
23
+ {text: "标准值", property: "standardValue" },
24
+ {text: "单位", property: "uomCode",
25
25
  setting: {
26
26
  dictType: "uom_code",
27
27
  }
28
28
  },
29
- {text: this.t('pd.parameter.upperLimit'), property: "upperLimit", align:'right' },
30
- {text: this.t('pd.parameter.lowerLimit'), property: "lowerLimit", align:'right' },
31
- {text: this.t('pd.parameter.remark'), property: "remark" },
29
+ {text: "默认上限", property: "upperLimit", align:'right' },
30
+ {text: "默认下限", property: "lowerLimit", align:'right' },
31
+ {text: "备注", property: "remark" },
32
32
  ];
33
33
  // 查询条件
34
34
  searchRules= [
35
- {text: this.t('pd.parameter.parameterNo'), property: "parameterNo", displayType: "TextBox", op: "LI", width: 12},
36
- {text: this.t('pd.parameter.parameterName'), property: "parameterName", displayType: "TextBox", op: "LI", width: 12},
35
+ {text: "参数编号", property: "parameterNo", displayType: "TextBox",op:"LI"},
36
+ {text: "参数名称", property: "parameterName", displayType: "TextBox",op:"LI"},
37
37
  ];
38
38
  // 列信息
39
39
  editColumns= [
40
- { text: this.t('pd.parameter.parameterNo'), property: "parameterNo", displayType: "TextBox" },
41
- { text: this.t('pd.parameter.parameterName'), property: "parameterName", displayType: "TextBox" },
42
- { text: this.t('pd.parameter.upperLimit'), property: "upperLimit", displayType: "TextBox" },
43
- { text: this.t('pd.parameter.lowerLimit'), property: "lowerLimit", displayType: "TextBox" },
44
- { text: this.t('pd.parameter.remark'), property: "remark", displayType: "TextArea" ,
40
+ { text: "参数编号", property: "parameterNo", displayType: "TextBox" },
41
+ { text: "参数名称", property: "parameterName", displayType: "TextBox" },
42
+ { text: "默认上限", property: "upperLimit", displayType: "TextBox" },
43
+ { text: "默认下限", property: "lowerLimit", displayType: "TextBox" },
44
+ { text: "备注", property: "remark", displayType: "TextArea" ,
45
45
  setting: {
46
46
  height: 5,
47
47
  }},
@@ -76,10 +76,10 @@ export default class ParameterList extends ListBasePage {
76
76
  // 表单校验
77
77
  editRules = {
78
78
  parameterNo: [
79
- { required: true, message: this.t('pd.parameter.required.parameterNo'), trigger: "blur" }
79
+ {required: true, message: "参数编号不能为空", trigger: "blur"}
80
80
  ],
81
81
  parameterName: [
82
- { required: true, message: this.t('pd.parameter.required.parameterName'), trigger: "blur" }
82
+ {required: true, message: "参数名称不能为空", trigger: "blur"}
83
83
  ],
84
84
 
85
85
  };