123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555 |
- <template>
- <div id="taskdetail">
- <div class="topbar">
- <div class="topbar_left" @click="goback">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-fanhui"></use>
- </svg>
- </div>
- <div class="topbar_middle">
- 订单详情
- </div>
- <div class="topbar_right">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-caidan"></use>
- </svg>
- </div>
- </div>
- <div id="content">
- <div class="toparea_dt" :class="colortop">
- <div class="taskcode_dt">
- FXXS1990305001
- <svg class="icon" aria-hidden="true" v-if="ifnew==1">
- <use xlink:href="#icon-ziyuan"></use>
- </svg>
- </div>
- <div class="taskflag_dt">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-weikaishi" v-if="taskflag_dt=='待接收'"></use>
- <use xlink:href="#icon-jindu" v-if="taskflag_dt=='在进行'"></use>
- <use xlink:href="#icon-CombinedShape" v-if="taskflag_dt=='已完成'"></use>
- </svg>
- {{taskflag_dt}}
- </div>
- </div>
- <div class="taskinfo_dt">
- <div class="cust_dt">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-kehu"></use>
- </svg>
- 安吉富和家具有限公司
- </div>
- </div>
- <div class="reptel_dt">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-address"></use>
- </svg>
- <span>云天明</span>
- <span style="margin-left:10px;">13800138000</span>
- </div>
- <div class="address_dt">地址:广东省顺德市芙蓉中路二段115号湖南千思湖南千思湖南千思湖南千思湖南千思</div>
- <!-- <div class="liubai_dt"></div> -->
- <div class="middlearea">
- <div class='taskinfo_dtflex'>
- <div class="taskinfo_dttitle_dt">
- <div class="title_dt ">订货日期:</div>
- <div class="taskinfo_dtitem leftsize">2019-03-10</div>
- </div>
- <div class="taskinfo_dttitle_dt">
- <div class="title_dt rightside">交货日期:</div>
- <div class="taskinfo_dtitem requiredate">2019-03-15</div>
- </div>
- </div>
- <div class="taskinfo_dtamt">
- <div class="taskinfo_dttitle_dt">
- <div class="title_dt">金额:</div>
- <div class="taskinfo_dtitem taskamt leftsize">¥3500</div>
- </div>
- <div class="taskinfo_dttitle_dt rightside">
- <div class="title_dt">结算方式:</div>
- <div class="taskinfo_dtitem">款到发货</div>
- </div>
- </div>
- </div>
- <div class="dscrp">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-wentibuchong"></use>
- </svg>
- 我是备注信息,如果没有,就不显示这一个div了。哔哩吧啦哔哩吧啦,哔哩吧啦哔哩吧啦,哔哩吧啦哔哩吧啦,哔哩吧啦哔哩吧啦!
- </div>
- <div class="liubai_dt"></div>
- <div class="subtitle_dt">订单明细</div>
- <div class="taskmx_dt">
- <div id="rowmx_dt">
- <div class="mxmtrl_dt">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-dian"></use>
- </svg>
- 枪钉
- <span class="cses-spt-detail-mxdate">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-jiaohuoriqishezhi"></use>
- </svg>
- 2019/03/15
- </span>
- </div>
- <div class="mxqty_dt">数量:5000粒,单价:0.1元,合计500元</div>
- <div class="mxqty_dt">发货:5000粒,质检合格:4980粒,不合格:20粒,收货:4980粒</div>
- <div class="cses-spt-check">
- <div class="cses-spt-check-title">不合格项目:破损12粒,生锈8粒</div>
- <div class="cses-spt-check-wrap">
- <div class="cses-spt-check-mx">
- <div><img src="../../assets/timg.jpg" class="check-img-responsive"></div>
- <div class="cses-spt-check-item">破损</div>
- </div>
- <div class="cses-spt-check-mx">
- <div><img src="../../assets/timg22.jpg" class="check-img-responsive"></div>
- <div class="cses-spt-check-item">生锈</div>
- </div>
- </div>
- </div>
- </div>
- <div id="rowmx_dt">
- <div class="mxmtrl_dt">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-dian"></use>
- </svg>
- 角码
- <span class="cses-spt-detail-mxdate">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-jiaohuoriqishezhi"></use>
- </svg>
- 2019/03/15
- </span>
- </div>
- <div class="mxqty_dt">数量:2000个,单价:0.5元,合计1000元</div>
- <div class="mxqty_dt">发货:2000个,质检合格:2000个,收货:2000个</div>
- </div>
- <div id="rowmx_dt">
- <div class="mxmtrl_dt">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-dian"></use>
- </svg>
- 滚轮
- <span class="cses-spt-detail-mxdate">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-jiaohuoriqishezhi"></use>
- </svg>
- 2019/03/15
- </span>
- </div>
- <div class="mxqty_dt">数量:400个,单价:5元,合计2000元</div>
- <div class="mxqty_dt">发货:400个,质检合格:400个,收货:400个</div>
- </div>
- </div>
- <div class="liubai_dt"></div>
- <div class="subtitle_dt">订单进度跟踪</div>
- <div class="jindu">
- <div>
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-buzhoutiaowancheng"></use>
- </svg>
- 下单日期:2019-03-10 09:30
- </div>
- <div>
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-buzhoutiaowancheng"></use>
- </svg>
- 接收时间:2019-03-10 10:05
- </div>
- <div>
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-buzhoutiaowancheng"></use>
- </svg>
- 发货开单:2019-03-14 15:00
- </div>
- <div>
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-buzhoutiaowancheng"></use>
- </svg>
- 发货完成:2019-03-14 15:30
- </div>
- <div>
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-buzhoutiaowancheng"></use>
- </svg>
- 质检完成:2019-03-15 09:30
- </div>
- <div>
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-buzhoutiaowancheng"></use>
- </svg>
- 收货完成:2019-03-15 10:30
- </div>
- <!-- <div>
- *要求完成日期:
- </div> -->
- </div>
- </div>
- <div class="spt-detail-btn-wrap" v-if="taskflag_dt=='待接收'">
- <div class="spt-detail-btn spt-detail-border-right">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-tongyi"></use>
- </svg>
- 接收
- </div>
- <div class="spt-detail-btn">
- <svg class="icon" aria-hidden="true">
- <use xlink:href="#icon-guanbi"></use>
- </svg>
- 拒绝
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- name: 'saletaskDetail',
- data() {
- return {
- taskflag_dt: '已完成',
- ifnew: 0
- };
- },
- methods: {
- goback() {
- {
- history.back();
- }
- }
- },
- computed: {
- colortop: function () {
- return {
- bgcolorred: this.taskflag_dt == "待接收",
- bgcolorgreen: this.taskflag_dt == "在进行",
- bgcolorblue: this.taskflag_dt == "已完成"
- };
- },
- }
- }
- </script>
- <style>
- body {
- margin: 0;
- padding: 0;
- /* background-color: #fff; */
- font-family: "微软雅黑";
- }
- .topbar {
- min-height: 44px;
- border-bottom: 1px solid #e5e5e5;
- background: #fff;
- position: fixed;
- width: 100%;
- z-index: 9999;
- display: flex;
- font-size: 18px;
- align-items: center;
- }
- .topbar_left {
- /* flex: 0 0 %; */
- margin-left: 10px;
- }
- .topbar_middle {
- text-align: center;
- flex: 0 0 85%;
- }
- .topbar_right {
- /* flex: 0 0 10%; */
- position: absolute;
- right: 10px;
- }
- #taskdetail {
- background-color: #fff;
- }
- #content {
- position: absolute;
- top: 44px;
- background-color: #fff;
- width: 100%;
- padding-bottom: 60px;
- }
- .toparea_dt {
- color: white;
- background-color: #fc4e2c;
- height: 80px;
- display: flex;
- }
- .bgcolorred {
- background-color: #fc4e2c
- }
- .bgcolorgreen {
- background-color: #8dc026;
- }
- .bgcolorblue {
- background-color: #1e90ff;
- }
- .taskcode_dt {
- font-size: 22px;
- font-weight: bold;
- padding: 10px 0 10px 10px;
- line-height: 30px;
- }
- .taskflag_dt {
- font-size: 18px;
- font-weight: bold;
- padding: 10px;
- line-height: 30px;
- position: absolute;
- right: 10px;
- }
- .taskinfo_dt {
- background-color: #fff;
- width: 100%;
- height: 35px;
- border-top-left-radius: 20px;
- border-top-right-radius: 20px;
- border-bottom-right-radius: 0px;
- border-bottom-left-radius: 0px;
- position: absolute;
- top: 50px;
- }
- .cust_dt {
- font-size: 16px;
- font-weight: bold;
- padding: 10px
- }
- .reptel_dt {
- font-size: 14px;
- font-weight: bold;
- margin: 10px 0 2px 10px;
- }
- .address_dt {
- font-size: 13px;
- margin-left: 30px;
- margin-right: 20px;
- margin-bottom: 10px;
- color: #666666;
- }
- .hyaddress_dt {
- font-size: 13px;
- margin-left: 10px;
- margin-right: 10px;
- margin-bottom: 10px;
- color: #666666;
- }
- .liubai_dt {
- width: 100%;
- height: 10px;
- background-color: #f6f6f6;
- }
- .middlearea {
- margin: 10px;
- font-size: 14px;
- }
- .taskinfo_dtflex {
- display: flex;
- /* height: 60px; */
- align-items: center;
- }
- .taskinfo_dttitle_dt {
- font-weight: bold;
- margin-bottom: 5px;
- display: flex;
- flex-wrap: wrap;
- }
- .title_dt {
- width: 80px;
- text-align: right
- }
- .taskinfo_dtitem {
- font-weight: normal;
- color: #333;
- }
- .taskinfo_dtamt {
- display: flex;
- }
- .taskamt {
- font-weight: bold;
- color: #ff0000;
- }
- .leftsize {
- width: 100px;
- }
- .dscrp {
- border-radius: 10px;
- background: #f0eded;
- padding: 10px 20px;
- margin: 0 20px 10px 20px;
- font-size: 15px;
- color: #555555;
- line-height: 18px;
- }
- .subtitle_dt {
- font-size: 17px;
- font-weight: 700;
- text-align: center;
- margin: 0 20px;
- height: 42px;
- line-height: 43px;
- }
- .jindu {
- border-top: 1px solid #f0f0f0;
- margin: 0 20px;
- font-size: 15px;
- line-height: 30px;
- padding: 10px 0;
- }
- .jindubtn {
- margin-left: 20px;
- border: 1px solid #bbb;
- padding: 0 10px;
- border-radius: 15px;
- font-size: 13px;
- }
- .taskmx_dt {
- border-top: 1px solid #f0f0f0;
- }
- #rowmx_dt {
- margin-bottom: 10px;
- }
- .mxmtrl_dt {
- margin: 5px;
- font-size: 16px;
- }
- .mxqty_dt {
- font-size: 14px;
- color: #888888;
- margin: 0 10px 3px 25px;
- }
- .spt-detail-btn-wrap {
- display: flex;
- position: fixed;
- bottom: 0;
- background-color: #fc4e2c;
- width: 100%;
- z-index: 9999;
- align-items: center;
- justify-content: center;
- padding: 5px 0 2px 0;
- box-shadow: 0 -1px 3px #f1f1f1;
- }
- .spt-detail-btn {
- color: #ffffff;
- font-size: 16px;
- font-weight: bold;
- width: 45%;
- text-align: center;
- padding: 8px
- }
- .spt-detail-border-right {
- border-right: 1px solid #f0f0f0;
- }
- .spt-detail-btn-on {
- color: #ff7f50
- }
- .spt-detail-icon {
- font-size: 23px;
- }
- .cses-spt-detail-mxdate {
- margin-left: 10px;
- padding: 2px 10px;
- background-color: #f0eded;
- border-radius: 15px;
- font-size: 15px;
- }
- .cses-spt-check {
- font-size: 14px;
- background-color: #f5f5f5;
- border-radius: 15px;
- padding: 10px;
- margin: 10px 20px
- }
- .cses-spt-check-title {
- padding: 0 0 10px 0
- }
- .cses-spt-check-wrap{
- display: flex;
- }
- .cses-spt-check-mx {
- text-align: center;
- }
- .check-img-responsive {
- display: inline-block;
- height: auto;
- max-width: 90%;
- }
- .cses-spt-check-item {}
- </style>
|