apply-clients 4.1.34-weinan → 4.1.36-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
|
@@ -526,6 +526,20 @@ export default {
|
|
|
526
526
|
|
|
527
527
|
},
|
|
528
528
|
async showChargeModal() {
|
|
529
|
+
let http = new HttpResetClass()
|
|
530
|
+
let data = {
|
|
531
|
+
condition: " 1=1",
|
|
532
|
+
f_process_id: this.selectdata.f_process_id
|
|
533
|
+
}
|
|
534
|
+
let res = await http.load('POST', this.$androidUtil.getProxyUrl() +'/rs/sql/getAddresAndUserinfoAndUserfilesAmount', {data:data}, {
|
|
535
|
+
resolveMsg: null,
|
|
536
|
+
rejectMsg: null
|
|
537
|
+
})
|
|
538
|
+
if (res.data[0].f_user_id===null){
|
|
539
|
+
debugger
|
|
540
|
+
this.$showMessage("请先添加表具信息!!!")
|
|
541
|
+
return
|
|
542
|
+
}
|
|
529
543
|
this.getUserAddress()
|
|
530
544
|
console.log("材料费",this.selectdata.f_cost_sum)
|
|
531
545
|
this.charge.payment_terms[0].f_charge_money = this.selectdata.f_cost_sum
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
:value.sync="addItem.f_typenumber"
|
|
69
69
|
v-model="addItem.f_typenumber"
|
|
70
70
|
:options="typeNumberList"
|
|
71
|
+
@change="setmaterialprice"
|
|
71
72
|
:valueSingle="true"></input-select>
|
|
72
73
|
</div>
|
|
73
74
|
<div class="from-group">
|
|
@@ -107,7 +108,9 @@ export default {
|
|
|
107
108
|
model: {
|
|
108
109
|
rows: [] // 材料收费数据数组
|
|
109
110
|
},
|
|
110
|
-
addItem: {
|
|
111
|
+
addItem: {
|
|
112
|
+
f_material_price:0
|
|
113
|
+
},
|
|
111
114
|
f_cost_sum: 0,
|
|
112
115
|
positions:this.$appdata.getParam('品名及规格'),
|
|
113
116
|
typeNameList:null,
|
|
@@ -187,6 +190,10 @@ export default {
|
|
|
187
190
|
},
|
|
188
191
|
setTypenumber (val) {
|
|
189
192
|
this.typeNumberList = this.$appdata.getParam(val)
|
|
193
|
+
},
|
|
194
|
+
setmaterialprice(val){
|
|
195
|
+
debugger
|
|
196
|
+
this.addItem.f_material_price = this.$appdata.getSingleValue(val)
|
|
190
197
|
}
|
|
191
198
|
},
|
|
192
199
|
watch: {}
|