wk
2024-10-23 77428b4780dcd121a173503b9063774d8d205332
subPages/addTo-freightForwarder-purchasePermit/addTo-freightForwarder-purchasePermit.vue
@@ -81,7 +81,6 @@
            this.form=Object.assign({},this.form,JSON.parse(decodeURIComponent(params.data)))
            this.productName=this.form.productName
            this.range=[this.form.startDate,this.form.endDate]
            console.log(this.form.buyTotal)
            if (this.fileList1.length == 0 && this.form.buyFilePath) {
               this.fileList1.push({
                  url: `${BaseUrl}${this.form.buyFilePath}`
@@ -91,12 +90,16 @@
      },
      watch:{
         form(newval,oldval){
            if(newval){
            if(!newval||newval==''){
               this.form.buyTotal=null
            }else{
               this.buyTotal1=(newval.buyTotal*1000).toFixed(2)
            }
         },
         buyTotal1(newval,oldval){
            if(newval){
            if(!newval||newval==''){
               this.form.buyTotal=null
            }else{
               this.form.buyTotal=(newval/1000).toFixed(2)
            }
         },