apply-clients 3.3.100 → 3.3.103
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 +1 -1
- package/src/components/android/AppOnetomany.vue +32 -45
- package/src/components/android/AppServiceView.vue +1 -11
- package/src/components/android/AppSign.vue +4 -2
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +9 -3
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +512 -508
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +1 -1
- package/src/components/product/Onetomany.vue +31 -44
|
@@ -81,7 +81,7 @@ export default {
|
|
|
81
81
|
tablename: 't_charge_record',
|
|
82
82
|
condition: `f_process_id = '${this.selectdata.f_process_id}'`
|
|
83
83
|
}
|
|
84
|
-
let res = await http.load('POST',
|
|
84
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data:data}, {
|
|
85
85
|
resolveMsg: null,
|
|
86
86
|
rejectMsg: '收费信息查询失败!!!'
|
|
87
87
|
})
|
|
@@ -210,55 +210,42 @@ export default {
|
|
|
210
210
|
},
|
|
211
211
|
methods: {
|
|
212
212
|
async confirmModal () {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
213
|
+
//报警器设备型号校验
|
|
214
|
+
if (this.selectdata.f_apply_type === '报警器报建'){
|
|
215
|
+
let data = {
|
|
216
|
+
f_material_name : "",
|
|
217
|
+
f_bjq_sid: "",
|
|
218
|
+
}
|
|
219
|
+
this.onetomany.fields.forEach(item=>{
|
|
220
|
+
if (item.label === '材料编号'){
|
|
221
|
+
data.f_bjq_sid = item.value
|
|
219
222
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
data.f_bjq_sid = item.value
|
|
223
|
-
}
|
|
224
|
-
if (item.label === '材料名称'){
|
|
225
|
-
data.f_material_name = item.value
|
|
226
|
-
}
|
|
227
|
-
})
|
|
228
|
-
if (data.f_material_name.substr(0,3) === '报警器'){
|
|
229
|
-
let res = await this.$resetpost(
|
|
230
|
-
`ncc/rs/logic/bjqcheck`,
|
|
231
|
-
// `/rs/logic/bjqcheck`,
|
|
232
|
-
data
|
|
233
|
-
)
|
|
234
|
-
if (res.data.code == 200){
|
|
235
|
-
if (this.onetomany.add.event) {
|
|
236
|
-
this.$dispatch(this.onetomany.add.event, this.index)
|
|
237
|
-
} else {
|
|
238
|
-
this.$dispatch('onetomanyadd', this.index)
|
|
239
|
-
}
|
|
240
|
-
this.closeModal()
|
|
241
|
-
}else {
|
|
242
|
-
this.disableButton = true
|
|
243
|
-
this.$showMessage(res.data.msg)
|
|
244
|
-
}
|
|
245
|
-
}else {
|
|
246
|
-
if (this.onetomany.add.event) {
|
|
247
|
-
this.$dispatch(this.onetomany.add.event, this.index)
|
|
248
|
-
} else {
|
|
249
|
-
this.$dispatch('onetomanyadd', this.index)
|
|
250
|
-
}
|
|
251
|
-
this.closeModal()
|
|
223
|
+
if (item.label === '材料名称'){
|
|
224
|
+
data.f_material_name = item.value
|
|
252
225
|
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
226
|
+
})
|
|
227
|
+
if (data.f_material_name.substr(0,3) === '报警器'){
|
|
228
|
+
let res = await this.$resetpost(
|
|
229
|
+
`ncc/rs/logic/bjqcheck`,
|
|
230
|
+
// `/rs/logic/bjqcheck`,
|
|
231
|
+
data
|
|
232
|
+
)
|
|
233
|
+
if (res.data.code != 200){
|
|
234
|
+
this.disableButton = true
|
|
235
|
+
this.$showMessage(res.data.msg)
|
|
236
|
+
return
|
|
258
237
|
}
|
|
259
|
-
this.closeModal()
|
|
260
238
|
}
|
|
261
239
|
}
|
|
240
|
+
|
|
241
|
+
if (this.modelTitle === '新增') {
|
|
242
|
+
if (this.onetomany.add.event) {
|
|
243
|
+
this.$dispatch(this.onetomany.add.event, this.index)
|
|
244
|
+
} else {
|
|
245
|
+
this.$dispatch('onetomanyadd', this.index)
|
|
246
|
+
}
|
|
247
|
+
this.closeModal()
|
|
248
|
+
}
|
|
262
249
|
if (this.modelTitle === '修改') {
|
|
263
250
|
if (this.onetomany.update.event) {
|
|
264
251
|
this.$dispatch(this.onetomany.update.event, this.index, this.rowIndex)
|