|
@@ -69,22 +69,12 @@
|
|
|
<view style='flex:1;text-align:right;'>
|
|
|
<text>{{item.reciveNetWeight}}</text>
|
|
|
<text class='type send'>发</text>
|
|
|
- <view class='weightnotes' @click="viewPoundList(0)">查看磅单</view>
|
|
|
- <u-modal v-model="isShowFViewPoundList" title="磅单(发)" show-cancel-button=true>
|
|
|
- <view v-if="item.collectionScreenshot==''||item.collectionScreenshot==null" class="noimg">
|
|
|
- 暂未上传磅单</view>
|
|
|
- <img :src="item.collectionScreenshot" alt="" class="img">
|
|
|
- </u-modal>
|
|
|
+ <view class='weightnotes' @click="viewPoundList(0,item)">查看磅单</view>
|
|
|
</view>
|
|
|
<view style='flex:1;text-align:right;'>
|
|
|
<text>{{item.dispatchNetWeight}}</text>
|
|
|
<text class='type send'>收</text>
|
|
|
- <view class='weightnotes' @click="viewPoundList(1)">查看磅单</view>
|
|
|
- <u-modal v-model="isShowSViewPoundList" title="磅单(收)" show-cancel-button=true>
|
|
|
- <view v-if="item.reciveCollectionScreenshot==''||item.reciveCollectionScreenshot==null"
|
|
|
- class="noimg">暂未上传磅单</view>
|
|
|
- <img :src="item.reciveCollectionScreenshot" alt="" class="img">
|
|
|
- </u-modal>
|
|
|
+ <view class='weightnotes' @click="viewPoundList(1,item)">查看磅单</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -211,11 +201,19 @@
|
|
|
</view>
|
|
|
</u-modal>
|
|
|
</view>
|
|
|
+ <u-modal v-model="isShowFViewPoundList" title="磅单(发)" show-cancel-button=true>
|
|
|
+ <view v-if="dataList.collectionScreenshot==''||dataList.collectionScreenshot==null" class="noimg">
|
|
|
+ 暂未上传磅单</view>
|
|
|
+ <view v-else><img :src="dataList.collectionScreenshot" alt="" class="img"></view>
|
|
|
+ </u-modal>
|
|
|
+ <u-modal v-model="isShowSViewPoundList" title="磅单(收)" show-cancel-button=true>
|
|
|
+ <view v-if="dataList.reciveCollectionScreenshot==''||dataList.reciveCollectionScreenshot==null" class="noimg">
|
|
|
+ 暂未上传磅单</view>
|
|
|
+ <view v-else><img :src="dataList.reciveCollectionScreenshot" alt="" class="img"></view>
|
|
|
+ </u-modal>
|
|
|
<view class='footer'>
|
|
|
<button class="btn" @click="commit()">添加发车信息</button>
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -253,7 +251,9 @@
|
|
|
dispatchNetWeight:"",
|
|
|
freightEdPayable:"",
|
|
|
freightIngPayable:"",
|
|
|
- freightEdPayable:""
|
|
|
+ freightEdPayable:"",
|
|
|
+ collectionScreenshot:"",
|
|
|
+ reciveCollectionScreenshot:""
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -289,10 +289,12 @@
|
|
|
})
|
|
|
},
|
|
|
// 查看磅单
|
|
|
- viewPoundList(type) {
|
|
|
+ viewPoundList(type,val) {
|
|
|
if (type == 0) {
|
|
|
+ this.dataList.collectionScreenshot=val.collectionScreenshot
|
|
|
this.isShowFViewPoundList = true
|
|
|
} else {
|
|
|
+ this.dataList.reciveCollectionScreenshot=val.reciveCollectionScreenshot
|
|
|
this.isShowSViewPoundList = true
|
|
|
}
|
|
|
},
|
|
@@ -967,6 +969,7 @@
|
|
|
}
|
|
|
|
|
|
.img {
|
|
|
- margin-top: 20rpx;
|
|
|
+ width: 300px;
|
|
|
+ height: 300px;
|
|
|
}
|
|
|
</style>
|