| | |
| | | const sums = [] |
| | | |
| | | columns.forEach((column, index) => { |
| | | if (index === 10) { |
| | | if (index === 12) { |
| | | sums[index] = '总价' |
| | | return |
| | | } |
| | |
| | | const { columns, data } = param |
| | | const sums = [] |
| | | |
| | | const i = this.form.compute === 'last' ? 11 : 10 |
| | | const i = this.form.compute === 'last' ? 13 : 12 |
| | | |
| | | columns.forEach((column, index) => { |
| | | if (index === i) { |
| | |
| | | getHeight() { |
| | | this.$nextTick(() => { |
| | | this.mainHeight = window.innerHeight - 85 |
| | | this.tableHeight = this.mainHeight - 255 |
| | | this.tableHeight = this.mainHeight - 245 |
| | | this.$refs.tableDataRef.doLayout() |
| | | this.$refs.tableDataRef2.doLayout() |
| | | }) |
| | |
| | | }, |
| | | proxy: { |
| | | [process.env.VUE_APP_BASE_API]: { |
| | | // target: 'http://121.196.36.24:8017', // 请求的第三⽅接⼝地址 本地开发服务器 |
| | | target: 'http://192.168.94.59:8001', // 请求的第三⽅接⼝地址 客户服务器 |
| | | target: 'http://121.196.36.24:8017', // 请求的第三⽅接⼝地址 本地开发服务器 |
| | | // target: 'http://192.168.94.59:8001', // 请求的第三⽅接⼝地址 客户服务器 |
| | | changeOrigin: true, // 请求跨域时,需 配置此项 |
| | | pathRewrite: { // 路径重写,替换target中的请求地址 |
| | | ['^' + process.env.VUE_APP_BASE_API]: '/api/' |