|
@@ -528,29 +528,37 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- label="应收运价"
|
|
|
+ label="应付运价"
|
|
|
align="center"
|
|
|
- prop="freightPriceDr"
|
|
|
+ prop="freightPriceCr"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.freightPriceDr"
|
|
|
- placeholder="应收运价"
|
|
|
+ v-model="scope.row.freightPriceCr"
|
|
|
+ placeholder="应付运价"
|
|
|
disabled
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- label="应付运价"
|
|
|
+ label="运输性质"
|
|
|
align="center"
|
|
|
prop="freightPriceCr"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.freightPriceCr"
|
|
|
- placeholder="应付运价"
|
|
|
+ <el-select
|
|
|
+ v-model="scope.row.transProp"
|
|
|
+ placeholder="请选择运输性质"
|
|
|
disabled
|
|
|
- />
|
|
|
+ size="mini"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(dict, index) in transPropList"
|
|
|
+ :key="index.dictValue"
|
|
|
+ :label="dict.dictLabel"
|
|
|
+ :value="dict.dictValue"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="备注" align="center" prop="remarks">
|
|
@@ -712,19 +720,6 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- label="应收运价"
|
|
|
- align="center"
|
|
|
- prop="freightPriceDr"
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.freightPriceDr"
|
|
|
- placeholder="应收运价"
|
|
|
- disabled
|
|
|
- />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
label="应付运价"
|
|
|
align="center"
|
|
|
prop="freightPriceCr"
|
|
@@ -817,6 +812,26 @@
|
|
|
v-hasPermi="['fleet:ftmsorderbillscars:edit']"
|
|
|
>变更</el-button
|
|
|
>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-document-delete"
|
|
|
+ @click.native.prevent="selectStowage(scope.row)"
|
|
|
+ v-if="schedulingList[0].transProp == '1'"
|
|
|
+ :disabled="scope.row.mBillNo"
|
|
|
+ v-hasPermi="['fleet:ftmsorderbillscars:edit']"
|
|
|
+ >配载</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-document-delete"
|
|
|
+ @click.native.prevent="changescarsRow(scope.row)"
|
|
|
+ v-if="schedulingList[0].transProp == '1'"
|
|
|
+ :disabled="!scope.row.mBillNo"
|
|
|
+ v-hasPermi="['fleet:ftmsorderbillscars:edit']"
|
|
|
+ >撤销配载</el-button
|
|
|
+ >
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -1374,6 +1389,7 @@ import {
|
|
|
changeFtmsorderbillscars,
|
|
|
addFtmsorderbillscars,
|
|
|
singleChangeFtmsorderbillscars,
|
|
|
+ selectStowage
|
|
|
} from "@/api/fleet/ftmsorderbillscars";
|
|
|
import { getBasicInformation } from "@/api/kaihe/basicdata/container";
|
|
|
import { company } from "@/api/fleet/carManage";
|
|
@@ -1500,6 +1516,8 @@ export default {
|
|
|
fWbuOptions: [],
|
|
|
ffeeunitidList: [],
|
|
|
carManages: [],
|
|
|
+ stowageList: [],
|
|
|
+ stowageDialog: false,
|
|
|
disabled2: false,
|
|
|
polList: [],
|
|
|
podList: [],
|
|
@@ -1845,7 +1863,6 @@ export default {
|
|
|
// }
|
|
|
// });
|
|
|
},
|
|
|
-
|
|
|
//单条订单调度提交
|
|
|
addscarsRow(row) {
|
|
|
if (row.billStatus == 5) {
|
|
@@ -1923,6 +1940,15 @@ export default {
|
|
|
this.$message.error("此条数据没有提交,不能申请撤回");
|
|
|
}
|
|
|
},
|
|
|
+ // 查询可配载数据
|
|
|
+ selectStowage(row) {
|
|
|
+ selectStowage(row).then((response) => {
|
|
|
+ this.stowageDialog = true;
|
|
|
+ if (response.rows) {
|
|
|
+ this.stowageList = response.rows;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
changescarsRow(row) {
|
|
|
if (row.billStatus == 6) {
|
|
|
changeFtmsorderbillscars(row.id).then((response) => {
|