[update] 修改客户提出的部分问题
This commit is contained in:
@@ -389,6 +389,8 @@ export default {
|
||||
if (val === IsTrial.YES.value) {
|
||||
// 试行,标准状态改为试运行,
|
||||
this.formInline.standard_state = EnterpriseStandardStatus.TRIAL_OPERATION.value
|
||||
// 试行周期给默认值24
|
||||
this.formInline.trial_period = '24'
|
||||
this.formInline = JSON.parse(JSON.stringify(this.formInline))
|
||||
// 试行,标准状态不可修改
|
||||
if (!this.innerDisabledField.includes('standard_state')) {
|
||||
@@ -397,6 +399,8 @@ export default {
|
||||
// 试行,试行周期必填
|
||||
this.rules.trial_period[0].required = true
|
||||
} else {
|
||||
// 试行周期置空
|
||||
this.formInline.trial_period = undefined
|
||||
// 不试行,标准状态可修改
|
||||
if (this.innerDisabledField.includes('standard_state')) {
|
||||
this.innerDisabledField = this.innerDisabledField.filter(item => item !== 'standard_state')
|
||||
|
||||
Reference in New Issue
Block a user