apply-clients 4.1.38-weinan → 4.1.39-weinan

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": "4.1.38-weinan",
3
+ "version": "4.1.39-weinan",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -149,9 +149,7 @@ export default {
149
149
  // 关闭模态框
150
150
  close() {
151
151
  this.showpay = false
152
- this.addItem = {
153
- f_material_price:0
154
- }
152
+ this.addItem = null
155
153
  },
156
154
  // 模态框确定按钮保存数据
157
155
  async addpaydipetail() {
@@ -194,16 +192,22 @@ export default {
194
192
  this.typeNumberList = this.$appdata.getParam(val)
195
193
  },
196
194
  setmaterialprice(val){
197
- debugger
195
+ if(val==null){
196
+ this.addItem.f_material_price = 0
197
+ }
198
198
  this.addItem.f_material_price = this.$appdata.getSingleValue(val)
199
- console.log("单价信息",this.addItem.f_material_price)
200
199
  }
201
200
  },
202
201
  watch: {
203
202
  'typeNumberList'(){
204
- this.addItem.f_typenumber=null
205
- this.addItem.f_material_price = 0
206
- }
203
+ this.addItem.f_typenumber=null
204
+ this.addItem.f_material_price = 0
205
+ },
206
+ 'typeNameList'(){
207
+ this.addItem.f_typename = null
208
+ this.addItem.f_typenumber = null
209
+ this.addItem.f_material_price = 0
210
+ }
207
211
  }
208
212
  }
209
213