Commit 67c6edc3 authored by Mac's avatar Mac

订单号的修改

parent 29377279
......@@ -154,7 +154,7 @@
title="点击搜索运单号">
{{item.ExpressNumber}}
</a>
<button type="button" class="el-button el-button--text is-circle" style="padding: 2px 12px;">
<button type="button" class="el-button el-button--text is-circle" style="padding: 2px 12px;" @click="fhBtn2(dataInfo,item)">
<i class="el-icon-edit"></i>
</button>
</div>
......@@ -412,7 +412,7 @@
</el-table-column>
</el-table>
<div class="title-box"><span class="text">物流信息</span></div>
<el-form :model="fhMsg" ref="exitMsg" :rules="fhrules" label-width="130px">
<el-form :model="fhMsg" ref="fhMsg" :rules="fhrules" label-width="130px">
<el-form-item label="物流快递">
<el-radio v-model="fhMsg.Type" :label="1">快递</el-radio>
<el-radio v-model="fhMsg.Type" :label="2">其他方式</el-radio>
......@@ -653,6 +653,33 @@
}
this.fahuoList = item.DetailList;
},
fhBtn2(dataInfo,item){
this.fhDig = true;
this.fhMsg = {
Id: item.Id,
OrderId: dataInfo.OrderId,
Type: item.Type,
ExpressId: item.ExpressId,
PostCode: item.PostCode,
ExpressNumber: item.ExpressNumber,
Remark: item.Remark,
OrderDetailIdList: [],
}
this.fahuoList = [];
dataInfo.DetailList.forEach(x=>{
if(x.Id == item.GoodsList[0].Id){
this.fahuoList.push(x)
}
})
this.$nextTick(() => {
for (let i = 0; i < this.fahuoList.length; i++) {
this.$refs.fahuoTable.toggleRowSelection(
this.fahuoList[i],
true
);
}
});
},
getData() {
this.apipost("/api/order/GetGoodsOrderInfo", {
OrderId: this.OrderId
......
......@@ -360,7 +360,7 @@
<img @click="OrderExit(item,1)" class="app-order-icon"
src="../../assets/img/userman/add_remark.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="修改快递单号" placement="top">
<el-tooltip class="item" effect="dark" content="修改快递单号" v-if="item.OrderStatus==3" placement="top">
<img @click="getOrderSend(item)" v-if="item.OrderStatus==3" class="app-order-icon"
src="../../assets/img/userman/change.png" alt="">
</el-tooltip>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment