소스 검색

修改永发禅道bug

Qukatie 9 달 전
부모
커밋
3b332c642f

+ 28 - 28
src/views/iosBasicData/costcenter/airlineProfit/index.vue

@@ -128,7 +128,7 @@ export default {
                     {
                         label: '放箱号',
                         prop: 'containerNumber',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         search: true,
                         searchOrder: 1,
@@ -136,7 +136,7 @@ export default {
                     {
                         label: '箱东',
                         prop: 'boxEastId',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         hide: true,
                         showColumn: false,
@@ -155,7 +155,7 @@ export default {
                     {
                         label: '箱号',
                         prop: 'code',
-                        width: 100,
+                        // width: 100,
                         hide: true,
                         showColumn: false,
                         search: true,
@@ -165,7 +165,7 @@ export default {
                     {
                         label: '起运港',
                         prop: 'polId',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         hide: true,
                         showColumn: false,
@@ -184,19 +184,19 @@ export default {
                     {
                         label: '起运港',
                         prop: 'polName',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                     },
                     {
                         label: '起运港场站/堆场',
                         prop: 'polStationName',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                     },
                     {
                         label: '目的港',
                         prop: 'podId',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         hide: true,
                         showColumn: false,
@@ -215,19 +215,19 @@ export default {
                     {
                         label: '目的港',
                         prop: 'podName',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                     },
                     {
                         label: '目的运港场站/堆场',
                         prop: 'podStationName',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                     },
                     {
                         label: '箱型',
                         prop: 'boxType',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         search: true,
                         searchOrder: 7,
@@ -244,26 +244,26 @@ export default {
                     {
                         label: '场地盘存',
                         prop: 'total',
-                        width: 100,
+                        // width: 100,
                         overHidden: true,
                     },
 
                     {
                         label: '可用箱量',
                         prop: 'remainingTotal',
-                        width: 100,
+                        // width: 100,
                         overHidden: true,
                     },
                     {
                         label: '好',
                         prop: 'good',
-                        width: 100,
+                        // width: 100,
                         overHidden: true,
                     },
                     {
                         label: '坏',
                         prop: 'bad',
-                        width: 100,
+                        // width: 100,
                         overHidden: true,
                     },
                 ]
@@ -314,7 +314,7 @@ export default {
                     {
                         label: '放箱号',
                         prop: 'containerNumber',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         search: true,
                         searchOrder: 1,
@@ -322,7 +322,7 @@ export default {
                     {
                         label: '箱东',
                         prop: 'boxEastId',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         hide: true,
                         showColumn: false,
@@ -341,7 +341,7 @@ export default {
                     {
                         label: '箱号',
                         prop: 'code',
-                        width: 100,
+                        // width: 100,
                         hide: true,
                         showColumn: false,
                         search: true,
@@ -351,7 +351,7 @@ export default {
                     {
                         label: '起运港',
                         prop: 'polId',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         hide: true,
                         showColumn: false,
@@ -370,19 +370,19 @@ export default {
                     {
                         label: '起运港',
                         prop: 'polName',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                     },
                     {
                         label: '起运港场站/堆场',
                         prop: 'polStationName',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                     },
                     {
                         label: '目的港',
                         prop: 'podId',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         hide: true,
                         showColumn: false,
@@ -401,19 +401,19 @@ export default {
                     {
                         label: '目的港',
                         prop: 'podName',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                     },
                     {
                         label: '目的运港场站/堆场',
                         prop: 'podStationName',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                     },
                     {
                         label: '箱型',
                         prop: 'boxType',
-                        width: 150,
+                        // width: 150,
                         overHidden: true,
                         search: true,
                         searchOrder: 7,
@@ -430,26 +430,26 @@ export default {
                     {
                         label: '场地盘存',
                         prop: 'total',
-                        width: 100,
+                        // width: 100,
                         overHidden: true,
                     },
 
                     {
                         label: '可用箱量',
                         prop: 'remainingTotal',
-                        width: 100,
+                        // width: 100,
                         overHidden: true,
                     },
                     {
                         label: '好',
                         prop: 'good',
-                        width: 100,
+                        // width: 100,
                         overHidden: true,
                     },
                     {
                         label: '坏',
                         prop: 'bad',
-                        width: 100,
+                        // width: 100,
                         overHidden: true,
                     },
                 ]

+ 4 - 0
src/views/iosBasicData/costcenter/coc/detailsPage.vue

@@ -1589,6 +1589,7 @@ export default {
                         for (let index in arr) {
                             if (JSON.stringify(item) == JSON.stringify(arr[index])) {
                                 arr.splice(Number(index), 1)
+                                this.countChange()
                             }
                         }
                     })
@@ -1601,6 +1602,7 @@ export default {
                         });
                         feeRemove({ ids: arrIds.join(',') }).then(res => {
                             this.$message.success("删除成功");
+                            this.countChange()
                         }).finally(() => {
                             loading.close();
                         })
@@ -1653,6 +1655,7 @@ export default {
                         for (let index in arr) {
                             if (JSON.stringify(item) == JSON.stringify(arr[index])) {
                                 arr.splice(Number(index), 1)
+                                this.countChange()
                             }
                         }
                     })
@@ -1665,6 +1668,7 @@ export default {
                         });
                         feeRemove({ ids: arrIds.join(',') }).then(res => {
                             this.$message.success("删除成功");
+                            this.countChange()
                         }).finally(() => {
                             loading.close();
                         })

+ 4 - 1
src/views/iosBasicData/podTemplate/feesTemplateItems.vue

@@ -604,7 +604,10 @@ export default {
                 businessTypeId: this.detailData.businessTypeId,
                 businessTypeCnName: this.detailData.businessTypeCnName,
                 businessTypeEnName: this.detailData.businessTypeEnName,
-                businessTypeCode: this.detailData.businessTypeCode
+                businessTypeCode: this.detailData.businessTypeCode,
+                isShared: '1',
+                status: 0,
+                feesTemplateItemsList: []
             }
         }
         this.getBcorpsListfun()

+ 4 - 1
src/views/iosBasicData/polTemplate/feesTemplateItems.vue

@@ -604,7 +604,10 @@ export default {
                 businessTypeId: this.detailData.businessTypeId,
                 businessTypeCnName: this.detailData.businessTypeCnName,
                 businessTypeEnName: this.detailData.businessTypeEnName,
-                businessTypeCode: this.detailData.businessTypeCode
+                businessTypeCode: this.detailData.businessTypeCode,
+                isShared: '1',
+                status: 0,
+                feesTemplateItemsList: []
             }
         }
         this.getBcorpsListfun()

+ 6 - 2
src/views/ow/owPut/detailsPage.vue

@@ -121,12 +121,16 @@
                   @click="allClick('一键编辑')">一键编辑</el-button>
                 <el-button type="danger" plain size="small" :disabled="editDisabled || selectionList.length == 0"
                   @click="allClick('批量删除')">批量删除</el-button>
+                  <el-button type="primary" plain size="small" 
+                  :disabled="editDisabled">计算超期箱使费</el-button>
+                <el-button type="warning" plain size="small" 
+                  :disabled="editDisabled">批量导入费用</el-button>
                 <!-- <el-button type="success" size="small">导入</el-button> -->
                 <!-- <el-button type="info" size="small" @click="allClick('启用')">启用</el-button> -->
                 <!-- <el-button type="primary" size="small" @click="allClick('卖箱')">卖箱</el-button> -->
-                <el-button size="small" style="margin-right: 8px" :disabled="!form.id || true"
+                <!-- <el-button size="small" style="margin-right: 8px" :disabled="!form.id || true"
                   @click="$refs.print.openDialog()">打印报表
-                </el-button>
+                </el-button> -->
               </template>
               <template slot="index" slot-scope="{row,index}">
                 <span>{{ index + 1 }}</span>

+ 4 - 0
src/views/ow/owTask/detailsPage.vue

@@ -230,6 +230,10 @@
                   :disabled="editDisabled">生成租金</el-button>
                 <el-button type="danger" plain size="small" @click="allClick('撤销租金')"
                   :disabled="editDisabled">撤销租金</el-button>
+                  <el-button type="primary" plain size="small" 
+                  :disabled="editDisabled">计算超期箱使费</el-button>
+                <el-button type="warning" plain size="small" 
+                  :disabled="editDisabled">批量导入费用</el-button>
                 <!-- <el-button type="primary" plain size="small" @click="$refs.printC.openDialog()">打印账单</el-button> -->
               </template>
               <template slot="indexHeader" slot-scope="{row,index}">