| | |
| | | </div> |
| | | <div class="el-border-left acceptDate" style="width: 90%;"> |
| | | <el-form-item style="width: 100%;padding-left:20px;margin:0;"> |
| | | <el-input :disabled="!(dataForm.disabled && stepMarker=='pzxck_first')" type="textarea" :rows="2" v-model="dataForm.configItemOutbound.outboundReason" placeholder="出库原因..."></el-input> |
| | | <el-input :disabled="stepMarker!=='pzxck_first'" type="textarea" :rows="2" v-model="dataForm.configItemOutbound.outboundReason" placeholder="出库原因..."></el-input> |
| | | <!-- <span v-else>{{dataForm.configItemOutbound.outboundReason}}</span>--> |
| | | </el-form-item> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import AddOrUpdateCheck from '../testCheckOrder/TestCheckOrder-AddOrUpdate' |
| | | import ConfigItemList from './configItemList.vue' |
| | | import ConfigItemList from '../configItemChange/configItemList.vue' |
| | | import qs from "qs"; |
| | | import Cookies from "js-cookie"; |
| | | |
| | |
| | | }, |
| | | created() { |
| | | const roleName = localStorage.getItem('roleName') |
| | | if (roleName && roleName.includes('QA')) { |
| | | if (roleName && roleName.includes('审核人员')) { |
| | | this.showColumn = true; |
| | | } |
| | | if (roleName && roleName.includes('测试员')) { |
| | | if (roleName && roleName.includes('检测人员')) { |
| | | this.showAddAndEdit = true; |
| | | } |
| | | }, |
| | |
| | | this.$nextTick(()=>{ |
| | | console.log(this.dataForm.projectId,'this.dataForm.projectId') |
| | | this.ids = this.dataForm.configOutboundList.map(item=>item.selectId).join(',') |
| | | this.$refs.configItemList.$refs.dialog.init(this.dataForm.projectId,this.ids) |
| | | this.$refs.configItemList.$refs.dialog.init(this.dataForm.projectId,{ids:this.ids,pageCode:this.pageCode}) |
| | | }) |
| | | // this.dataForm.configItemList.push({}) |
| | | // this.$nextTick(() => { |
| | |
| | | }, |
| | | // 表单提交 |
| | | async formSubmit(submitType) { |
| | | let flag = true; |
| | | console.log(this.dataForm, "this.dataForm11111") |
| | | this.dataForm.configOutboundList.forEach(item => { |
| | | if (parseInt(item.secretClass) > localStorage.getItem('userSecretClass')) { |
| | | this.$alert("当前项目设置的密级高于当前用户的密级,请重新设置") |
| | | flag =false |
| | | } |
| | | }) |
| | | if (!flag){ |
| | | return |
| | | } |
| | | if (this.showColumn && submitType == 'bl') { |
| | | for (let item of this.dataForm.configItemList) { |
| | | if (item) { |