diff --git a/public/index.html b/public/index.html index e99bd01..375c5d6 100644 --- a/public/index.html +++ b/public/index.html @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2022-08-22 14:57:50 * @LastEditors: zhp - * @LastEditTime: 2023-07-17 10:36:32 + * @LastEditTime: 2023-07-18 08:46:34 * @Description: --> diff --git a/src/filters/quality/index.js b/src/filters/quality/index.js new file mode 100644 index 0000000..3997eed --- /dev/null +++ b/src/filters/quality/index.js @@ -0,0 +1,46 @@ +/* + * @Date: 2020-12-29 16:49:28 + * @LastEditors: zhp + * @LastEditTime: 2023-07-18 14:08:41 + * @FilePath: \basic-admin\src\filters\DataDict\index.js + * @Description: 部分常量的数据字典定义 + */ +import i18n from "@/i18n" +const table = { + monitor: { + 0: '否', + 1:'是', + }, + characteristicsType: { + 0: '计量', + 1:'计数', + }, + VerifyType: { + 0: i18n.t('gage.insideVerify'), + 1: i18n.t('gage.outsideVerify') + }, + inspectionType: { + 0: '监控', + 1:'电芯来料检验', + 2: 'IQC抽检', + 3: 'IQC抽检2', + 4: '原料抽检', + 5: '进货外观检验', + 6: '库内原料检验', + 7: '来料检验', + 8: '胶片', + 9: '抽检', + 10: '巡检', + 11: '首检', + 12: '末检', + 13: '实时监测', + 14: 'FQC抽检', + 15: 'OQC抽检' + } +} + +export default function (dictTable) { + return function (val) { + return table?.[dictTable]?.[val] + } +} diff --git a/src/i18n/zh-CN.js b/src/i18n/zh-CN.js index c6a0112..387c283 100644 --- a/src/i18n/zh-CN.js +++ b/src/i18n/zh-CN.js @@ -303,6 +303,10 @@ t.basic.course = '过程检验' t.basic.shipment = '出货检验' t.basic.userName = '用户名' t.basic.departName = '部门名' +t.basic.productCode = '产品编码' +t.basic.productName = '产品名称' + + @@ -363,7 +367,23 @@ t.quality.sampleRangeHigh = '取样范围高' t.quality.inspectionLevel = '检验水平' t.quality.sampleSizeCode = '样本量字码' t.quality.sampleSize = '样本量' - +t.quality.inspectionPlan = '是否有检验计划' +t.quality.analyzeDrawings = '分析图形' +t.quality.characteristicsType = '特性类型' +t.quality.company = '单位' +t.quality.decimalDigits = '小数位数' +t.quality.measuringToolsType = '量具类型' +t.quality.monitor = '是否监控' +t.quality.parameterName = '参数名称' +t.quality.parameterCode = ' 参数编码' +t.quality.sampleSize = '样本大小' +t.quality.source = '来源' +t.quality.specificationCenterline = 'SL' +t.quality.specificationOffline = 'LSL' +t.quality.specifications = '规格' +t.quality.targetCpk = '目标CPK' +t.quality.targetPpk = '目标PPK' +t.quality.upperSpecificationLimit = 'USL' @@ -584,7 +604,9 @@ t.laboratory.title = '主题' t.laboratory.trainContent = '培训内容' t.laboratory.trainDate = '培训日期' t.laboratory.trainDuration = '培训时长' -t.laboratory.trainType = '培训类型' +t.laboratory.trainType = '培训类型' +t.laboratory.timeSlot = '时间段' + t.code = {} @@ -725,7 +747,16 @@ t.customerquality.confirmDeliveryDate = '确认交付日期' t.customerquality.deliveryRequiredDate = '要求交付日期' t.customerquality.status = '状态' t.customerquality.file = '清单文件' - +t.customerquality.previousVersionCode = '上一版本号' +t.customerquality.first = '首次' +t.customerquality.confidentialityAgreement = '保密协议' +t.customerquality.ppapGrade = ' ppap等级' +t.customerquality.version = ' 版本' + + + + + diff --git a/src/views/modules/basic/components/control-add.vue b/src/views/modules/basic/components/control-add.vue index b303ecd..7e68f15 100644 --- a/src/views/modules/basic/components/control-add.vue +++ b/src/views/modules/basic/components/control-add.vue @@ -1,20 +1,21 @@ diff --git a/src/views/modules/basic/components/customer-add.vue b/src/views/modules/basic/components/customer-add.vue index e974766..92ad8c4 100644 --- a/src/views/modules/basic/components/customer-add.vue +++ b/src/views/modules/basic/components/customer-add.vue @@ -1,26 +1,27 @@