|
@@ -33,63 +33,65 @@
|
|
>移库任务编号:
|
|
>移库任务编号:
|
|
<span style="font-weight: 600">{{ this.moveTaskNo }}</span></span
|
|
<span style="font-weight: 600">{{ this.moveTaskNo }}</span></span
|
|
>
|
|
>
|
|
- <div v-for="(item, index) in moveLookData" :key="index">
|
|
|
|
- <ws-info-table class="inout" v-if="item.inOutType == '移库出库'">
|
|
|
|
- <!--出货库-->
|
|
|
|
- <div class="library">
|
|
|
|
- <span style="margin-left: 14px"
|
|
|
|
- >出货库:{{ item.sendWarehouse }}</span
|
|
|
|
- >
|
|
|
|
- <span style="margin-left: 10px">{{ item.taskStatus }}</span>
|
|
|
|
- </div>
|
|
|
|
- <!--出库经办人-->
|
|
|
|
- <ws-form-item label="出库经办人:" span="1" prop="agent">
|
|
|
|
- {{ item.agent }}
|
|
|
|
- </ws-form-item>
|
|
|
|
- <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
- <!--出库重量(吨)-->
|
|
|
|
- <ws-form-item label="出库重量(吨):" span="1" prop="weight">
|
|
|
|
- {{ item.weight }}
|
|
|
|
- </ws-form-item>
|
|
|
|
- <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
- <!--仓位-->
|
|
|
|
- <ws-form-item label="仓位:" span="1" prop="deliveryVolume">
|
|
|
|
- {{ item.binNumber == null ? '未指定' : item.binNumber }}
|
|
|
|
- </ws-form-item>
|
|
|
|
- <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
- <!--预计出库日期-->
|
|
|
|
- <ws-form-item label="预计出库日期:" span="1" prop="predictDate">
|
|
|
|
- {{ item.predictDate }}
|
|
|
|
- </ws-form-item>
|
|
|
|
- </ws-info-table>
|
|
|
|
- <ws-info-table class="inout" v-if="item.inOutType == '移库入库'">
|
|
|
|
- <div class="library">
|
|
|
|
- <span style="margin-left: 14px">
|
|
|
|
- 入货库:{{ item.warehouseName }}</span
|
|
|
|
- >
|
|
|
|
- <span style="margin-left: 10px">{{ item.taskStatus }}</span>
|
|
|
|
- </div>
|
|
|
|
- <!--入库经办人-->
|
|
|
|
- <ws-form-item label="入库经办人:" span="1" prop="agent">
|
|
|
|
- {{ item.agent }}
|
|
|
|
- </ws-form-item>
|
|
|
|
- <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
- <!--入库重量(吨)-->
|
|
|
|
- <ws-form-item label="入库重量(吨):" span="1" prop="weight">
|
|
|
|
- {{ item.weight }}
|
|
|
|
- </ws-form-item>
|
|
|
|
- <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
- <!-- 仓位 -->
|
|
|
|
- <ws-form-item label="仓位:" span="1" prop="deliveryVolume">
|
|
|
|
- {{ item.binNumber == null ? '未指定' : item.binNumber }}
|
|
|
|
- </ws-form-item>
|
|
|
|
- <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
- <!--预计入库日期-->
|
|
|
|
- <ws-form-item label="预计入库日期:" span="1" prop="predictDate">
|
|
|
|
- {{ item.predictDate }}
|
|
|
|
- </ws-form-item>
|
|
|
|
- </ws-info-table>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <!-- <div v-for="(item, index) in shipment" > -->
|
|
|
|
+ <ws-info-table class="inout">
|
|
|
|
+ <!--出货库-->
|
|
|
|
+ <div class="library">
|
|
|
|
+ <span style="margin-left: 14px"
|
|
|
|
+ >出货库:{{ this.shipment.sendWarehouse }}</span
|
|
|
|
+ >
|
|
|
|
+ <span style="margin-left: 10px">{{ this.shipment.taskStatus }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <!--出库经办人-->
|
|
|
|
+ <ws-form-item label="出库经办人:" span="1" prop="agent">
|
|
|
|
+ {{ this.shipment.agent }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
+ <!--出库重量(吨)-->
|
|
|
|
+ <ws-form-item label="出库重量(吨):" span="1" prop="weight">
|
|
|
|
+ {{ shipment.weight }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
+ <!--仓位-->
|
|
|
|
+ <ws-form-item label="仓位:" span="1" prop="deliveryVolume">
|
|
|
|
+ {{ shipment.binNumber == null ? '未指定' : shipment.binNumber }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
+ <!--预计出库日期-->
|
|
|
|
+ <ws-form-item label="预计出库日期:" span="1" prop="predictDate">
|
|
|
|
+ {{ shipment.predictDate }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ </ws-info-table>
|
|
|
|
+ <!-- </div> -->
|
|
|
|
+ <!-- <div v-for="(items,index) in enter"> -->
|
|
|
|
+ <ws-info-table class="inout">
|
|
|
|
+ <div class="library">
|
|
|
|
+ <span style="margin-left: 14px">
|
|
|
|
+ 入货库:{{ enter.warehouseName }}</span
|
|
|
|
+ >
|
|
|
|
+ <span style="margin-left: 10px">{{ enter.taskStatus }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ <!--入库经办人-->
|
|
|
|
+ <ws-form-item label="入库经办人:" span="1" prop="agent">
|
|
|
|
+ {{ enter.agent }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
+ <!--入库重量(吨)-->
|
|
|
|
+ <ws-form-item label="入库重量(吨):" span="1" prop="weight">
|
|
|
|
+ {{ enter.weight }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
+ <!-- 仓位 -->
|
|
|
|
+ <ws-form-item label="仓位:" span="1" prop="deliveryVolume">
|
|
|
|
+ {{ enter.binNumber == null ? '未指定' : enter.binNumber }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
|
+ <!--预计入库日期-->
|
|
|
|
+ <ws-form-item label="预计入库日期:" span="1" prop="predictDate">
|
|
|
|
+ {{ enter.predictDate }}
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ </ws-info-table>
|
|
|
|
+ <!-- </div> -->
|
|
<ws-info-table class="goods">
|
|
<ws-info-table class="goods">
|
|
<!--货物信息-->
|
|
<!--货物信息-->
|
|
<div class="library">
|
|
<div class="library">
|
|
@@ -119,21 +121,21 @@
|
|
<el-input
|
|
<el-input
|
|
placeholder="信息暂无"
|
|
placeholder="信息暂无"
|
|
:disabled="true"
|
|
:disabled="true"
|
|
- v-model="this.waterContent+'%(水)'"
|
|
|
|
|
|
+ v-model="this.waterContent + '%(水)'"
|
|
>
|
|
>
|
|
</el-input>
|
|
</el-input>
|
|
<el-divider direction="vertical" class="line1"></el-divider>
|
|
<el-divider direction="vertical" class="line1"></el-divider>
|
|
<el-input
|
|
<el-input
|
|
placeholder="信息暂无"
|
|
placeholder="信息暂无"
|
|
:disabled="true"
|
|
:disabled="true"
|
|
- v-model="this.weight+'(吨)'"
|
|
|
|
|
|
+ v-model="this.weight + '(吨)'"
|
|
>
|
|
>
|
|
</el-input>
|
|
</el-input>
|
|
<el-divider direction="vertical" class="line1"></el-divider>
|
|
<el-divider direction="vertical" class="line1"></el-divider>
|
|
<el-input
|
|
<el-input
|
|
placeholder="信息暂无"
|
|
placeholder="信息暂无"
|
|
:disabled="true"
|
|
:disabled="true"
|
|
- v-model="this.unitPrice +'(元/吨)'"
|
|
|
|
|
|
+ v-model="this.unitPrice + '(元/吨)'"
|
|
>
|
|
>
|
|
</el-input>
|
|
</el-input>
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
@@ -150,34 +152,28 @@
|
|
/>
|
|
/>
|
|
<div class="small-title" style="font-size: 16px">实际流转数量</div>
|
|
<div class="small-title" style="font-size: 16px">实际流转数量</div>
|
|
<ws-info-table class="flow">
|
|
<ws-info-table class="flow">
|
|
- <el-table :data="moveLookData" height="90" border style="width: 100%;">
|
|
|
|
|
|
+ <el-table :data="weights" height="90" border style="width: 100%">
|
|
<el-table-column prop="weightOut" label="累计出库量(吨)">
|
|
<el-table-column prop="weightOut" label="累计出库量(吨)">
|
|
- <!-- <template> -->
|
|
|
|
- <div class="weights">{{ this.weightOut }}</div>
|
|
|
|
- <!-- </template> -->
|
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="weightIn" label="累计入库量(吨)">
|
|
<el-table-column prop="weightIn" label="累计入库量(吨)">
|
|
- <!-- <template> -->
|
|
|
|
- <div class="weights">{{ this.weightIn }}</div>
|
|
|
|
- <!-- </template> -->
|
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="transportLoss" label="累计运输损耗(吨)">
|
|
|
|
- <!-- <template> -->
|
|
|
|
- <div class="weights">
|
|
|
|
- {{ this.transportLoss }}
|
|
|
|
- </div>
|
|
|
|
- <!-- </template> -->
|
|
|
|
|
|
+ <el-table-column prop="transportLoss" label="累计运输损耗(吨)">
|
|
|
|
+ <!-- <template scope="scope">
|
|
|
|
+ {{weightOut}}
|
|
|
|
+ </template> -->
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
<ws-info-table class="flow1">
|
|
<ws-info-table class="flow1">
|
|
- <el-table :data="moveLookData" height="90" border style="width: 100%">
|
|
|
|
- <el-table-column prop="stockReturnCount" label="累计退库量(吨)">
|
|
|
|
- <template>
|
|
|
|
- <div class="weights">
|
|
|
|
- {{ this.retreat == null ? 0 : this.retreat }}
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
|
|
+ <el-table :data="enter.inOutWarehouseTaskList" border style="width: 100%">
|
|
|
|
+ <el-table-column prop="weight" label="累计退库量(吨)">
|
|
|
|
+ <!-- <template>
|
|
|
|
+ <div>30</div>
|
|
|
|
+ </template> -->
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ {{scope.row.weight}}<span style="margin: 0 20px">至</span>{{scope.row.warehouseName}}
|
|
|
|
+ <div></div>
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
@@ -240,10 +236,20 @@ export default {
|
|
unitList: [],
|
|
unitList: [],
|
|
name: '',
|
|
name: '',
|
|
moveLookData: [],
|
|
moveLookData: [],
|
|
|
|
+ shipment: {},
|
|
|
|
+ enter: {},
|
|
moveTaskNo: '',
|
|
moveTaskNo: '',
|
|
|
|
+ weights:[
|
|
|
|
+ {},
|
|
|
|
+ // {weightIn: 0},
|
|
|
|
+ // { transportLoss: 0}
|
|
|
|
+ ],
|
|
weightOut: 0,
|
|
weightOut: 0,
|
|
weightIn: 0,
|
|
weightIn: 0,
|
|
transportLoss: 0,
|
|
transportLoss: 0,
|
|
|
|
+
|
|
|
|
+ weightIn: 0,
|
|
|
|
+
|
|
retreat: 0,
|
|
retreat: 0,
|
|
goodsName: '',
|
|
goodsName: '',
|
|
grade: '',
|
|
grade: '',
|
|
@@ -251,7 +257,7 @@ export default {
|
|
waterContent: 0,
|
|
waterContent: 0,
|
|
weight: 0,
|
|
weight: 0,
|
|
unitPrice: 0,
|
|
unitPrice: 0,
|
|
- businessDescribe:'',
|
|
|
|
|
|
+ businessDescribe: '',
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
@@ -297,13 +303,20 @@ export default {
|
|
this.moveLookData = response
|
|
this.moveLookData = response
|
|
for (var i = 0; i < this.moveLookData.length; i++) {
|
|
for (var i = 0; i < this.moveLookData.length; i++) {
|
|
if (this.moveLookData[i].inOutType == '移库出库') {
|
|
if (this.moveLookData[i].inOutType == '移库出库') {
|
|
- this.weightOut = this.moveLookData[i].weight
|
|
|
|
- this.retreat = this.moveLookData[i].stockReturnCount
|
|
|
|
- this.businessDescribe = this.moveLookData[i].businessDescribe
|
|
|
|
- } else {
|
|
|
|
- this.weightIn = this.moveLookData[i].weight
|
|
|
|
|
|
+ this.shipment = this.moveLookData[i]
|
|
|
|
+ this.weightOut = this.moveLookData[i].weight
|
|
|
|
+ this.$set(this.weights[0],'weightOut',this.moveLookData[i].weight)
|
|
|
|
+ // this.weights.splice(1,1,{weightOut:this.moveLookData[i].weight})
|
|
|
|
+
|
|
|
|
+ } else {
|
|
|
|
+ // if (this.moveLookData[i].inOutType == '移库入库')
|
|
|
|
+ this.enter = this.shipment = this.moveLookData[i]
|
|
|
|
+ this.weightIn = this.moveLookData[i].weight
|
|
|
|
+ this.$set(this.weights[0],'weightIn',this.moveLookData[i].weight)
|
|
|
|
+ this.businessDescribe = this.moveLookData[i].businessDescribe
|
|
}
|
|
}
|
|
- this.transportLoss = this.weightOut - this.weightIn
|
|
|
|
|
|
+ console.log(this.weights)
|
|
|
|
+ this.transportLoss = this.weightOut - this.weightIn
|
|
this.goodsName = this.moveLookData[0].goodsName
|
|
this.goodsName = this.moveLookData[0].goodsName
|
|
this.grade = this.moveLookData[0].grade
|
|
this.grade = this.moveLookData[0].grade
|
|
this.bulkDensity = this.moveLookData[0].bulkDensity
|
|
this.bulkDensity = this.moveLookData[0].bulkDensity
|
|
@@ -610,8 +623,8 @@ export default {
|
|
.line1 {
|
|
.line1 {
|
|
height: 50px;
|
|
height: 50px;
|
|
}
|
|
}
|
|
-/deep/.is-disabled .el-input__inner{
|
|
|
|
- margin-top: 4px;
|
|
|
|
|
|
+/deep/.is-disabled .el-input__inner {
|
|
|
|
+ margin-top: 4px;
|
|
}
|
|
}
|
|
//业务描述
|
|
//业务描述
|
|
/deep/.el-textarea {
|
|
/deep/.el-textarea {
|
|
@@ -663,8 +676,11 @@ export default {
|
|
/deep/.el-textarea__inner {
|
|
/deep/.el-textarea__inner {
|
|
border: none;
|
|
border: none;
|
|
}
|
|
}
|
|
-/deep/.el-table th>.cell{
|
|
|
|
- color: #000 !important;
|
|
|
|
- font-weight: 400;
|
|
|
|
|
|
+/deep/.el-table th > .cell {
|
|
|
|
+ color: #000 !important;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+}
|
|
|
|
+/deep/.el-table td{
|
|
|
|
+ text-align: center;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|