|
|
@@ -1439,7 +1439,7 @@ export default {
|
|
|
const flagList = this.returnValuableData(this.contractPaymentList)
|
|
|
const modifyState = flagList.some(item => !item.hasOwnProperty('stampDutyTime'));
|
|
|
const modifyStateTwo = flagList.every(item => item.hasOwnProperty('stampDutyTime') && item.stampDutyTime);
|
|
|
- if(!this.contractForm.isAmountFixed && modifyState) {
|
|
|
+ if(!this.contractForm.isAmountFixed && modifyState && this.contractForm.stampDutyStatus != 0) {//排除无需缴纳的情况
|
|
|
this.contractForm.stampDutyStatus = 3
|
|
|
}
|
|
|
|
|
|
@@ -1677,6 +1677,13 @@ export default {
|
|
|
this.contractForm.secTypeId = ''
|
|
|
const id = this.contractForm.typeId
|
|
|
this.secondaryficationList = this.secondaryficationListTwo.filter(item => item.mainTypeId == id)
|
|
|
+ //合同类型联动,选择:“服务合同”、“人力资源合同”两类合同的印花税缴纳状态的初始值设置为无需缴纳
|
|
|
+ var name = this.typeList.filter(t=>t.id == id)[0].typeName;
|
|
|
+ if (name == '服务合同' || name == '人力资源合同') {
|
|
|
+ this.contractForm.stampDutyStatus = 0;
|
|
|
+ } else {
|
|
|
+ this.contractForm.stampDutyStatus = 1;
|
|
|
+ }
|
|
|
},
|
|
|
refreshDatas() {
|
|
|
this.$forceUpdate()
|