| | |
| | | buttons: { view: [], box: [], detail: [] },//æ©å±çæé® |
| | | methods: {//äºä»¶æ©å± |
| | | onInit() { |
| | | // this.columns.forEach(x => { |
| | | |
| | | this.columns.forEach(x => { |
| | | // if (x.field == "containerdtl_goodsWeight") { |
| | | // x.render = (h, { row, column, index }) => { |
| | | // if (row.materiel_id == "CRH1A" || row.materiel_id == "CRH380B") { |
| | | // return h('span', row.containerdtl_goodsWeight); |
| | | // } |
| | | |
| | | if (x.field == "containerdtl_goodsWeight") { |
| | | x.render = (h, { row, column, index }) => { |
| | | if (row.materiel_id == "CRH1A" || row.materiel_id == "CRH380B") { |
| | | return h('span', row.containerdtl_goodsWeight); |
| | | } |
| | | |
| | | } |
| | | } |
| | | }); |
| | | |
| | | |
| | | // } |
| | | // } |
| | | // }); |
| | | this.http.post("/api/VV_ContainerInfo/Getgqrkts", null, false).then(x => { |
| | | this.$alert( |
| | | `<strong style="font-size: 20px; color: #ff0000;"> |