apply-clients 3.3.110-209 → 3.3.110-210
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
|
@@ -150,6 +150,7 @@
|
|
|
150
150
|
</template>
|
|
151
151
|
|
|
152
152
|
<script>
|
|
153
|
+
import Vue from 'vue'
|
|
153
154
|
import {HttpResetClass} from 'vue-client'
|
|
154
155
|
export default {
|
|
155
156
|
name: 'addMaterialScience',
|
|
@@ -190,7 +191,7 @@
|
|
|
190
191
|
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
191
192
|
}
|
|
192
193
|
let res = await this.$resetpost(
|
|
193
|
-
|
|
194
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
|
|
194
195
|
{data: data},
|
|
195
196
|
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
196
197
|
)
|
|
@@ -234,7 +235,7 @@
|
|
|
234
235
|
let http = new HttpResetClass()
|
|
235
236
|
let res = await http.load(
|
|
236
237
|
'POST',
|
|
237
|
-
|
|
238
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/getStockMaterial`,
|
|
238
239
|
{data: data},
|
|
239
240
|
{resolveMsg: null, rejectMsg: '材料查询失败!!!'}
|
|
240
241
|
)
|
|
@@ -260,15 +261,15 @@
|
|
|
260
261
|
this.title = '新增'
|
|
261
262
|
let data = {
|
|
262
263
|
f_process_id : this.selectdata.f_process_id,
|
|
263
|
-
f_operator_id:
|
|
264
|
-
f_operator:
|
|
264
|
+
f_operator_id: Vue.user.id,
|
|
265
|
+
f_operator: Vue.user.name,
|
|
265
266
|
f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
266
|
-
f_orgid:
|
|
267
|
-
f_orgname:
|
|
267
|
+
f_orgid: Vue.user.orgid,
|
|
268
|
+
f_orgname: Vue.user.orgs,
|
|
268
269
|
materials:this.materials
|
|
269
270
|
}
|
|
270
271
|
let res = await this.$resetpost(
|
|
271
|
-
|
|
272
|
+
`${this.$androidUtil.getProxyUrl()}/rs/logic/saveMaterials`,
|
|
272
273
|
data
|
|
273
274
|
)
|
|
274
275
|
this.closeMaterials()
|
|
@@ -280,7 +281,7 @@
|
|
|
280
281
|
|
|
281
282
|
let res = http.load(
|
|
282
283
|
'DELETE',
|
|
283
|
-
|
|
284
|
+
`${this.$androidUtil.getProxyUrl()}/rs/entity/t_material_apply/${row.id}`,
|
|
284
285
|
null,
|
|
285
286
|
{resolveMsg: null, rejectMsg: '删除失败!!!'}
|
|
286
287
|
)
|
|
@@ -312,7 +313,7 @@
|
|
|
312
313
|
data.f_material_number = this.materials[0].f_material_number
|
|
313
314
|
data.f_material_code = this.materials[0].f_material_code
|
|
314
315
|
let res = await this.$resetpost(
|
|
315
|
-
|
|
316
|
+
`${this.$androidUtil.getProxyUrl()}/rs/entity/t_material_apply`,
|
|
316
317
|
data
|
|
317
318
|
)
|
|
318
319
|
this.closeMaterials()
|