|
@@ -125,15 +125,7 @@
|
|
>提交</el-button
|
|
>提交</el-button
|
|
>
|
|
>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
-
|
|
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
<div
|
|
<div
|
|
class="position siji"
|
|
class="position siji"
|
|
v-for="(item, index) in deptBudgetList.tranCarInfoList"
|
|
v-for="(item, index) in deptBudgetList.tranCarInfoList"
|
|
@@ -693,6 +685,13 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
add() {
|
|
add() {
|
|
|
|
+ if(!this.deptBudgetList.tranPrice){
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '请设置运输总价!',
|
|
|
|
+ type: 'warning',
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
this.deptBudgetList.tranCarInfoList.push({
|
|
driver: this.deptBudgetList.tranCarInfoList[0].driver,
|
|
driver: this.deptBudgetList.tranCarInfoList[0].driver,
|
|
driverPhone: this.deptBudgetList.tranCarInfoList[0].driverPhone,
|
|
driverPhone: this.deptBudgetList.tranCarInfoList[0].driverPhone,
|
|
@@ -705,6 +704,7 @@ export default {
|
|
positionWeight: '',
|
|
positionWeight: '',
|
|
tranType: '3',
|
|
tranType: '3',
|
|
})
|
|
})
|
|
|
|
+ }
|
|
},
|
|
},
|
|
selectdriver() {},
|
|
selectdriver() {},
|
|
handleChange(value) {
|
|
handleChange(value) {
|
|
@@ -716,7 +716,7 @@ export default {
|
|
this.selectedOptions = ''
|
|
this.selectedOptions = ''
|
|
this.$router.push({ path: 'tranManagementShipping' })
|
|
this.$router.push({ path: 'tranManagementShipping' })
|
|
},
|
|
},
|
|
- //审核
|
|
|
|
|
|
+ //审核
|
|
examine(){
|
|
examine(){
|
|
this.$prompt('运输单价审核', {
|
|
this.$prompt('运输单价审核', {
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
@@ -728,7 +728,7 @@ export default {
|
|
tranProcessInfo.id = this.deptBudgetList.id
|
|
tranProcessInfo.id = this.deptBudgetList.id
|
|
tranProcessInfo.flag = "2"
|
|
tranProcessInfo.flag = "2"
|
|
tranProcessInfo.tranPriceIng = value
|
|
tranProcessInfo.tranPriceIng = value
|
|
- tranProcessInfo.tranTypeKey = 2
|
|
|
|
|
|
+ tranProcessInfo.tranTypeKey = 3
|
|
setUpTranPrice(tranProcessInfo)
|
|
setUpTranPrice(tranProcessInfo)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
@@ -752,7 +752,7 @@ export default {
|
|
tranProcessInfo.id = this.deptBudgetList.id
|
|
tranProcessInfo.id = this.deptBudgetList.id
|
|
tranProcessInfo.flag = "1"
|
|
tranProcessInfo.flag = "1"
|
|
tranProcessInfo.tranPriceIng = this.deptBudgetList.tranPriceIng
|
|
tranProcessInfo.tranPriceIng = this.deptBudgetList.tranPriceIng
|
|
- tranCarInfo.tranTypeKey = 3
|
|
|
|
|
|
+ tranProcessInfo.tranTypeKey = 3
|
|
setUpTranPrice(tranProcessInfo)
|
|
setUpTranPrice(tranProcessInfo)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|