apply-clients 3.4.65 → 3.4.67

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.
@@ -913,7 +913,27 @@
913
913
  },
914
914
  PrefixInteger(num, n) {
915
915
  return (Array(n).join(0) + num).slice(-n);
916
- }
916
+ },
917
+ // 单价失去焦点
918
+ async priceSum () {
919
+ if (isEmpty(this.show_data.f_price)) {
920
+ return
921
+ }
922
+ let data = {
923
+ operator: '*',
924
+ num1: this.show_data.f_price,
925
+ num2: this.show_data.f_install_count
926
+ }
927
+ let http = new HttpResetClass()
928
+ let res = await http.load(
929
+ 'POST',
930
+ `rs/logic/compute`,
931
+ {data: data},
932
+ {resolveMsg: null, rejectMsg: '工程材料费计算失败!!!'}
933
+ )
934
+
935
+ this.setLabelValue('工程材料费', res.data)
936
+ },
917
937
  },
918
938
  events: {
919
939
  'priceType'(index){