|
@@ -493,15 +493,15 @@ export default {
|
|
|
if (this.type === 3 || this.type === 4) {
|
|
|
this.$api
|
|
|
.systemtoporderupdatecost({
|
|
|
- costTpVo: this.form,
|
|
|
+ costTpVo: form,
|
|
|
orderSnList:
|
|
|
this.type === 3 ? [this.tpId] : this.tpId?.split(","),
|
|
|
})
|
|
|
.then(this.cb);
|
|
|
} else if (this.type !== 1) {
|
|
|
- addCost(this.form).then(this.cb);
|
|
|
+ addCost(form).then(this.cb);
|
|
|
} else {
|
|
|
- editCost(this.form).then(this.cb);
|
|
|
+ editCost(form).then(this.cb);
|
|
|
}
|
|
|
} else {
|
|
|
return false;
|