Commit 2c986eca authored by xiangzj's avatar xiangzj

要货接口报错

parent 64546971
...@@ -74,13 +74,14 @@ ...@@ -74,13 +74,14 @@
</view> </view>
<view class="text-address"> <view class="text-address">
<text class="middle-date-unit">喷码单位</text> <text class="middle-date-unit">喷码单位</text>
<view class="middle-date-des-unit uni-list picker-year" @click="handleCustomer"> <!-- <view class="middle-date-des-unit uni-list picker-year" @click="handleCustomer"> -->
<view class="middle-date-des-unit uni-list picker-year">
<view class="uni-list-cell"> <view class="uni-list-cell">
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<text class="middle-date-address-text">{{orderItem.spurtCodeUnitName}}</text> <text class="middle-date-address-text">{{orderItem.spurtCodeUnitName}}</text>
</view> </view>
</view> </view>
<image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode=""></image> <!-- <image class="icon-arrow" src="@/static/image/arrow_r@3x.png" mode=""></image> -->
</view> </view>
</view> </view>
<view class="text-block text-block-last"> <view class="text-block text-block-last">
...@@ -340,6 +341,7 @@ ...@@ -340,6 +341,7 @@
const res = await getReceipt(params) const res = await getReceipt(params)
this.receiveUnitArr = res.DATA this.receiveUnitArr = res.DATA
this.orderItem.receiveUnitName = this.receiveUnitArr[0].PARTNER_NAME this.orderItem.receiveUnitName = this.receiveUnitArr[0].PARTNER_NAME
this.orderItem.receiveUnitCode = this.receiveUnitArr[0].PARTNER
this.orderItem.spurtCodeUnitName = this.receiveUnitArr[0].PARTNER_NAME this.orderItem.spurtCodeUnitName = this.receiveUnitArr[0].PARTNER_NAME
this.orderItem.contactNumber = this.receiveUnitArr[0].TEL_NUMBER this.orderItem.contactNumber = this.receiveUnitArr[0].TEL_NUMBER
this.orderItem.contacPerson = this.receiveUnitArr[0].C_O_NAME this.orderItem.contacPerson = this.receiveUnitArr[0].C_O_NAME
...@@ -380,6 +382,7 @@ ...@@ -380,6 +382,7 @@
break; break;
case 'receive': case 'receive':
this.orderItem.receiveUnitName = this.receiveUnitArr[index].PARTNER_NAME this.orderItem.receiveUnitName = this.receiveUnitArr[index].PARTNER_NAME
this.orderItem.receiveUnitCode = this.receiveUnitArr[index].PARTNER
this.orderItem.contactNumber = this.receiveUnitArr[index].TEL_NUMBER this.orderItem.contactNumber = this.receiveUnitArr[index].TEL_NUMBER
this.orderItem.receiveAddress = this.receiveUnitArr[index].STREET this.orderItem.receiveAddress = this.receiveUnitArr[index].STREET
this.orderItem.contacPerson = this.receiveUnitArr[index].C_O_NAME this.orderItem.contacPerson = this.receiveUnitArr[index].C_O_NAME
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<text class="middle-title">{{itemHead.inftype}}</text> <text class="middle-title">{{itemHead.inftype}}</text>
<view class="text-block"> <view class="text-block">
<text class="middle-date-des">下单日期</text> <text class="middle-date-des">下单日期</text>
<text class="middle-date">{{itemHead.mak_date}}</text> <text class="middle-date">{{itemHead.datum}}</text>
</view> </view>
</view> </view>
<view class="bottom view"> <view class="bottom view">
......
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