|
@@ -227,9 +227,9 @@ export default {
|
|
|
},
|
|
|
is_th_change() {
|
|
|
const { is_th } = this.ruleForm;
|
|
|
- this.rulesThis.remark[0].required = is_th === "0";
|
|
|
- this.rulesThis.return_company[0].required = is_th === "1";
|
|
|
- this.rulesThis.return_wsm[0].required = is_th === "1";
|
|
|
+ this.rulesThis.remark[0].required = is_th === "1";
|
|
|
+ this.rulesThis.return_company[0].required = is_th === "0";
|
|
|
+ this.rulesThis.return_wsm[0].required = is_th === "0";
|
|
|
},
|
|
|
async submitForm() {
|
|
|
await this.$refs.ruleForm.validate(async (valid) => {
|