|
@@ -768,13 +768,26 @@ export default {
|
|
|
label: '审核结果',
|
|
|
prop: 'examineStatus',
|
|
|
rules: [...required]
|
|
|
- }
|
|
|
+ },
|
|
|
+ events: {
|
|
|
+ change: val => {
|
|
|
+ if (val == 'OK') {
|
|
|
+ this.formData2.examinePrice = 0
|
|
|
+ this.formData2.examineFration = 0
|
|
|
+ }else if (val == 'SUB') {
|
|
|
+ this.formData2.examinePrice = this.formData.price
|
|
|
+ this.formData2.examineFration = this.formData.fraction
|
|
|
+ }else if (val == 'SUB') {
|
|
|
+ this.formData2.examinePrice = ''
|
|
|
+ this.formData2.examineFration = ''
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
md: 6,
|
|
|
name: 'el-input',
|
|
|
attributes: {
|
|
|
- disabled: [-1].includes(this.openType)
|
|
|
+ disabled: [-1].includes(this.openType)||["OK","FAIL"].includes(this.formData2.examineStatus)
|
|
|
},
|
|
|
formItemAttributes: {
|
|
|
label: '审批金额',
|
|
@@ -786,7 +799,7 @@ export default {
|
|
|
md: 6,
|
|
|
name: 'el-input',
|
|
|
attributes: {
|
|
|
- disabled: [-1].includes(this.openType)
|
|
|
+ disabled: [-1].includes(this.openType)||["OK","FAIL"].includes(this.formData2.examineStatus)
|
|
|
},
|
|
|
formItemAttributes: {
|
|
|
label: '审批分数',
|