| | |
| | | } |
| | | }, |
| | | submit(cb) { |
| | | this.$t.message.loading(); |
| | | let formDataParam = { |
| | | current: this.current, |
| | | size: this.size |
| | | }; |
| | | // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛 |
| | | this.$u.post('http://192.168.31.240:9090/makerwit/selectKHWareType', null).then(res => { |
| | | console.log(res); |
| | | this.$t.message.closeLoading(); |
| | | cb && cb(); |
| | | if (cb != null) this.listData = []; |
| | | this.listData = [...this.listData, ...res.data]; |
| | | console.log(this.listData); |
| | | }).catch((err) => { |
| | | this.$t.message.toast(err.message); |
| | | }); |
| | | }, |
| | | uni.getStorage({ |
| | | key: 'storage_key_ipAddress', |
| | | success: (res) => { |