收入合同新增项目添加标识flag

This commit is contained in:
zhaoxiao
2021-09-24 11:11:28 +08:00
parent e0ac5fac50
commit 1a566ba853
4 changed files with 20 additions and 0 deletions
@@ -233,6 +233,12 @@ export default {
type: String,
required: false,
default: undefined
},
// 收入合同新增时为1
flag: {
type: Number,
requirded: false,
default: null
}
},
data() {
@@ -386,6 +392,9 @@ export default {
if (this.defaultChargeWay === 2) {
values.chargeWay = 2
}
if (this.flag === 1) {
values.flag = this.flag
}
let httpurl = ''
let method = 'post'
if (!this.model.id) {