apply-clients 3.5.5-22 → 3.5.5-23

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.5.5-22",
3
+ "version": "3.5.5-23",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -89,7 +89,7 @@
89
89
  style="width: 100%"
90
90
  placeholder="0.00"
91
91
  @blur="handleInput"
92
- v-model="userRecord.f_cost" />
92
+ v-model="userRecord.f_cos_amount" />
93
93
  </div>
94
94
  </div>
95
95
  <div class="form-group col-sm-12">
@@ -210,7 +210,7 @@ export default {
210
210
  //户数
211
211
  f_households: "",
212
212
  //费用
213
- f_cost: "",
213
+ f_cos_amount: "",
214
214
  //金额大写
215
215
  f_amount_capital: "",
216
216
  //付款方式
@@ -360,7 +360,7 @@ export default {
360
360
  //户数
361
361
  f_households: "",
362
362
  //费用
363
- f_cost: "",
363
+ f_cos_amount: "",
364
364
  //金额大写
365
365
  f_amount_capital: "",
366
366
  //付款方式
@@ -330,7 +330,8 @@ export default {
330
330
  this.meterialOptions = res2.data.map(item => {
331
331
  return {
332
332
  'label': `${item.name}--${item.spec}--${item.smallnumname}`,
333
- 'value': item
333
+ 'value': item.code,
334
+ 'materials': item
334
335
  }
335
336
  })
336
337
  }
@@ -358,8 +359,13 @@ export default {
358
359
  modifyOtherValue (index){
359
360
  console.log("进来了",index)
360
361
  console.log("dddd",this.materials[index].material)
361
- if(this.materials[index].material){
362
- let material = this.materials[index].material
362
+ let material ={}
363
+ if(this.materials[index].material[0]){
364
+ for(let i=0;i<this.meterialOptions.length;i++){
365
+ if(this.materials[index].material[0]==this.meterialOptions[i].value){
366
+ material = this.meterialOptions[i].materials
367
+ }
368
+ }
363
369
  this.materials[index].f_material_price=0
364
370
  this.materials[index].f_material_name = material.name
365
371
  this.materials[index].f_material_style = material.spec
@@ -378,6 +384,7 @@ export default {
378
384
  this.materials[index].f_bjq_sid=''
379
385
  this.materials[index].f_userinfo_code = ''
380
386
  }
387
+
381
388
  },
382
389
  // 新增材料
383
390
  async addMaterial() {
@@ -504,7 +511,7 @@ export default {
504
511
  let http = new HttpResetClass()
505
512
  let res = await http.load(
506
513
  'POST',
507
- `${this.$androidUtil.getProxyUrl()}/rs/logic/saveMaterials`,
514
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/applysaveMaterials`,
508
515
  data
509
516
  )
510
517