| | |
| | | </view> |
| | | <view class="card-item-wrapper"> |
| | | <view v-for="(item, index) in materialManifest" :key="index"> |
| | | <uni-card :title="item.HSourceBillNo" @tap="toDetail(item, index)"> |
| | | <uni-card :title="item.HSourceBillNo" :extra="item.F_WPVT_Text_tzk ? '订单号:' + item.F_WPVT_Text_tzk : ''" |
| | | @tap="toDetail(item, index)"> |
| | | <view class="card-detail"> |
| | | <view class="detail"> |
| | | <text>物料代码:</text>{{item.HMaterNumber}} |
| | |
| | | detailManifestItem: { |
| | | "HMaterNumber": "", |
| | | "HMaterID": "", |
| | | "F_WPVT_Text_tzk": "", |
| | | "HMaterName": "", |
| | | "HMaterModel": "", |
| | | "HUnitName": "", |
| | |
| | | HSPID: data[0].HSPID, |
| | | HSupID: data[0].HSupID, |
| | | HMaterID: data[0].HMaterID, |
| | | F_WPVT_Text_tzk: data[0].F_WPVT_Text_tzk, |
| | | HSourceBillType: data[0].HSourceBillType, |
| | | HSLInterID: data[0].HSLInterID, |
| | | HSLEntryID: data[0].HSLEntryID, |
| | |
| | | "HSupID": this.detailManifestItem.HSupID || 0, |
| | | "HKeeperID": this.detailManifestItem.HKeeperID || 0, |
| | | "HMaterID": this.detailManifestItem.HMaterID, |
| | | "F_WPVT_Text_tzk": this.detailManifestItem.F_WPVT_Text_tzk, |
| | | "HSourceBillType": this.detailManifestItem.HSourceBillType, |
| | | "HSLInterID": this.detailManifestItem.HSLInterID, |
| | | "HSLEntryID": this.detailManifestItem.HSLEntryID, |
| | |
| | | } = res.data |
| | | if (count == 1) { |
| | | CommonUtils.showTips({ |
| | | message: `上传成功` |
| | | message: '上传成功' |
| | | }) |
| | | this.attachmentInfo = [] |
| | | // 刷新单据号,防止单据号重复 |
| | |
| | | } else { |
| | | CommonUtils.showTips({ |
| | | title: '温馨提示', |
| | | message: `上传失败: ${Message}` |
| | | message: '上传失败: ${Message}' |
| | | }) |
| | | } |
| | | |