|
@@ -68,6 +68,7 @@
|
|
</span>
|
|
</span>
|
|
<el-button type="text" size="mini" @click="callNumber(0,0,orderId)" v-hasPermi="['store:storeOrder:callNumber']">拨号</el-button>
|
|
<el-button type="text" size="mini" @click="callNumber(0,0,orderId)" v-hasPermi="['store:storeOrder:callNumber']">拨号</el-button>
|
|
<el-button type="text" size="mini" @click="handleSms(order.userPhone)" v-hasPermi="['store:storeOrder:sendSms']">短信</el-button>
|
|
<el-button type="text" size="mini" @click="handleSms(order.userPhone)" v-hasPermi="['store:storeOrder:sendSms']">短信</el-button>
|
|
|
|
+ <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>
|
|
<el-descriptions-item label="收货地址" >
|
|
<el-descriptions-item label="收货地址" >
|
|
<el-popover
|
|
<el-popover
|
|
@@ -461,7 +462,7 @@ import { getTcmScheduleList } from "@/api/company/tcmScheduleReport";
|
|
import {getCustomerListBySearch } from "@/api/crm/customer";
|
|
import {getCustomerListBySearch } from "@/api/crm/customer";
|
|
import ImageUpload from '@/components/ImageUpload'
|
|
import ImageUpload from '@/components/ImageUpload'
|
|
import Material from '@/components/Material'
|
|
import Material from '@/components/Material'
|
|
-import {bindCustomer,getExpress, listStoreOrder, getStoreOrder, delStoreOrder, addStoreOrder, updateStoreOrder, exportStoreOrder,uploadCredentials, getStoreOrderAddress} from "@/api/store/storeOrder";
|
|
|
|
|
|
+import {bindCustomer,getExpress, listStoreOrder, getStoreOrder, delStoreOrder, addStoreOrder, updateStoreOrder, exportStoreOrder,uploadCredentials, getStoreOrderAddress,getUserPhone} from "@/api/store/storeOrder";
|
|
import {getAllList} from "@/api/store/city";
|
|
import {getAllList} from "@/api/store/city";
|
|
import customerDetails from '../../crm/components/customerDetails.vue';
|
|
import customerDetails from '../../crm/components/customerDetails.vue';
|
|
import addSms from '../../crm/components/addSms.vue';
|
|
import addSms from '../../crm/components/addSms.vue';
|
|
@@ -598,6 +599,12 @@ export default {
|
|
}, 500);
|
|
}, 500);
|
|
|
|
|
|
},
|
|
},
|
|
|
|
+ handlePhone(){
|
|
|
|
+ const id = this.order.id;
|
|
|
|
+ getUserPhone(id).then(response =>{
|
|
|
|
+ this.order.userPhone = response.userPhone;
|
|
|
|
+ })
|
|
|
|
+ },
|
|
handleAddress(){
|
|
handleAddress(){
|
|
const id = this.order.id;
|
|
const id = this.order.id;
|
|
getStoreOrderAddress(id).then(response =>{
|
|
getStoreOrderAddress(id).then(response =>{
|