apply-clients 3.5.6-16 → 3.5.6-17

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": "3.5.6-16",
3
+ "version": "3.5.6-17",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1301,6 +1301,10 @@ export default {
1301
1301
  }
1302
1302
  }
1303
1303
  if(this.show_data.defname === '工程派工' && this.show_data.button.button_name === '提交'){
1304
+ if(isEmpty(this.show_data.f_budget_people) || this.show_data.f_budget_people.length === 0){
1305
+ this.$showMessage('请选择施工人员!')
1306
+ return
1307
+ }
1304
1308
  this.show_data.f_budget_peoples = []
1305
1309
  for (const item of this.show_data.fields) {
1306
1310
  if (item.label === '施工人') {
@@ -1899,7 +1899,7 @@
1899
1899
  }
1900
1900
  }
1901
1901
  if(this.show_data.defname === '工程派工' ){
1902
- if(isEmpty(this.show_data.f_budget_people) && this.show_data.f_budget_people.length === 0){
1902
+ if(isEmpty(this.show_data.f_budget_people) || this.show_data.f_budget_people.length === 0){
1903
1903
  this.$showMessage('请选择施工人员!')
1904
1904
  return
1905
1905
  }