apply-clients 3.4.73 → 3.4.74
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
package/src/filiale/hongda/pc.js
CHANGED
|
@@ -301,6 +301,14 @@
|
|
|
301
301
|
let temp = JSON.parse(JSON.stringify(this.selectdata))
|
|
302
302
|
console.log('打印下temp',temp)
|
|
303
303
|
this.show_data = temp
|
|
304
|
+
for (const item of this.show_data.fields) {
|
|
305
|
+
if(item.label==='气价名称'){
|
|
306
|
+
item.value=this.show_data.f_price_name
|
|
307
|
+
}
|
|
308
|
+
if(item.label==='安装合同编号'&& this.show_data.f_whether_underground == '无'){
|
|
309
|
+
item.required=false
|
|
310
|
+
}
|
|
311
|
+
}
|
|
304
312
|
this.$nextTick(() => {
|
|
305
313
|
this.showview = true
|
|
306
314
|
})
|
|
@@ -742,7 +750,7 @@
|
|
|
742
750
|
},
|
|
743
751
|
async getDesignerPeople () {
|
|
744
752
|
let data = {
|
|
745
|
-
source: 'this.getParentByType($organization$).getChildByName(
|
|
753
|
+
source: 'this.getParentByType($organization$).getChildByName($施工部报装$).getChildren()',
|
|
746
754
|
userid: this.$login.f.id
|
|
747
755
|
}
|
|
748
756
|
|
|
@@ -751,7 +759,7 @@
|
|
|
751
759
|
'POST',
|
|
752
760
|
`rs/search`,
|
|
753
761
|
{data: data},
|
|
754
|
-
{resolveMsg: null, rejectMsg: '
|
|
762
|
+
{resolveMsg: null, rejectMsg: '施工人员查询失败!!!'}
|
|
755
763
|
)
|
|
756
764
|
|
|
757
765
|
return res.data.map(item => {
|
|
@@ -763,9 +771,6 @@
|
|
|
763
771
|
},
|
|
764
772
|
async surveyStopApply () {
|
|
765
773
|
console.log('终止报建!!!!!')
|
|
766
|
-
|
|
767
|
-
this.show_data.f_stop_reason = '现场勘察不符合报装条件'
|
|
768
|
-
|
|
769
774
|
let data = {
|
|
770
775
|
data: this.show_data,
|
|
771
776
|
user: this.$login.f
|
|
@@ -1669,23 +1674,13 @@
|
|
|
1669
1674
|
&& (this.show_data.defname === '报装申请') && this.show_data.button.button_name === '提交'){
|
|
1670
1675
|
await this.contract_number()
|
|
1671
1676
|
}
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
// }
|
|
1680
|
-
// let http = new HttpResetClass()
|
|
1681
|
-
// let restpz = await http.load(
|
|
1682
|
-
// 'POST',
|
|
1683
|
-
// `rs/sql/checkuser`,
|
|
1684
|
-
// {data: dataz},
|
|
1685
|
-
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1686
|
-
// )
|
|
1687
|
-
// this.show_data.actid=restpz.data[0].actid
|
|
1688
|
-
// }
|
|
1677
|
+
if (this.show_data.defname === '验收送气' && this.show_data.f_air_tightness === '不合格' && this.show_data.button.button_name === '提交'){
|
|
1678
|
+
this.show_data.button.button_name = '维修'
|
|
1679
|
+
}
|
|
1680
|
+
if (this.show_data.defname === '踏勘设计' && this.show_data.f_is_have === '否' && this.show_data.button.button_name === '提交'){
|
|
1681
|
+
this.surveyStopApply()
|
|
1682
|
+
return
|
|
1683
|
+
}
|
|
1689
1684
|
let res = await this.$resetpost(
|
|
1690
1685
|
`rs/logic/ApplyProductService`,
|
|
1691
1686
|
{data: this.show_data},
|
|
@@ -1841,6 +1836,16 @@
|
|
|
1841
1836
|
this.setLabelValue("地址", f_address)
|
|
1842
1837
|
}
|
|
1843
1838
|
}
|
|
1839
|
+
if (this.show_data.defname === '踏勘设计' && this.show_data.f_is_have === '否'){
|
|
1840
|
+
if (this.show_data.fields[index+1].label == '不具备安装原因'){
|
|
1841
|
+
this.show_data.fields[index+1].hidden = false
|
|
1842
|
+
this.show_data.fields[index+1].required = true
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
if (this.show_data.defname === '工程派工' && this.show_data.f_start_build && this.show_data.f_end_build){
|
|
1846
|
+
this.show_data.f_build_days = (new Date(this.show_data.f_end_build) - new Date(this.show_data.f_start_build))/1000/60/60/24
|
|
1847
|
+
this.setLabelValue("预计施工天数", this.show_data.f_build_days)
|
|
1848
|
+
}
|
|
1844
1849
|
},
|
|
1845
1850
|
selectSearch (val, index) {},
|
|
1846
1851
|
'onblur' (index) {},
|