| | |
| | | <view class="origin-info_wrapper"> |
| | | <view class="origin-info_content"> |
| | | <!-- 折叠 --> |
| | | <zh-collapse |
| | | :default_unfold='[1]' |
| | | accordion> |
| | | <zh-collapse-item |
| | | :id='1' |
| | | class="collItem"> |
| | | <!-- title --> |
| | | <view slot="title"> |
| | | <view class="first-line"><combined-title title="原发信息"></combined-title></view> |
| | | </view> |
| | | <view class="" slot='cont'> |
| | | <u-form :model="originInfoForm" |
| | | :rules="rules" |
| | |
| | | |
| | | <u-form-item prop='contactPicture'> |
| | | <view class="label-text"> |
| | | <text style="color: #f56c6c;">*</text>原发磅单 |
| | | <text style="color: #f56c6c;">*</text>原发单据 |
| | | </view> |
| | | <u-upload :fileList="fileList1" |
| | | <u-upload |
| | | :fileList="fileList1" |
| | | @afterRead="afterRead" |
| | | @delete="deletePic" |
| | | name="1" |
| | | multiple |
| | | :maxCount="2" |
| | | :maxCount="fileList1.length ? fileList1.length : 2" |
| | | width="250" |
| | | height="150" |
| | | :previewFullImage="true" |
| | |
| | | :deletable="!deletable"></u-upload> |
| | | </u-form-item> |
| | | </u-form> |
| | | <view class="submit-button"> |
| | | <u-button text="提交" |
| | | type="primary" |
| | | @click.stop="submitOriginInfo" |
| | | :disabled="isModifyoriginInfo" |
| | | :loading="submitOriginInfoLoading"></u-button> |
| | | </view> |
| | | </view> |
| | | </zh-collapse-item> |
| | | </zh-collapse> |
| | | |
| | | |
| | | </view> |
| | |
| | | <!-- <view class="completeOutSale"> |
| | | <u-modal :show="completeOutSaleShow" |
| | | title="确认" |
| | | content="是否完成外销提煤单" |
| | | content="是否完成外销收发单" |
| | | :showCancelButton="true" |
| | | @confirm="completeOutSaleConfirm" |
| | | @cancel="completeOutSaleCancel"></u-modal> |
| | |
| | | combinedTitle, |
| | | }, |
| | | onPullDownRefresh() { |
| | | this.getTakeCoal(); //获取提煤单详情 |
| | | this.getTakeCoal(); //获取收发单详情 |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | onLoad(value) { |
| | |
| | | // this.getWeightHouseObj.overTmWaixiao = value.overTmWaixiao |
| | | // } |
| | | if (this.globalIsFirstWeighing === 1) { |
| | | this.getTakeCoal(); //获取提煤单详情 |
| | | this.getTakeCoal(); //获取收发单详情 |
| | | } |
| | | this.init(); //获取日志 |
| | | }, |
| | | onShow() { |
| | | this.coalDayPage(); //获取日志 定时任务 |
| | | if (this.globalIsFirstWeighing === 2) { |
| | | this.getTakeCoal(); //获取提煤单详情 |
| | | this.getTakeCoal(); //获取收发单详情 |
| | | } |
| | | }, |
| | | onReady() { |
| | |
| | | wareList:[], |
| | | coalDetailsData: { |
| | | tmTaskCoalList:[] |
| | | }, // 提煤单详情 |
| | | currentPageCoalStatus: 0, // 当前页面提煤单状态 |
| | | }, // 收发单详情 |
| | | currentPageCoalStatus: 0, // 当前页面收发单状态 |
| | | // 获取所在磅房参数 |
| | | getWeightHouseObj: { |
| | | deptId: '', |
| | |
| | | openName: '', |
| | | serviecePhone: '' |
| | | }, |
| | | coalStatus: ['领取', '预约', '签到', '入场', '称皮', '称毛', '离场', '入磅房', '出磅房', '入煤仓', '出煤仓', '放空', '作废', '入场申请', |
| | | coalStatus: ['领取', '预约', '签到', '入场', '称皮', '称毛', '离场', '入磅房', '出磅房', '入仓库', '出仓库', '放空', '作废', '入场申请', |
| | | '进入场院', '异常审核中', '返回加减吨', '超时', '打印中', '打印中', '填写', '放空确认中', '超最大毛重确认中' |
| | | ], // 状态 |
| | | weighHouseCode: '', |
| | |
| | | } |
| | | }) |
| | | }, |
| | | // 获取提煤单详情 |
| | | // 获取收发单详情 |
| | | getTakeCoal() { |
| | | uni.showLoading({ |
| | | title: '加载中' |
| | |
| | | this.$reqGet('getTakeCoal', { takeCoalId: this.orderPlanId }).then(res => { |
| | | if (res.code == 0) { |
| | | uni.hideLoading(); |
| | | console.log(res, '提煤单详情'); |
| | | console.log(res, '收发单详情'); |
| | | this.coalDetailsData = res.data; |
| | | this.orderType = this.coalDetailsData.orderType; |
| | | // |
| | |
| | | // 获取客服openId参数赋值 |
| | | this.getServiceOpenid.deptId = this.coalDetailsData.deptId; |
| | | this.getServiceOpenid.filedId = this.coalDetailsData.filedId; |
| | | // 获取提煤单状态 |
| | | // 获取收发单状态 |
| | | this.currentPageCoalStatus = this.coalDetailsData.status; |
| | | // 获取原发信息 |
| | | this.primarySkin = this.coalDetailsData.skinTwo; |
| | |
| | | } |
| | | }); |
| | | }, |
| | | // 展示提煤单详情 |
| | | // 展示收发单详情 |
| | | showCaolPickUpBill() { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill?orderPlanId=${this.orderPlanId}` |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .sub-table{ |
| | | width: 95%; |
| | | min-height: 300rpx; |
| | | margin: vww(30) vww(15) vww(13) !important; |
| | | background: #ffffff; |
| | | box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12); |
| | | border-radius: 20rpx; |
| | | @include flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | overflow: hidden; |
| | | position: relative; |
| | | top: vww(130); |
| | | align-items: flex-start; |
| | | /deep/ .uni-table{ |
| | | min-width: 0!important; |
| | | } |
| | | |
| | | } |
| | | .codeBox{ |
| | | height: 100rpx; |
| | | display: flex; |
| | |
| | | } |
| | | |
| | | .block-information { |
| | | width: 690rpx; |
| | | width: 95%; |
| | | height: 396rpx; |
| | | margin: vww(40) auto; |
| | | background: #ffffff; |
| | |
| | | } |
| | | |
| | | .time { |
| | | width: 35%; |
| | | width: 55%; |
| | | height: vww(12); |
| | | display: flex; |
| | | justify-content: flex-start; |
| | | |
| | | .send-date { |
| | | width: 148rpx; |
| | | width: 200rpx; |
| | | height: 24rpx; |
| | | margin-left: vww(14); |
| | | font-size: 28rpx; |
| | |
| | | } |
| | | } |
| | | .sub-table{ |
| | | width: 690rpx; |
| | | width: 95%; |
| | | min-height: 300rpx; |
| | | margin: vww(20) vww(15) vww(13); |
| | | margin: vww(30) vww(15) vww(13) !important; |
| | | background: #ffffff; |
| | | box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12); |
| | | border-radius: 20rpx; |