Forráskód Böngészése

增加金额赋值

wenmenghao 1 éve
szülő
commit
47db6146a3
1 módosított fájl, 5 hozzáadás és 0 törlés
  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