邓平艺 5 years ago
parent
commit
575559d030
  1. 3
      canteen/pages/purchase/detail.vue
  2. 14
      supplier/pages/gonghuo/detail.vue

3
canteen/pages/purchase/detail.vue

@ -8,6 +8,9 @@
<view class="lf-row-between lf-color-gray list"> <view class="lf-row-between lf-color-gray list">
<view>采购单 {{ order.p_sn }}</view> <view>采购单 {{ order.p_sn }}</view>
</view> </view>
<view class="lf-row-between lf-color-gray list">
<view>供应商联系电话 <text class="lf-m-l-10" style="color: rgb(17, 209, 137);" @click="call(order.supplier.ctl_phone)">{{ order.supplier.ctl_phone }}</text> </view>
</view>
<view class="lf-row-between list"> <view class="lf-row-between list">
<image :src="order.supplier.logo" class="image"></image> <image :src="order.supplier.logo" class="image"></image>
<view class="info"> <view class="info">

14
supplier/pages/gonghuo/detail.vue

@ -11,6 +11,15 @@
<view class="lf-font-24 lf-color-555">{{ order.canteen.address }}</view> <view class="lf-font-24 lf-color-555">{{ order.canteen.address }}</view>
</view> </view>
</view> </view>
<view class="lf-row-between lf-color-gray list">
<view>食堂联系电话 <text style="color:#1833F2" @click="call(order.canteen.ctl_phone)" class="lf-m-l-10">{{ order.canteen.ctl_phone }}</text></view>
</view>
<view class="lf-row-between lf-color-gray list">
<view>采购人 {{ order.contact_name }}</view>
</view>
<view class="lf-row-between lf-color-gray list">
<view>采购人联系电话 <text style="color:#1833F2" @click="call(order.contact_phone)" class="lf-m-l-10">{{ order.contact_phone }}</text></view>
</view>
</view> </view>
<self-line></self-line> <self-line></self-line>
<view class="lf-border-box lf-bg-white"> <view class="lf-border-box lf-bg-white">
@ -175,6 +184,11 @@
this.getData(); this.getData();
}, },
methods: { methods: {
call(phone) {
uni.makePhoneCall({
phoneNumber: phone //
});
},
getData(){ getData(){
this.$http(this.API.API_SUPPLIER_PURCHASEDETAIL, { this.$http(this.API.API_SUPPLIER_PURCHASEDETAIL, {
p_sn: this.p_sn p_sn: this.p_sn

Loading…
Cancel
Save