| | |
| | | <div style="margin-left: 8px;">往来单位</div> |
| | | </div> |
| | | |
| | | <div style="margin-right:10px"> |
| | | <el-tooltip v-del-tab-index class="item" effect="dark" content="新增" placement="top"> |
| | | <i class="el-icon-plus" style="cursor: pointer;color: #999" @click="treeAddClick('add')" /> |
| | | </el-tooltip> |
| | | </div> |
| | | <!-- <div style="margin-right:10px">--> |
| | | <!-- <el-tooltip v-del-tab-index class="item" effect="dark" content="新增" placement="top">--> |
| | | <!-- <i class="el-icon-plus" style="cursor: pointer;color: #999" @click="treeAddClick('add')" />--> |
| | | <!-- </el-tooltip>--> |
| | | <!-- </div>--> |
| | | |
| | | </div> |
| | | |
| | |
| | | :expand-on-click-node="false" |
| | | @node-click="getTCunstomerData" |
| | | > |
| | | <span slot-scope="{ node, data }" class="custom-tree-node"> |
| | | <span v-if="!data.isEdit">{{ data.name }}</span> |
| | | <span v-if="!data.isEdit"> |
| | | <el-tooltip v-del-tab-index class="item" effect="dark" content="编辑" placement="top"> |
| | | <i |
| | | v-if="data.code!=='-1'" |
| | | class="el-icon-edit" |
| | | style="margin-right:10px;color: #999" |
| | | @click.stop="treeEditClick(node,data,'edit')" |
| | | /> |
| | | </el-tooltip> |
| | | <el-tooltip v-del-tab-index class="item" effect="dark" content="删除" placement="top"> |
| | | <i |
| | | v-if="data.code!=='-1'" |
| | | class="el-icon-delete" |
| | | style="margin-right: 4px;color: #999" |
| | | @click.stop="treeDeleteClick(node,data)" |
| | | /> |
| | | </el-tooltip> |
| | | </span> |
| | | </span> |
| | | <!-- <span slot-scope="{ node, data }" class="custom-tree-node">--> |
| | | <!-- <span v-if="!data.isEdit">{{ data.name }}</span>--> |
| | | <!-- <span v-if="!data.isEdit">--> |
| | | <!-- <el-tooltip v-del-tab-index class="item" effect="dark" content="编辑" placement="top">--> |
| | | <!-- <i--> |
| | | <!-- v-if="data.code!=='-1'"--> |
| | | <!-- class="el-icon-edit"--> |
| | | <!-- style="margin-right:10px;color: #999"--> |
| | | <!-- @click.stop="treeEditClick(node,data,'edit')"--> |
| | | <!-- />--> |
| | | <!-- </el-tooltip>--> |
| | | <!-- <el-tooltip v-del-tab-index class="item" effect="dark" content="删除" placement="top">--> |
| | | <!-- <i--> |
| | | <!-- v-if="data.code!=='-1'"--> |
| | | <!-- class="el-icon-delete"--> |
| | | <!-- style="margin-right: 4px;color: #999"--> |
| | | <!-- @click.stop="treeDeleteClick(node,data)"--> |
| | | <!-- />--> |
| | | <!-- </el-tooltip>--> |
| | | <!-- </span>--> |
| | | <!-- </span>--> |
| | | </el-tree> |
| | | </div> |
| | | |
| | | <div |
| | | style=" width:calc(100% - 300px);" |
| | | > |
| | | <div class="bodyTopButtonGroup" style="justify-content: space-between"> |
| | | <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button> |
| | | <div style="display: flex"> |
| | | <el-button v-waves type="success" icon="el-icon-download" @click="$router.push('./../systemSetting/dataImport?fileCode=5')">导入</el-button> |
| | | <el-button v-waves icon="el-icon-refresh-right" @click="syncERP">同步往来单位</el-button> |
| | | <div class="bodyTopButtonGroup" style="justify-content: end"> |
| | | <!-- <el-button v-waves type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">新增</el-button>--> |
| | | <!-- <div style="display: flex">--> |
| | | <!-- <el-button v-waves type="success" icon="el-icon-download" @click="$router.push('./../systemSetting/dataImport?fileCode=5')">导入</el-button>--> |
| | | <!-- <el-button v-waves icon="el-icon-refresh-right" @click="syncERP">同步往来单位</el-button>--> |
| | | <!-- </div>--> |
| | | |
| | | </div> |
| | | <el-button v-waves icon="el-icon-refresh-right" @click="syncERP">同步往来单位</el-button> |
| | | </div> |
| | | |
| | | <div class="bodyTopFormGroup"> |