|
|
|
@ -438,9 +438,10 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
label:'付款计划',
|
|
|
|
label:'付款计划',
|
|
|
|
prop:'plan_link_count',
|
|
|
|
prop:'sign_plan_count',
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
|
formatter:(cell,data,value)=>{
|
|
|
|
formatter:(cell,data,value)=>{
|
|
|
|
|
|
|
|
if(value == 0) return '暂无'
|
|
|
|
return value + '期'
|
|
|
|
return value + '期'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
@ -733,8 +734,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
//点击付款计划查看
|
|
|
|
//点击付款计划查看
|
|
|
|
showPaymentPlan(row, column, cell){
|
|
|
|
showPaymentPlan(row, column, cell){
|
|
|
|
console.log(column)
|
|
|
|
//console.log(column)
|
|
|
|
if(column.property === 'plan_link_count'){
|
|
|
|
if(column.property === 'sign_plan_count'){
|
|
|
|
this.$refs['contractPaymentRegistration'].getSignPlan(row.id)
|
|
|
|
this.$refs['contractPaymentRegistration'].getSignPlan(row.id)
|
|
|
|
this.$refs['contractPaymentRegistration'].isShow = true
|
|
|
|
this.$refs['contractPaymentRegistration'].isShow = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -869,7 +870,7 @@ export default {
|
|
|
|
//选择计划
|
|
|
|
//选择计划
|
|
|
|
selectPlan(sel,row){
|
|
|
|
selectPlan(sel,row){
|
|
|
|
if(sel){
|
|
|
|
if(sel){
|
|
|
|
console.log(sel,row)
|
|
|
|
//console.log(sel,row)
|
|
|
|
this.form.plan = sel.map(item => {
|
|
|
|
this.form.plan = sel.map(item => {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
label:item.name,
|
|
|
|
label:item.name,
|
|
|
|
@ -905,7 +906,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//提交新建
|
|
|
|
//提交新建
|
|
|
|
submit(){
|
|
|
|
submit(){
|
|
|
|
console.log(this.form)
|
|
|
|
//console.log(this.form)
|
|
|
|
addContrant({
|
|
|
|
addContrant({
|
|
|
|
type:this.form.type,
|
|
|
|
type:this.form.type,
|
|
|
|
is_plan:this.form.isBudget ? 1 : 0,
|
|
|
|
is_plan:this.form.isBudget ? 1 : 0,
|
|
|
|
|