lilei пре 2 година
родитељ
комит
6ba26a68c2

+ 1 - 1
src/views/financialManagement/collectionDetailStatic/list.vue

@@ -543,7 +543,7 @@ export default {
       const obj = {
         no: info.bookNo,
         payerName: info.payerName,
-        id: info.id,
+        bookDetailSn: info.bookDetailSn,
         remarks: info.remarks ? info.remarks : ''
       }
       this.noteIsShow = true

+ 4 - 4
src/views/financialManagement/collectionDetailStatic/noteModal.vue

@@ -38,7 +38,7 @@
 
 <script>
 import {
-  updateFinanceBookDetail
+  updateDetailInvoiceDate
 } from '@/api/financeBook.js'
 export default {
   name: 'NoteModal',
@@ -64,7 +64,7 @@ export default {
         no: undefined,
         payerName: undefined,
         remarks: '',
-        id: ''
+        bookDetailSn: ''
       }
     }
   },
@@ -73,12 +73,12 @@ export default {
     handleSubmit () {
       const _this = this
       const ajax_form = {
-        id: this.form.id,
+        bookDetailSn: this.form.bookDetailSn,
         remarks: this.form.remarks
       }
       _this.spinning = true
       _this.confirmLoading = true
-      updateFinanceBookDetail(ajax_form).then(res => {
+      updateDetailInvoiceDate(ajax_form).then(res => {
         if (res.status == 200) {
           _this.$message.success(res.message)
           _this.cancel(1)