kz-ui-base 1.0.155 → 1.0.157
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.
- package/common/src/components/base/dialog/BaseDialog.vue +15 -4
- package/common/src/components/base/dialog/editDialog.vue +0 -3
- package/components/base/dialog/MultiLanguageDialog.vue +0 -3
- package/components/customForm/OpMenus.vue +5 -5
- package/list-base-page/listBasePageTs.vue +1 -4
- package/package.json +1 -1
- package/views/bd/common/modal/AddressInfoModal.vue +8 -8
- package/views/bd/common/modal/BankInfoModal.vue +10 -10
- package/views/bd/common/modal/CustomerContactsModal.vue +13 -13
- package/views/bd/common/modal/ItemModalBk.vue +8 -8
- package/views/bd/common/modal/NumberingRuleModal.vue +8 -8
- package/views/bd/common/modal/PostModal.vue +22 -22
- package/views/bd/common/modal/ProjectModal.vue +8 -8
- package/views/bd/common/modal/SalesmanInfoModel.vue +7 -7
- package/views/bd/common/modal/materialCodeModal.vue +23 -30
- package/views/fd/common/modal/AddResourceModal.vue +8 -6
- package/views/fd/common/modal/AssetModal.vue +17 -17
- package/views/fd/common/modal/EquipmentModal.vue +10 -10
- package/views/fd/common/modal/FactoryTreeModal.vue +3 -1
- package/views/fd/common/modal/ResourceModal.vue +6 -6
- package/views/fd/common/modal/SiteModal.vue +9 -11
- package/views/fd/common/modal/StorageUnitModal.vue +9 -9
- package/views/fd/common/modal/StorageZoneModal.vue +11 -11
- package/views/fd/common/modal/WorkAreaModal.vue +9 -9
- package/views/fd/common/modal/WorkCenterModal.vue +9 -9
- package/views/fd/common/modal/WorkUnitModal.vue +9 -9
- package/views/pd/common/modal/BopModal.vue +10 -10
- package/views/pd/common/modal/DrawingPathModal.vue +52 -52
- package/views/pd/common/modal/ParameterModal.vue +18 -18
- package/views/pd/common/modal/ProcessModal.vue +15 -15
- package/views/pd/common/modal/ProdRoutingDtlModal.vue +19 -19
- package/views/pd/common/modal/ProdRoutingModal.vue +14 -14
- package/views/pd/common/modal/ProdStructureModal.vue +14 -14
- package/views/pd/common/modal/ProdstructTemplateHdrModal.vue +27 -25
- package/views/pd/common/modal/ProductionVersionModal.vue +35 -35
- package/views/pd/common/modal/technicalStandardModal.vue +17 -17
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
size="small"
|
|
23
23
|
type="primary"
|
|
24
24
|
@click="handleConfirm"
|
|
25
|
-
>{{
|
|
25
|
+
>{{ _confirmText }}
|
|
26
26
|
</el-button>
|
|
27
27
|
<el-button
|
|
28
28
|
size="small"
|
|
29
29
|
@click="handleClose"
|
|
30
|
-
>{{
|
|
30
|
+
>{{ _cancelText }}
|
|
31
31
|
</el-button>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
@@ -44,11 +44,11 @@ export default {
|
|
|
44
44
|
},
|
|
45
45
|
confirmText: {
|
|
46
46
|
type: String,
|
|
47
|
-
default: '
|
|
47
|
+
default: ''
|
|
48
48
|
},
|
|
49
49
|
cancelText: {
|
|
50
50
|
type: String,
|
|
51
|
-
default: '
|
|
51
|
+
default: ''
|
|
52
52
|
},
|
|
53
53
|
visible: {
|
|
54
54
|
type: Boolean,
|
|
@@ -66,12 +66,23 @@ export default {
|
|
|
66
66
|
submitLoading: false
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
+
computed: {
|
|
70
|
+
// 确定按钮文本,支持国际化
|
|
71
|
+
_confirmText() {
|
|
72
|
+
return this.confirmText || this.t('component.dialog.confirm') || '确定'
|
|
73
|
+
},
|
|
74
|
+
// 取消按钮文本,支持国际化
|
|
75
|
+
_cancelText() {
|
|
76
|
+
return this.cancelText || this.t('component.dialog.cancel') || '关闭'
|
|
77
|
+
}
|
|
78
|
+
},
|
|
69
79
|
watch: {
|
|
70
80
|
visible(val) {
|
|
71
81
|
this.modalState = val
|
|
72
82
|
}
|
|
73
83
|
},
|
|
74
84
|
methods: {
|
|
85
|
+
|
|
75
86
|
handleConfirm() {
|
|
76
87
|
this.$emit('on-confirm')
|
|
77
88
|
},
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
opMenu.permission,
|
|
9
9
|
`${moduleName}:${serviceName}:${opMenu.permission}`,
|
|
10
10
|
]">
|
|
11
|
-
{{ opMenu.text }}
|
|
11
|
+
{{ opMenu.text || t(opMenu.i18nKey) }}
|
|
12
12
|
</el-button>
|
|
13
13
|
</el-col>
|
|
14
14
|
</template>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
opMenu.permission,
|
|
21
21
|
`${moduleName}:${serviceName}:${opMenu.permission}`,
|
|
22
22
|
]">
|
|
23
|
-
{{ opMenu.text }}
|
|
23
|
+
{{ opMenu.text || t(opMenu.i18nKey) }}
|
|
24
24
|
</el-button>
|
|
25
25
|
</el-col>
|
|
26
26
|
</template>
|
|
@@ -69,7 +69,7 @@ export default {
|
|
|
69
69
|
default:()=>[
|
|
70
70
|
{
|
|
71
71
|
visible: true,
|
|
72
|
-
|
|
72
|
+
i18nKey: "opMenus.add",
|
|
73
73
|
icon: "el-icon-plus",
|
|
74
74
|
permission: "add",
|
|
75
75
|
name: "add",
|
|
@@ -79,7 +79,7 @@ export default {
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
visible: true,
|
|
82
|
-
|
|
82
|
+
i18nKey: "opMenus.update",
|
|
83
83
|
icon: "el-icon-edit",
|
|
84
84
|
permission: "edit",
|
|
85
85
|
name: "update",
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
visible: true,
|
|
92
|
-
|
|
92
|
+
i18nKey: "opMenus.delete",
|
|
93
93
|
icon: "el-icon-delete",
|
|
94
94
|
permission: "remove",
|
|
95
95
|
name: "delete",
|
package/package.json
CHANGED
|
@@ -27,22 +27,22 @@ export default class AddressInfoModal extends ListBasePage {
|
|
|
27
27
|
// 列表列信息
|
|
28
28
|
listColumns = [
|
|
29
29
|
//{key: 0, label: "序号", visible: true},
|
|
30
|
-
{ text:
|
|
31
|
-
{ text:
|
|
32
|
-
{ text:
|
|
33
|
-
{ text:
|
|
30
|
+
{ text: this.t('bd.customerAddress.addressee'), property: "addressee" },
|
|
31
|
+
{ text: this.t('bd.customerAddress.telNo'), property: "telNo" },
|
|
32
|
+
{ text: this.t('bd.customerAddress.postalNo'), property: "postalNo" },
|
|
33
|
+
{ text: this.t('bd.customerAddress.address'), property: "address" },
|
|
34
34
|
{
|
|
35
|
-
text:
|
|
35
|
+
text: this.t('bd.customerAddress.isDefaultAddressee'), property: "isDefaultAddressee", setting: {
|
|
36
36
|
type: 'bool'
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
|
-
{ text:
|
|
39
|
+
{ text: this.t('bd.customerAddress.remark'), property: "remark" },
|
|
40
40
|
];
|
|
41
41
|
|
|
42
42
|
// 查询条件
|
|
43
43
|
searchRules = [
|
|
44
|
-
{ text:
|
|
45
|
-
{ text:
|
|
44
|
+
{ text: this.t('bd.customerAddress.customerId'), property: "customerId", displayType: "TextBox", disabled: true, visible: false},
|
|
45
|
+
{ text: this.t('bd.customerAddress.addressee'), property: "addressee" ,displayType: "TextBox",op: "LI",principal:true, },
|
|
46
46
|
];
|
|
47
47
|
// 列信息
|
|
48
48
|
editColumns = [
|
|
@@ -27,32 +27,32 @@ export default class BankInfoModal extends ListBasePage {
|
|
|
27
27
|
listColumns = [
|
|
28
28
|
//{key: 0, label: "序号", visible: true},
|
|
29
29
|
{
|
|
30
|
-
text:
|
|
30
|
+
text: this.t('bd.customerBank.countryCode'), property: "countryCode", setting: {
|
|
31
31
|
dictType: "country_code",
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
{ text:
|
|
35
|
-
{ text:
|
|
36
|
-
{ text:
|
|
37
|
-
{ text:
|
|
34
|
+
{ text: this.t('bd.customerBank.bankName'), property: "bankName" },
|
|
35
|
+
{ text: this.t('bd.customerBank.bankAccount'), property: "bankAccount" },
|
|
36
|
+
{ text: this.t('bd.customerBank.accountName'), property: "accountName" },
|
|
37
|
+
{ text: this.t('bd.customerBank.currencyId'), property: "currencyId" },
|
|
38
38
|
{
|
|
39
|
-
text:
|
|
39
|
+
text: this.t('bd.customerBank.isDefaultAccount'), property: "isDefaultAccount", setting: {
|
|
40
40
|
type: "bool"
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
|
-
{ text:
|
|
43
|
+
{ text: this.t('bd.customerBank.remark'), property: "remark" },
|
|
44
44
|
];
|
|
45
45
|
|
|
46
46
|
// 查询条件
|
|
47
47
|
searchRules = [
|
|
48
|
-
{ text:
|
|
48
|
+
{ text: this.t('bd.customerBank.customerId'), property: "customerId", displayType: "TextBox", disabled: true, visible: false},
|
|
49
49
|
{
|
|
50
|
-
text:
|
|
50
|
+
text: this.t('bd.customerBank.countryCode'), property: "countryCode", displayType: "DropDownList",
|
|
51
51
|
setting: {
|
|
52
52
|
dictType: "country_code",
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
{ text:
|
|
55
|
+
{ text: this.t('bd.customerBank.bankName'), property: "bankName", displayType: "TextBox" },
|
|
56
56
|
];
|
|
57
57
|
opMenus = [];
|
|
58
58
|
|
|
@@ -30,32 +30,32 @@ export default class CustomercontactsList extends ListBasePage {
|
|
|
30
30
|
listColumns = [
|
|
31
31
|
//{key: 0, label: "序号", visible: true},
|
|
32
32
|
//{text: "客户ID", property: "customerId" },
|
|
33
|
-
{ text:
|
|
33
|
+
{ text: this.t('bd.customerContacts.contactName'), property: "contactName" },
|
|
34
34
|
{
|
|
35
|
-
text:
|
|
35
|
+
text: this.t('bd.customerContacts.sexCode'), property: "sexCode", setting: {
|
|
36
36
|
dictType: "sex_code",
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
{ text:
|
|
40
|
-
{ text:
|
|
41
|
-
{ text:
|
|
42
|
-
{ text:
|
|
43
|
-
{ text:
|
|
44
|
-
{ text:
|
|
39
|
+
{ text: this.t('bd.customerContacts.titleDesc'), property: "titleDesc" },
|
|
40
|
+
{ text: this.t('bd.customerContacts.mobilePhone'), property: "mobilePhone" },
|
|
41
|
+
{ text: this.t('bd.customerContacts.fixedTelephone'), property: "fixedTelephone" },
|
|
42
|
+
{ text: this.t('bd.customerContacts.faxNo'), property: "faxNo" },
|
|
43
|
+
{ text: this.t('bd.customerContacts.email'), property: "email" },
|
|
44
|
+
{ text: this.t('bd.customerContacts.address'), property: "address" },
|
|
45
45
|
{
|
|
46
|
-
text:
|
|
46
|
+
text: this.t('bd.customerContacts.isShippingAddress'), property: "isShippingAddress",
|
|
47
47
|
setting: {
|
|
48
48
|
type: "bool"
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
|
-
{ text:
|
|
51
|
+
{ text: this.t('bd.customerContacts.remark'), property: "remark" },
|
|
52
52
|
];
|
|
53
53
|
|
|
54
54
|
// 查询条件
|
|
55
55
|
searchRules = [
|
|
56
|
-
{ text:
|
|
57
|
-
{ text:
|
|
58
|
-
{ text:
|
|
56
|
+
{ text: this.t('bd.customerContacts.customerId'), property: "customerId", displayType: "TextBox", disabled: true, visible: false},
|
|
57
|
+
{ text: this.t('bd.customerContacts.contactName'), property: "contactName",op: "LI",principal:true, },
|
|
58
|
+
{ text: this.t('bd.customerContacts.titleDesc'), property: "titleDesc", displayType: "TextBox" },
|
|
59
59
|
];
|
|
60
60
|
// 列信息
|
|
61
61
|
editColumns = [];
|
|
@@ -33,23 +33,23 @@ export default class ItemList extends ListBasePage {
|
|
|
33
33
|
// 列表列信息
|
|
34
34
|
listColumns = [
|
|
35
35
|
//{key: 0, label: "序号", visible: true},
|
|
36
|
-
{ text:
|
|
37
|
-
{ text:
|
|
38
|
-
{ text:
|
|
39
|
-
{ text:
|
|
40
|
-
{ text:
|
|
36
|
+
{ text: this.t('bd.item.itemNo'), property: "itemNo" },
|
|
37
|
+
{ text: this.t('bd.item.itemName'), property: "itemName" },
|
|
38
|
+
{ text: this.t('bd.item.itemSpec'), property: "itemSpec" },
|
|
39
|
+
{ text: this.t('bd.item.itemStatusCode'), property: "itemStatusCode" },
|
|
40
|
+
{ text: this.t('bd.item.baseUom'), property: "baseUomCode" },
|
|
41
41
|
];
|
|
42
42
|
// 查询条件
|
|
43
43
|
searchRules = [
|
|
44
|
-
{ text:
|
|
44
|
+
{ text: this.t('bd.item.itemNo'), property: "itemNo", displayType: "TextBox", op: "LI" },
|
|
45
45
|
{
|
|
46
|
-
text:
|
|
46
|
+
text: this.t('bd.item.itemName'),
|
|
47
47
|
property: "itemName",
|
|
48
48
|
displayType: "TextBox",
|
|
49
49
|
op: "LI",
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
text:
|
|
52
|
+
text: this.t('bd.item.itemSpec'),
|
|
53
53
|
property: "itemSpec",
|
|
54
54
|
displayType: "TextBox",
|
|
55
55
|
op: "LI",
|
|
@@ -11,20 +11,20 @@ export default class NumberingRuleModal extends ListBasePage {
|
|
|
11
11
|
labelwidth = "100px";
|
|
12
12
|
// 列表列信息
|
|
13
13
|
listColumns = [
|
|
14
|
-
{text:
|
|
15
|
-
{text:
|
|
14
|
+
{text: this.t('bd.numberingRule.numberingRuleNo'), property: "numberingRuleNo"},
|
|
15
|
+
{text: this.t('bd.numberingRule.numberingRuleName'), property: "numberingRuleName"},
|
|
16
16
|
];
|
|
17
17
|
//是否展示勾选框
|
|
18
18
|
isMultiple = true;
|
|
19
19
|
// 查询条件
|
|
20
20
|
searchRules = [
|
|
21
|
-
{text:
|
|
22
|
-
{text:
|
|
21
|
+
{text: this.t('bd.numberingRule.numberingRuleNo'), op: "LI", property: "numberingRuleNo", displayType: "TextBox", width:9},
|
|
22
|
+
{text: this.t('bd.numberingRule.numberingRuleName'), op: "LI", property: "numberingRuleName", displayType: "TextBox", width:9},
|
|
23
23
|
];
|
|
24
24
|
// 列信息
|
|
25
25
|
editColumns = [
|
|
26
|
-
{text:
|
|
27
|
-
{text:
|
|
26
|
+
{text: this.t('bd.numberingRule.numberingRuleNo'), property: "numberingRuleNo", displayType: "TextBox"},
|
|
27
|
+
{text: this.t('bd.numberingRule.numberingRuleName'), property: "numberingRuleName", displayType: "TextBox"},
|
|
28
28
|
];
|
|
29
29
|
opMenus = [
|
|
30
30
|
];
|
|
@@ -52,10 +52,10 @@ export default class NumberingRuleModal extends ListBasePage {
|
|
|
52
52
|
// 表单校验
|
|
53
53
|
editRules = {
|
|
54
54
|
vendorNo: [
|
|
55
|
-
{required: true, message:
|
|
55
|
+
{required: true, message: this.t('bd.numberingRule.required.numberingRuleNo'), trigger: "blur"}
|
|
56
56
|
],
|
|
57
57
|
vendorName: [
|
|
58
|
-
{required: true, message:
|
|
58
|
+
{required: true, message: this.t('bd.numberingRule.required.numberingRuleName'), trigger: "blur"}
|
|
59
59
|
],
|
|
60
60
|
};
|
|
61
61
|
mounted() {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<div class="head-container">
|
|
8
8
|
<el-input
|
|
9
9
|
v-model="deptName"
|
|
10
|
-
placeholder="
|
|
10
|
+
:placeholder="t('bd.post.placeholder.deptName')"
|
|
11
11
|
clearable
|
|
12
12
|
size="small"
|
|
13
13
|
prefix-icon="el-icon-search"
|
|
@@ -32,26 +32,26 @@
|
|
|
32
32
|
<el-col :span="20" :xs="24">
|
|
33
33
|
<div class="wrapper-container" v-show="showSearch">
|
|
34
34
|
<el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px">
|
|
35
|
-
<el-form-item label="
|
|
35
|
+
<el-form-item :label="t('bd.post.postCode')" prop="postCode">
|
|
36
36
|
<el-input
|
|
37
37
|
v-model="queryParams.postCode"
|
|
38
|
-
placeholder="
|
|
38
|
+
:placeholder="t('bd.post.placeholder.postCode')"
|
|
39
39
|
clearable
|
|
40
40
|
size="small"
|
|
41
41
|
@keyup.enter.native="handleQuery"
|
|
42
42
|
/>
|
|
43
43
|
</el-form-item>
|
|
44
|
-
<el-form-item label="
|
|
44
|
+
<el-form-item :label="t('bd.post.postName')" prop="postName">
|
|
45
45
|
<el-input
|
|
46
46
|
v-model="queryParams.postName"
|
|
47
|
-
placeholder="
|
|
47
|
+
:placeholder="t('bd.post.placeholder.postName')"
|
|
48
48
|
clearable
|
|
49
49
|
size="small"
|
|
50
50
|
@keyup.enter.native="handleQuery"
|
|
51
51
|
/>
|
|
52
52
|
</el-form-item>
|
|
53
|
-
<el-form-item label="
|
|
54
|
-
<el-select v-model="queryParams.status" placeholder="
|
|
53
|
+
<el-form-item :label="t('bd.post.status')" prop="status">
|
|
54
|
+
<el-select v-model="queryParams.status" :placeholder="$t('bd.post.placeholder.postStatus')" clearable size="small">
|
|
55
55
|
<el-option
|
|
56
56
|
v-for="dict in statusOptions"
|
|
57
57
|
:key="dict.dictValue"
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
</el-select>
|
|
62
62
|
</el-form-item>
|
|
63
63
|
<el-form-item>
|
|
64
|
-
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"
|
|
65
|
-
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
64
|
+
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{ t('bd.post.search') }}</el-button>
|
|
65
|
+
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ t('bd.post.reset') }}</el-button>
|
|
66
66
|
</el-form-item>
|
|
67
67
|
</el-form>
|
|
68
68
|
</div>
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
<div class="wrapper-container">
|
|
71
71
|
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
|
|
72
72
|
<el-table-column type="selection" width="50" align="center" />
|
|
73
|
-
<el-table-column label="
|
|
74
|
-
<el-table-column label="
|
|
73
|
+
<el-table-column :label="t('bd.post.postCode')" align="center" prop="postCode" key="postCode" v-if="columns[0].visible" min-width="120"/>
|
|
74
|
+
<el-table-column :label="t('bd.post.postName')" align="center" prop="postName" key="postName" v-if="columns[1].visible"
|
|
75
75
|
:show-overflow-tooltip="true" min-width="120"/>
|
|
76
|
-
<el-table-column label="
|
|
76
|
+
<el-table-column :label="t('bd.post.deptName')" align="center" prop="dept.deptName" key="dept.deptName"
|
|
77
77
|
v-if="columns[2].visible" :show-overflow-tooltip="true" min-width="120"/>
|
|
78
|
-
<el-table-column label="
|
|
78
|
+
<el-table-column :label="t('bd.post.status')" align="center" prop="status" :formatter="statusFormat" key="status"
|
|
79
79
|
v-if="columns[3].visible" :show-overflow-tooltip="true" min-width="120">
|
|
80
80
|
<template slot-scope="scope">
|
|
81
81
|
<el-switch
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
></el-switch>
|
|
87
87
|
</template>
|
|
88
88
|
</el-table-column>
|
|
89
|
-
<el-table-column label="
|
|
89
|
+
<el-table-column :label="t('bd.post.createTime')" align="center" prop="createTime" min-width="180" key="createTime"
|
|
90
90
|
v-if="columns[4].visible" :show-overflow-tooltip="true">
|
|
91
91
|
<template slot-scope="scope">
|
|
92
92
|
<span>{{ parseTime(scope.row.createTime) }}</span>
|
|
@@ -148,24 +148,24 @@ export default {
|
|
|
148
148
|
},
|
|
149
149
|
// 列信息
|
|
150
150
|
columns: [
|
|
151
|
-
{key: 0, label:
|
|
152
|
-
{key: 1, label:
|
|
153
|
-
{key: 2, label:
|
|
154
|
-
{key: 3, label:
|
|
155
|
-
{key: 4, label:
|
|
151
|
+
{key: 0, label: this.t('bd.post.postCode'), visible: true},
|
|
152
|
+
{key: 1, label: this.t('bd.post.postName'), visible: true},
|
|
153
|
+
{key: 2, label: this.t('bd.post.deptName'), visible: true},
|
|
154
|
+
{key: 3, label: this.t('bd.post.status'), visible: true},
|
|
155
|
+
{key: 4, label: this.t('bd.post.createTime'), visible: true}
|
|
156
156
|
],
|
|
157
157
|
// 表单参数
|
|
158
158
|
form: {},
|
|
159
159
|
// 表单校验
|
|
160
160
|
rules: {
|
|
161
161
|
deptId: [
|
|
162
|
-
{required: true, message:
|
|
162
|
+
{required: true, message: this.t('bd.post.required.deptId'), trigger: "blur"}
|
|
163
163
|
],
|
|
164
164
|
postCode: [
|
|
165
|
-
{required: true, message:
|
|
165
|
+
{required: true, message: this.t('bd.post.required.postCode'), trigger: "blur"}
|
|
166
166
|
],
|
|
167
167
|
postName: [
|
|
168
|
-
{required: true, message:
|
|
168
|
+
{required: true, message: this.t('bd.post.required.postName'), trigger: "blur"}
|
|
169
169
|
]
|
|
170
170
|
},
|
|
171
171
|
// 部门树选项
|
|
@@ -11,20 +11,20 @@ export default class ProjectList extends ListBasePage {
|
|
|
11
11
|
// 列表列信息
|
|
12
12
|
listColumns = [
|
|
13
13
|
//{key: 0, label: "序号", visible: true},
|
|
14
|
-
{text:
|
|
15
|
-
{text:
|
|
14
|
+
{text: this.t('bd.project.projectNo'), property: "projectNo"},
|
|
15
|
+
{text: this.t('bd.project.projectName'), property: "projectName"},
|
|
16
16
|
];
|
|
17
17
|
//是否多选
|
|
18
18
|
isMultiple = true;
|
|
19
19
|
// 查询条件
|
|
20
20
|
searchRules = [
|
|
21
|
-
{text:
|
|
22
|
-
{text:
|
|
21
|
+
{text: this.t('bd.project.projectNo'), op: "LI", property: "projectNo", displayType: "TextBox"},
|
|
22
|
+
{text: this.t('bd.project.projectName'), op: "LI", property: "projectName", displayType: "TextBox"},
|
|
23
23
|
];
|
|
24
24
|
// 列信息
|
|
25
25
|
editColumns = [
|
|
26
|
-
{text:
|
|
27
|
-
{text:
|
|
26
|
+
{text: this.t('bd.project.projectNo'), property: "projectNo", displayType: "TextBox"},
|
|
27
|
+
{text: this.t('bd.project.projectName'), property: "projectName", displayType: "TextBox"},
|
|
28
28
|
];
|
|
29
29
|
opMenus = [
|
|
30
30
|
];
|
|
@@ -51,10 +51,10 @@ export default class ProjectList extends ListBasePage {
|
|
|
51
51
|
// 表单校验
|
|
52
52
|
editRules = {
|
|
53
53
|
projectNo: [
|
|
54
|
-
{required: true, message:
|
|
54
|
+
{required: true, message: this.t('bd.project.required.projectNo'), trigger: "blur"}
|
|
55
55
|
],
|
|
56
56
|
projectName: [
|
|
57
|
-
{required: true, message:
|
|
57
|
+
{required: true, message: this.t('bd.project.required.projectName'), trigger: "blur"}
|
|
58
58
|
],
|
|
59
59
|
};
|
|
60
60
|
mounted() {
|
|
@@ -26,17 +26,17 @@ export default class SalesmanInfoModel extends ListLocalDataPage {
|
|
|
26
26
|
// 列表列信息
|
|
27
27
|
listColumns = [
|
|
28
28
|
//{key: 0, label: "序号", visible: true},
|
|
29
|
-
{ text:
|
|
30
|
-
{ text:
|
|
31
|
-
{ text:
|
|
29
|
+
{ text: this.t('bd.customerSalesman.employeeNo'), property: "employeeNo" },
|
|
30
|
+
{ text: this.t('bd.customerSalesman.employeeName'), property: "employeeName" },
|
|
31
|
+
{ text: this.t('bd.customerSalesman.remark'), property: "remark" },
|
|
32
32
|
];
|
|
33
33
|
// 列信息
|
|
34
34
|
editColumns = [
|
|
35
35
|
{
|
|
36
|
-
text:
|
|
36
|
+
text: this.t('bd.customerSalesman.customerId'), property: "customerId", displayType: "TextBox", disabled: true
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
text:
|
|
39
|
+
text: this.t('bd.customerSalesman.employeeId'), property: "employeeId", displayType: "DropDownList",
|
|
40
40
|
setting: {
|
|
41
41
|
url: "/bd/employee/list",
|
|
42
42
|
//指定显示字段和取值字段
|
|
@@ -44,13 +44,13 @@ export default class SalesmanInfoModel extends ListLocalDataPage {
|
|
|
44
44
|
valueField: "id"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
{ text:
|
|
47
|
+
{ text: this.t('bd.customerSalesman.remark'), property: "remark", displayType: "TextBox" },
|
|
48
48
|
];
|
|
49
49
|
|
|
50
50
|
// 表单校验
|
|
51
51
|
editRules = {
|
|
52
52
|
employeeId: [
|
|
53
|
-
{ required: true, message:
|
|
53
|
+
{ required: true, message: this.t('bd.customerSalesman.required.employeeId'), trigger: "blur" }
|
|
54
54
|
],
|
|
55
55
|
};
|
|
56
56
|
created() {
|
|
@@ -11,37 +11,30 @@ export default class CustomerList extends ListBasePage {
|
|
|
11
11
|
// 列表列信息
|
|
12
12
|
listColumns = [
|
|
13
13
|
//{key: 0, label: "序号", visible: true},
|
|
14
|
-
{ text:
|
|
15
|
-
{ text:
|
|
16
|
-
{ text:
|
|
17
|
-
{ text:
|
|
18
|
-
{ text:
|
|
19
|
-
{ text:
|
|
20
|
-
{ text:
|
|
21
|
-
{ text:
|
|
22
|
-
{ text:
|
|
23
|
-
{ text:
|
|
24
|
-
{ text:
|
|
25
|
-
{ text:
|
|
26
|
-
{ text:
|
|
27
|
-
{ text:
|
|
28
|
-
{ text:
|
|
29
|
-
{ text:
|
|
30
|
-
{ text:
|
|
31
|
-
{ text:
|
|
32
|
-
{ text:
|
|
33
|
-
// { text: "经营状况", property: "businessStatus" },
|
|
34
|
-
// { text: "客户等级", property: "customerGradeCode" },
|
|
35
|
-
// { text: "销售类型", property: "salesTypeCode" },
|
|
36
|
-
// { text: "纳税分类", property: "taxClassCode" },
|
|
37
|
-
// { text: "发票类型", property: "invoiceTypeCode" },
|
|
38
|
-
// { text: "税率类型", property: "taxrateTypeCode" },
|
|
39
|
-
|
|
14
|
+
{ text: this.t('bd.item.itemNo'), property: "itemNo" },
|
|
15
|
+
{ text: this.t('bd.item.itemName'), property: "itemName" },
|
|
16
|
+
{ text: this.t('bd.item.itemNameEng'), property: "itemNameEng" },
|
|
17
|
+
{ text: this.t('bd.item.itemSpec'), property: "itemSpec" },
|
|
18
|
+
{ text: this.t('bd.item.itemSpecEng'), property: "itemSpecEng" },
|
|
19
|
+
{ text: this.t('bd.item.itemClassId'), property: "itemClassId" },
|
|
20
|
+
{ text: this.t('bd.item.itemCategoryId'), property: "itemCategoryId" },
|
|
21
|
+
{ text: this.t('bd.item.prodCategoryCode'), property: "prodCategoryCode" },
|
|
22
|
+
{ text: this.t('bd.item.productLineId'), property: "productLineId" },
|
|
23
|
+
{ text: this.t('bd.item.isDomesticSale'), property: "isDomesticSale" },
|
|
24
|
+
{ text: this.t('bd.item.isExportSale'), property: "isExportSale" },
|
|
25
|
+
{ text: this.t('bd.item.isSelfMade'), property: "isSelfMade" },
|
|
26
|
+
{ text: this.t('bd.item.isSubcontract'), property: "isSubcontract" },
|
|
27
|
+
{ text: this.t('bd.item.isPurchase'), property: "isPurchase" },
|
|
28
|
+
{ text: this.t('bd.item.baseUomCode'), property: "baseUomCode" },
|
|
29
|
+
{ text: this.t('bd.item.subUomCode'), property: "subUomCode" },
|
|
30
|
+
{ text: this.t('bd.item.baseUomValue'), property: "baseUomValue" },
|
|
31
|
+
{ text: this.t('bd.item.subUomValue'), property: "subUomValue" },
|
|
32
|
+
{ text: this.t('bd.item.isManageLot'), property: "isManageLot" },
|
|
40
33
|
];
|
|
41
34
|
// 查询条件
|
|
42
35
|
searchRules = [
|
|
43
|
-
{ text:
|
|
44
|
-
{ text:
|
|
36
|
+
{ text: this.t('bd.item.itemNo'), op: "LI", property: "itemNo", displayType: "TextBox" },
|
|
37
|
+
{ text: this.t('bd.item.itemName'), op: "LI", property: "itemName", displayType: "TextBox",principal:true, },
|
|
45
38
|
];
|
|
46
39
|
//是否多选
|
|
47
40
|
isMultiple = true;
|
|
@@ -60,10 +53,10 @@ export default class CustomerList extends ListBasePage {
|
|
|
60
53
|
// 表单校验
|
|
61
54
|
editRules = {
|
|
62
55
|
itemNo: [
|
|
63
|
-
{ required: true, message:
|
|
56
|
+
{ required: true, message: this.t('bd.item.required.itemNo'), trigger: "blur" }
|
|
64
57
|
],
|
|
65
58
|
itemName: [
|
|
66
|
-
{ required: true, message:
|
|
59
|
+
{ required: true, message: this.t('bd.item.required.itemName'), trigger: "blur" }
|
|
67
60
|
]
|
|
68
61
|
};
|
|
69
62
|
created() {
|