apply-clients 3.4.30 → 3.4.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
for(var i=0;i<materials.length; i++){
|
|
222
222
|
this.summoney =parseFloat(parseFloat(materials[i].f_material_money)+ parseFloat(this.summoney)).toFixed(2)
|
|
223
223
|
}
|
|
224
|
-
this.twomoney= parseFloat(parseFloat(this.summoney)- parseFloat(this.selectdata.f_sumtwo_money)).toFixed(2)
|
|
224
|
+
this.twomoney= parseFloat(parseFloat(this.summoney)- parseFloat(this.selectdata.f_sumtwo_money== 0 || this.selectdata.f_sumtwo_money == null || this.selectdata.f_sumtwo_money =='' ? 0: this.selectdata.f_sumtwo_money)).toFixed(2)
|
|
225
225
|
console.log('打印材料总金额',this.summoney)
|
|
226
226
|
if(this.selectdata.defname=='工程施工'){
|
|
227
227
|
this.selectdata.f_sumtwo_money = this.summoney
|