Commit dbff5452 authored by 李苏's avatar 李苏 💬

sap类型调整

parent ad6b0118
...@@ -15,6 +15,13 @@ ...@@ -15,6 +15,13 @@
} from 'common' } from 'common'
export default { export default {
mixins: [editMixin], mixins: [editMixin],
mounted() {
this.$nextTick(()=>{
this.form.taskType='CKXJ,CLSJ,PDXJ'
console.log( this.form.taskType,'赋值')
})
},
data() { data() {
return { return {
editColItemList: [ editColItemList: [
...@@ -40,7 +47,7 @@ ...@@ -40,7 +47,7 @@
type: 'input', type: 'input',
}, },
{ {
label: '类型', label: '工位类型',
prop: 'type', prop: 'type',
span: 12, span: 12,
type: 'RelSelect', type: 'RelSelect',
...@@ -48,8 +55,17 @@ ...@@ -48,8 +55,17 @@
src: "lxyl/jcsj/ugw/init/gwlx" src: "lxyl/jcsj/ugw/init/gwlx"
}, },
required: true, required: true,
}, },
{
label: '任务类型',
prop: 'taskType',
span: 12,
type: 'RelMulSelect',
typeConfig: {
src: "lxyl/jcsj/ugw/init/taskType"
},
required: true,
}
] ]
......
...@@ -144,9 +144,20 @@ ...@@ -144,9 +144,20 @@
}, },
save(){ save(){
/* 判定是否勾选*/ /* 判定是否勾选*/
let list =this.$refs.basePage.$refs.TablePager.selectedList let list =this.$refs.basePage.$refs.TablePager.selectedList
if(list.length!=0){ if(list.length!=0){
if(this.app.form.bglx=='411_E'){
list.forEach(item=>{
item.bghzlh=''
})
/* 触发save事件 */
this.$emit('save',list)
}else{
this.showDialog=true this.showDialog=true
}
/*切换diglog弹框*/ /*切换diglog弹框*/
}else{ }else{
......
...@@ -41,7 +41,11 @@ import Cx from './cx.vue' ...@@ -41,7 +41,11 @@ import Cx from './cx.vue'
mixins: [editMixin, editMixin_expand], mixins: [editMixin, editMixin_expand],
methods: { methods: {
add(){ add(){
if(this.form.bglx){
this.showDialog=true this.showDialog=true
}else{
this.$warning('请先选择SAP变更类型')
}
}, },
/* 需要整体row时的回调 */ /* 需要整体row时的回调 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment