qukaidi пре 3 година
родитељ
комит
94d36948fd
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      src/views/approveData/index.vue
  2. 1 1
      src/views/salesManagement/outStock/detailsPage.vue

+ 1 - 1
src/views/approveData/index.vue

@@ -200,7 +200,7 @@ export default {
     },
     },
     openCheck(row) {
     openCheck(row) {
       if (row.checkType == 'CK') {
       if (row.checkType == 'CK') {
-        financingExcess({ id: this.form.id }).then(res => {
+        financingExcess({ id: row.corpId }).then(res => {
           if (res.data.data == '操作成功') {
           if (res.data.data == '操作成功') {
             this.batch = false; //单条操作
             this.batch = false; //单条操作
             this.checkDialog = true;
             this.checkDialog = true;

+ 1 - 1
src/views/salesManagement/outStock/detailsPage.vue

@@ -419,7 +419,7 @@ export default {
     },
     },
     //请核
     //请核
     auditCheck() {
     auditCheck() {
-      financingExcess({ id: this.form.id }).then(res => {
+      financingExcess({ id: this.form.purchaserId }).then(res => {
         if (res.data.data == '操作成功') {
         if (res.data.data == '操作成功') {
           this.$confirm("确定审核此订单?", {
           this.$confirm("确定审核此订单?", {
             confirmButtonText: "确定",
             confirmButtonText: "确定",