|
|
@@ -137,6 +137,11 @@
|
|
|
</span>
|
|
|
<el-button icon="el-icon-search" size="mini" @click="handlePhone()" style="margin-left: 20px;" circle v-hasPermi="['store:storeOrder:queryPhone']"></el-button>
|
|
|
</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="虚拟号码" >
|
|
|
+ <span v-if="order != null ">
|
|
|
+ {{order.virtualPhone }}
|
|
|
+ </span>
|
|
|
+ </el-descriptions-item>
|
|
|
<el-descriptions-item label="收货地址" >
|
|
|
<el-popover
|
|
|
v-if="order!=null"
|
|
|
@@ -506,6 +511,9 @@
|
|
|
<el-form-item label="物流单号" prop="deliveryId" >
|
|
|
<el-input v-model="editDyForm.deliveryId" placeholder="请输入物流单号" />
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="虚拟手机号" prop="virtualPhone" >
|
|
|
+ <el-input v-model="editDyForm.virtualPhone" placeholder="请输入虚拟手机号" />
|
|
|
+ </el-form-item>
|
|
|
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
@@ -917,6 +925,7 @@ export default {
|
|
|
editDyForm:{
|
|
|
deliverySn:null,
|
|
|
deliveryId:null,
|
|
|
+ virtualPhone: null,
|
|
|
},
|
|
|
editForm:{
|
|
|
orderType:null,
|
|
|
@@ -1394,6 +1403,9 @@ export default {
|
|
|
submitEditDyForm(){
|
|
|
this.$refs["editDyForm"].validate(valid => {
|
|
|
if (valid) {
|
|
|
+ if (!this.editDyForm.virtualPhone) {
|
|
|
+ this.editDyForm.virtualPhone = '';//如果为null就设置为空字符串
|
|
|
+ }
|
|
|
updateDeliveryId(this.editDyForm).then(response => {
|
|
|
if (response.code === 200) {
|
|
|
this.msgSuccess("操作成功");
|
|
|
@@ -1520,6 +1532,7 @@ export default {
|
|
|
this.editDyForm.id = this.order.id;
|
|
|
this.editDyForm.deliveryId = this.order.deliveryId;
|
|
|
this.editDyForm.deliverySn = this.order.deliverySn;
|
|
|
+ this.editDyForm.virtualPhone = this.order.virtualPhone;
|
|
|
},
|
|
|
getOrder(orderId){
|
|
|
this.orderId=orderId;
|