11
WXL
2024-03-21 f8a755f1ea3218575198d605795d72e701bdbe28
11
已修改1个文件
12 ■■■■■ 文件已修改
src/views/project/tallage/computingBill/index.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/tallage/computingBill/index.vue
@@ -733,7 +733,7 @@
    },
    handleQuery() {},
    resetQuery() {
      this.patientqueryParams.donorname = null;
      this.patientqueryParams.donorno = null;
      this.patientqueryParams.donorchargeid = null;
      this.handleAddpatient();
    },
@@ -916,12 +916,15 @@
        if (valid) {
          this.$modal.loading("正在提交,请稍候!");
          //保存
          console.log(1);
          this.form.serviceFunds = this.donorchargeorgans;
          console.log(2);
          if (this.form.id != null) {
            updateFundtax(this.form).then(res1 => {
              if (res1.code == 200) {
                console.log(3);
                this.$modal.msgSuccess("保存成功!");
                getFundtax(this.curId).then(response => {
                getFundtax(this.form.id).then(response => {
                  this.form = response.data;
                  if (this.form.serviceFunds[0]) {
                    this.donorchargeorgans = this.form.serviceFunds;
@@ -941,10 +944,9 @@
          } else {
            addFundtax(this.form).then(response => {
              if (response.code == 200) {
                this.form.id = response.data.fundTaxId;
                this.$modal.msgSuccess("新增成功!");
                getFundtax(response.msg).then(response => {
                  this.form = response.data;
                getFundtax(response.data.fundTaxId).then(res => {
                  this.form = res.data;
                  if (this.form.serviceFunds[0]) {
                    this.donorchargeorgans = this.form.serviceFunds;
                    this.donorchargeorgans.forEach(item => {