apply-clients 3.5.5-18 → 3.5.5-19
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
|
@@ -195,46 +195,19 @@ export default {
|
|
|
195
195
|
`${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetConfigs`,
|
|
196
196
|
{data: datarow},
|
|
197
197
|
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'})
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
{
|
|
212
|
-
label:this.newmaterialnameandtype[j].name,
|
|
213
|
-
value: this.newmaterialnameandtype[j]
|
|
214
|
-
}
|
|
215
|
-
)
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
let f_typenumber = ''
|
|
219
|
-
materialnameandtype.filter((item)=>{
|
|
220
|
-
if (item.label == material[i].f_material_style ){
|
|
221
|
-
f_typenumber = item.value
|
|
222
|
-
}
|
|
223
|
-
})
|
|
224
|
-
this.material.push({
|
|
225
|
-
f_material_name: f_material_name,
|
|
226
|
-
f_typenumber: f_typenumber,
|
|
227
|
-
unit: f_typenumber.unit,
|
|
228
|
-
f_material_price: f_typenumber.price,
|
|
229
|
-
f_typename: f_typenumber.name,
|
|
230
|
-
material_type: f_material_name.name +f_typenumber.name,
|
|
231
|
-
f_overlength_unitprice:"0",
|
|
232
|
-
f_overlength_number:"0",
|
|
233
|
-
f_discounts_money_detail:"0",
|
|
234
|
-
f_actual_materials_detail:"0"
|
|
235
|
-
})
|
|
236
|
-
}
|
|
237
|
-
}
|
|
198
|
+
let material = row.data[this.selectdata.f_apply_type]
|
|
199
|
+
if (!isEmpty(material)&& material.length>0){
|
|
200
|
+
for (let i = 0; i < material.length; i++){
|
|
201
|
+
this.material.push({
|
|
202
|
+
f_material_name: material[i].f_material_name,
|
|
203
|
+
f_material_style: material[i].f_material_style,
|
|
204
|
+
f_overlength_unitprice:"0",
|
|
205
|
+
f_overlength_number:"0",
|
|
206
|
+
f_discounts_money_detail:"0",
|
|
207
|
+
f_actual_materials_detail:"0"
|
|
208
|
+
})
|
|
209
|
+
}
|
|
210
|
+
}
|
|
238
211
|
},
|
|
239
212
|
delete_material(i) {
|
|
240
213
|
console.log('删除项====', i)
|
|
@@ -111,9 +111,24 @@ export default {
|
|
|
111
111
|
this.$emit('delete_material',i)
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
-
ready(){
|
|
115
|
-
if ( this.item.
|
|
116
|
-
|
|
114
|
+
ready () {
|
|
115
|
+
if (this.item.f_material_name && this.item.f_material_style) {
|
|
116
|
+
let f_material_name = ''
|
|
117
|
+
this.newmaterialnameandcode.filter((item) => {
|
|
118
|
+
if (item.label == this.item.f_material_name) {
|
|
119
|
+
f_material_name = item.value
|
|
120
|
+
}
|
|
121
|
+
})
|
|
122
|
+
this.item.f_material_name = f_material_name
|
|
123
|
+
this.changeMaterialName(f_material_name)
|
|
124
|
+
let f_typenumber = ''
|
|
125
|
+
this.materialnameandtype.filter((item) => {
|
|
126
|
+
if (item.label == this.item.f_material_style) {
|
|
127
|
+
f_typenumber = item.value
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
this.item.f_typenumber = f_typenumber
|
|
131
|
+
this.changeType(f_typenumber)
|
|
117
132
|
}
|
|
118
133
|
console.log(this.item)
|
|
119
134
|
}
|