作者 liyongchun

12121212

... ... @@ -102,7 +102,7 @@
<div class="left-io"></div>
<div class="gon">共{{ total }}条</div>
<div class="kls">
<el-pagination :page-size="20" :pager-count="11" layout="prev, pager, next" :total="total">
<el-pagination :page-size="20" :pager-count="11" layout="prev, pager, next" :total="total" @prev-click="prevPage" >
</el-pagination>
</div>
</div>
... ...
... ... @@ -158,7 +158,7 @@
<el-button
type="text"
size="small"
@click="paiche(scope.row.dispatchCarId)"
@click="fason(scope.row.dispatchCarId, '1')"
>查看详情</el-button
>
<el-button
... ... @@ -197,7 +197,7 @@
<!-- 发送通知 -->
<div class="paiche">
<el-dialog
title="派车通知"
:title="detailsOrmsg ? '详情' : '派车通知'"
:visible.sync="dialogVisible"
width="60%"
:append-to-body="true"
... ... @@ -208,15 +208,15 @@
<div class="a" style="width: 33.3%">
<div class="sd">
<div class="fa-ji">派车单编码</div>
<div class="conrt">{{cont.dispatchCarId}}</div>
<div class="conrt">{{ cont.dispatchCarId }}</div>
</div>
<div class="sd">
<div class="fa-ji">发货人计划人</div>
<div class="conrt">{{cont.shipBy}}</div>
<div class="conrt">{{ cont.shipBy }}</div>
</div>
<div class="sd">
<div class="fa-ji">预计里程</div>
<div class="conrt">{{cont.clearingKilometers}}</div>
<div class="conrt">{{ cont.clearingKilometers }}</div>
</div>
<div class="sd">
<div class="fa-ji">承运单位</div>
... ... @@ -226,25 +226,25 @@
<div class="a" style="width: 33.3%">
<div class="sd">
<div class="fa-ji">电站名称</div>
<div class="conrt">{{cont.telegramListName}}</div>
<div class="conrt">{{ cont.telegramListName }}</div>
</div>
<div class="sd">
<div class="fa-ji">车辆种类</div>
<div class="conrt">{{cont.transportModel}}</div>
<div class="conrt">{{ cont.transportModel }}</div>
</div>
<div class="sd">
<div class="fa-ji">计划发车时间</div>
<div class="conrt">{{cont.shipTime}}</div>
<div class="conrt">{{ cont.shipTime }}</div>
</div>
</div>
<div class="a" style="width: 33.3%">
<div class="sd">
<div class="fa-ji">到货地点</div>
<div class="conrt">{{cont.settlementLocation}}</div>
<div class="conrt">{{ cont.settlementLocation }}</div>
</div>
<div class="sd">
<div class="fa-ji">车型要求</div>
<div class="conrt">{{cont.carType}}</div>
<div class="conrt">{{ cont.carType }}</div>
</div>
<div class="sd">
<div class="fa-ji">计划行车路线</div>
... ... @@ -267,9 +267,10 @@
</div>
</div>
<div class="queren">
<el-button type="primary" round @click="dialogVisible = false">确认</el-button>
<el-button type="primary" round @click="dialogVisible = false"
>确认</el-button
>
<el-button round @click="dialogVisible = false">取消</el-button>
</div>
</div>
</el-dialog>
... ... @@ -493,9 +494,8 @@
<el-dialog
title="查看派车通知"
:visible.sync="dialogVisibleh"
:append-to-body="true"
style="padding-bottom: 0;margin-top: 160px;"
style="padding-bottom: 0; margin-top: 160px"
>
<div class="liebiao" style="margin-top: 24px; padding-bottom: 0">
<div class="fahuo-li">
... ... @@ -581,8 +581,9 @@
</div>
</div>
<div class="queren">
<el-button type="primary" round @click="dialogVisibleh = false">确认</el-button>
<el-button type="primary" round @click="dialogVisibleh = false"
>确认</el-button
>
</div>
</div>
</el-dialog>
... ... @@ -629,7 +630,8 @@ export default {
pageSize: 10,
total: "", //总条数
de: [], //查看详情
cont:[] //内容
cont: [], //内容
detailsOrmsg: '' //有值就为查看详情
};
},
mounted() {
... ... @@ -694,7 +696,8 @@ export default {
this.dialogVisible = true;
},
//发送通知
fason(id) {
fason(id, num) {
if (num) { this.detailsOrmsg = num } else { this.detailsOrmsg = '' }
this.dialogVisible = true;
this.peiche(id)
},
... ... @@ -732,7 +735,6 @@ export default {
};
</script>
<style>
.el-dialog__body {
padding: 5px 20px;
}
... ...
... ... @@ -127,13 +127,13 @@
</div>
<div class="tiaoshu">
<div class="left-io"></div>
<div class="gon">共400条</div>
<div class="gon">共{{ tableData.length + 1 }}条</div>
<div class="kls">
<el-pagination
:page-size="20"
:page-size="10"
:pager-count="11"
layout="prev, pager, next"
:total="1000"
:total="tableData.length + 1"
>
</el-pagination>
</div>
... ... @@ -335,10 +335,11 @@
<div class="titleas">封车状态拍照留存</div>
<div class="tuimg">
<el-upload
action="https://jsonplaceholder.typicode.com/posts/"
:action="uploadUrl()"
list-type="picture-card"
:on-preview="handlePictureCardPreview"
:on-remove="handleRemove"
:file-list="imgList"
>
<i class="el-icon-plus"></i>
</el-upload>
... ... @@ -486,6 +487,7 @@ export default {
zhuan: "已完成",
},
],
imgList: '',
dialogVisible: false,
dialogVisibleg: false,
dialogVisibleq: false,
... ... @@ -528,6 +530,9 @@ export default {
this.dialogVisibleh = true;
this.dialogVisibleyu = false;
},
uploadUrl() {
console.log(e)
}
},
};
</script>
... ...
... ... @@ -313,11 +313,21 @@ export default {
},
/** 添加商品 * */
addEidor() {
this.dialogVisible = true
this.editorProduct = '';
this.dialogVisible = true
this.productModel = ''
this.breed = ''
this.deptId = ''
this.productId = ''
this.size = ''
this.productType = ''
this.weight = ''
}
},
updated() {
this.chanpinliet()
}
};
</script>
<style>
... ...