Showing
4 changed files
with
29 additions
and
17 deletions
| ... | @@ -27,9 +27,12 @@ export function findFltById(data) { | ... | @@ -27,9 +27,12 @@ export function findFltById(data) { |
| 27 | }) | 27 | }) |
| 28 | } | 28 | } |
| 29 | //删除航班 | 29 | //删除航班 |
| 30 | +/** | ||
| 31 | + * @param data id List * | ||
| 32 | + */ | ||
| 30 | export function delFlight(data) { | 33 | export function delFlight(data) { |
| 31 | return request({ | 34 | return request({ |
| 32 | - url: '/FlightPreserveController/delFlight/'+ data, | 35 | + url: '/FlightPreserveController/delFlight/' + data, |
| 33 | method: 'post' | 36 | method: 'post' |
| 34 | }) | 37 | }) |
| 35 | } | 38 | } |
| ... | @@ -53,7 +56,7 @@ export function findFltCommonConf(data) { | ... | @@ -53,7 +56,7 @@ export function findFltCommonConf(data) { |
| 53 | }) | 56 | }) |
| 54 | } | 57 | } |
| 55 | 58 | ||
| 56 | -export function updateStatusBatch(data){ | 59 | +export function updateStatusBatch(data) { |
| 57 | return request({ | 60 | return request({ |
| 58 | url: '/FlightPreserveController/updateStatusBatch', | 61 | url: '/FlightPreserveController/updateStatusBatch', |
| 59 | method: 'post', | 62 | method: 'post', |
| ... | @@ -62,7 +65,7 @@ export function updateStatusBatch(data){ | ... | @@ -62,7 +65,7 @@ export function updateStatusBatch(data){ |
| 62 | } | 65 | } |
| 63 | 66 | ||
| 64 | //自动推送开关 | 67 | //自动推送开关 |
| 65 | -export function updateAutoPushBatch(data){ | 68 | +export function updateAutoPushBatch(data) { |
| 66 | return request({ | 69 | return request({ |
| 67 | url: '/FlightPreserveController/updateAutoPushBatch', | 70 | url: '/FlightPreserveController/updateAutoPushBatch', |
| 68 | method: 'post', | 71 | method: 'post', | ... | ... |
| ... | @@ -10,7 +10,8 @@ let ductLabels = { | ... | @@ -10,7 +10,8 @@ let ductLabels = { |
| 10 | "cargoAllocationDataStatus": { | 10 | "cargoAllocationDataStatus": { |
| 11 | "已推送": "已推送", | 11 | "已推送": "已推送", |
| 12 | "不推送": "不推送", | 12 | "不推送": "不推送", |
| 13 | - "已配": "已配", | 13 | + "已配": " ", |
| 14 | + "待推送": "待推送", | ||
| 14 | "手动配舱": ' ', | 15 | "手动配舱": ' ', |
| 15 | "已释放": ' ', | 16 | "已释放": ' ', |
| 16 | "原航班配舱": ' ', | 17 | "原航班配舱": ' ', | ... | ... |
| ... | @@ -64,7 +64,7 @@ | ... | @@ -64,7 +64,7 @@ |
| 64 | </el-button> | 64 | </el-button> |
| 65 | </el-form> | 65 | </el-form> |
| 66 | <Tables ref="flightInfoTable" ductName="FlightInformation" :data="findAllFltDatList" :headerData="tableHeader" | 66 | <Tables ref="flightInfoTable" ductName="FlightInformation" :data="findAllFltDatList" :headerData="tableHeader" |
| 67 | - :infoData="tableHeader" :selection="true" :totalCount="total" :loading="loading" | 67 | + :infoData="tableHeader" :order="true" :selection="true" :totalCount="total" :loading="loading" |
| 68 | :limitSize="queryParams.limitSize" :page="queryParams.pageNum" :shiftKey="shiftKey" :infoShow="false" | 68 | :limitSize="queryParams.limitSize" :page="queryParams.pageNum" :shiftKey="shiftKey" :infoShow="false" |
| 69 | :height="tableHeight" :pageSizes="[20, 30, 40, 50, 100]" @tableSelect="tableSelect" | 69 | :height="tableHeight" :pageSizes="[20, 30, 40, 50, 100]" @tableSelect="tableSelect" |
| 70 | @tableSelectAll="tableSelectAll" @currentChange="currentChange" @sortChange="sortChange" @sizeChange="sizeChange"> | 70 | @tableSelectAll="tableSelectAll" @currentChange="currentChange" @sortChange="sortChange" @sizeChange="sizeChange"> |
| ... | @@ -137,13 +137,13 @@ | ... | @@ -137,13 +137,13 @@ |
| 137 | </el-col> | 137 | </el-col> |
| 138 | <el-col :span="12"> | 138 | <el-col :span="12"> |
| 139 | <el-form-item label="原始重量(KG)" prop="originalWeight"> | 139 | <el-form-item label="原始重量(KG)" prop="originalWeight"> |
| 140 | - <el-input-number @change="LowHighAvailable" placeholder="请输入原始重量(KG)" style="width: 93%" | 140 | + <el-input-number @change="LowHighAvailable" :precision="0" placeholder="请输入原始重量(KG)" style="width: 93%" |
| 141 | v-model="form.originalWeight"></el-input-number> | 141 | v-model="form.originalWeight"></el-input-number> |
| 142 | </el-form-item> | 142 | </el-form-item> |
| 143 | </el-col> | 143 | </el-col> |
| 144 | <el-col :span="12"> | 144 | <el-col :span="12"> |
| 145 | <el-form-item label="额外增重百分比" prop="extraWeightPercent"> | 145 | <el-form-item label="额外增重百分比" prop="extraWeightPercent"> |
| 146 | - <el-input-number @change="LowHighAvailable" placeholder="请输入额外增重百分比" style="width: 93%" | 146 | + <el-input-number @change="LowHighAvailable" :precision="0" placeholder="请输入额外增重百分比" style="width: 93%" |
| 147 | v-model="form.extraWeightPercent"></el-input-number> | 147 | v-model="form.extraWeightPercent"></el-input-number> |
| 148 | </el-form-item> | 148 | </el-form-item> |
| 149 | </el-col> | 149 | </el-col> |
| ... | @@ -952,6 +952,8 @@ export default { | ... | @@ -952,6 +952,8 @@ export default { |
| 952 | // formdata.highLowPriceFlg = formdata.highLowPriceFlg ? 1 : 0; | 952 | // formdata.highLowPriceFlg = formdata.highLowPriceFlg ? 1 : 0; |
| 953 | //是否预审 | 953 | //是否预审 |
| 954 | // formdata.isNeedRequired = formdata.isNeedRequired ? 1 : 0; | 954 | // formdata.isNeedRequired = formdata.isNeedRequired ? 1 : 0; |
| 955 | + //总重量更新 | ||
| 956 | + // formdata.totalWeight = this.Weightall() | ||
| 955 | //处理数据 | 957 | //处理数据 |
| 956 | saveOrUpdate(formdata).then((response) => { | 958 | saveOrUpdate(formdata).then((response) => { |
| 957 | if (response.code === 200) { | 959 | if (response.code === 200) { | ... | ... |
| ... | @@ -165,7 +165,7 @@ | ... | @@ -165,7 +165,7 @@ |
| 165 | <el-table-column type="index" label="序号" align="center"> | 165 | <el-table-column type="index" label="序号" align="center"> |
| 166 | </el-table-column> | 166 | </el-table-column> |
| 167 | <el-table-column v-for="(item, index) in releaseHeader" header-align="center" :align="item.align" | 167 | <el-table-column v-for="(item, index) in releaseHeader" header-align="center" :align="item.align" |
| 168 | - :prop="item.value" :label="item.name" :key="index" :show-overflow-tooltip="true"> | 168 | + :prop="item.value" :label="item.name" :width="item.width" :key="index" :show-overflow-tooltip="true"> |
| 169 | </el-table-column> | 169 | </el-table-column> |
| 170 | </el-table> | 170 | </el-table> |
| 171 | <div slot="footer"> | 171 | <div slot="footer"> |
| ... | @@ -633,7 +633,7 @@ export default { | ... | @@ -633,7 +633,7 @@ export default { |
| 633 | { | 633 | { |
| 634 | name: "提示信息", | 634 | name: "提示信息", |
| 635 | value: "msg", | 635 | value: "msg", |
| 636 | - width: "500", | 636 | + width: "550", |
| 637 | align: "center", | 637 | align: "center", |
| 638 | }, | 638 | }, |
| 639 | { | 639 | { |
| ... | @@ -649,12 +649,6 @@ export default { | ... | @@ -649,12 +649,6 @@ export default { |
| 649 | align: "center", | 649 | align: "center", |
| 650 | }, | 650 | }, |
| 651 | { | 651 | { |
| 652 | - name: "推送状态", | ||
| 653 | - value: "cargoAllocationDataStatus", | ||
| 654 | - width: "", | ||
| 655 | - align: "center", | ||
| 656 | - }, | ||
| 657 | - { | ||
| 658 | name: "释放状态", | 652 | name: "释放状态", |
| 659 | value: "releasing", | 653 | value: "releasing", |
| 660 | width: "", | 654 | width: "", |
| ... | @@ -671,7 +665,19 @@ export default { | ... | @@ -671,7 +665,19 @@ export default { |
| 671 | value: "statusName", | 665 | value: "statusName", |
| 672 | width: "", | 666 | width: "", |
| 673 | align: "center", | 667 | align: "center", |
| 674 | - } | 668 | + }, |
| 669 | + { | ||
| 670 | + name: "ACCS原航班号", | ||
| 671 | + value: "fltNoAccs", | ||
| 672 | + width: "", | ||
| 673 | + align: "center", | ||
| 674 | + }, | ||
| 675 | + { | ||
| 676 | + name: "ACCS原航班日期", | ||
| 677 | + value: "fltDateAccs", | ||
| 678 | + width: "", | ||
| 679 | + align: "center", | ||
| 680 | + }, | ||
| 675 | ], | 681 | ], |
| 676 | findConditionData: {}, //货物查询条件 | 682 | findConditionData: {}, //货物查询条件 |
| 677 | tableData: [], //表格数据 | 683 | tableData: [], //表格数据 |
| ... | @@ -818,6 +824,7 @@ export default { | ... | @@ -818,6 +824,7 @@ export default { |
| 818 | val === item.id ? item.msg = item.msg + '已释放仓位。' : '' | 824 | val === item.id ? item.msg = item.msg + '已释放仓位。' : '' |
| 819 | }) | 825 | }) |
| 820 | res.data['pushFalse'].map(val => { | 826 | res.data['pushFalse'].map(val => { |
| 827 | + console.log(item) | ||
| 821 | val === item.id ? item.msg = item.msg + '该货物配舱结果已回推ACCS,不能释放。' : '' | 828 | val === item.id ? item.msg = item.msg + '该货物配舱结果已回推ACCS,不能释放。' : '' |
| 822 | }) | 829 | }) |
| 823 | }) | 830 | }) |
| ... | @@ -984,7 +991,6 @@ export default { | ... | @@ -984,7 +991,6 @@ export default { |
| 984 | } | 991 | } |
| 985 | } | 992 | } |
| 986 | }, | 993 | }, |
| 987 | - formatter() { } | ||
| 988 | }, | 994 | }, |
| 989 | computed: { | 995 | computed: { |
| 990 | fltNo: { | 996 | fltNo: { | ... | ... |
-
Please register or login to post a comment