完成 委外领料校验 采购入库校验 其他入库校验 委外补料校验
| | |
| | | <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" /> |
| | | </view> |
| | | </view> |
| | | <label class="checkbox" style="float: right;"> |
| | | <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对 |
| | | </label> |
| | | </view> |
| | | <view v-if="tabs == 2"> |
| | | <view class="list" v-for="(item,index) in Materlist" :key="index"> |
| | |
| | | |
| | | Materlist: [], |
| | | hform: { |
| | | HBillType: 1206, |
| | | HBillType: 1201, |
| | | HBillerID: uni.getStorageSync('HBillerID'), |
| | | HRedBlueFlag: false, |
| | | |
| | |
| | | HStockOrgName: uni.getStorageSync('Organization'), |
| | | HStockOrgID: uni.getStorageSync('OrganizationID'), |
| | | HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对) |
| | | chkHBarflag: 1, |
| | | chkHBarflag: false, |
| | | HBarflag: 'Y', |
| | | |
| | | HBarCode_B: '', |
| | |
| | | if (sHQty == "") { |
| | | sHQty = 0; |
| | | } |
| | | console.log("单据信息: ", this.hform) |
| | | uni.request({ |
| | | url: this.serverUrl + '/WEBSController/Get_BarCode_Json', |
| | | url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json', |
| | | data: { |
| | | sBarCode: sBarCode, |
| | | HInterID: this.hform.HInterID, |
| | | HBillID: this.hform.HInterID || 0, |
| | | HBillType: this.hform.HBillType, |
| | | HBillNo: this.hform.HBillNo, |
| | | HMaker: this.hform.HMaker, |
| | | HWhID: sHWHID, |
| | | HSPID: sHSPID, |
| | | HQty: sHQty, |
| | | HRedBlueFlag: this.hform.HRedBlueFlag, |
| | | SourceFlag: HSourceFlag, |
| | | HSourceBillNo: sSourceBillNo, |
| | | HSourceBillType: sSourceBillType, |
| | | // HRedBlueFlag: this.hform.HRedBlueFlag, |
| | | // SourceFlag: HSourceFlag, |
| | | // HSourceBillNo: sSourceBillNo, |
| | | // HSourceBillType: sSourceBillType, |
| | | HStockOrgID: this.hform.HStockOrgID, |
| | | HScanStyle: "", |
| | | HCustom1: "", |
| | | HCustom2: "" |
| | | // HScanStyle: "", |
| | | // HCustom1: "", |
| | | // HCustom2: "" |
| | | }, |
| | | success: (res) => { |
| | | console.log('扫码返回', res.data); |
| | |
| | | text-align: center; |
| | | } |
| | | } |
| | | |
| | | .checkbox{ |
| | | color: #888; |
| | | font-size: 28rpx; |
| | | margin-top: 30rpx; |
| | | float: right; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" /> |
| | | </view> |
| | | </view> |
| | | <label class="checkbox" style="float: right;"> |
| | | <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对 |
| | | </label> |
| | | </view> |
| | | <view v-if="tabs == 2"> |
| | | <view class="list" v-for="(item,index) in Materlist" :key="index"> |
| | |
| | | HStockOrgName: uni.getStorageSync('Organization'), |
| | | HStockOrgID: uni.getStorageSync('OrganizationID'), |
| | | HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对) |
| | | chkHBarflag: 1, |
| | | chkHBarflag: false, |
| | | HBarflag: 'Y', |
| | | |
| | | HBarCode_B: '', |
| | |
| | | text-align: center; |
| | | } |
| | | } |
| | | |
| | | .checkbox{ |
| | | color: #888; |
| | | font-size: 28rpx; |
| | | margin-top: 30rpx; |
| | | float: right; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" /> |
| | | </view> |
| | | </view> |
| | | <label class="checkbox" style="float: right;"> |
| | | <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对 |
| | | </label> |
| | | </view> |
| | | <view v-if="tabs == 2"> |
| | | <view class="list" v-for="(item,index) in Materlist" :key="index"> |
| | |
| | | HStockOrgName: uni.getStorageSync('Organization'), |
| | | HStockOrgID: uni.getStorageSync('OrganizationID'), |
| | | HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对) |
| | | chkHBarflag: 1, |
| | | chkHBarflag: false, |
| | | HBarflag: 'Y', |
| | | |
| | | HBarCode_B: '', |
| | |
| | | sHQty = 0; |
| | | } |
| | | uni.request({ |
| | | url: this.serverUrl + '/WEBSController/Get_BarCode_Json', |
| | | url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json', |
| | | data: { |
| | | sBarCode: sBarCode, |
| | | HInterID: this.hform.HInterID, |
| | | HBillID: this.hform.HInterID || 0, |
| | | HBillType: this.hform.HBillType, |
| | | HBillNo: this.hform.HBillNo, |
| | | HMaker: this.hform.HMaker, |
| | | HWhID: sHWHID, |
| | | HSPID: sHSPID, |
| | | HQty: sHQty, |
| | | HRedBlueFlag: this.hform.HRedBlueFlag, |
| | | SourceFlag: HSourceFlag, |
| | | HSourceBillNo: sSourceBillNo, |
| | | HSourceBillType: sSourceBillType, |
| | | // HRedBlueFlag: this.hform.HRedBlueFlag, |
| | | // SourceFlag: HSourceFlag, |
| | | // HSourceBillNo: sSourceBillNo, |
| | | // HSourceBillType: sSourceBillType, |
| | | HStockOrgID: this.hform.HStockOrgID, |
| | | HScanStyle: "", |
| | | HCustom1: "", |
| | | HCustom2: "" |
| | | // HScanStyle: "", |
| | | // HCustom1: "", |
| | | // HCustom2: "" |
| | | }, |
| | | success: (res) => { |
| | | console.log('扫码返回', res.data); |
| | |
| | | success: (res) => { |
| | | if (res.confirm) { |
| | | console.log('用户点击确定'); |
| | | uni.redirectTo({ |
| | | uni.navigateBack({ |
| | | url: '/pages/qitaruku/table' |
| | | }) |
| | | } else if (res.cancel) { |
| | |
| | | text-align: center; |
| | | } |
| | | } |
| | | .checkbox{ |
| | | color: #888; |
| | | font-size: 28rpx; |
| | | margin-top: 30rpx; |
| | | float: right; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | this.changeTab(0) |
| | | console.log(this.userInfo,uni.getStorageSync('HUserName')) |
| | | }, |
| | | onShow() { |
| | | this.CheckModRight() |
| | | this.changeTab(0) |
| | | console.log(this.userInfo,uni.getStorageSync('HUserName')) |
| | | }, |
| | | onReachBottom: function() { |
| | | this.page++ |
| | | setTimeout(() => { |
| | |
| | | <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" /> |
| | | </view> |
| | | </view> |
| | | <label class="checkbox" style="float: right;"> |
| | | <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对 |
| | | </label> |
| | | </view> |
| | | <view v-if="tabs == 2"> |
| | | <view class="list" v-for="(item,index) in Materlist" :key="index"> |
| | |
| | | HStockOrgName: uni.getStorageSync('Organization'), |
| | | HStockOrgID: uni.getStorageSync('OrganizationID'), |
| | | HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对) |
| | | chkHBarflag: 1, |
| | | chkHBarflag: false, |
| | | HBarflag: 'Y', |
| | | |
| | | HBarCode_B: '', |
| | |
| | | text-align: center; |
| | | } |
| | | } |
| | | |
| | | .checkbox{ |
| | | color: #888; |
| | | font-size: 28rpx; |
| | | margin-top: 30rpx; |
| | | float: right; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" /> |
| | | </view> |
| | | </view> |
| | | <label class="checkbox" style="float: right;"> |
| | | <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对 |
| | | </label> |
| | | </view> |
| | | <view v-if="tabs == 2"> |
| | | <view class="list" v-for="(item,index) in Materlist" :key="index"> |
| | |
| | | HStockOrgName: uni.getStorageSync('Organization'), |
| | | HStockOrgID: uni.getStorageSync('OrganizationID'), |
| | | HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对) |
| | | chkHBarflag: 1, |
| | | chkHBarflag: false, |
| | | HBarflag: 'Y', |
| | | |
| | | HBarCode_B: '', |
| | |
| | | sHQty = 0; |
| | | } |
| | | uni.request({ |
| | | url: this.serverUrl + '/WEBSController/Get_BarCode_Json', |
| | | url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json', |
| | | data: { |
| | | sBarCode: sBarCode, |
| | | HInterID: this.hform.HInterID, |
| | | HBillID: this.hform.HInterID || 0, |
| | | HBillType: this.hform.HBillType, |
| | | HBillNo: this.hform.HBillNo, |
| | | HMaker: this.hform.HMaker, |
| | | HWhID: sHWHID, |
| | | HSPID: sHSPID, |
| | | HQty: sHQty, |
| | | HRedBlueFlag: this.hform.HRedBlueFlag, |
| | | SourceFlag: HSourceFlag, |
| | | HSourceBillNo: sSourceBillNo, |
| | | HSourceBillType: sSourceBillType, |
| | | // HRedBlueFlag: this.hform.HRedBlueFlag, |
| | | // SourceFlag: HSourceFlag, |
| | | // HSourceBillNo: sSourceBillNo, |
| | | // HSourceBillType: sSourceBillType, |
| | | HStockOrgID: this.hform.HStockOrgID, |
| | | HScanStyle: "", |
| | | HCustom1: "", |
| | | HCustom2: "" |
| | | // HScanStyle: "", |
| | | // HCustom1: "", |
| | | // HCustom2: "" |
| | | }, |
| | | success: (res) => { |
| | | console.log('扫码返回', res.data); |
| | |
| | | }) |
| | | var sMainStr = JSON.stringify(this.hform); |
| | | uni.request({ |
| | | url: this.serverUrl + 'WEBSController/set_SaveSellOutBill_BillCheck_Json', |
| | | url: this.serverUrl + '/WEBSController/set_SaveEntrustReplenishOutBill_BillCheck_Json', |
| | | method: 'POST', |
| | | dataType: "json", |
| | | data: { |
| | |
| | | if (res.confirm) { |
| | | console.log('用户点击确定'); |
| | | uni.redirectTo({ |
| | | url: '/pages/shengchanlingliao/form?OperationType=1' |
| | | url: '/pages/weiwaibuliaojiaoyan/form?OperationType=1' |
| | | }) |
| | | } else if (res.cancel) { |
| | | console.log('用户点击取消'); |
| | |
| | | success: (res) => { |
| | | if (res.confirm) { |
| | | console.log('用户点击确定'); |
| | | uni.redirectTo({ |
| | | url: '/pages/qitachukujiaoyan/qitachukujiaoyan' |
| | | uni.navigateBack({ |
| | | url: '/pages/weiwaibuliaojiaoyan/table' |
| | | }) |
| | | } else if (res.cancel) { |
| | | console.log('用户点击取消'); |
| | |
| | | text-align: center; |
| | | } |
| | | } |
| | | |
| | | .checkbox{ |
| | | color: #888; |
| | | font-size: 28rpx; |
| | | margin-top: 30rpx; |
| | | float: right; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view> |
| | | |
| | | <view class="list" v-for="(item,index) in showList" :key="index" v-if="tabs==0"> |
| | | <uni-card :title="item.制单日期.substr(0,10)" :extra="item.单据号" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index"> |
| | | <uni-card :title="item.制单日期.substr(0,10)" :extra="item.单据号" style="margin: 10px;" |
| | | @tap="showDetail = showDetail==index?-1:index"> |
| | | <view class="card-detail"> |
| | | <view class="detail" v-if="item.制单人"> |
| | | <text>制单人:</text>{{item.制单人}} |
| | |
| | | </uni-card> |
| | | </view> |
| | | <view class="list" v-for="(item,index) in showList" :key="index" v-if="tabs==1"> |
| | | <uni-card :title="item.日期" :extra="item.单据号" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index"> |
| | | <uni-card :title="item.日期" :extra="item.单据号" style="margin: 10px;" |
| | | @tap="showDetail = showDetail==index?-1:index"> |
| | | <view class="card-detail"> |
| | | <view class="detail" v-if="item.制单人"> |
| | | <text>制单人:</text>{{item.制单人}} |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getUserInfo } from "@/utils/auth.js"; |
| | | import { |
| | | getUserInfo |
| | | } from "@/utils/auth.js"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | } |
| | | }, |
| | | onLoad() { |
| | | // //用户模块权限判断 |
| | | // this.CheckModRight() |
| | | // this.changeTab(0) |
| | | // console.log(this.userInfo, uni.getStorageSync('HUserName')) |
| | | }, |
| | | onShow() { |
| | | //用户模块权限判断 |
| | | this.CheckModRight() |
| | | this.changeTab(0) |
| | |
| | | if (res.confirm) { |
| | | console.log('用户点击确定'); |
| | | uni.request({ |
| | | url: this.serverUrl + '/WEBSController/DeleteTempBillList_BillCheck_Json', |
| | | url: this.serverUrl + |
| | | '/WEBSController/DeleteTempBillList_BillCheck_Json', |
| | | data:{ |
| | | HInterID: item.HInterID, |
| | | HBillNo: item.单据号, |
| | |
| | | if (res.confirm) { |
| | | console.log('用户点击确定'); |
| | | uni.request({ |
| | | url: this.serverUrl + '/WEBSController/set_DeleteICStockBillAndWMS_BillCheck_Json', |
| | | url: this.serverUrl + |
| | | '/WEBSController/set_DeleteICStockBillAndWMS_BillCheck_Json', |
| | | data:{ |
| | | HInterID: item.HInterID, |
| | | HBillNo: item.单据号, |
| | |
| | | margin: 20rpx auto; |
| | | margin-top: 90rpx; |
| | | } |
| | | |
| | | .tabs{ |
| | | width: 100%; |
| | | position: fixed; |
| | |
| | | z-index: 9; |
| | | display: flex; |
| | | background-color: #e5e5e5; |
| | | |
| | | view{ |
| | | width: 50%; |
| | | font-size: 30rpx; |
| | |
| | | text-align: center; |
| | | padding: 16rpx 0; |
| | | } |
| | | |
| | | .on{ |
| | | color: #3a78ff; |
| | | font-weight: bold; |
| | | border-bottom: 3px solid #3a78ff; |
| | | } |
| | | } |
| | | |
| | | .buttons{ |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | margin-top: 20rpx; |
| | | |
| | | button{ |
| | | border-radius: 50rpx; |
| | | width: 180rpx; |
| | |
| | | line-height: 66rpx; |
| | | font-size: 28rpx; |
| | | } |
| | | |
| | | .btn-a{ |
| | | background-color: #acacac; |
| | | color: #fff; |
| | | } |
| | | |
| | | .btn-b{ |
| | | background-color: #41a863; |
| | | color: #fff; |
| | | } |
| | | |
| | | .btn-c{ |
| | | background-color: #3a78ff; |
| | | color: #fff; |
| | | } |
| | | } |
| | | |
| | | .form-item{ |
| | | display: flex; |
| | | align-items: center; |
| | | font-size: 28rpx; |
| | | padding: 6rpx 0; |
| | | |
| | | .title{ |
| | | width: 180rpx; |
| | | |
| | | text{ |
| | | color: red; |
| | | font-weight: bold; |
| | | } |
| | | } |
| | | |
| | | .right{ |
| | | width: 450rpx; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #acacac; |
| | | } |
| | | |
| | | .righton{ |
| | | width: 450rpx; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #e4e4e4; |
| | | background-color: #e4e4e4; |
| | | } |
| | | |
| | | input{ |
| | | width: 100%; |
| | | padding: 8rpx 20rpx; |
| | | font-size: 30rpx; |
| | | } |
| | | } |
| | | |
| | | .list{ |
| | | width: 100%; |
| | | |
| | | .card-detail{ |
| | | width: 100%; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | line-height: 120%; |
| | | |
| | | .detail{ |
| | | // width: 50%; |
| | | font-size: 26rpx; |
| | | margin-bottom: 12rpx; |
| | | color: #555; |
| | | margin-right: 20rpx; |
| | | |
| | | text{ |
| | | color: #999; |
| | | font-size: 26rpx; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .more{ |
| | | color: #888; |
| | | font-size: 26rpx; |
| | | display: flex; |
| | | border-top: 1px solid #eee; |
| | | padding-top: 20rpx; |
| | | |
| | | .part{ |
| | | width: 50%; |
| | | display: flex;align-items: center;justify-content: center; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | } |
| | | |
| | | </style> |
| | |
| | | <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" /> |
| | | </view> |
| | | </view> |
| | | |
| | | <label class="checkbox" style="float: right;"> |
| | | <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对 |
| | | </label> |
| | | </view> |
| | | <view v-if="tabs == 2"> |
| | | <view class="list" v-for="(item,index) in Materlist" :key="index"> |
| | |
| | | HStockOrgName: uni.getStorageSync('Organization'), |
| | | HStockOrgID: uni.getStorageSync('OrganizationID'), |
| | | HSourceBarCodeCtl: "N", //是否进行源单对应条码核对('Y'为核对) |
| | | chkHBarflag: 1, |
| | | chkHBarflag: false, |
| | | HBarflag: 'Y', |
| | | |
| | | HBarCode_B: '', |
| | |
| | | text-align: center; |
| | | } |
| | | } |
| | | |
| | | .checkbox{ |
| | | color: #888; |
| | | font-size: 28rpx; |
| | | margin-top: 30rpx; |
| | | float: right; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" /> |
| | | </view> |
| | | </view> |
| | | <label class="checkbox" style="float: right !important;"> |
| | | <checkbox :checked="hform.chkHBarflag" style="transform:scale(0.8)" disabled color="#4f81fc"/>条码核对 |
| | | </label> |
| | | </view> |
| | | <view v-if="tabs == 2"> |
| | | <view class="list" v-for="(item,index) in Materlist" :key="index"> |
| | |
| | | HBillType: 1205, |
| | | HBillerID: uni.getStorageSync('HBillerID'), |
| | | HRedBlueFlag: false, |
| | | chkHBarflag:false, |
| | | |
| | | HBarCode: '', |
| | | HQty: '', |
| | |
| | | text-align: center; |
| | | } |
| | | } |
| | | |
| | | .checkbox{ |
| | | color: #888; |
| | | font-size: 28rpx; |
| | | margin-top: 30rpx; |
| | | } |
| | | } |
| | | </style> |