正在显示
4 个修改的文件
包含
23 行增加
和
3 行删除
@@ -2,6 +2,8 @@ import axios from 'axios' | @@ -2,6 +2,8 @@ import axios from 'axios' | ||
2 | import http from "../http"; | 2 | import http from "../http"; |
3 | 3 | ||
4 | let base = 'byonet-import'; | 4 | let base = 'byonet-import'; |
5 | +let base1 = 'telegraph-servier'; | ||
6 | + | ||
5 | 7 | ||
6 | export const trailerFrameNoSuccess = params => {return axios.post(`${base}/businesstype/trailerFrameNoSuccess`, params);}; | 8 | export const trailerFrameNoSuccess = params => {return axios.post(`${base}/businesstype/trailerFrameNoSuccess`, params);}; |
7 | 9 | ||
@@ -17,5 +19,10 @@ export const save = params => {return axios.post(`${base}/businesstype/save`, pa | @@ -17,5 +19,10 @@ export const save = params => {return axios.post(`${base}/businesstype/save`, pa | ||
17 | 19 | ||
18 | export const edit = params => {return axios.post(`${base}/businesstype/edit`, params);}; | 20 | export const edit = params => {return axios.post(`${base}/businesstype/edit`, params);}; |
19 | 21 | ||
22 | +//生成主分单电报 | ||
23 | +export const fhl = params => {return axios.post(`${base1}/efre/fhl`, params);}; | ||
24 | +export const fwb = params => {return axios.post(`${base1}/efre/fwb`, params);}; | ||
25 | + | ||
26 | + | ||
20 | 27 | ||
21 | 28 |
@@ -19,6 +19,7 @@ | @@ -19,6 +19,7 @@ | ||
19 | 19 | ||
20 | <!--列表--> | 20 | <!--列表--> |
21 | <el-table :data="consignerList" highlight-current-row v-loading="listLoading" @selection-change="selsChange" | 21 | <el-table :data="consignerList" highlight-current-row v-loading="listLoading" @selection-change="selsChange" |
22 | + @current-change="handleCurrentChange" | ||
22 | :header-cell-style="{background:'#6F8294',color:'#FFFFFF'}" | 23 | :header-cell-style="{background:'#6F8294',color:'#FFFFFF'}" |
23 | style="border-radius: 10px 10px 0px 0px;line-height: 25px;" size="small"> | 24 | style="border-radius: 10px 10px 0px 0px;line-height: 25px;" size="small"> |
24 | <el-table-column type="selection" width="55"> | 25 | <el-table-column type="selection" width="55"> |
@@ -141,6 +142,10 @@ | @@ -141,6 +142,10 @@ | ||
141 | import {loginedUserInfo} from "../../api/user"; | 142 | import {loginedUserInfo} from "../../api/user"; |
142 | 143 | ||
143 | export default { | 144 | export default { |
145 | + name: "Consignee", | ||
146 | + props: [ | ||
147 | + | ||
148 | + ], | ||
144 | data() { | 149 | data() { |
145 | return { | 150 | return { |
146 | 151 | ||
@@ -364,6 +369,9 @@ | @@ -364,6 +369,9 @@ | ||
364 | selsChange: function (sels) { | 369 | selsChange: function (sels) { |
365 | this.sels = sels; | 370 | this.sels = sels; |
366 | }, | 371 | }, |
372 | + handleCurrentChange:function(currentRow,oldCurrentRow){ | ||
373 | + this.$emit('consigeerow',currentRow) | ||
374 | + }, | ||
367 | //批量删除 | 375 | //批量删除 |
368 | batchRemove: function () { | 376 | batchRemove: function () { |
369 | var ids = this.sels.map(item => item.id).toString(); | 377 | var ids = this.sels.map(item => item.id).toString(); |
@@ -16,9 +16,9 @@ | @@ -16,9 +16,9 @@ | ||
16 | </el-form-item> | 16 | </el-form-item> |
17 | </el-form> | 17 | </el-form> |
18 | </el-col> | 18 | </el-col> |
19 | - | ||
20 | <!--列表--> | 19 | <!--列表--> |
21 | <el-table :data="consignerList" highlight-current-row v-loading="listLoading" @selection-change="selsChange" | 20 | <el-table :data="consignerList" highlight-current-row v-loading="listLoading" @selection-change="selsChange" |
21 | + @current-change="handleCurrentChange" | ||
22 | :header-cell-style="{background:'#6F8294',color:'#FFFFFF'}" | 22 | :header-cell-style="{background:'#6F8294',color:'#FFFFFF'}" |
23 | style="border-radius: 10px 10px 0px 0px;line-height: 25px;" size="small"> | 23 | style="border-radius: 10px 10px 0px 0px;line-height: 25px;" size="small"> |
24 | <el-table-column type="selection" width="55"> | 24 | <el-table-column type="selection" width="55"> |
@@ -140,6 +140,10 @@ | @@ -140,6 +140,10 @@ | ||
140 | import {loginedUserInfo} from "../../api/user"; | 140 | import {loginedUserInfo} from "../../api/user"; |
141 | 141 | ||
142 | export default { | 142 | export default { |
143 | + name: "Consigner", | ||
144 | + props: [ | ||
145 | + | ||
146 | + ], | ||
143 | data() { | 147 | data() { |
144 | return { | 148 | return { |
145 | 149 | ||
@@ -249,9 +253,7 @@ | @@ -249,9 +253,7 @@ | ||
249 | }else { | 253 | }else { |
250 | alert(error); | 254 | alert(error); |
251 | } | 255 | } |
252 | - | ||
253 | }); | 256 | }); |
254 | - | ||
255 | }, | 257 | }, |
256 | //删除 | 258 | //删除 |
257 | handleDel: function (index, row) { | 259 | handleDel: function (index, row) { |
@@ -363,6 +365,9 @@ | @@ -363,6 +365,9 @@ | ||
363 | selsChange: function (sels) { | 365 | selsChange: function (sels) { |
364 | this.sels = sels; | 366 | this.sels = sels; |
365 | }, | 367 | }, |
368 | + handleCurrentChange:function(currentRow,oldCurrentRow){ | ||
369 | + this.$emit('consigerrow',currentRow) | ||
370 | + }, | ||
366 | //批量删除 | 371 | //批量删除 |
367 | batchRemove: function () { | 372 | batchRemove: function () { |
368 | var ids = this.sels.map(item => item.id).toString(); | 373 | var ids = this.sels.map(item => item.id).toString(); |
此 diff 太大无法显示。
-
请 注册 或 登录 后发表评论