|
|
@@ -910,13 +910,6 @@ export default {
|
|
|
this.accountVisible = false
|
|
|
this.modelVisible = false
|
|
|
this.contractVisible = false
|
|
|
- /* key ? this[key] = true : ''
|
|
|
- if (key === 'projectVisible'){
|
|
|
- this.$refs.project.params.content.sys_enterpriseid = this.form.sys_enterpriseid
|
|
|
- this.$refs.project.queryEnterpriseArchives()
|
|
|
- this.$refs.form.validateField("enterprisename")
|
|
|
- this.$refs.form.validateField("sys_enterpriseid")
|
|
|
- }*/
|
|
|
if (key === 'projectVisible'){
|
|
|
if (this.form.sys_enterpriseid !== ''){
|
|
|
|
|
|
@@ -1091,33 +1084,13 @@ export default {
|
|
|
where: {condition: ""},
|
|
|
}
|
|
|
})
|
|
|
- console.log(res,'res')
|
|
|
this.payTypeData = res.data.map((item,index)=>{
|
|
|
- /* if (item.point === '订单审核'){
|
|
|
- return {
|
|
|
- label:item.ruleno + '\xa0 \xa0 \xa0 \xa0' + item.point + '\xa0 \xa0 \xa0 \xa0' + "立账额度" + (item.amountrate * 100) +'% ' + '\xa0 \xa0 \xa0 \xa0' + '后置天数' + item.days + '天',
|
|
|
- value:item.ruleno + '' + item.point + '' + "立账额度" + (item.amountrate * 100) +'% ' + '' + '后置天数' + item.days + '天',
|
|
|
- }
|
|
|
- }else {
|
|
|
- return {
|
|
|
- label:item.ruleno + '\xa0 \xa0 \xa0 \xa0' + item.point + '\xa0 \xa0 \xa0 \xa0' + '后置天数' + item.days + '天',
|
|
|
- value:item.ruleno + '' + item.point + '' + '后置天数' + item.days + '天',
|
|
|
- }
|
|
|
- }*/
|
|
|
return {
|
|
|
label:item.ruleno + '-' + item.remarks ,
|
|
|
value:item.ruleno + '-' + item.remarks
|
|
|
}
|
|
|
|
|
|
})
|
|
|
- /* res.data.forEach((item,index)=>{
|
|
|
- if (item.point === '订单审核'){
|
|
|
- this.payTypeData[index] = item.ruleno + ' ' + item.point + ' ' + "立账额度" + (item.amountrate * 100) +'% ' + '后置天数' + item.days
|
|
|
- }else {
|
|
|
- this.payTypeData[index] = item.ruleno + ' ' + item.point + ' ' + '后置天数' + item.days
|
|
|
- }
|
|
|
- })*/
|
|
|
- console.log(this.payTypeData,'处理后数据')
|
|
|
},
|
|
|
discountrateChange(){
|
|
|
let discountrate = parseFloat(this.form.discountrate)
|