| | |
| | | align-items: center; |
| | | height: 50px; |
| | | } |
| | | |
| | | |
| | | .search_label { |
| | | width: 120px; |
| | | font-size: 14px; |
| | | text-align: right; |
| | | } |
| | | |
| | | |
| | | .search_input { |
| | | width: calc(100% - 120px); |
| | | } |
| | |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | <div style="width: 100%;height: 100%;" v-if="active == 1"> |
| | | <Add /> |
| | | <div style="width: 100%;height: 100%;" v-if="active >0"> |
| | | <Add :active="active" :currentId="currentId" /> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | }, |
| | | ], |
| | | tabIndex: 0, |
| | | active: 0 |
| | | active: 0,//1:下单,2:查看,3:审核 |
| | | currentId:null |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | }, |
| | | // 详情 |
| | | selectAllByOne(row) { |
| | | console.log(row); |
| | | //打开弹框 |
| | | this.dialogVisible = true; |
| | | //row = 点击对应行值 |
| | | //复制给formData |
| | | this.formData = this.HaveJson(row); |
| | | this.active = 2; |
| | | // console.log(row); |
| | | // //打开弹框 |
| | | // this.dialogVisible = true; |
| | | // //row = 点击对应行值 |
| | | // //复制给formData |
| | | // this.formData = this.HaveJson(row); |
| | | this.currentId = row.id |
| | | }, |
| | | // 数据查看 |
| | | handleDataLook(row) { |
| | |
| | | }, |
| | | // 审核 |
| | | handleVerify(row) { |
| | | this.verifyDialogVisible = true; |
| | | // this.verifyDialogVisible = true; |
| | | this.active = 3; |
| | | this.currentId = row.id |
| | | }, |
| | | // 撤销 |
| | | handlEquash(row) { |
| | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | </script> |