新增的列子:<el-button class="btnAdd" type="primary" @click="dialogVisible = true">新增自提点</el-button>
<el-dialog title="新增自提点:" :visible.sync="dialogVisible" width="35%" :before-close="handleClose">
<el-form label-width="90px" :label-position="labelPosition">
<el-form-item label="自提点名称">
<el-input v-model="input.name"></el-input>
</el-form-item>
<el-form-item label="自提点地址">
<el-input v-model="input.address"></el-input>
</el-form-item>
<el-form-item label="自提点电话">
<el-input v-model="input.phone"></el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible=false">取消</el-button>
<el-button @click="dialogVisible=false;branchAdd()" type="primary">确定</el-button>
</span>
</el-dialog>