apply-clients 3.5.6-56 → 3.5.6-57

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-56",
3
+ "version": "3.5.6-57",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1336,6 +1336,17 @@ export default {
1336
1336
  return
1337
1337
  }
1338
1338
  }
1339
+ if(this.show_data.defname === '工程施工' && this.show_data.button.button_name === '提交'){
1340
+ const http = new HttpResetClass()
1341
+ let data = {
1342
+ condition: `f_parent_process_id = '${this.show_data.f_process_id}' and f_apply_type = '工程施工' and f_sub_state != '完工'`
1343
+ }
1344
+ const res = await http.load('post',`rs/sql/getapply`,{data: data},{rejectMsg:null,resolveMsg:null})
1345
+ if (res.data.length > 0){
1346
+ this.$showMessage('该报建单子下还有未完工的工程施工流程,无法提交!!!')
1347
+ return
1348
+ }
1349
+ }
1339
1350
  let res = await this.$resetpost(
1340
1351
  `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyProductService`,
1341
1352
  {data: this.show_data},
@@ -1934,6 +1934,17 @@
1934
1934
  return
1935
1935
  }
1936
1936
  }
1937
+ if(this.show_data.defname === '工程施工' && this.show_data.button.button_name === '提交'){
1938
+ const http = new HttpResetClass()
1939
+ let data = {
1940
+ condition: `f_parent_process_id = '${this.show_data.f_process_id}' and f_apply_type = '工程施工' and f_sub_state != '完工'`
1941
+ }
1942
+ const res = await http.load('post',`rs/sql/getapply`,{data: data},{rejectMsg:null,resolveMsg:null})
1943
+ if (res.data.length > 0){
1944
+ this.$showMessage('该报建单子下还有未完工的工程施工流程,无法提交!!!')
1945
+ return
1946
+ }
1947
+ }
1937
1948
  let res = await this.$resetpost(
1938
1949
  `rs/logic/ApplyProductService`,
1939
1950
  {data: this.show_data},