apply-clients 4.1.36-weinan → 4.1.38-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
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
</div>
|
|
74
74
|
<div class="from-group">
|
|
75
75
|
<label>单价(元)</label>
|
|
76
|
-
<input type="number" class="form-control" v-model="addItem.f_material_price">
|
|
76
|
+
<input type="number" class="form-control" v-model="addItem.f_material_price" readonly>
|
|
77
77
|
</div>
|
|
78
78
|
<div class="from-group">
|
|
79
79
|
<label>数量</label>
|
|
80
|
-
<input type="number" class="form-control" v-model="addItem.f_material_number">
|
|
80
|
+
<input type="number" class="form-control" v-model="addItem.f_material_number" >
|
|
81
81
|
</div>
|
|
82
82
|
<div class="from-group">
|
|
83
83
|
<label>金额</label>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
</article>
|
|
91
91
|
<footer slot="modal-footer" class="modal-footer">
|
|
92
92
|
<button v-show="showpay" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
93
|
-
<button v-show="showpay" type="button" class="btn btn-success" @click='addpaydipetail'>确认</button>
|
|
93
|
+
<button v-show="showpay" type="button" class="btn btn-success" @click='addpaydipetail' :disabled="!$v.valid">确认</button>
|
|
94
94
|
</footer>
|
|
95
95
|
</modal>
|
|
96
96
|
</template>
|
|
@@ -149,7 +149,9 @@ export default {
|
|
|
149
149
|
// 关闭模态框
|
|
150
150
|
close() {
|
|
151
151
|
this.showpay = false
|
|
152
|
-
this.addItem =
|
|
152
|
+
this.addItem = {
|
|
153
|
+
f_material_price:0
|
|
154
|
+
}
|
|
153
155
|
},
|
|
154
156
|
// 模态框确定按钮保存数据
|
|
155
157
|
async addpaydipetail() {
|
|
@@ -194,9 +196,15 @@ export default {
|
|
|
194
196
|
setmaterialprice(val){
|
|
195
197
|
debugger
|
|
196
198
|
this.addItem.f_material_price = this.$appdata.getSingleValue(val)
|
|
199
|
+
console.log("单价信息",this.addItem.f_material_price)
|
|
197
200
|
}
|
|
198
201
|
},
|
|
199
|
-
watch: {
|
|
202
|
+
watch: {
|
|
203
|
+
'typeNumberList'(){
|
|
204
|
+
this.addItem.f_typenumber=null
|
|
205
|
+
this.addItem.f_material_price = 0
|
|
206
|
+
}
|
|
207
|
+
}
|
|
200
208
|
}
|
|
201
209
|
|
|
202
210
|
</script>
|