|
@@ -1168,6 +1168,22 @@
|
|
|
:disabled="orgCode != 'wuliuyunshubu'"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="抵达时间">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="arrivalTime"
|
|
|
+ type="datetime"
|
|
|
+ :disabled="orgCode != 'wuliuyunshubu'"
|
|
|
+ placeholder="选择日期时间">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="签收时间">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="receiptTime"
|
|
|
+ type="datetime"
|
|
|
+ :disabled="orgCode != 'wuliuyunshubu'"
|
|
|
+ placeholder="选择日期时间">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="抵达图片(车头、满货箱)" style="">
|
|
|
<el-upload
|
|
|
ref="arrival"
|
|
@@ -1886,6 +1902,8 @@ export default {
|
|
|
dialogImageUrl: '',
|
|
|
dialogVisible: false,
|
|
|
isLoading: false,
|
|
|
+ arrivalTime:null,
|
|
|
+ receiptTime:null,
|
|
|
dialogFormVisible: false,
|
|
|
addresText: null,
|
|
|
originalPriceValue: null,
|
|
@@ -2770,6 +2788,8 @@ export default {
|
|
|
}
|
|
|
this.orderNumber = row.orderNo
|
|
|
this.capacityNumber = row.capacityNo
|
|
|
+ this.arrivalTime = row.arrivalTime
|
|
|
+ this.receiptTime = row.receiptTime
|
|
|
this.arrivalReceiving = true
|
|
|
//抵达图片
|
|
|
this.axios
|
|
@@ -2833,6 +2853,9 @@ export default {
|
|
|
})
|
|
|
formData.append('orderNumber', this.orderNumber)
|
|
|
formData.append('resultArrivalAddress', this.location)
|
|
|
+ if(this.arrivalTime){
|
|
|
+ formData.append('arrivalTime',sjTime(this.arrivalTime));
|
|
|
+ }
|
|
|
let options = {
|
|
|
// 设置axios的参数
|
|
|
url: '/api/v1/otms/addtmstruckArrivalResult',
|
|
@@ -2852,6 +2875,9 @@ export default {
|
|
|
})
|
|
|
formData.append('orderNumber', this.orderNumber)
|
|
|
formData.append('resultArrivalAddress', this.location)
|
|
|
+ if(this.receiptTime){
|
|
|
+ formData.append('receiptTime',sjTime(this.receiptTime));
|
|
|
+ }
|
|
|
formData.append('num', request.length)
|
|
|
let options = {
|
|
|
url: '/api/v1/otms/addTmstruckReceiptResultForWeb',
|
|
@@ -2867,6 +2893,7 @@ export default {
|
|
|
this.steelMap.arrivalAddress = this.location
|
|
|
this.closeUpload()
|
|
|
this.refresh()
|
|
|
+ this.tableRowIndex=''
|
|
|
})
|
|
|
})
|
|
|
},
|
|
@@ -2885,6 +2912,8 @@ export default {
|
|
|
},
|
|
|
closeUpload() {
|
|
|
this.location = null
|
|
|
+ this.arrivalTime = null
|
|
|
+ this.receiptTime= null
|
|
|
this.arrivalReceiving = false
|
|
|
this.isLoading = false
|
|
|
this.$refs.arrival.clearFiles()
|