|
@@ -141,7 +141,7 @@
|
|
<!--卸车净重-->
|
|
<!--卸车净重-->
|
|
<ws-form-item label="卸车净重:" span="1" prop="unloadNetWeight">
|
|
<ws-form-item label="卸车净重:" span="1" prop="unloadNetWeight">
|
|
<ws-input
|
|
<ws-input
|
|
- v-if="item.status == '已卸车' || item.status == '已送达'"
|
|
|
|
|
|
+ v-if="item.status == '未装车' || item.status == '已送达'"
|
|
:disabled="readonly"
|
|
:disabled="readonly"
|
|
v-model="item.unloadNetWeight"
|
|
v-model="item.unloadNetWeight"
|
|
placeholder="请输入卸车净重"
|
|
placeholder="请输入卸车净重"
|
|
@@ -195,6 +195,16 @@
|
|
<!--卸车日期-->
|
|
<!--卸车日期-->
|
|
<el-form-item label="卸车日期:" span="1" prop="unloadingDate">
|
|
<el-form-item label="卸车日期:" span="1" prop="unloadingDate">
|
|
<ws-date-picker
|
|
<ws-date-picker
|
|
|
|
+ v-if="item.status == '未装车' || item.status == '已送达'"
|
|
|
|
+ :disabled="readonly"
|
|
|
|
+ v-model="item.unloadingDate"
|
|
|
|
+ type="date"
|
|
|
|
+ style="width: 150px"
|
|
|
|
+ placeholder="请选择日期"
|
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
|
+ />
|
|
|
|
+ <ws-date-picker
|
|
|
|
+ v-else
|
|
v-model="item.unloadingDate"
|
|
v-model="item.unloadingDate"
|
|
type="date"
|
|
type="date"
|
|
style="width: 150px"
|
|
style="width: 150px"
|
|
@@ -503,6 +513,7 @@ export default {
|
|
this.tranCarInfoList.driver = this.deptBudgetList.driver
|
|
this.tranCarInfoList.driver = this.deptBudgetList.driver
|
|
this.tranCarInfoList.unloadingDate =
|
|
this.tranCarInfoList.unloadingDate =
|
|
this.deptBudgetList.unloadingDate
|
|
this.deptBudgetList.unloadingDate
|
|
|
|
+ this.tranCarInfoList[0].sendDateStart = this.deptBudgetList.sendDateStart
|
|
this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
|
|
this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
|
|
this.tranCarInfoList.tranCarNo = this.deptBudgetList.tranCarNo
|
|
this.tranCarInfoList.tranCarNo = this.deptBudgetList.tranCarNo
|
|
this.tranCarInfoList.carNo = this.deptBudgetList.carNo
|
|
this.tranCarInfoList.carNo = this.deptBudgetList.carNo
|
|
@@ -559,8 +570,7 @@ export default {
|
|
this.deptBudgetList.driver = response.tranCarInfoList[0].driver
|
|
this.deptBudgetList.driver = response.tranCarInfoList[0].driver
|
|
this.deptBudgetList.driverPhone =
|
|
this.deptBudgetList.driverPhone =
|
|
response.tranCarInfoList[0].driverPhone
|
|
response.tranCarInfoList[0].driverPhone
|
|
- this.deptBudgetList.sendDateStart =
|
|
|
|
- response.tranCarInfoList[0].sendDateStart
|
|
|
|
|
|
+ this.$set(this.deptBudgetList,'sendDateStart',response.tranCarInfoList[0].sendDateStart)
|
|
this.deptBudgetList.receiveDateEnd =
|
|
this.deptBudgetList.receiveDateEnd =
|
|
response.tranCarInfoList[0].receiveDateEnd
|
|
response.tranCarInfoList[0].receiveDateEnd
|
|
this.deptBudgetList.carModel = response.tranCarInfoList[0].carModel
|
|
this.deptBudgetList.carModel = response.tranCarInfoList[0].carModel
|