apply-clients 3.4.25 → 3.4.27
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
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
placeholder="设备数量"
|
|
119
119
|
v-model="item.f_material_number"
|
|
120
120
|
:value="item.f_material_number"
|
|
121
|
+
@change="sumMaterialmoney(i)"
|
|
121
122
|
/>
|
|
122
123
|
</div>
|
|
123
124
|
</div>
|
|
@@ -231,6 +232,9 @@
|
|
|
231
232
|
this.getOnetoManyData()
|
|
232
233
|
},
|
|
233
234
|
methods: {
|
|
235
|
+
sumMaterialmoney(i){
|
|
236
|
+
|
|
237
|
+
},
|
|
234
238
|
async getOnetoManyData () {
|
|
235
239
|
let http = new HttpResetClass()
|
|
236
240
|
let data = {
|
|
@@ -293,7 +297,7 @@
|
|
|
293
297
|
|
|
294
298
|
this.meterialOptions = res.data.map(item => {
|
|
295
299
|
return {
|
|
296
|
-
'label': `${item.f_material_name}
|
|
300
|
+
'label': `${item.f_material_name}`,
|
|
297
301
|
'value': item
|
|
298
302
|
}
|
|
299
303
|
})
|
|
@@ -511,17 +511,31 @@ export default {
|
|
|
511
511
|
resolveMsg: null,
|
|
512
512
|
rejectMsg: '缴费失败!!!'
|
|
513
513
|
})
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
514
|
+
if(this.charge.f_is_invoice=='是' && res.data.recordid !=null && res.data.recordid !=''){
|
|
515
|
+
let data1 = {
|
|
516
|
+
id : [
|
|
517
|
+
res.data.recordid
|
|
518
|
+
],
|
|
519
|
+
f_charge_type : '报建收费',
|
|
520
|
+
f_operatorid : data.user.id,
|
|
521
|
+
f_operator : data.user.name,
|
|
522
|
+
f_depid : data.user.depids,
|
|
523
|
+
f_depname : data.user.deps,
|
|
524
|
+
f_orgname : data.user.orgs,
|
|
525
|
+
f_orgid : data.user.orgid
|
|
526
|
+
}
|
|
527
|
+
let res1 = await http.load('POST', 'rs/gxinvoice/OpenEticket', {data:data1}, {
|
|
528
|
+
resolveMsg: null,
|
|
529
|
+
rejectMsg: '开票失败!!!'
|
|
530
|
+
})
|
|
531
|
+
console.log('打印 res1',res1)
|
|
532
|
+
if(res1.data.code=='0000'){
|
|
533
|
+
this.$showMessage("开票成功,请前往发票管理查看!")
|
|
534
|
+
}else if(res1.data.code=='0011'){
|
|
535
|
+
this.$showMessage("开票超时,请前往发票记录页面重新查询!")
|
|
536
|
+
}else{
|
|
537
|
+
this.$showMessage("开票失败,请联系管理人员查看!")
|
|
538
|
+
}
|
|
525
539
|
}
|
|
526
540
|
this.selectdata = res.data
|
|
527
541
|
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
placeholder="设备数量"
|
|
128
128
|
v-model="item.f_material_number"
|
|
129
129
|
:value="item.f_material_number"
|
|
130
|
+
@change="sumMaterialmoney(i)"
|
|
130
131
|
/>
|
|
131
132
|
</div>
|
|
132
133
|
</div>
|
|
@@ -209,6 +210,11 @@
|
|
|
209
210
|
this.getOnetoManyData()
|
|
210
211
|
},
|
|
211
212
|
methods: {
|
|
213
|
+
sumMaterialmoney(index){
|
|
214
|
+
debugger
|
|
215
|
+
this.materials[index].f_material_money = this.materials[index].f_material_price * this.materials[index].f_material_number
|
|
216
|
+
console.log('打印',this.materials[index].f_material_money)
|
|
217
|
+
},
|
|
212
218
|
async getOnetoManyData () {
|
|
213
219
|
let data = {
|
|
214
220
|
tablename: `t_material_detail`,
|
|
@@ -273,7 +279,7 @@
|
|
|
273
279
|
|
|
274
280
|
this.meterialOptions = res.data.map(item => {
|
|
275
281
|
return {
|
|
276
|
-
'label': `${item.f_material_name}
|
|
282
|
+
'label': `${item.f_material_name}`,
|
|
277
283
|
'value': item
|
|
278
284
|
}
|
|
279
285
|
})
|