1111111
This commit is contained in:
@@ -36,10 +36,16 @@
|
||||
<el-input v-model="brand.qssl" />
|
||||
</el-form-item>
|
||||
<el-form-item label="订购协议:">
|
||||
<el-input v-model="brand.dgxy" />
|
||||
<el-input v-model="brand.dgxy" type="textarea" :rows="6" />
|
||||
<!-- <textarea v-model="brand.dgxy" style="width: 100%;" :rows="6"></textarea> -->
|
||||
</el-form-item>
|
||||
<el-form-item label="起订协议:">
|
||||
<el-input v-model="brand.qdxy" type="textarea" :rows="6" />
|
||||
<!-- <textarea v-model="brand.qdxy"></textarea> -->
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit('brandFrom')">提交</el-button>
|
||||
<el-button type="primary" @click="onClose('brandFrom')">关闭</el-button>
|
||||
<el-button v-if="!isEdit" @click="resetForm('brandFrom')">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -153,7 +159,11 @@
|
||||
resetForm(formName) {
|
||||
this.$refs[formName].resetFields()
|
||||
this.brand = Object.assign({}, defaultBrand)
|
||||
}
|
||||
},
|
||||
onClose(){
|
||||
this.$store.dispatch('tagsView/delView', this.$route)
|
||||
this.$router.go(-1)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user