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

sap类型调整

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