|
|
@ -20,6 +20,22 @@ |
|
|
|
inactive-value="close" @change="switchStatusChange('statusOut', detailInfoList)"> |
|
|
|
</el-switch> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="向上取整开关" prop="roundUpStatus"> |
|
|
|
<el-switch v-model="infoList.roundUpStatus" active-text="开" inactive-text="关" active-value="open" |
|
|
|
inactive-value="close"> |
|
|
|
</el-switch> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="向下取整开关" prop="roundDownStatus"> |
|
|
|
<el-switch v-model="infoList.roundDownStatus" active-text="开" inactive-text="关" active-value="open" |
|
|
|
inactive-value="close"> |
|
|
|
</el-switch> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="手工代付开关" prop="artistName"> |
|
|
|
<el-switch v-model="infoList.paymentManualStatus" active-text="开" inactive-text="关" active-value="open" |
|
|
|
inactive-value="close"> |
|
|
@ -243,6 +259,10 @@ export default { |
|
|
|
this.$message.error("请填写谷歌动态验证码"); |
|
|
|
return; |
|
|
|
} |
|
|
|
if (this.infoList.roundDownStatus == 'open' && this.infoList.roundUpStatus == 'open') { |
|
|
|
this.$message.error("向上取整和向下取整开关不能同时开启"); |
|
|
|
return; |
|
|
|
} |
|
|
|
this.loading = true |
|
|
|
this.infoList.storeId = this.val; |
|
|
|
this.infoList.id = this.infoList.id < 1 ? null : this.infoList.id; |
|
|
|