|
@@ -288,7 +288,8 @@ const deleteRegistrationPreRow=(index,row)=>{
|
|
|
const editRegistrationPre=(row)=>{
|
|
|
dialog.hasServiceChange=false
|
|
|
preRegistrationDetail({contract_register_id:row.contract_register_id,
|
|
|
- invoice_type:row.invoice_type,detail_type:1}).then(res=>{
|
|
|
+ invoice_type:row.invoice_type,detail_type:1,has_payment:row.has_payment,
|
|
|
+ contract_type:row.contract_type}).then(res=>{
|
|
|
if(!res.data) return
|
|
|
dialog.registrationPreForm.contract_register_id = res.data.contract_register_id
|
|
|
dialog.registrationPreForm.company_name = res.data.company_name
|
|
@@ -402,7 +403,10 @@ const submitForm=()=>{
|
|
|
{company_name:params.company_name,
|
|
|
start_date:params.start_date,
|
|
|
end_date:params.end_date,
|
|
|
- services:params.services})
|
|
|
+ services:params.services,
|
|
|
+ has_payment:params.has_payment,
|
|
|
+ contract_type:params.contract_type,
|
|
|
+ })
|
|
|
if(!checkRes.data) return
|
|
|
if(checkRes.data.exist!==0){
|
|
|
let promptText = checkRes.data.type==0?
|
|
@@ -494,7 +498,7 @@ watch(()=>preDialog.validityDate,(newVal)=>{
|
|
|
const preIorP=(row)=>{
|
|
|
preRegistrationDetail({contract_register_id:row.contract_register_id,
|
|
|
invoice_type:row.invoice_type==3?4:3,pre_register_id:row.pre_register_id,arrive_id:row.arrive_id,
|
|
|
- invoice_id:row.invoice_id,detail_type:2}).then(res=>{
|
|
|
+ invoice_id:row.invoice_id,detail_type:2,has_payment:row.has_payment,contract_type:row.contract_type}).then(res=>{
|
|
|
if(!res.data) return
|
|
|
preDialog.preForm.contract_register_id = res.data.contract_register_id
|
|
|
preDialog.preForm.company_name = res.data.company_name
|
|
@@ -642,7 +646,9 @@ const searchPlacementPre=()=>{
|
|
|
const supplementaryContract=(row)=>{
|
|
|
router.push({path:'/financial/list/contractProgress',query:{
|
|
|
supplementaryId:row.contract_register_id,
|
|
|
- invoice_type:row.invoice_type
|
|
|
+ invoice_type:row.invoice_type,
|
|
|
+ has_payment:row.has_payment,
|
|
|
+ contract_type:row.contract_type
|
|
|
}})
|
|
|
}
|
|
|
// 查看备注
|