|
@@ -527,6 +527,32 @@
|
|
|
/>
|
|
|
</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"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.freightPriceCr"
|
|
|
+ placeholder="应付运价"
|
|
|
+ disabled
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="备注" align="center" prop="remarks">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
@@ -583,7 +609,7 @@
|
|
|
@change="checkPid(scope.row)"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="(dict, index) in cntrId2List"
|
|
|
+ v-for="(dict, index) in cntrIdList"
|
|
|
:key="index.dictValue"
|
|
|
:label="dict.dictLabel"
|
|
|
:value="dict.dictValue"
|
|
@@ -604,7 +630,7 @@
|
|
|
v-input-limit="0"
|
|
|
placeholder="货量"
|
|
|
:disabled="
|
|
|
- scope.row.billStatus > 6 || scope.row.billStatus == 3
|
|
|
+ scope.row.billStatus >= 6 || scope.row.billStatus == 3
|
|
|
"
|
|
|
/>
|
|
|
</template>
|
|
@@ -621,7 +647,7 @@
|
|
|
v-model="scope.row.cntrNo"
|
|
|
placeholder="箱号"
|
|
|
:disabled="
|
|
|
- scope.row.billStatus > 6 || scope.row.billStatus == 3
|
|
|
+ scope.row.billStatus >= 6 || scope.row.billStatus == 3
|
|
|
"
|
|
|
/>
|
|
|
</template>
|
|
@@ -633,16 +659,11 @@
|
|
|
width="130"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <!-- <el-input
|
|
|
- v-model="scope.row.carregNo"
|
|
|
- placeholder="车号"
|
|
|
- :disabled="scope.row.billStatus == 6||scope.row.billStatus == 3"
|
|
|
- /> -->
|
|
|
<el-select
|
|
|
v-model="scope.row.carregNo"
|
|
|
placeholder="车号"
|
|
|
:disabled="
|
|
|
- scope.row.billStatus > 6 || scope.row.billStatus == 3
|
|
|
+ scope.row.billStatus >= 6 || scope.row.billStatus == 3
|
|
|
"
|
|
|
:clearable="true"
|
|
|
filterable
|
|
@@ -668,7 +689,7 @@
|
|
|
v-model="scope.row.driverName"
|
|
|
placeholder="司机姓名"
|
|
|
:disabled="
|
|
|
- scope.row.billStatus > 6 || scope.row.billStatus == 3
|
|
|
+ scope.row.billStatus >= 6 || scope.row.billStatus == 3
|
|
|
"
|
|
|
/>
|
|
|
</template>
|
|
@@ -685,18 +706,44 @@
|
|
|
placeholder="联系电话"
|
|
|
v-input-limit="2"
|
|
|
:disabled="
|
|
|
- scope.row.billStatus > 6 || scope.row.billStatus == 3
|
|
|
+ scope.row.billStatus >= 6 || scope.row.billStatus == 3
|
|
|
"
|
|
|
/>
|
|
|
</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"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.freightPriceCr"
|
|
|
+ placeholder="应付运价"
|
|
|
+ disabled
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="备注" align="center" prop="remarks">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
v-model="scope.row.remarks"
|
|
|
placeholder="备注"
|
|
|
:disabled="
|
|
|
- scope.row.billStatus > 6 || scope.row.billStatus == 3
|
|
|
+ scope.row.billStatus >= 6 || scope.row.billStatus == 3
|
|
|
"
|
|
|
/>
|
|
|
</template>
|
|
@@ -711,7 +758,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="scope.row.billStatus == 2">已暂存</div>
|
|
|
<div v-if="scope.row.billStatus == 3">已撤销</div>
|
|
|
- <div v-if="scope.row.billStatus == 7">已提交</div>
|
|
|
+ <div v-if="scope.row.billStatus >= 6">已提交</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -741,7 +788,7 @@
|
|
|
icon="el-icon-document-checked"
|
|
|
@click.native.prevent="addscarsRow(scope.row)"
|
|
|
:disabled="
|
|
|
- scope.row.billStatus > 6 || scope.row.billStatus == 3
|
|
|
+ scope.row.billStatus >= 6 || scope.row.billStatus == 3
|
|
|
"
|
|
|
v-hasPermi="['fleet:ftmsorderbillscars:edit']"
|
|
|
>提交</el-button
|
|
@@ -775,7 +822,10 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-collapse-item>
|
|
|
- <el-collapse-item v-hasPermi="['fleet:ftmsorderbillscars:edit']" name="3">
|
|
|
+ <el-collapse-item
|
|
|
+ v-hasPermi="['fleet:ftmsorderbillscars:edit']"
|
|
|
+ name="3"
|
|
|
+ >
|
|
|
<template slot="title">
|
|
|
<i class="header-icon el-icon-circle-plus" style="font-size: 16px"
|
|
|
><span
|
|
@@ -953,7 +1003,10 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-collapse-item>
|
|
|
- <el-collapse-item v-hasPermi="['fleet:ftmsorderbillscars:edit']" name="4">
|
|
|
+ <el-collapse-item
|
|
|
+ v-hasPermi="['fleet:ftmsorderbillscars:edit']"
|
|
|
+ name="4"
|
|
|
+ >
|
|
|
<template slot="title">
|
|
|
<i class="header-icon el-icon-circle-plus" style="font-size: 16px"
|
|
|
><span
|
|
@@ -1284,10 +1337,22 @@
|
|
|
</el-form>
|
|
|
</span>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="submitForm" :disabled="disabled" v-hasPermi="['fleet:ftmsorderbillscars:edit']">提 交</el-button>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ @click="submitForm"
|
|
|
+ :disabled="disabled"
|
|
|
+ v-hasPermi="['fleet:ftmsorderbillscars:edit']"
|
|
|
+ >提 交</el-button
|
|
|
+ >
|
|
|
<!-- <el-button type="success" @click="submitFix">修改</el-button> -->
|
|
|
<!-- <el-button type="success" @click="submitAllowChanges">修 改</el-button> -->
|
|
|
- <el-button type="info" @click="submitSave" :disabled="disabled" v-hasPermi="['fleet:ftmsorderbillscars:edit']">保 存</el-button>
|
|
|
+ <el-button
|
|
|
+ type="info"
|
|
|
+ @click="submitSave"
|
|
|
+ :disabled="disabled"
|
|
|
+ v-hasPermi="['fleet:ftmsorderbillscars:edit']"
|
|
|
+ >保 存</el-button
|
|
|
+ >
|
|
|
<!-- <el-button type="warning" @click="submitRetreat">撤 回</el-button> -->
|
|
|
<el-button @click="showDialog = false">取 消</el-button>
|
|
|
</span>
|
|
@@ -1431,7 +1496,6 @@ export default {
|
|
|
userType: null,
|
|
|
username: null,
|
|
|
fMblnoOptions: [],
|
|
|
- cntrId2List: [],
|
|
|
goodsOptions: [],
|
|
|
fWbuOptions: [],
|
|
|
ffeeunitidList: [],
|
|
@@ -1576,6 +1640,8 @@ export default {
|
|
|
cntrId: this.schedulingList[0].cntrId,
|
|
|
pid: this.schedulingList[0].id,
|
|
|
carcorPid: this.schedulingList[0].carcorPid,
|
|
|
+ freightPriceDr: this.schedulingList[0].freightPriceDr,
|
|
|
+ freightPriceCr: this.schedulingList[0].freightPriceCr,
|
|
|
});
|
|
|
this.showSure(this.schedulingList);
|
|
|
listFtmsorderbillss({
|
|
@@ -1624,7 +1690,7 @@ export default {
|
|
|
if (!this.vehicleList.length) {
|
|
|
return this.$message.error("车辆安排不能为空");
|
|
|
}
|
|
|
- if(this.schedulingList[0].cntrQty!=this.schedulingList[0].carQty){
|
|
|
+ if (this.schedulingList[0].cntrQty != this.schedulingList[0].carQty) {
|
|
|
return this.$message.error("调度安排存在未安排的货量");
|
|
|
}
|
|
|
this.DList.map((e) => {
|