|
|
@@ -112,7 +112,7 @@
|
|
|
</div>
|
|
|
<div style="width: 394px;">
|
|
|
<el-form-item label="付款百分比:" prop="paymentPercent" label-width="160px">
|
|
|
- <el-input-number style="width:100%" :precision="0" placeholder="付款百分比"
|
|
|
+ <el-input-number style="width:100%" :precision="0" @blur="Sumups" placeholder="付款百分比"
|
|
|
v-model="DecreasePaymentsData.paymentPercent" :controls='false'>
|
|
|
</el-input-number>
|
|
|
<!-- <el-input placeholder="付款百分比" suffix-icon="%" v-model="DecreasePaymentsData.paymentPercent">
|
|
|
@@ -375,7 +375,7 @@ export default {
|
|
|
{ required: true, message: '请选择付款类型', trigger: 'change' }
|
|
|
],
|
|
|
paymentPercent: [
|
|
|
- { required: true, message: '请选择付款百分比', trigger: 'change' }
|
|
|
+ { required: true, message: '请输入百分比', trigger: 'blur' }
|
|
|
],
|
|
|
supplierSocialAccount: [
|
|
|
{ required: true, message: '请输入', trigger: 'blur' }
|
|
|
@@ -914,14 +914,16 @@ export default {
|
|
|
|
|
|
this.QueryConferenceAffairsChildList.forEach((item) => {
|
|
|
priceNamelist.push({
|
|
|
- value: item,
|
|
|
+ value: item.priceName,
|
|
|
id: maxId,
|
|
|
- price: 0,
|
|
|
+ price: item.price,
|
|
|
+ paymentPercent: item.paymentPercent,
|
|
|
+ paymentType: item.paymentType,
|
|
|
})
|
|
|
maxId++;
|
|
|
})
|
|
|
|
|
|
- //console.log(priceNamelist, "::::priceNameList");
|
|
|
+ console.log(priceNamelist, "::::priceNameList");
|
|
|
|
|
|
var results = queryString ? priceNamelist.filter(this.createFilter(queryString)) : priceNamelist;
|
|
|
// 调用 callback 返回建议列表的数据
|
|
|
@@ -989,15 +991,22 @@ export default {
|
|
|
this.DecreasePaymentsData.supplierEmail = '无';
|
|
|
this.DecreasePaymentsData.supplierContact = '无';
|
|
|
this.DecreasePaymentsData.supplierContactNumber = '无';
|
|
|
+ this.DecreasePaymentsData.paymentType = this.paymentOptions[0].paymentType;
|
|
|
+ this.DecreasePaymentsData.paymentPercent = this.paymentOptions[0].paymentPercent;
|
|
|
this.Sumup();
|
|
|
this.suppliesVisible = false;
|
|
|
},
|
|
|
priceNameSelect(val) {
|
|
|
- console.log(val);
|
|
|
+ console.log(val.paymentType);
|
|
|
this.DecreasePaymentsData.price = val.price;
|
|
|
this.DecreasePaymentsData.currency = 836;
|
|
|
this.DecreasePaymentsData.quantity = 1;
|
|
|
this.DecreasePaymentsData.remark = val.value + ' ' + val.price + ' CNY'
|
|
|
+ if (val.paymentType) {
|
|
|
+ this.DecreasePaymentsData.paymentType = val.paymentType;
|
|
|
+ this.DecreasePaymentsData.paymentPercent = val.paymentPercent;
|
|
|
+
|
|
|
+ }
|
|
|
this.Sumup();
|
|
|
},
|
|
|
QuerySetData() {
|