diff --git a/package-lock.json b/package-lock.json index c53c208..eec3ebe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3201,6 +3201,7 @@ "thread-loader": "^2.1.3", "url-loader": "^2.2.0", "vue-loader": "^15.9.2", + "vue-loader-v16": "npm:vue-loader@^16.1.0", "vue-style-loader": "^4.1.2", "webpack": "^4.0.0", "webpack-bundle-analyzer": "^3.8.0", @@ -16945,6 +16946,75 @@ } } }, + "vue-loader-v16": { + "version": "npm:vue-loader@16.8.3", + "resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz", + "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", + "dev": true, + "optional": true, + "requires": { + "chalk": "^4.1.0", + "hash-sum": "^2.0.0", + "loader-utils": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "optional": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "optional": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "optional": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "optional": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "optional": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "optional": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "vue-router": { "version": "3.0.7", "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-3.0.7.tgz", diff --git a/src/i18n/zh-CN.js b/src/i18n/zh-CN.js index d4dcc55..91bf96c 100644 --- a/src/i18n/zh-CN.js +++ b/src/i18n/zh-CN.js @@ -646,57 +646,9 @@ t.code.uploaded = '已上传' t.code.notUploaded = '未上传' t.code.Examiner = '检验人' - - - - - - - - - - - - - - - - - - - - - - - - t.dictionary = {} t.dictionary.name = ' 名称' t.dictionary.code = ' 编码' - - - - - - - - - - - - - - - - - - - - - - - - export default t diff --git a/src/views/modules/basic/components/control-add.vue b/src/views/modules/basic/components/control-add.vue index 5bfd3e3..c1a5ed2 100644 --- a/src/views/modules/basic/components/control-add.vue +++ b/src/views/modules/basic/components/control-add.vue @@ -1,7 +1,7 @@ @@ -20,7 +20,7 @@ - + @@ -32,8 +32,8 @@ - - + + @@ -49,8 +49,8 @@ export default { data() { return { urlOptions: { - submitURL: "/basic/qmsCustomerType", - infoURL: "/basic/qmsCustomerType/{id}", + submitURL: "/basic/qmsControlMode", + infoURL: "/basic/qmsControlMode/{id}", getCodeURL: '/basic/qmsControlMode/getCode' }, options: [{ @@ -66,7 +66,7 @@ export default { id: "", controlCode:null, controlName:null, - customerTypeStatus: null, + controlStatus: null, finishInspection: null, incomingInspection: null, outInspection: null, @@ -106,13 +106,14 @@ export default { methods: { init(id, ) { this.dataForm.id = id || "" - this.getControlCode() // this.dataForm.dictTypeId = dictTypeId || ""; this.visible = true this.$nextTick(() => { this.$refs["dataForm"].resetFields(); if (this.dataForm.id) { this.getInfo(); + } else { + this.getControlCode() } }); }, diff --git a/src/views/modules/basic/components/customerSearch.vue b/src/views/modules/basic/components/customerSearch.vue index 2679c7d..f96d874 100644 --- a/src/views/modules/basic/components/customerSearch.vue +++ b/src/views/modules/basic/components/customerSearch.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-01-04 10:29:40 * @LastEditors: zhp - * @LastEditTime: 2023-02-20 08:52:46 + * @LastEditTime: 2023-06-29 16:59:18 * @Description: -->