apply-clients 5.0.35-ezhou-25-20 → 5.0.35-ezhou-25-22

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "5.0.35-ezhou-25-20",
3
+ "version": "5.0.35-ezhou-25-22",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -727,6 +727,13 @@
727
727
  this.model.f_charge_money = 0
728
728
  this.model.f_amount_words = ''
729
729
  } else {
730
+ for (let i = 0; i < this.charges.length; i++) {
731
+ const f_project_item = this.charges[i].f_project_item[0]
732
+ if (f_project_item === '合同总额'){
733
+ this.$showMessage('收费项目必须填写!!!')
734
+ return
735
+ }
736
+ }
730
737
  //获取购货方信息
731
738
  let http = new HttpResetClass()
732
739
  data = {
@@ -817,10 +824,6 @@
817
824
  for (let i = 0; i < this.charges.length; i++) {
818
825
  let saveen = this.charges[i]
819
826
  saveen.f_project_item = this.charges[i].f_project_item[0]
820
- if (saveen.f_project_item === '合同总额'){
821
- this.$showMessage('收费项目必须填写!!!')
822
- return
823
- }
824
827
  saveen.f_charge_record_id = parseFloat(ret.data.id);
825
828
  await http.load('POST', 'rs/logic/saveentity', {
826
829
  data: {