|
@@ -21,7 +21,6 @@
|
|
>
|
|
>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
-
|
|
|
|
<ws-form
|
|
<ws-form
|
|
class="position"
|
|
class="position"
|
|
ref="deptBudgetList"
|
|
ref="deptBudgetList"
|
|
@@ -90,7 +89,7 @@
|
|
<div
|
|
<div
|
|
class="liaison"
|
|
class="liaison"
|
|
v-for="(item, index) in deptBudgetList.tranCarInfoList"
|
|
v-for="(item, index) in deptBudgetList.tranCarInfoList"
|
|
- :key='index'
|
|
|
|
|
|
+ :key="index"
|
|
>
|
|
>
|
|
<ws-info-table>
|
|
<ws-info-table>
|
|
<!--姓名-->
|
|
<!--姓名-->
|
|
@@ -139,13 +138,12 @@
|
|
value-format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
/>
|
|
/>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
- <!--车型-->
|
|
|
|
|
|
+ <!--车型-->
|
|
<ws-form-item label="车型" span="1" prop="carModel">
|
|
<ws-form-item label="车型" span="1" prop="carModel">
|
|
<el-select
|
|
<el-select
|
|
v-model="item.carModel"
|
|
v-model="item.carModel"
|
|
placeholder="请选择车型"
|
|
placeholder="请选择车型"
|
|
filterable
|
|
filterable
|
|
-
|
|
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="items in carModel"
|
|
v-for="items in carModel"
|
|
@@ -189,17 +187,10 @@
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
</div>
|
|
</div>
|
|
<el-button class="add bg-bottom" type="primary" size="small" @click="add">
|
|
<el-button class="add bg-bottom" type="primary" size="small" @click="add">
|
|
- <img
|
|
|
|
- width="22"
|
|
|
|
- height="22"
|
|
|
|
- @click="add"
|
|
|
|
- src="../../../public/img/add.png"
|
|
|
|
- alt=""
|
|
|
|
- />
|
|
|
|
|
|
+ <img width="22" height="22" src="../../../public/img/add.png" alt="" />
|
|
<div class="spans">添加车厢</div>
|
|
<div class="spans">添加车厢</div>
|
|
</el-button>
|
|
</el-button>
|
|
</ws-form>
|
|
</ws-form>
|
|
-
|
|
|
|
<!-- 提交 -->
|
|
<!-- 提交 -->
|
|
<div style="text-align: right; padding: 10px" class="center">
|
|
<div style="text-align: right; padding: 10px" class="center">
|
|
<el-button
|
|
<el-button
|
|
@@ -238,18 +229,12 @@ export default {
|
|
totalStorage: 0,
|
|
totalStorage: 0,
|
|
},
|
|
},
|
|
options_: regionData,
|
|
options_: regionData,
|
|
- heightData: '600px',
|
|
|
|
- zoom: 7,
|
|
|
|
selectedOptions: [],
|
|
selectedOptions: [],
|
|
center: [116.244694, 39.517344],
|
|
center: [116.244694, 39.517344],
|
|
- window: '',
|
|
|
|
- radio: 1,
|
|
|
|
personCharge: [],
|
|
personCharge: [],
|
|
- district: null,
|
|
|
|
driverList: [],
|
|
driverList: [],
|
|
listDate: { country: '中国', level: 'country', city: '' },
|
|
listDate: { country: '中国', level: 'country', city: '' },
|
|
citylist: [],
|
|
citylist: [],
|
|
- compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
|
tranType: 2,
|
|
tranType: 2,
|
|
rules: {
|
|
rules: {
|
|
warehouseName: [
|
|
warehouseName: [
|
|
@@ -266,9 +251,7 @@ export default {
|
|
},
|
|
},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
- appendixIdsAdd: '',
|
|
|
|
size: 10,
|
|
size: 10,
|
|
- value1: '',
|
|
|
|
unitList: [],
|
|
unitList: [],
|
|
freightspace: [],
|
|
freightspace: [],
|
|
name: '',
|
|
name: '',
|
|
@@ -319,10 +302,6 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- marker: function (item) {
|
|
|
|
- this.deptBudgetList.warehousePositioning =
|
|
|
|
- item.lnglat.lat + ',' + item.lnglat.lng
|
|
|
|
- },
|
|
|
|
selectedAddress(e) {
|
|
selectedAddress(e) {
|
|
this.deptBudgetList.warehousePositioning =
|
|
this.deptBudgetList.warehousePositioning =
|
|
e.center.lat + ',' + e.center.lng
|
|
e.center.lat + ',' + e.center.lng
|
|
@@ -332,9 +311,9 @@ export default {
|
|
this.listDate.country = this.name
|
|
this.listDate.country = this.name
|
|
},
|
|
},
|
|
// 关闭 dialog时 处理文件url 初始化upload组件
|
|
// 关闭 dialog时 处理文件url 初始化upload组件
|
|
- handleClose() {
|
|
|
|
- this.dialogViewSpareMoney = false
|
|
|
|
- },
|
|
|
|
|
|
+ // handleClose() {
|
|
|
|
+ // this.dialogViewSpareMoney = false
|
|
|
|
+ // },
|
|
add() {
|
|
add() {
|
|
this.freightspace.push({
|
|
this.freightspace.push({
|
|
trainNo: '',
|
|
trainNo: '',
|
|
@@ -346,7 +325,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//下拉司机姓名改变事件
|
|
//下拉司机姓名改变事件
|
|
- selectdriver() {},
|
|
|
|
handleChange(value) {
|
|
handleChange(value) {
|
|
this.selectedOptions = value
|
|
this.selectedOptions = value
|
|
},
|
|
},
|
|
@@ -356,9 +334,6 @@ export default {
|
|
this.selectedOptions = ''
|
|
this.selectedOptions = ''
|
|
this.$router.go(-1)
|
|
this.$router.go(-1)
|
|
},
|
|
},
|
|
- // confirmPosition() {
|
|
|
|
- // this.draggable = false
|
|
|
|
- // },
|
|
|
|
// 上传附件
|
|
// 上传附件
|
|
uploadSuccess(data, files, url) {
|
|
uploadSuccess(data, files, url) {
|
|
console.log(data, files, url)
|
|
console.log(data, files, url)
|
|
@@ -477,10 +452,6 @@ export default {
|
|
return false
|
|
return false
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- resetForm(deptBudgetList) {
|
|
|
|
- this.$refs[deptBudgetList].resetFields()
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
getList() {
|
|
getList() {
|
|
seeCat({ id: this.deptBudgetList.id })
|
|
seeCat({ id: this.deptBudgetList.id })
|
|
.toPromise()
|
|
.toPromise()
|
|
@@ -507,7 +478,7 @@ export default {
|
|
},
|
|
},
|
|
]
|
|
]
|
|
}
|
|
}
|
|
- if (!this.deptBudgetList.tranCarInfoList[0].boxNo ) {
|
|
|
|
|
|
+ if (!this.deptBudgetList.tranCarInfoList[0].boxNo) {
|
|
this.freightspace = [
|
|
this.freightspace = [
|
|
{
|
|
{
|
|
trainNo: '',
|
|
trainNo: '',
|
|
@@ -530,11 +501,6 @@ export default {
|
|
this.carModel = response
|
|
this.carModel = response
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- handleExamine() {},
|
|
|
|
- approve() {},
|
|
|
|
- // returnsales() {
|
|
|
|
- // this.$router.push({ path: 'purchaseContract' })
|
|
|
|
- // },
|
|
|
|
selectChapterTwo(e) {
|
|
selectChapterTwo(e) {
|
|
for (var i = 0; i < this.ChapterTwoList.length; i++) {
|
|
for (var i = 0; i < this.ChapterTwoList.length; i++) {
|
|
if (this.ChapterTwoList[i].constValue == e) {
|
|
if (this.ChapterTwoList[i].constValue == e) {
|
|
@@ -653,11 +619,6 @@ export default {
|
|
.el-col {
|
|
.el-col {
|
|
background: #f6f7fc;
|
|
background: #f6f7fc;
|
|
}
|
|
}
|
|
-/deep/.ws-info-table .el-form-item .el-form-item__content {
|
|
|
|
- padding: 0 25px;
|
|
|
|
- border-left: 1px solid transparent;
|
|
|
|
- background: #fff;
|
|
|
|
-}
|
|
|
|
/deep/.ws-info-table .el-form-item .el-form-item__label {
|
|
/deep/.ws-info-table .el-form-item .el-form-item__label {
|
|
width: 100px;
|
|
width: 100px;
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -837,18 +798,7 @@ export default {
|
|
border: none;
|
|
border: none;
|
|
height: 50px;
|
|
height: 50px;
|
|
}
|
|
}
|
|
-/deep/.ws-info-table .el-form-item .el-form-item__content {
|
|
|
|
- background: #f5f7fa;
|
|
|
|
- border-radius: 4px;
|
|
|
|
- border: 1px solid #d8dce6;
|
|
|
|
- font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
- margin-bottom: 5px;
|
|
|
|
- background-color: #fff;
|
|
|
|
- font-size: 14px;
|
|
|
|
- font-weight: 400;
|
|
|
|
- color: #8890b1;
|
|
|
|
- line-height: 16px;
|
|
|
|
-}
|
|
|
|
|
|
+
|
|
/deep/.ws-info-table .el-form-item .el-form-item__label {
|
|
/deep/.ws-info-table .el-form-item .el-form-item__label {
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
@@ -856,11 +806,7 @@ export default {
|
|
color: #8890b1;
|
|
color: #8890b1;
|
|
line-height: 16px;
|
|
line-height: 16px;
|
|
}
|
|
}
|
|
-/deep/.ws-info-table .el-form-item .el-form-item__content {
|
|
|
|
- background: #f5f7fa;
|
|
|
|
- border-radius: 4px;
|
|
|
|
- border: 1px solid #d8dce6;
|
|
|
|
-}
|
|
|
|
|
|
+
|
|
/deep/.flex .ws-info-table .el-form-item .el-form-item__content {
|
|
/deep/.flex .ws-info-table .el-form-item .el-form-item__content {
|
|
border: 0px;
|
|
border: 0px;
|
|
}
|
|
}
|
|
@@ -884,6 +830,7 @@ export default {
|
|
}
|
|
}
|
|
/deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
|
|
/deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
|
|
border: none;
|
|
border: none;
|
|
|
|
+ border-radius: 0px;
|
|
}
|
|
}
|
|
.add {
|
|
.add {
|
|
width: 100px;
|
|
width: 100px;
|
|
@@ -915,4 +862,16 @@ export default {
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
right: 20px;
|
|
right: 20px;
|
|
}
|
|
}
|
|
|
|
+/deep/.ws-info-table .el-form-item .el-form-item__content {
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ border: 1px solid #d8dce6;
|
|
|
|
+ margin-bottom: 5px;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ color: #8890b1;
|
|
|
|
+ line-height: 16px;
|
|
|
|
+ padding: 0 25px;
|
|
|
|
+ background: #f6f7fc;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|