|
@@ -74,7 +74,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="装车地点" prop="loadAddr">
|
|
|
<el-input v-model="form.loadAddr" placeholder="请输入装车地点" />
|
|
@@ -151,7 +151,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="提单号" prop="mblno">
|
|
|
<el-input v-model="form.mblno" placeholder="请输入提单号" />
|
|
@@ -318,86 +318,121 @@
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-table :data="planList">
|
|
|
- <el-table-column label="箱型" align="center" prop="cntrId">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-select v-model="scope.row.cntrId" placeholder="请选择箱型">
|
|
|
- <el-option
|
|
|
- v-for="(dict, index) in cntrIdList"
|
|
|
- :key="index.dictValue"
|
|
|
- :label="dict.dictLabel"
|
|
|
- :value="dict.dictValue"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- <!-- <el-input v-model="scope.row.cntrId" placeholder="箱型" /> -->
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ <el-table :data="planList">
|
|
|
+ <el-table-column label="箱型" align="center" prop="cntrId">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-select
|
|
|
+ v-model="scope.row.cntrId"
|
|
|
+ placeholder="请选择箱型"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(dict, index) in cntrIdList"
|
|
|
+ :key="index.dictValue"
|
|
|
+ :label="dict.dictLabel"
|
|
|
+ :value="dict.dictValue"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ <!-- <el-input v-model="scope.row.cntrId" placeholder="箱型" /> -->
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
|
|
|
- <el-table-column label="计价方式" align="center" prop="priceType">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.priceType" placeholder="计价方式" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="计价方式"
|
|
|
+ align="center"
|
|
|
+ prop="priceType"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.priceType"
|
|
|
+ placeholder="计价方式"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
|
|
|
- <el-table-column label="运价" align="center" prop="pricecr">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.pricecr" placeholder="运价" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="卸箱场站" align="center" prop="unLoadAddr">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.unLoadAddr" placeholder="卸箱场站" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="卸箱时间" align="center" prop="unLoadDate">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.unLoadDate" placeholder="卸箱时间" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="计划货量" align="center" prop="cntrQty">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.cntrQty" placeholder="计划货量" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="已调度货量" align="center" prop="cntrPlanQty">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.cntrPlanQty"
|
|
|
- placeholder="已调度货量"
|
|
|
- />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="已派车货量" align="center" prop="cntrBlcQty">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.cntrBlcQty"
|
|
|
- placeholder="已派车货量"
|
|
|
- />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="备注" align="center" prop="remarks">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.remarks" placeholder="备注" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ <el-table-column label="运价" align="center" prop="pricecr">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input v-model="scope.row.pricecr" placeholder="运价" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="卸箱场站"
|
|
|
+ align="center"
|
|
|
+ prop="unLoadAddr"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.unLoadAddr"
|
|
|
+ placeholder="卸箱场站"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="卸箱时间"
|
|
|
+ align="center"
|
|
|
+ prop="unLoadDate"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.unLoadDate"
|
|
|
+ placeholder="卸箱时间"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="计划货量" align="center" prop="cntrQty">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.cntrQty"
|
|
|
+ placeholder="计划货量"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="已调度货量"
|
|
|
+ align="center"
|
|
|
+ prop="cntrPlanQty"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.cntrPlanQty"
|
|
|
+ placeholder="已调度货量"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ label="已派车货量"
|
|
|
+ align="center"
|
|
|
+ prop="cntrBlcQty"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input
|
|
|
+ v-model="scope.row.cntrBlcQty"
|
|
|
+ placeholder="已派车货量"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="备注" align="center" prop="remarks">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input v-model="scope.row.remarks" placeholder="备注" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
|
|
|
- <el-table-column
|
|
|
- label="操作"
|
|
|
- align="center"
|
|
|
- class-name="small-padding fixed-width"
|
|
|
- width="100"
|
|
|
- >
|
|
|
- <template slot-slot-scope="scope">
|
|
|
- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-delete"
|
|
|
- @click.native.prevent="deleteRow(scope.$index, planList)"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ <el-table-column
|
|
|
+ label="操作"
|
|
|
+ align="center"
|
|
|
+ class-name="small-padding fixed-width"
|
|
|
+ width="100"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-delete"
|
|
|
+ @click.native.prevent="deleteRow(scope.$index, planList)"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
</div>
|
|
|
</el-collapse-item>
|
|
|
<el-collapse-item>
|
|
@@ -444,7 +479,7 @@
|
|
|
align="center"
|
|
|
label="附件名称"
|
|
|
>
|
|
|
- <template slot-slot-scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<el-input
|
|
|
v-model="scope.row.attachName"
|
|
|
placeholder="附件名称"
|
|
@@ -458,7 +493,7 @@
|
|
|
align="center"
|
|
|
label="上传人"
|
|
|
>
|
|
|
- <template slot-slot-scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<el-input
|
|
|
v-model="scope.row.opuserID"
|
|
|
placeholder="上传人"
|
|
@@ -472,7 +507,7 @@
|
|
|
align="center"
|
|
|
label="上传时间"
|
|
|
>
|
|
|
- <template slot-slot-scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<el-date-picker
|
|
|
v-model="scope.row.opdata"
|
|
|
type="date"
|
|
@@ -489,7 +524,7 @@
|
|
|
align="center"
|
|
|
label="上传附件"
|
|
|
>
|
|
|
- <template slot-slot-scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<uploadFile
|
|
|
@input="showFile"
|
|
|
v-model="scope.row.attachUrl"
|
|
@@ -502,143 +537,13 @@
|
|
|
label="操作"
|
|
|
width="130PX"
|
|
|
>
|
|
|
- <template slot-slot-scope="scope">
|
|
|
- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-delete"
|
|
|
- @click.native.prevent="
|
|
|
- deleteRow(scope.$index, relevantAttachments)
|
|
|
- "
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
- </el-collapse-item>
|
|
|
- <el-collapse-item v-if="userType == '00'">
|
|
|
- <template slot="title">
|
|
|
- <i class="header-icon el-icon-circle-plus" style="font-size: 16px"
|
|
|
- ><span
|
|
|
- style="font-size: 16px; font-weight: bolder; margin-left: 5px"
|
|
|
- >预计费用明细</span
|
|
|
- >
|
|
|
- </i>
|
|
|
- </template>
|
|
|
- <div>
|
|
|
- <div
|
|
|
- style="
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- margin: 10px 0;
|
|
|
- "
|
|
|
- >
|
|
|
- <div>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- icon="el-icon-plus"
|
|
|
- size="mini"
|
|
|
- @click="addRow(detailList)"
|
|
|
- :disabled="disabled"
|
|
|
- >添加</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <el-table :data="detailList" v-if="userType == '00'">
|
|
|
- <el-table-column label="结算单位" align="center" prop="cntrId">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.cntrId"
|
|
|
- placeholder="结算单位"
|
|
|
- />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
-
|
|
|
- <el-table-column
|
|
|
- label="费用名称"
|
|
|
- align="center"
|
|
|
- prop="priceType"
|
|
|
- >
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.priceType"
|
|
|
- placeholder="费用名称"
|
|
|
- />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
-
|
|
|
- <el-table-column label="收付" align="center" prop="dc">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.dc" placeholder="收付" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="计费单位" align="center" prop="priceCr">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.priceCr"
|
|
|
- placeholder="计费单位"
|
|
|
- />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="计费数量" align="center" prop="qty">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.qty" placeholder="计费数量" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="单价" align="center" prop="price">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.price" placeholder="单价" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="币种" align="center" prop="cntrBlcQty">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.cntrBlcQty"
|
|
|
- placeholder="币种"
|
|
|
- />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="税率" align="center" prop="cntrBlcQty">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.cntrBlcQty"
|
|
|
- placeholder="税率"
|
|
|
- />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="金额" align="center" prop="amt">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.amt" placeholder="金额" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="税率" align="center" prop="cntrBlcQty">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input
|
|
|
- v-model="scope.row.cntrBlcQty"
|
|
|
- placeholder="税率"
|
|
|
- />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="备注" align="center" prop="remarks">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.remarks" placeholder="备注" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
-
|
|
|
- <el-table-column
|
|
|
- label="操作"
|
|
|
- align="center"
|
|
|
- class-name="small-padding fixed-width"
|
|
|
- width="100"
|
|
|
- >
|
|
|
- <template slot-slot-scope="scope">
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
@click.native.prevent="
|
|
|
- deleteRow(scope.$index, detailList)
|
|
|
+ deleteRow(scope.$index, relevantAttachments)
|
|
|
"
|
|
|
>删除</el-button
|
|
|
>
|
|
@@ -731,7 +636,7 @@
|
|
|
class-name="small-padding fixed-width"
|
|
|
width="100"
|
|
|
>
|
|
|
- <template slot-slot-scope="scope">
|
|
|
+ <template slot-scope="scope">
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
@@ -910,7 +815,7 @@ export default {
|
|
|
handleClose() {
|
|
|
// 子组件调用父组件方法,并传递参数
|
|
|
this.$emit("changeShow", "false");
|
|
|
- this. fMblnoOptions=[]
|
|
|
+ this.fMblnoOptions = [];
|
|
|
},
|
|
|
/** 提交按钮 */
|
|
|
submitForm() {
|
|
@@ -1003,8 +908,8 @@ export default {
|
|
|
corpsRemoteMethod(name) {
|
|
|
console.log(name);
|
|
|
if (name == null || name === "") {
|
|
|
- this.fMblnoOptions =[]
|
|
|
- return
|
|
|
+ this.fMblnoOptions = [];
|
|
|
+ return;
|
|
|
}
|
|
|
let queryParams = { pageNum: 1, pageSize: 10, fName: name, type: 1 };
|
|
|
listCorps(queryParams).then((response) => {
|