@@ -208,7 +208,12 @@
},
// 计划员提交
plannerSubmit(record,state){
- getAction('/oa/syCarry/commitBatch', {ids:record.id,state:record.state}).then((res) => {
+ if(state=='-1'){
+ state='-1'
+ }else{
+ state=record.state
+ }
+ getAction('/oa/syCarry/commitBatch', {ids:record.id,state:state}).then((res) => {
if(res.success){
this.loadData()
}else{