Commit bc4ac6f3 authored by dcy's avatar dcy

生成特需去掉付款类型

parent e449a2ed
......@@ -70,7 +70,6 @@ export default {
i.todoDetail = this.todoDetail
})
let p = this.specialNeedsList.filter(i => this.advanceType.indexOf(i.advanceType) > -1)
console.log(p,'p')
let p1 = []
//获取新增的和修改的
p.forEach(item => {
......@@ -88,18 +87,13 @@ export default {
p1.push(item)
}
})
if(p1.every(i => Number(i.transFee) > 0 )){
specialNeedCreate(p1).then(r=>{
if(r.code === 0){
this.$emit('update:show',false)
this.$emit('determine')
this.$message.success('提交成功');
}
})
}else {
this.$modal.msg("请输入大于0的金额。");
}
specialNeedCreate(p1).then(r=>{
if(r.code === 0){
this.$emit('update:show',false)
this.$emit('determine')
this.$message.success('提交成功');
}
})
},
},
watch:{
......
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