diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue index 8cdd794..f223be7 100644 --- a/src/views/modules/proofing/requestForProofing.vue +++ b/src/views/modules/proofing/requestForProofing.vue @@ -144,68 +144,156 @@ - - - - 客户 - - - - 跟单员 - - - - - - 项目 - - - - 工程师 - - - - - - 项目物料 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + 客户编码 + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + + + + + 跟单员 + + + +
+ + + + + + 项目编码 + + + + + + + + + + + + + + + + + + + + + + + 是否需要送样 + + + + + 工程师 + + + + + + + + + + + + + + + + + + + + +
- +
+ + + + + + + + + 查询 + + + + + + + + + +
+ 保存 关闭 @@ -321,60 +409,6 @@
- - -
- - - - - - - - - 查询 - - - - - - - - - -
- - 确认 - 关闭 - -
- @@ -874,8 +908,8 @@ activeTable: 'proofing_detail_information', // ======== 数据对象 ======== modalData: { - flag: '', - title: '', + flag: '1', + title: '打样新增', site: this.$store.state.user.site, proofingNo: '', customerNo: '', @@ -888,8 +922,8 @@ partName: '', engineer: '', engineerName: '', - priorityLevel: '', - proofingNumber: '', + priorityLevel: '一般', + proofingNumber: 1, requiredDeliveryDate: '', remark: '', technicalConsiderations: '', @@ -1081,7 +1115,7 @@ sortLv: 0, status: true, fixed: '', - columnWidth: 100 + columnWidth: 110 }, { userId: this.$store.state.user.name, @@ -1153,7 +1187,7 @@ sortLv: 0, status: true, fixed: '', - columnWidth: 100 + columnWidth: 150 }, { userId: this.$store.state.user.name, @@ -1413,9 +1447,9 @@ projectPartDetailList: [ { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3CustomerNo', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3CustomerNo', + tableId: '102001Table3', tableName: '项目物料表', columnProp: 'customerNo', headerAlign: 'center', @@ -1431,9 +1465,9 @@ }, { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3CustomerDesc', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3CustomerDesc', + tableId: '102001Table3', tableName: '项目物料表', columnProp: 'customerDesc', headerAlign: 'center', @@ -1449,9 +1483,9 @@ }, { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3ProjectName', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3ProjectName', + tableId: '102001Table3', tableName: '项目物料表', columnProp: 'projectId', headerAlign: 'center', @@ -1467,50 +1501,49 @@ }, { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3ProjectId', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3TestPartNo', + tableId: '102001Table3', tableName: '项目物料表', - columnProp: 'projectName', + columnProp: 'testPartNo', headerAlign: 'center', align: 'center', - columnLabel: '项目名称', + columnLabel: '产品编码', columnHidden: false, columnImage: false, columnSortable: false, sortLv: 0, status: true, fixed: '', - columnWidth: 120 + columnWidth: 150 }, { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3TestPartNo', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3PartDesc', + tableId: '102001Table3', tableName: '项目物料表', - columnProp: 'testPartNo', + columnProp: 'partDesc', headerAlign: 'center', align: 'center', - columnLabel: '产品编码', + columnLabel: '产品名称', columnHidden: false, columnImage: false, columnSortable: false, sortLv: 0, status: true, fixed: '', - columnWidth: 150 - }, - { + columnWidth: 120 + },{ userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3PartName', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3PartType', + tableId: '102001Table3', tableName: '项目物料表', - columnProp: 'partName', + columnProp: 'partType', headerAlign: 'center', align: 'center', - columnLabel: '产品名称', + columnLabel: '产品类型', columnHidden: false, columnImage: false, columnSortable: false, @@ -1522,53 +1555,60 @@ ], // ======== 必填规则 ======== rules: { - customerDesc: [ + customerNo: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], trackerName: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], - projectName: [ + proofingNumber: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] + } + ], + projectId: [ + { + required: true, + message: ' ', + trigger: ['change','blur'] } ], engineerName: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], partName: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], priorityLevel: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], requiredDeliveryDate: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ] }, @@ -1678,6 +1718,7 @@ */ projectPartClickRow (row) { this.$refs.projectPartTable.toggleRowSelection(row); + this.confirmProjectPart(); }, /** * 多选 @@ -1829,46 +1870,6 @@ * 报价信息新增模态框 */ addModal () { - this.modalData = { - flag: '1', - title: '打样新增', - site: this.$store.state.user.site, - proofingNo: '', - - customerNo: '', - customerDesc: '', - projectId: '', - projectName: '', - tracker: '', - trackerName: '', - testPartNo: '', - partName: '', - engineer: '', - engineerName: '', - priorityLevel: '', - proofingNumber: '', - requiredDeliveryDate: '', - remark: '', - technicalConsiderations: '', - isNeedToSendSamples: '', - sendSamplesAddress: '', - consignee: '', - consigneeContact: '', - actualityDeliveryDate: '', - proofingResultInformation: '', - actualitySendSamplesDate: '', - sendSamplesMethod: '', - deliverGoodsInformation: '', - deliverGoodsRemark: '', - actualityReplyDate: '', - confirmResults: '', - confirmBy: '', - confirmInformation: '', - proofingStatus: '草稿', - proofingResultStatus: 'C', - nextToDo: '', - createBy: this.$store.state.user.name - } this.modalDisableFlag = false this.modalFlag = true }, @@ -1925,10 +1926,15 @@ * 获取项目物料列表 */ getProjectPartList () { + if (!this.modalData.projectId){ + this.projectPartList = []; + return + } // 先清空缓存选中 this.$nextTick(() => this.$refs.projectPartTable.clearSelection()) // 拿到选中的产品编号 let projectPartList = this.modalData.testPartNo.split(';') + this.projectPartData.projectId = this.modalData.projectId; // 查询所有项目物料 getProjectPartList(this.projectPartData).then(({data}) => { if (data && data.code === 0) { @@ -1939,7 +1945,7 @@ this.$nextTick(() => this.$refs.projectPartTable.toggleRowSelection(val, true)) } }) - this.projectPartModelFlag = true + // this.projectPartModelFlag = true }else { this.$alert(data.msg, '错误', { confirmButtonText: '确定' @@ -1951,10 +1957,6 @@ * 确认多选项目物料 */ confirmProjectPart () { - if(this.projectPartListSelections.length === 0){ - this.$message.warning('请勾选项目物料!') - return - } this.modalData.testPartNo = '' this.modalData.partName = '' for (let i = 0; i < this.projectPartListSelections.length; i++) { @@ -1969,6 +1971,63 @@ * 客户信息新增/编辑 */ saveData () { + this.$refs.modalForm.validate((valid) => { + if (!valid) { + this.validateDataValue() + }else { + if (this.projectPartListSelections.length <= 0){ + this.$message.warning('请选择项目料号') + return + } + this.confirmProjectPart(); + if (this.modalData.flag === '1'){ + this.saveProofing() + }else { + this.updateProofing() + } + } + }) + }, + updateProofing(){ + proofingInformationEdit(this.modalData).then(({data}) => { + if (data && data.code === 0) { + this.getDataList() + this.modalFlag = false + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => {} + }) + } else { + this.$alert(data.msg, '错误', { + confirmButtonText: '确定' + }) + } + }) + }, + saveProofing(){ + proofingInformationSave(this.modalData).then(({data}) => { + if (data && data.code === 0) { + this.getDataList() + this.modalFlag = false + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => {} + }) + } else { + this.$alert(data.msg, '错误', { + confirmButtonText: '确定' + }) + } + }) + }, + /** + * 验证必填项 + */ + validateDataValue(){ if (this.modalData.customerNo === '' || this.modalData.customerNo == null) { this.$message.warning('请选择客户编码!') return @@ -2009,58 +2068,18 @@ this.$message.warning('请选择物料名称!') return } + if (!this.modalData.proofingNumber && this.modalData.proofingNumber > 0) { + this.$message.warning('请输入正确的打样数量!') + return + } if (this.modalData.priorityLevel === '' || this.modalData.priorityLevel == null) { this.$message.warning('请选择优先等级!') return } - if (this.modalData.requiredDeliveryDate === '' || this.modalData.requiredDeliveryDate == null) { + if (!this.modalData.requiredDeliveryDate) { this.$message.warning('请输入要求交付日期!') return } - let obj = document.getElementsByName('sendSamples') - let s = '' - for (let i = 0; i < obj.length; i++) { - if (obj[i].checked) { - s += obj[i].value + ',' - } - } - s = s.substring(0,s.length-1) - this.modalData.isNeedToSendSamples = s - if (this.modalData.flag === '1') { - proofingInformationSave(this.modalData).then(({data}) => { - if (data && data.code === 0) { - this.getDataList() - this.modalFlag = false - this.$message({ - message: '操作成功', - type: 'success', - duration: 1500, - onClose: () => {} - }) - } else { - this.$alert(data.msg, '错误', { - confirmButtonText: '确定' - }) - } - }) - } else { - proofingInformationEdit(this.modalData).then(({data}) => { - if (data && data.code === 0) { - this.getDataList() - this.modalFlag = false - this.$message({ - message: '操作成功', - type: 'success', - duration: 1500, - onClose: () => {} - }) - } else { - this.$alert(data.msg, '错误', { - confirmButtonText: '确定' - }) - } - }) - } }, /** * 打样信息删除 @@ -2620,6 +2639,7 @@ if(this.tagNo1 === 1) { this.modalData.projectId = val.project_id this.modalData.projectName = val.project_name + this.getProjectPartList(); } } }, @@ -2652,7 +2672,56 @@ json += '}' let s = eval('(' + json + ')') return s - } + }, + closeModalDiaLog () { + this.$refs.modalForm.resetFields(); + this.modalData = { + flag: '1', + title: '打样新增', + site: this.$store.state.user.site, + proofingNo: '', + customerNo: '', + customerDesc: '', + projectId: '', + projectName: '', + tracker: '', + trackerName: '', + testPartNo: '', + partName: '', + engineer: '', + engineerName: '', + priorityLevel: '一般', + proofingNumber: 1, + requiredDeliveryDate: '', + remark: '', + technicalConsiderations: '', + isNeedToSendSamples: '', + sendSamplesAddress: '', + consignee: '', + consigneeContact: '', + actualityDeliveryDate: '', + proofingResultInformation: '', + actualitySendSamplesDate: '', + sendSamplesMethod: '', + deliverGoodsInformation: '', + deliverGoodsRemark: '', + actualityReplyDate: '', + confirmResults: '', + confirmBy: '', + confirmInformation: '', + proofingStatus: '草稿', + proofingResultStatus: 'C', + nextToDo: '', + createBy: this.$store.state.user.name + } + }, + checkSelectable(row,index){ + if (this.modalData.flag === '1'){ + return true + }else { + return false + } + }, } } @@ -2662,5 +2731,18 @@ padding: 0px !important; height: 459px; } +.right /deep/ .el-input__inner{ + text-align: right; +} + +/deep/ .inlineNumber input::-webkit-outer-spin-button, +/deep/ .inlineNumber input::-webkit-inner-spin-button { + -webkit-appearance: none; + +} +/deep/ .inlineNumber input[type="number"]{ + -moz-appearance: textfield; + padding-right: 5px !important; +} diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index da4c48f..6d2788a 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -155,10 +155,10 @@ - 客户编码 + 客户编码 - + @@ -186,10 +186,10 @@ - 项目编码 + 项目编码 - + diff --git a/src/views/modules/quotation/sellForQuotation.vue b/src/views/modules/quotation/sellForQuotation.vue index ba08b6f..c4269da 100644 --- a/src/views/modules/quotation/sellForQuotation.vue +++ b/src/views/modules/quotation/sellForQuotation.vue @@ -136,12 +136,6 @@ show-overflow-tooltip label="客户名称"> - - - - - - 客户 - - - - 跟单员 - - - - - - 项目 - - - - 工程师 - - - - - - 项目物料 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + 客户编码 + + + + + + + + + + + + +
+ +
+
+
+ + + + + + + + + + + + + + + + + 跟单员 + + + +
+ + + + + + 项目编码 + + + + + + + + + + + + + + + + + + + + + + + 是否需要送样 + + + + + 工程师 + + + + + + + + + + + + + + + + + + + + +
- +
+ + + + + + + + + 查询 + + + + + + + + + +
+ 保存 关闭 @@ -321,60 +409,6 @@
- - -
- - - - - - - - - 查询 - - - - - - - - - -
- - 确认 - 关闭 - -
- @@ -874,8 +908,8 @@ activeTable: 'test_detail_information', // ======== 数据对象 ======== modalData: { - flag: '', - title: '', + flag: '1', + title: '测试新增', site: this.$store.state.user.site, testNo: '', customerNo: '', @@ -888,8 +922,8 @@ partName: '', engineer: '', engineerName: '', - priorityLevel: '', - testNumber: '', + priorityLevel: '一般', + testNumber: 1, requiredDeliveryDate: '', remark: '', technicalConsiderations: '', @@ -1081,7 +1115,7 @@ sortLv: 0, status: true, fixed: '', - columnWidth: 100 + columnWidth: 110 }, { userId: this.$store.state.user.name, @@ -1153,7 +1187,7 @@ sortLv: 0, status: true, fixed: '', - columnWidth: 100 + columnWidth: 150 }, { userId: this.$store.state.user.name, @@ -1413,9 +1447,9 @@ projectPartDetailList: [ { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3CustomerNo', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3CustomerNo', + tableId: '102001Table3', tableName: '项目物料表', columnProp: 'customerNo', headerAlign: 'center', @@ -1431,9 +1465,9 @@ }, { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3CustomerDesc', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3CustomerDesc', + tableId: '102001Table3', tableName: '项目物料表', columnProp: 'customerDesc', headerAlign: 'center', @@ -1449,9 +1483,9 @@ }, { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3ProjectName', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3ProjectName', + tableId: '102001Table3', tableName: '项目物料表', columnProp: 'projectId', headerAlign: 'center', @@ -1467,50 +1501,49 @@ }, { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3ProjectId', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3TestPartNo', + tableId: '102001Table3', tableName: '项目物料表', - columnProp: 'projectName', + columnProp: 'testPartNo', headerAlign: 'center', align: 'center', - columnLabel: '项目名称', + columnLabel: '产品编码', columnHidden: false, columnImage: false, columnSortable: false, sortLv: 0, status: true, fixed: '', - columnWidth: 120 + columnWidth: 150 }, { userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3TestPartNo', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3PartDesc', + tableId: '102001Table3', tableName: '项目物料表', - columnProp: 'testPartNo', + columnProp: 'partDesc', headerAlign: 'center', align: 'center', - columnLabel: '产品编码', + columnLabel: '产品名称', columnHidden: false, columnImage: false, columnSortable: false, sortLv: 0, status: true, fixed: '', - columnWidth: 150 - }, - { + columnWidth: 120 + },{ userId: this.$store.state.user.name, - functionId: 103001, - serialNumber: '103001Table3PartName', - tableId: '103001Table3', + functionId: 102001, + serialNumber: '102001Table3PartType', + tableId: '102001Table3', tableName: '项目物料表', - columnProp: 'partName', + columnProp: 'partType', headerAlign: 'center', align: 'center', - columnLabel: '产品名称', + columnLabel: '产品类型', columnHidden: false, columnImage: false, columnSortable: false, @@ -1522,53 +1555,60 @@ ], // ======== 必填规则 ======== rules: { - customerDesc: [ + customerNo: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], trackerName: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], - projectName: [ + testNumber: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] + } + ], + projectId: [ + { + required: true, + message: ' ', + trigger: ['change','blur'] } ], engineerName: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], partName: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], priorityLevel: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ], requiredDeliveryDate: [ { required: true, message: ' ', - trigger: 'change' + trigger: ['change','blur'] } ] }, @@ -1678,6 +1718,7 @@ */ projectPartClickRow (row) { this.$refs.projectPartTable.toggleRowSelection(row); + this.confirmProjectPart(); }, /** * 多选 @@ -1829,45 +1870,6 @@ * 报价信息新增模态框 */ addModal () { - this.modalData = { - flag: '1', - title: '测试新增', - site: this.$store.state.user.site, - testNo: '', - customerNo: '', - customerDesc: '', - projectId: '', - projectName: '', - tracker: '', - trackerName: '', - testPartNo: '', - partName: '', - engineer: '', - engineerName: '', - priorityLevel: '', - testNumber: '', - requiredDeliveryDate: '', - remark: '', - technicalConsiderations: '', - isNeedToSendSamples: '', - sendSamplesAddress: '', - consignee: '', - consigneeContact: '', - actualityDeliveryDate: '', - testResultInformation: '', - actualitySendSamplesDate: '', - sendSamplesMethod: '', - deliverGoodsInformation: '', - deliverGoodsRemark: '', - actualityReplyDate: '', - confirmResults: '', - confirmBy: '', - confirmInformation: '', - testStatus: '草稿', - testResultStatus: 'C', - nextToDo: '', - createBy: this.$store.state.user.name - } this.modalDisableFlag = false this.modalFlag = true }, @@ -1924,10 +1926,15 @@ * 获取项目物料列表 */ getProjectPartList () { + if (!this.modalData.projectId){ + this.projectPartList = []; + return + } // 先清空缓存选中 this.$nextTick(() => this.$refs.projectPartTable.clearSelection()) // 拿到选中的产品编号 let projectPartList = this.modalData.testPartNo.split(';') + this.projectPartData.projectId = this.modalData.projectId; // 查询所有项目物料 getProjectPartList(this.projectPartData).then(({data}) => { if (data && data.code === 0) { @@ -1968,6 +1975,24 @@ * 客户信息新增/编辑 */ saveData () { + this.$refs.modalForm.validate((valid) => { + if (!valid) { + this.validateDataValue() + }else { + if (this.projectPartListSelections.length <= 0){ + this.$message.warning('请选择项目料号') + return + } + this.confirmProjectPart(); + if (this.modalData.flag === '1'){ + this.saveTest() + }else { + this.updateTest() + } + } + }) + }, + validateDataValue(){ if (this.modalData.customerNo === '' || this.modalData.customerNo == null) { this.$message.warning('请选择客户编码!') return @@ -2012,54 +2037,50 @@ this.$message.warning('请选择优先等级!') return } + if (!this.modalData.testNumber) { + this.$message.warning('请输入正确的测试数量!') + return + } if (this.modalData.requiredDeliveryDate === '' || this.modalData.requiredDeliveryDate == null) { this.$message.warning('请输入要求交付日期!') return } - let obj = document.getElementsByName('sendSamples') - let s = '' - for (let i = 0; i < obj.length; i++) { - if (obj[i].checked) { - s += obj[i].value + ',' + }, + saveTest(){ + testInformationSave(this.modalData).then(({data}) => { + if (data && data.code === 0) { + this.getDataList() + this.modalFlag = false + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => {} + }) + } else { + this.$alert(data.msg, '错误', { + confirmButtonText: '确定' + }) } - } - s = s.substring(0,s.length-1) - this.modalData.isNeedToSendSamples = s - if (this.modalData.flag === '1') { - testInformationSave(this.modalData).then(({data}) => { - if (data && data.code === 0) { - this.getDataList() - this.modalFlag = false - this.$message({ - message: '操作成功', - type: 'success', - duration: 1500, - onClose: () => {} - }) - } else { - this.$alert(data.msg, '错误', { - confirmButtonText: '确定' - }) - } - }) - } else { - testInformationEdit(this.modalData).then(({data}) => { - if (data && data.code === 0) { - this.getDataList() - this.modalFlag = false - this.$message({ - message: '操作成功', - type: 'success', - duration: 1500, - onClose: () => {} - }) - } else { - this.$alert(data.msg, '错误', { - confirmButtonText: '确定' - }) - } - }) - } + }) + }, + updateTest(){ + testInformationEdit(this.modalData).then(({data}) => { + if (data && data.code === 0) { + this.getDataList() + this.modalFlag = false + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => {} + }) + } else { + this.$alert(data.msg, '错误', { + confirmButtonText: '确定' + }) + } + }) }, /** * 测试信息删除 @@ -2425,6 +2446,7 @@ if(this.tagNo1 === 1) { this.modalData.projectId = val.project_id this.modalData.projectName = val.project_name + this.getProjectPartList(); } } }, @@ -2457,7 +2479,59 @@ json += '}' let s = eval('(' + json + ')') return s - } + }, + closeModalDiaLog () { + this.$refs.modalForm.resetFields(); + this.modalData = { + flag: '1', + title: '测试新增', + site: this.$store.state.user.site, + testNo: '', + customerNo: '', + customerDesc: '', + projectId: '', + projectName: '', + tracker: '', + trackerName: '', + testPartNo: '', + partName: '', + engineer: '', + engineerName: '', + priorityLevel: '一般', + testNumber: 1, + requiredDeliveryDate: '', + remark: '', + technicalConsiderations: '', + isNeedToSendSamples: '', + sendSamplesAddress: '', + consignee: '', + consigneeContact: '', + actualityDeliveryDate: '', + testResultInformation: '', + actualitySendSamplesDate: '', + sendSamplesMethod: '', + deliverGoodsInformation: '', + deliverGoodsRemark: '', + actualityReplyDate: '', + confirmResults: '', + confirmBy: '', + confirmInformation: '', + testStatus: '草稿', + testResultStatus: '', + nextToDo: '', + createDate: '', + createBy: '', + updateDate: '', + updateBy: '' + } + }, + checkSelectable(row,index){ + if (this.modalData.flag === '1'){ + return true + }else { + return false + } + }, } } @@ -2467,5 +2541,17 @@ padding: 0px !important; height: 459px; } +.right /deep/ .el-input__inner{ + text-align: right; +} +/deep/ .inlineNumber input::-webkit-outer-spin-button, +/deep/ .inlineNumber input::-webkit-inner-spin-button { + -webkit-appearance: none; + +} +/deep/ .inlineNumber input[type="number"]{ + -moz-appearance: textfield; + padding-right: 5px !important; +}