apply-clients 3.3.110-210 → 3.3.110-211
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
|
@@ -186,11 +186,13 @@
|
|
|
186
186
|
},
|
|
187
187
|
methods: {
|
|
188
188
|
async getOnetoManyData () {
|
|
189
|
+
let http = new HttpResetClass()
|
|
189
190
|
let data = {
|
|
190
191
|
tablename: `t_material_apply`,
|
|
191
192
|
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
192
193
|
}
|
|
193
|
-
let res = await
|
|
194
|
+
let res = await http.load(
|
|
195
|
+
'POST',
|
|
194
196
|
`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
|
|
195
197
|
{data: data},
|
|
196
198
|
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
@@ -268,7 +270,9 @@
|
|
|
268
270
|
f_orgname: Vue.user.orgs,
|
|
269
271
|
materials:this.materials
|
|
270
272
|
}
|
|
271
|
-
let
|
|
273
|
+
let http = new HttpResetClass()
|
|
274
|
+
let res = await http.load(
|
|
275
|
+
'POST',
|
|
272
276
|
`${this.$androidUtil.getProxyUrl()}/rs/logic/saveMaterials`,
|
|
273
277
|
data
|
|
274
278
|
)
|
|
@@ -278,7 +282,6 @@
|
|
|
278
282
|
this.$showMessage('您确定要删除这条记录吗?',['confirm']).then(res =>{
|
|
279
283
|
if (res === 'confirm'){
|
|
280
284
|
let http = new HttpResetClass()
|
|
281
|
-
|
|
282
285
|
let res = http.load(
|
|
283
286
|
'DELETE',
|
|
284
287
|
`${this.$androidUtil.getProxyUrl()}/rs/entity/t_material_apply/${row.id}`,
|
|
@@ -312,7 +315,9 @@
|
|
|
312
315
|
data.f_material_unit = this.materials[0].f_material_unit
|
|
313
316
|
data.f_material_number = this.materials[0].f_material_number
|
|
314
317
|
data.f_material_code = this.materials[0].f_material_code
|
|
315
|
-
let
|
|
318
|
+
let http = new HttpResetClass()
|
|
319
|
+
let res = await http.load(
|
|
320
|
+
'POST',
|
|
316
321
|
`${this.$androidUtil.getProxyUrl()}/rs/entity/t_material_apply`,
|
|
317
322
|
data
|
|
318
323
|
)
|