|
@@ -1764,15 +1764,20 @@ export default {
|
|
|
this.msgSuccess("成功提交");
|
|
|
if (response.code == 200) {
|
|
|
this.$set(row, "billStatus", 6);
|
|
|
- this.$set(row, "disabled", true);
|
|
|
+ // this.$set(row, "disabled", true);
|
|
|
+ this.$set(row, "id", response.data.plan.id);
|
|
|
+ this.$set(row, "orgId", response.data.plan.orgId);
|
|
|
+ this.$parent.getSave2(response.data.cntrs);
|
|
|
}
|
|
|
});
|
|
|
} else if (row.billStatus != 6) {
|
|
|
singleaddFtmsorderbillsplans(formData).then((response) => {
|
|
|
this.msgSuccess("成功提交");
|
|
|
if (response.code == 200) {
|
|
|
- this.$set(row, "id", response.data.id);
|
|
|
- this.$set(row, "billStatus", response.data.billStatus);
|
|
|
+ this.$set(row, "billStatus", 6);
|
|
|
+ this.$set(row, "id", response.data.plan.id);
|
|
|
+ this.$set(row, "orgId", response.data.plan.orgId);
|
|
|
+ this.$parent.getSave2(response.data.cntrs);
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
@@ -1796,7 +1801,8 @@ export default {
|
|
|
revokeFtmsorderbillsplans(row).then((response) => {
|
|
|
if (response.code == 200) {
|
|
|
this.msgSuccess("成功撤回");
|
|
|
- this.$set(row, "billStatus", response.data.billStatus);
|
|
|
+ this.$set(row, "billStatus", 3);
|
|
|
+ this.$parent.getSave2(responsed.data.cntrs);
|
|
|
}
|
|
|
});
|
|
|
} else {
|