| | |
| | | <el-form-item> |
| | | <zt-button v-if="productType && productType!=='10'" type="query" @click="table.query()"/> |
| | | <zt-button v-if="productType && productType!=='10'" type="add" @click="add()"/> |
| | | <zt-button v-if="productType==='1'" size="small" type="primary" @click="exportProduct()">导出模板 |
| | | <zt-button v-if="productType==='1'" size="small" type="primary" @click="exportProduct()">下载模板 |
| | | </zt-button> |
| | | <zt-button v-if="productType==='3'" type="primary" @click="addCell()">新增虚单元</zt-button> |
| | | <zt-button v-if="productType && productType!=='10'" type="delete" @click="table.deleteHandle()"/> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="sort" label="排序" width="100px" align="center"/> |
| | | <zt-table-column-handle :table="table" width="180px"> |
| | | <zt-table-column-handle :table="table" width="180px" > |
| | | <template v-slot="{ row }"> |
| | | <zt-table-button v-if="productType==='1'" size="small" type="primary" |
| | | @click="importData(row)">导入 |