| | |
| | | render: (h, { row, column, index }) => { |
| | | return ( |
| | | <div> |
| | | <el-button onClick={($e) => { }} type="primary"> |
| | | <el-button |
| | | onClick={($e) => { |
| | | ;(row.remark = 'å
¶ä»åºåº'), this.linkData(row) |
| | | }} |
| | | type="primary" |
| | | > |
| | | å
¶ä»åºåº |
| | | </el-button> |
| | | |
| | | <el-button onClick={($e) => { |
| | | |
| | | }} type="success" > |
| | | <el-button |
| | | onClick={($e) => { |
| | | ;(row.remark = 'è°æ¨åºåº'), this.linkData(row) |
| | | }} |
| | | type="success" |
| | | > |
| | | è°æ¨åºåº |
| | | </el-button> |
| | | |
| | | <el-button onClick={($e) => { |
| | | // this.http |
| | | // .post(`/api/Task/OutBoundTaskAsync?palletCode=${row.palletCode}`, {}, 'æ£å¨çæä»»å¡') |
| | | // .then((res) => { |
| | | // //示ä¾ï¼è°ç¨åå°æ¥å£ |
| | | // if (res.status) { |
| | | // this.$Message.success(row.palletCode + 'åºåºæå') |
| | | // this.refresh() |
| | | // } else { |
| | | // this.$Message.error(res.message) //é误æç¤º |
| | | // this.refresh() |
| | | // } |
| | | // }) |
| | | this.$refs.gridBody.open(row.palletCode); |
| | | }} type="warning"> |
| | | <el-button |
| | | onClick={($e) => { |
| | | this.$refs.gridBody.open(row.palletCode) |
| | | }} |
| | | type="warning" |
| | | > |
| | | çç¹åºåº |
| | | </el-button> |
| | | </div> |
| | | ) |
| | | } |
| | | }) |
| | | |
| | | // this.columns.push({ |
| | | // title: "æä½", |
| | | // field: "æä½", |
| | |
| | | btn.hidden = true |
| | | } |
| | | }) |
| | | |
| | | this.boxButtons.forEach((btn) => { |
| | | if (btn.name == 'ä¿ å') { |
| | | btn.hidden = true |
| | | } |
| | | }) |
| | | this.columns.forEach((column) => { |
| | | if (column.field == 'floor') { |
| | | const floorMap = { |
| | |
| | | modelOpenAfter(row) { |
| | | const isAdd = this.currentAction == 'Add' //夿æ¯å¦ä¸ºæ°å»ºæä½ |
| | | //éèæç»è¡¨æé® |
| | | // boxButtons |
| | | this.detailOptions.buttons.forEach((btn) => { |
| | | if (btn.name == 'æ·»å è¡') { |
| | | btn.hidden = true |
| | |
| | | //btn.readonly=true; |
| | | } |
| | | }) |
| | | |
| | | const isDel = this.currentAction == 'Add' //夿æ¯å¦ä¸ºæ°å»ºæä½ |
| | | //éèæç»è¡¨æé® |
| | | this.detailOptions.buttons.forEach((btn) => { |