|
@@ -81,10 +81,12 @@
|
|
<i class="el-icon-refresh"></i>
|
|
<i class="el-icon-refresh"></i>
|
|
</el-button>
|
|
</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item v-if="isShowOperate">
|
|
|
|
|
|
+ <el-form-item>
|
|
<el-button type="primary" @click="checkTrans()"
|
|
<el-button type="primary" @click="checkTrans()"
|
|
><i class="el-icon-truck"></i>轨迹</el-button
|
|
><i class="el-icon-truck"></i>轨迹</el-button
|
|
>
|
|
>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item v-if="isShowOperate">
|
|
<el-button type="primary" @click="operation()"
|
|
<el-button type="primary" @click="operation()"
|
|
><i class="el-icon-edit"></i>更改</el-button
|
|
><i class="el-icon-edit"></i>更改</el-button
|
|
>
|
|
>
|
|
@@ -120,6 +122,7 @@
|
|
border
|
|
border
|
|
style="width: 100%; margin-top: 20px"
|
|
style="width: 100%; margin-top: 20px"
|
|
:height="maxHeight"
|
|
:height="maxHeight"
|
|
|
|
+ :max-height="maxHeight"
|
|
:row-class-name="tableRowClassName"
|
|
:row-class-name="tableRowClassName"
|
|
@cell-click="cellClik"
|
|
@cell-click="cellClik"
|
|
@cell-mouse-enter="cellMouse1"
|
|
@cell-mouse-enter="cellMouse1"
|
|
@@ -170,14 +173,22 @@
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ prop="orderStatus"
|
|
|
|
+ column-key="orderStatus"
|
|
|
|
+ label="运单状态"
|
|
|
|
+ align="center"
|
|
|
|
+ :filters="filterorderStatus"
|
|
|
|
+ >
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <!-- <el-table-column
|
|
prop="areaName"
|
|
prop="areaName"
|
|
label="销售片区"
|
|
label="销售片区"
|
|
width="150px"
|
|
width="150px"
|
|
align="center"
|
|
align="center"
|
|
column-key="saleAreaList"
|
|
column-key="saleAreaList"
|
|
:filters="filterSaleAreaList"
|
|
:filters="filterSaleAreaList"
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ > -->
|
|
|
|
+ <!-- </el-table-column> -->
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="carrierName"
|
|
prop="carrierName"
|
|
label="承运商"
|
|
label="承运商"
|
|
@@ -236,14 +247,7 @@
|
|
:filters="filteraddressPlace"
|
|
:filters="filteraddressPlace"
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- prop="orderStatus"
|
|
|
|
- column-key="orderStatus"
|
|
|
|
- label="运单状态"
|
|
|
|
- align="center"
|
|
|
|
- :filters="filterorderStatus"
|
|
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="saleRemark"
|
|
prop="saleRemark"
|
|
column-key="saleRemark"
|
|
column-key="saleRemark"
|
|
@@ -599,7 +603,8 @@
|
|
@select="handleSelect()"
|
|
@select="handleSelect()"
|
|
:disabled="
|
|
:disabled="
|
|
notRoutList.includes('capacityNo') &&
|
|
notRoutList.includes('capacityNo') &&
|
|
- steelMap.capacityId != null
|
|
|
|
|
|
+ steelMap.capacityId != null &&
|
|
|
|
+ steelMap.capacityNoFlag != null
|
|
"
|
|
"
|
|
></el-autocomplete>
|
|
></el-autocomplete>
|
|
<el-button
|
|
<el-button
|
|
@@ -609,7 +614,8 @@
|
|
v-if="
|
|
v-if="
|
|
!(
|
|
!(
|
|
notRoutList.includes('capacityNo') &&
|
|
notRoutList.includes('capacityNo') &&
|
|
- steelMap.capacityId != null
|
|
|
|
|
|
+ steelMap.capacityId != null &&
|
|
|
|
+ steelMap.capacityNoFlag != null
|
|
)
|
|
)
|
|
"
|
|
"
|
|
>提交</el-button
|
|
>提交</el-button
|
|
@@ -1399,7 +1405,7 @@ export default {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
window.onresize = () => {
|
|
window.onresize = () => {
|
|
return (() => {
|
|
return (() => {
|
|
- this.maxHeight = window.innerHeight - 150
|
|
|
|
|
|
+ this.maxHeight = window.innerHeight - 130
|
|
})()
|
|
})()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -1414,7 +1420,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|
|
- this.maxHeight = window.innerHeight - 150
|
|
|
|
|
|
+ this.maxHeight = window.innerHeight - 130
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
methods: {
|
|
methods: {
|
|
@@ -2180,7 +2186,8 @@ export default {
|
|
if (
|
|
if (
|
|
(queryString != null && queryString != '' && queryString.length > 3) ||
|
|
(queryString != null && queryString != '' && queryString.length > 3) ||
|
|
queryString == '取消' ||
|
|
queryString == '取消' ||
|
|
- queryString == '待定'
|
|
|
|
|
|
+ queryString == '待定' ||
|
|
|
|
+ queryString == '空白'
|
|
) {
|
|
) {
|
|
this.axios
|
|
this.axios
|
|
.post('/api/v1/uc/getCapacityByLike?index=' + queryString)
|
|
.post('/api/v1/uc/getCapacityByLike?index=' + queryString)
|
|
@@ -2229,7 +2236,8 @@ export default {
|
|
!(
|
|
!(
|
|
isVehicleNumber(this.steelMap.capacityNo) ||
|
|
isVehicleNumber(this.steelMap.capacityNo) ||
|
|
this.steelMap.capacityNo == '取消' ||
|
|
this.steelMap.capacityNo == '取消' ||
|
|
- this.steelMap.capacityNo == '待定'
|
|
|
|
|
|
+ this.steelMap.capacityNo == '待定' ||
|
|
|
|
+ this.steelMap.capacityNo == '空白'
|
|
)
|
|
)
|
|
) {
|
|
) {
|
|
this.$message.error('请输入正确格式的车牌号!')
|
|
this.$message.error('请输入正确格式的车牌号!')
|
|
@@ -2882,6 +2890,9 @@ export default {
|
|
console.log(this.visibleList, 'this.visibleList')
|
|
console.log(this.visibleList, 'this.visibleList')
|
|
this.getSpanArr(this.visibleList)
|
|
this.getSpanArr(this.visibleList)
|
|
this.getTotalNum(this.tableData)
|
|
this.getTotalNum(this.tableData)
|
|
|
|
+ console.log(this.maxHeight, 'this.maxHeight')
|
|
|
|
+ this.maxHeight = window.innerHeight - 130
|
|
|
|
+ console.log(this.maxHeight, 'this.maxHeight')
|
|
loading.close()
|
|
loading.close()
|
|
console.log(this.visibleList)
|
|
console.log(this.visibleList)
|
|
})
|
|
})
|
|
@@ -2980,9 +2991,13 @@ export default {
|
|
console.log(this.visibleList)
|
|
console.log(this.visibleList)
|
|
this.getSpanArr(this.visibleList)
|
|
this.getSpanArr(this.visibleList)
|
|
this.getTotalNum(this.tableData)
|
|
this.getTotalNum(this.tableData)
|
|
|
|
+ console.log(this.maxHeight, 'this.maxHeight')
|
|
|
|
+ this.maxHeight = window.innerHeight - 130
|
|
|
|
+ console.log(this.maxHeight, 'this.maxHeight')
|
|
loading.close()
|
|
loading.close()
|
|
})
|
|
})
|
|
.catch(() => {
|
|
.catch(() => {
|
|
|
|
+ this.maxHeight = window.innerHeight - 130
|
|
loading.close()
|
|
loading.close()
|
|
})
|
|
})
|
|
}
|
|
}
|