wenmenghao 1 рік тому
батько
коміт
47db6146a3
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      apps/mobile/src/views/invoice/Invoicing.vue

+ 5 - 0
apps/mobile/src/views/invoice/Invoicing.vue

@@ -597,6 +597,11 @@ export default {
             code: this.invoiceId
           })
           let data = resdata.data.invoice
+          if (this.type === 'Replace') {
+            this.infoMap.price = data.invoice_money
+              ? data.invoice_money / 100
+              : 0
+          }
           this.infoMap.type = this.DigitstoChinese_type(data.invoice_variety)
           this.infoMap.content = data.invoice_content
           this.onlyIdentifying = data.only_Identifying