| | |
| | | this.form.password = undefined |
| | | }, |
| | | |
| | | create(row, done, loading) { |
| | | if (this.form.phone.indexOf('*') > 0) { |
| | | create(row, done, loading) { |
| | | if (this.form.phone!=null&&this.form.phone.indexOf('*') > 0) { |
| | | this.form.phone = undefined |
| | | } |
| | | addObj(this.form) |
| | | .then(() => { |
| | | console.log(111111); |
| | | this.getList(this.page) |
| | | done() |
| | | this.$notify.success('创建成功') |
| | |
| | | multipleSelection: [], |
| | | uploadInfo: { |
| | | // 是否展示上传EXCEL以及对应的url |
| | | isShow: true, |
| | | isShow: false, |
| | | url: '/mes/crew/upload' |
| | | }, |
| | | prelang: 'operation', |
| | |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'domainNo', |
| | | label: '域编号', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'domainName', |
| | | label: '域描述', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | // 零件类型 |
| | | { |
| | | minWidth: '140', |
| | |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'domainNo', |
| | | label: '域编号', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'domainName', |
| | | label: '域描述', |
| | | sort: true, |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '140', |
| | | prop: 'materialAttribute', |
| | | label: '零件属性', |
| | |
| | | multipleSelection: [], |
| | | uploadInfo: { |
| | | // 是否展示上传EXCEL以及对应的url |
| | | isShow: true, |
| | | isShow: false, |
| | | url: '/mes/operation/excel/upload' |
| | | }, |
| | | prelang: 'operation', |
| | |
| | | style="width: 146px;display: inline-block;font-size:12px;font-weight:bold;" |
| | | >{{ dataForm.ifsSync ? '是' : '否' }}</span |
| | | > |
| | | </el-form-item> |
| | | </el-form-item>--> |
| | | <el-form-item label="主工艺" prop="master"> |
| | | <el-switch v-model="dataForm.master"> </el-switch> |
| | | </el-form-item> --> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |