@things-factory/biz-base 10.1.263 → 10.1.267
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/client/counterparty-register-form.ts +219 -0
- package/client/counterparty-register.ts +52 -0
- package/client/counterparty-select.ts +221 -0
- package/client/index.ts +9 -0
- package/dist-client/counterparty-register-form.d.ts +40 -0
- package/dist-client/counterparty-register-form.js +230 -0
- package/dist-client/counterparty-register-form.js.map +1 -0
- package/dist-client/counterparty-register.d.ts +31 -0
- package/dist-client/counterparty-register.js +42 -0
- package/dist-client/counterparty-register.js.map +1 -0
- package/dist-client/counterparty-select.d.ts +41 -0
- package/dist-client/counterparty-select.js +238 -0
- package/dist-client/counterparty-select.js.map +1 -0
- package/dist-client/index.d.ts +3 -0
- package/dist-client/index.js +4 -0
- package/dist-client/index.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -0
- package/dist-server/service/counterparty/counterparty-names.d.ts +6 -0
- package/dist-server/service/counterparty/counterparty-names.js +12 -0
- package/dist-server/service/counterparty/counterparty-names.js.map +1 -1
- package/dist-server/service/counterparty/counterparty-query.d.ts +2 -1
- package/dist-server/service/counterparty/counterparty-query.js +19 -0
- package/dist-server/service/counterparty/counterparty-query.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +18 -9
- package/tests/counterparty-names.test.mjs +17 -0
- package/tests/counterparty-register.test.mjs +40 -0
- package/translations/en.json +21 -1
- package/translations/es.json +21 -1
- package/translations/ja.json +28 -1
- package/translations/ko.json +21 -1
- package/translations/ms.json +28 -1
- package/translations/zh.json +28 -1
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/biz-base",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.267",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
|
-
"browser": "client/index.js",
|
|
5
|
+
"browser": "dist-client/index.js",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
8
|
-
"browser": "./client/index.js",
|
|
8
|
+
"browser": "./dist-client/index.js",
|
|
9
9
|
"default": "./dist-server/index.js"
|
|
10
10
|
},
|
|
11
11
|
"./counterparty-names": "./dist-server/service/counterparty/counterparty-names.js",
|
|
@@ -32,17 +32,26 @@
|
|
|
32
32
|
"directory": "packages/biz-base"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"build": "
|
|
35
|
+
"build": "npm run build:server && npm run build:client",
|
|
36
36
|
"build:server": "npm run clean:server && tsc",
|
|
37
37
|
"clean:server": "rm -rf dist-server",
|
|
38
|
-
"clean": "npm run clean:server",
|
|
38
|
+
"clean": "npm run clean:server && npm run clean:client",
|
|
39
39
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create ./server/migrations/migration",
|
|
40
40
|
"test:security": "tsc --p tsconfig.json && node --test tests/bizplace-access.test.cjs",
|
|
41
|
-
"test": "npm run build && node --test tests/*.test.mjs tests/*.test.cjs"
|
|
41
|
+
"test": "npm run build && node --test tests/*.test.mjs tests/*.test.cjs",
|
|
42
|
+
"build:client": "tsc -p client/tsconfig.json",
|
|
43
|
+
"clean:client": "rm -rf dist-client"
|
|
42
44
|
},
|
|
43
45
|
"dependencies": {
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
+
"@material/web": "^2.0.0",
|
|
47
|
+
"@operato/graphql": "^10.29.69",
|
|
48
|
+
"@operato/i18n": "^10.0.0",
|
|
49
|
+
"@operato/input": "^10.29.44",
|
|
50
|
+
"@operato/layout": "^10.29.69",
|
|
51
|
+
"@operato/popup": "^10.0.0",
|
|
52
|
+
"@operato/styles": "^10.29.1",
|
|
53
|
+
"@things-factory/attachment-base": "^10.1.267",
|
|
54
|
+
"@things-factory/auth-base": "^10.1.267"
|
|
46
55
|
},
|
|
47
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "155585edfa5de984ec1d045b0378f8ffd623a6f4"
|
|
48
57
|
}
|
|
@@ -135,3 +135,20 @@ test('the texts left unmatched most, for a person to alias', () => {
|
|
|
135
135
|
{ text: '동원 유지보수', count: 1 }
|
|
136
136
|
])
|
|
137
137
|
})
|
|
138
|
+
|
|
139
|
+
/* ADR-0195 decision 4: registering where a counterparty is picked asks first whether the name is one already. */
|
|
140
|
+
test('a name already a counterparty - its name or an alias, spelled any way nameKey folds - is found', () => {
|
|
141
|
+
const { sameNamed } = require('../dist-server/service/counterparty/counterparty-names.js')
|
|
142
|
+
const parties = [
|
|
143
|
+
{ id: 'a', name: '(주)한빛', aliases: '한빛테크, 하이빛' },
|
|
144
|
+
{ id: 'b', name: '한빛소프트' },
|
|
145
|
+
{ id: 'c', name: '주식회사 한빛' }
|
|
146
|
+
]
|
|
147
|
+
assert.deepEqual(sameNamed(parties, ' 한빛 ').map(one => one.id), ['a', 'c'])
|
|
148
|
+
assert.deepEqual(sameNamed(parties, '한빛 테크').map(one => one.id), ['a'])
|
|
149
|
+
assert.deepEqual(sameNamed(parties, '한빛소프트㈜').map(one => one.id), ['b'])
|
|
150
|
+
assert.deepEqual(sameNamed(parties, '새빛'), [])
|
|
151
|
+
/* A name too short after folding matches too much by accident - as the import finds parties. */
|
|
152
|
+
assert.deepEqual(sameNamed([{ id: 'x', name: 'A' }], 'a'), [])
|
|
153
|
+
assert.deepEqual(sameNamed(parties, ''), [])
|
|
154
|
+
})
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { test } from 'node:test'
|
|
2
|
+
import assert from 'node:assert/strict'
|
|
3
|
+
import { readFileSync } from 'node:fs'
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Registering a counterparty where it is picked (ADR-0195): one picker, one short form in the house shape of a popup,
|
|
7
|
+
* offered only to a seat that may register.
|
|
8
|
+
*/
|
|
9
|
+
const read = name => readFileSync(new URL(`../client/${name}`, import.meta.url), 'utf8')
|
|
10
|
+
const form = read('counterparty-register-form.ts')
|
|
11
|
+
const select = read('counterparty-select.ts')
|
|
12
|
+
const register = read('counterparty-register.ts')
|
|
13
|
+
|
|
14
|
+
test('the short form keeps the house shape of a popup', () => {
|
|
15
|
+
for (const style of ['CommonPopupStyles', 'PopupBodyStyles', 'FormFieldStyles', 'PopupFieldStyles']) assert.ok(form.includes(style), style)
|
|
16
|
+
assert.ok(form.includes('<div class="body">'))
|
|
17
|
+
assert.equal((form.match(/<ox-popup-actions>/g) || []).length, 1)
|
|
18
|
+
assert.equal((form.match(/slot="cancel"/g) || []).length, 1)
|
|
19
|
+
assert.equal((form.match(/slot="confirm"/g) || []).length, 1)
|
|
20
|
+
assert.ok(form.includes('<ox-input-select-buttons'), 'the kind is one of several, picked with the shared select buttons')
|
|
21
|
+
assert.doesNotMatch(form, /<md-(filled|outlined)-text-field|<md-checkbox|font-size:\s*[\d.]+(rem|px|em)/)
|
|
22
|
+
})
|
|
23
|
+
|
|
24
|
+
test('the form registers the kinds a picker may - not our own company', () => {
|
|
25
|
+
assert.match(form, /const KINDS = \['COMPANY', 'INSTITUTION', 'PERSON'\]/)
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
test('a name already a counterparty is not registered again - the form only lets it be taken', () => {
|
|
29
|
+
assert.match(form, /counterpartiesNamed\(name: \$name\)/)
|
|
30
|
+
assert.match(form, /return this\.check === 'free' && !this\.save\.pending/)
|
|
31
|
+
})
|
|
32
|
+
|
|
33
|
+
test('registering is offered only to a seat holding the privilege createCounterparty asks', () => {
|
|
34
|
+
assert.match(register, /category: 'counterparty', privilege: 'mutation', domainOwnerGranted: true/)
|
|
35
|
+
const mutation = readFileSync(new URL('../server/service/counterparty/counterparty-mutation.ts', import.meta.url), 'utf8')
|
|
36
|
+
assert.match(mutation, /@privilege\(category: "counterparty", privilege: "mutation", domainOwnerGranted: true\)'\)\n @Mutation\(returns => Counterparty, \{ description: 'To register a counterparty' \}\)/)
|
|
37
|
+
assert.match(select, /this\.mayRegister = await mayRegisterCounterparty\(\)/)
|
|
38
|
+
assert.match(select, /return this\.mayRegister && this\.found \? this\.search\.trim\(\) : ''/)
|
|
39
|
+
assert.match(register, /allowed: mayRegisterCounterparty/)
|
|
40
|
+
})
|
package/translations/en.json
CHANGED
|
@@ -47,5 +47,25 @@
|
|
|
47
47
|
"error.company-seal-not-found": "The seal was not found. Reload and try again.",
|
|
48
48
|
"error.company-seal-custodian-unknown": "The keeper must be a person of this workspace.",
|
|
49
49
|
"work.biz-base.counterparties": "Counterparties",
|
|
50
|
-
"work.biz-base.company": "Company records and seals"
|
|
50
|
+
"work.biz-base.company": "Company records and seals",
|
|
51
|
+
"field.counterparty-name": "Counterparty",
|
|
52
|
+
"field.counterparty-kind": "Kind",
|
|
53
|
+
"field.business-number": "Business no.",
|
|
54
|
+
"field.representative": "Representative",
|
|
55
|
+
"text.business-number-hint": "10 digits, not used by another counterparty.",
|
|
56
|
+
"text.counterparty-kind-company": "Business",
|
|
57
|
+
"text.counterparty-kind-person": "Person",
|
|
58
|
+
"text.counterparty-kind-institution": "Institution",
|
|
59
|
+
"text.counterparty-kind-self": "Our company",
|
|
60
|
+
"text.counterparty-search": "Find by name or business number",
|
|
61
|
+
"text.counterparty-none": "no counterparty found",
|
|
62
|
+
"button.counterparty-clear": "Clear",
|
|
63
|
+
"button.counterparty-register-named": "Register '{name}' as a new counterparty",
|
|
64
|
+
"title.counterparty-register": "New counterparty",
|
|
65
|
+
"button.counterparty-register": "Register",
|
|
66
|
+
"text.counterparty-register-guide": "A name is enough to register. The business number and representative can be entered later on the counterparty screen.",
|
|
67
|
+
"text.counterparty-same-named": "A counterparty of this name already exists. Select it below instead of registering a new one.",
|
|
68
|
+
"button.counterparty-choose-this": "Select this counterparty",
|
|
69
|
+
"text.counterparty-checking-name": "Checking for a counterparty of the same name.",
|
|
70
|
+
"text.counterparty-name-check-failed": "Could not check for a counterparty of the same name. Try again shortly."
|
|
51
71
|
}
|
package/translations/es.json
CHANGED
|
@@ -47,5 +47,25 @@
|
|
|
47
47
|
"error.company-seal-not-found": "No se encontró el sello. Recargue e inténtelo de nuevo.",
|
|
48
48
|
"error.company-seal-custodian-unknown": "El custodio debe ser una persona de este espacio de trabajo.",
|
|
49
49
|
"work.biz-base.counterparties": "Contrapartes",
|
|
50
|
-
"work.biz-base.company": "Datos de la empresa y sellos"
|
|
50
|
+
"work.biz-base.company": "Datos de la empresa y sellos",
|
|
51
|
+
"field.counterparty-name": "Contraparte",
|
|
52
|
+
"field.counterparty-kind": "Clase",
|
|
53
|
+
"field.business-number": "N.º de registro empresarial",
|
|
54
|
+
"field.representative": "Representante",
|
|
55
|
+
"text.business-number-hint": "10 dígitos, que no use otra contraparte.",
|
|
56
|
+
"text.counterparty-kind-company": "Empresa",
|
|
57
|
+
"text.counterparty-kind-person": "Persona",
|
|
58
|
+
"text.counterparty-kind-institution": "Institución",
|
|
59
|
+
"text.counterparty-kind-self": "Nuestra empresa",
|
|
60
|
+
"text.counterparty-search": "Buscar por nombre o número fiscal",
|
|
61
|
+
"text.counterparty-none": "no se encontró ninguna contraparte",
|
|
62
|
+
"button.counterparty-clear": "Quitar",
|
|
63
|
+
"button.counterparty-register-named": "Registrar '{name}' como nueva contraparte",
|
|
64
|
+
"title.counterparty-register": "Nueva contraparte",
|
|
65
|
+
"button.counterparty-register": "Registrar",
|
|
66
|
+
"text.counterparty-register-guide": "Basta con el nombre para registrar. El número fiscal y el representante pueden introducirse más tarde en la pantalla de contrapartes.",
|
|
67
|
+
"text.counterparty-same-named": "Ya existe una contraparte con este nombre. Selecciónela abajo en lugar de registrar una nueva.",
|
|
68
|
+
"button.counterparty-choose-this": "Seleccionar esta contraparte",
|
|
69
|
+
"text.counterparty-checking-name": "Comprobando si hay una contraparte con el mismo nombre.",
|
|
70
|
+
"text.counterparty-name-check-failed": "No se pudo comprobar si hay una contraparte con el mismo nombre. Inténtelo de nuevo en breve."
|
|
51
71
|
}
|
package/translations/ja.json
CHANGED
|
@@ -40,5 +40,32 @@
|
|
|
40
40
|
"error.company-seal-not-found": "印鑑が見つかりません。再読み込みしてやり直してください。",
|
|
41
41
|
"error.company-seal-custodian-unknown": "保管者はこのワークスペースの人である必要があります。",
|
|
42
42
|
"work.biz-base.counterparties": "取引先の管理",
|
|
43
|
-
"work.biz-base.company": "会社情報・印鑑の管理"
|
|
43
|
+
"work.biz-base.company": "会社情報・印鑑の管理",
|
|
44
|
+
"field.counterparty-name": "取引先名",
|
|
45
|
+
"field.counterparty-kind": "区分",
|
|
46
|
+
"field.business-number": "事業者登録番号",
|
|
47
|
+
"field.representative": "代表者",
|
|
48
|
+
"text.business-number-hint": "数字10桁で、他の取引先と重複できません。",
|
|
49
|
+
"text.counterparty-kind-company": "事業者",
|
|
50
|
+
"text.counterparty-kind-person": "個人",
|
|
51
|
+
"text.counterparty-kind-institution": "機関",
|
|
52
|
+
"text.counterparty-kind-self": "自社",
|
|
53
|
+
"text.counterparty-search": "名前または事業者番号で検索",
|
|
54
|
+
"text.counterparty-none": "該当する取引先がありません",
|
|
55
|
+
"button.counterparty-clear": "クリア",
|
|
56
|
+
"button.counterparty-register-named": "「{name}」を新しい取引先として登録",
|
|
57
|
+
"title.counterparty-register": "取引先の新規登録",
|
|
58
|
+
"button.counterparty-register": "登録",
|
|
59
|
+
"text.counterparty-register-guide": "名前だけで登録できます。事業者登録番号と代表者は後から取引先画面で入力できます。",
|
|
60
|
+
"text.counterparty-same-named": "同じ名前の取引先がすでにあります。新規登録せず、下の取引先を選択してください。",
|
|
61
|
+
"button.counterparty-choose-this": "この取引先を選択",
|
|
62
|
+
"text.counterparty-checking-name": "同じ名前の取引先があるか確認しています。",
|
|
63
|
+
"text.counterparty-name-check-failed": "同じ名前の取引先を確認できません。しばらくしてから再試行してください。",
|
|
64
|
+
"error.business-number-invalid": "'{text}' は事業者登録番号ではありません。事業者登録番号は数字10桁です。",
|
|
65
|
+
"error.counterparty-country-invalid": "'{text}' は国コードではありません。US・JP のように英字2文字で入力し、国内の場合は空欄にしてください。",
|
|
66
|
+
"error.counterparty-kind-invalid": "'{text}' は取引先の区分ではありません。事業者・機関・個人・自社のいずれかを選択してください。",
|
|
67
|
+
"error.counterparty-name-required": "取引先名を入力してください。",
|
|
68
|
+
"error.counterparty-not-found": "取引先が見つかりません。再読み込みしてください。",
|
|
69
|
+
"error.counterparty-self-facts": "'{name}' は自社です。事業者番号・従たる事業所番号・代表者・住所・請求先住所・業態・種目は「当社」にのみ保存します。これらの項目を空欄にしてください。",
|
|
70
|
+
"error.counterparty-self-taken": "自社は一つだけです。すでに '{existing}' が自社です。"
|
|
44
71
|
}
|
package/translations/ko.json
CHANGED
|
@@ -47,5 +47,25 @@
|
|
|
47
47
|
"error.company-seal-not-found": "인감을 찾을 수 없습니다. 화면을 새로 고친 후 다시 시도하세요.",
|
|
48
48
|
"error.company-seal-custodian-unknown": "보관자는 이 사업장의 사용자 중에서 지정해야 합니다.",
|
|
49
49
|
"work.biz-base.counterparties": "거래처 관리",
|
|
50
|
-
"work.biz-base.company": "회사 정보 · 인감 관리"
|
|
50
|
+
"work.biz-base.company": "회사 정보 · 인감 관리",
|
|
51
|
+
"field.counterparty-name": "거래처명",
|
|
52
|
+
"field.counterparty-kind": "구분",
|
|
53
|
+
"field.business-number": "사업자등록번호",
|
|
54
|
+
"field.representative": "대표자",
|
|
55
|
+
"text.business-number-hint": "숫자 10자리이며, 다른 거래처와 겹칠 수 없습니다.",
|
|
56
|
+
"text.counterparty-kind-company": "사업자",
|
|
57
|
+
"text.counterparty-kind-person": "개인",
|
|
58
|
+
"text.counterparty-kind-institution": "기관",
|
|
59
|
+
"text.counterparty-kind-self": "자사",
|
|
60
|
+
"text.counterparty-search": "이름이나 사업자번호로 찾기",
|
|
61
|
+
"text.counterparty-none": "찾은 거래처가 없습니다",
|
|
62
|
+
"button.counterparty-clear": "지우기",
|
|
63
|
+
"button.counterparty-register-named": "'{name}' 새 거래처로 등록",
|
|
64
|
+
"title.counterparty-register": "새 거래처 등록",
|
|
65
|
+
"button.counterparty-register": "등록",
|
|
66
|
+
"text.counterparty-register-guide": "이름만 입력해도 등록할 수 있습니다. 사업자등록번호와 대표자는 나중에 거래처 화면에서 입력할 수 있습니다.",
|
|
67
|
+
"text.counterparty-same-named": "같은 이름의 거래처가 이미 있습니다. 새로 등록하지 말고 아래 거래처를 선택하세요.",
|
|
68
|
+
"button.counterparty-choose-this": "이 거래처 선택",
|
|
69
|
+
"text.counterparty-checking-name": "같은 이름의 거래처가 있는지 확인하고 있습니다.",
|
|
70
|
+
"text.counterparty-name-check-failed": "같은 이름의 거래처를 확인할 수 없습니다. 잠시 후 다시 시도하세요."
|
|
51
71
|
}
|
package/translations/ms.json
CHANGED
|
@@ -40,5 +40,32 @@
|
|
|
40
40
|
"error.company-seal-not-found": "Meterai tidak dijumpai. Muat semula dan cuba lagi.",
|
|
41
41
|
"error.company-seal-custodian-unknown": "Penjaga mesti orang dalam ruang kerja ini.",
|
|
42
42
|
"work.biz-base.counterparties": "Rakan niaga",
|
|
43
|
-
"work.biz-base.company": "Rekod syarikat dan cop"
|
|
43
|
+
"work.biz-base.company": "Rekod syarikat dan cop",
|
|
44
|
+
"field.counterparty-name": "Rakan niaga",
|
|
45
|
+
"field.counterparty-kind": "Jenis",
|
|
46
|
+
"field.business-number": "No. pendaftaran perniagaan",
|
|
47
|
+
"field.representative": "Wakil",
|
|
48
|
+
"text.business-number-hint": "10 digit, tidak digunakan oleh pihak lain.",
|
|
49
|
+
"text.counterparty-kind-company": "Perniagaan",
|
|
50
|
+
"text.counterparty-kind-person": "Individu",
|
|
51
|
+
"text.counterparty-kind-institution": "Institusi",
|
|
52
|
+
"text.counterparty-kind-self": "Syarikat kami",
|
|
53
|
+
"text.counterparty-search": "Cari mengikut nama atau nombor perniagaan",
|
|
54
|
+
"text.counterparty-none": "tiada rakan niaga ditemui",
|
|
55
|
+
"button.counterparty-clear": "Kosongkan",
|
|
56
|
+
"button.counterparty-register-named": "Daftar '{name}' sebagai rakan niaga baharu",
|
|
57
|
+
"title.counterparty-register": "Rakan niaga baharu",
|
|
58
|
+
"button.counterparty-register": "Daftar",
|
|
59
|
+
"text.counterparty-register-guide": "Nama sahaja sudah cukup untuk mendaftar. Nombor perniagaan dan wakil boleh dimasukkan kemudian di skrin rakan niaga.",
|
|
60
|
+
"text.counterparty-same-named": "Rakan niaga dengan nama ini sudah wujud. Pilih di bawah dan jangan daftar yang baharu.",
|
|
61
|
+
"button.counterparty-choose-this": "Pilih rakan niaga ini",
|
|
62
|
+
"text.counterparty-checking-name": "Menyemak rakan niaga dengan nama yang sama.",
|
|
63
|
+
"text.counterparty-name-check-failed": "Tidak dapat menyemak rakan niaga dengan nama yang sama. Cuba lagi sebentar lagi.",
|
|
64
|
+
"error.business-number-invalid": "'{text}' bukan nombor pendaftaran perniagaan. Nombor pendaftaran perniagaan mempunyai 10 digit.",
|
|
65
|
+
"error.counterparty-country-invalid": "'{text}' bukan kod negara. Masukkan dua huruf seperti US atau JP, dan biarkan kosong untuk dalam negara.",
|
|
66
|
+
"error.counterparty-kind-invalid": "'{text}' bukan jenis rakan niaga. Pilih Perniagaan, Institusi, Individu atau Syarikat kami.",
|
|
67
|
+
"error.counterparty-name-required": "Masukkan nama rakan niaga.",
|
|
68
|
+
"error.counterparty-not-found": "Rakan niaga tidak dijumpai. Muat semula.",
|
|
69
|
+
"error.counterparty-self-facts": "'{name}' ialah syarikat kami. Nombor pendaftaran perniagaan, nombor cawangan, wakil, alamat, alamat bil, jenis perniagaan dan item disimpan dalam Syarikat kami sahaja. Kosongkan medan tersebut.",
|
|
70
|
+
"error.counterparty-self-taken": "Hanya ada satu rakan niaga syarikat kami. '{existing}' sudah menjadi syarikat kami."
|
|
44
71
|
}
|
package/translations/zh.json
CHANGED
|
@@ -40,5 +40,32 @@
|
|
|
40
40
|
"error.company-seal-not-found": "未找到印章,请刷新后重试。",
|
|
41
41
|
"error.company-seal-custodian-unknown": "保管人必须是本工作区的成员。",
|
|
42
42
|
"work.biz-base.counterparties": "往来单位管理",
|
|
43
|
-
"work.biz-base.company": "公司信息与印章管理"
|
|
43
|
+
"work.biz-base.company": "公司信息与印章管理",
|
|
44
|
+
"field.counterparty-name": "往来单位",
|
|
45
|
+
"field.counterparty-kind": "类型",
|
|
46
|
+
"field.business-number": "营业执照号",
|
|
47
|
+
"field.representative": "代表人",
|
|
48
|
+
"text.business-number-hint": "10位数字,不能与其他往来单位重复。",
|
|
49
|
+
"text.counterparty-kind-company": "经营者",
|
|
50
|
+
"text.counterparty-kind-person": "个人",
|
|
51
|
+
"text.counterparty-kind-institution": "机构",
|
|
52
|
+
"text.counterparty-kind-self": "本公司",
|
|
53
|
+
"text.counterparty-search": "按名称或营业执照号查找",
|
|
54
|
+
"text.counterparty-none": "未找到往来单位",
|
|
55
|
+
"button.counterparty-clear": "清除",
|
|
56
|
+
"button.counterparty-register-named": "将“{name}”登记为新往来单位",
|
|
57
|
+
"title.counterparty-register": "登记新往来单位",
|
|
58
|
+
"button.counterparty-register": "登记",
|
|
59
|
+
"text.counterparty-register-guide": "只填写名称即可登记。营业执照号和代表人可稍后在往来单位页面填写。",
|
|
60
|
+
"text.counterparty-same-named": "已有同名往来单位。请选择下方的往来单位,不要重复登记。",
|
|
61
|
+
"button.counterparty-choose-this": "选择此往来单位",
|
|
62
|
+
"text.counterparty-checking-name": "正在检查是否有同名往来单位。",
|
|
63
|
+
"text.counterparty-name-check-failed": "无法检查同名往来单位,请稍后重试。",
|
|
64
|
+
"error.business-number-invalid": "'{text}' 不是营业登记号。营业登记号为10位数字。",
|
|
65
|
+
"error.counterparty-country-invalid": "'{text}' 不是国家代码。请输入两个英文字母,如 US、JP;国内请留空。",
|
|
66
|
+
"error.counterparty-kind-invalid": "'{text}' 不是往来单位类型。请选择经营者、机构、个人或本公司。",
|
|
67
|
+
"error.counterparty-name-required": "请输入往来单位名称。",
|
|
68
|
+
"error.counterparty-not-found": "找不到该往来单位。请重新加载。",
|
|
69
|
+
"error.counterparty-self-facts": "'{name}' 是本公司。营业登记号、分支机构编号、代表人、地址、账单地址、业态和品目只保存在「本公司」中。请清空这些字段。",
|
|
70
|
+
"error.counterparty-self-taken": "本公司只能有一个。'{existing}' 已是本公司。"
|
|
44
71
|
}
|