| | |
| | | style="width: 80%" |
| | | @change=" |
| | | (val) => { |
| | | selLocationClick(val, item.prop) |
| | | selLocationClick(val, item.prop,scope.row) |
| | | } |
| | | " |
| | | > |
| | |
| | | <slot name="tableButton" /> |
| | | </el-table> |
| | | </el-form> |
| | | <div v-if="!detailEnter && !isinventory && !isReorder" style="margin: 10px"> |
| | | <div v-if="!detailEnter && !isinventory && !isReorder&&isOperateAdd" style="margin: 10px"> |
| | | <el-button size="small" type="primary" @click="add">新增</el-button> |
| | | <el-button size="small" type="primary" @click="empty">清空</el-button> |
| | | </div> |
| | |
| | | isOperate: { |
| | | type: Boolean, |
| | | default: true |
| | | } |
| | | }, |
| | | // 是否有新增和清空操作 |
| | | isOperateAdd: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | }, |
| | | data() { |
| | | return { |