调整收料通知单打印模板 调整收料通知单 条码生成页面 数量为可修改
| | |
| | | "name" : "智云LMES", |
| | | "appid" : "__UNI__B002F49", |
| | | "description" : "", |
| | | "versionName" : "1.0.67", |
| | | "versionCode" : 167, |
| | | "versionName" : "1.0.70", |
| | | "versionCode" : 170, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | | "app-plus" : { |
| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/tiaomaguanli/table", |
| | | "style": { |
| | | "navigationBarTitleText": "条码管理" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/tiaomaguanli/table_son", |
| | | "style": { |
| | | "navigationBarTitleText": "条码生成" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/quyangdan/table", |
| | | "style": { |
| | | "navigationBarTitleText": "取样单", |
| | |
| | | <view class="form-item"> |
| | | <view class="title">条形码:</view> |
| | | <view class="right"> |
| | | <input type="text" name="HBarCode" id="HBarCode" v-model="HBarCode" |
| | | @confirm="getCode(HBarCode)" /> |
| | | <input type="text" name="HBarCode" id="HBarCode" v-model="HBarCode" @confirm="getCode(HBarCode)" /> |
| | | </view> |
| | | <view class="right-icon" @click="toScanCode"> |
| | | <uni-icons color="#fff" type="scan" size="24"></uni-icons> |
| | |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | |
| | | <view class="form-item"> |
| | | <view class="title">还样员:</view> |
| | | <view class="right"> |
| | |
| | | v-model="hform.HShiftsName" @input="HShiftsNameChangeHandler"></uni-combox> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | <view class="form-item"> |
| | | <view class="title">单据日期:</view> |
| | | <view class="right disabled"> |
| | |
| | | this.GetDepartmentList() |
| | | }, |
| | | methods: { |
| | | HDeptNameChangeHandler(){ |
| | | HDeptNameChangeHandler() { |
| | | let index = this.HDeptNameArray.findIndex(item => item == e) |
| | | |
| | | |
| | | if (index != -1) { |
| | | this.hform.HDeptID = this.HDeptNameArraySource[index]["HItemID"] |
| | | this.hform.HDeptName = this.HDeptNameArraySource[index]["HName"] |
| | |
| | | this.hform.HSourceID = this.HSourceNameArraySource[index]["HItemID"] |
| | | this.hform.HSourceName = this.HSourceNameArraySource[index]["生产资源"] |
| | | } |
| | | |
| | | console.log('this.hform: ',this.hform); |
| | | |
| | | console.log('this.hform: ', this.hform); |
| | | }, |
| | | // 获取生产资源 |
| | | getSourceList() { |
| | |
| | | HProcExchQty: data[0]['流转卡数量'], |
| | | HCenterID: data[0]['HCenterID'] || getUserInfo()['HWorkCenterID'], |
| | | }) |
| | | |
| | | |
| | | } |
| | | } |
| | | }) |
| | |
| | | title: '条形码不能为空' |
| | | }) |
| | | } |
| | | let sWhere = " and 单据号='" + HBarCode + "'"; |
| | | CommonUtils.doRequest2({ |
| | | url: '/api/newBill/getHbarCodeDetail', |
| | | url: '/QC_TakeSampleCheckBill/Get_BackSampleList', |
| | | data: { |
| | | "sBillBarCode": HBarCode |
| | | "sWhere": sWhere |
| | | }, |
| | | resFunction: (res) => { |
| | | let { |
| | |
| | | "HDeptID": data1[0].HWorkShopID, //车间ID |
| | | "HDeptName": data1[0].生产车间, //车间 |
| | | }) |
| | | |
| | | |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: msg |
| | |
| | | title: '生产资源未选择' |
| | | }) |
| | | } |
| | | |
| | | console.log('this.hform: ',this.hform); |
| | | |
| | | console.log('this.hform: ', this.hform); |
| | | let sMainStr = JSON.stringify(this.hform) |
| | | console.log('sMainStr: ',sMainStr); |
| | | console.log('sMainStr: ', sMainStr); |
| | | let sMainSub = sMainStr + ';' + this.refSav + ';' + getUserInfo()['Czymc']; |
| | | CommonUtils.doRequest2({ |
| | | method: 'POST', |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | .scroll-content { |
| | | box-sizing: border-box; |
| | | padding: 20rpx; |
| | |
| | | <view class="form-item"> |
| | | <view class="title">条形码:</view> |
| | | <view class="right"> |
| | | <input type="text" name="HBarCode" id="HBarCode" v-model="HBarCode" |
| | | @confirm="getCode(HBarCode)" /> |
| | | <input type="text" name="HBarCode" id="HBarCode" v-model="HBarCode" @confirm="getCode(HBarCode)" /> |
| | | </view> |
| | | <view class="right-icon" @click="toScanCode"> |
| | | <uni-icons color="#fff" type="scan" size="24"></uni-icons> |
| | |
| | | this.GetDepartmentList() |
| | | }, |
| | | methods: { |
| | | HDeptNameChangeHandler(){ |
| | | HDeptNameChangeHandler() { |
| | | let index = this.HDeptNameArray.findIndex(item => item == e) |
| | | |
| | | |
| | | if (index != -1) { |
| | | this.hform.HDeptID = this.HDeptNameArraySource[index]["HItemID"] |
| | | this.hform.HDeptName = this.HDeptNameArraySource[index]["HName"] |
| | |
| | | this.hform.HSourceID = this.HSourceNameArraySource[index]["HItemID"] |
| | | this.hform.HSourceName = this.HSourceNameArraySource[index]["生产资源"] |
| | | } |
| | | |
| | | console.log('this.hform: ',this.hform); |
| | | |
| | | console.log('this.hform: ', this.hform); |
| | | }, |
| | | // 获取生产资源 |
| | | getSourceList() { |
| | |
| | | HProcExchQty: data[0]['流转卡数量'], |
| | | HCenterID: data[0]['HCenterID'] || getUserInfo()['HWorkCenterID'], |
| | | }) |
| | | |
| | | |
| | | } |
| | | } |
| | | }) |
| | |
| | | title: '条形码不能为空' |
| | | }) |
| | | } |
| | | let sWhere = " and 单据号='" + HBarCode + "'"; |
| | | CommonUtils.doRequest2({ |
| | | url: '/QC_TakeSampleCheckBill/Get_BackSampleList', |
| | | url: '/api/newBill/getHbarCodeDetail', |
| | | data: { |
| | | "sWhere": sWhere |
| | | "sBillBarCode": HBarCode |
| | | }, |
| | | resFunction: (res) => { |
| | | let { |
| | |
| | | "HDeptID": data1[0].HWorkShopID, //车间ID |
| | | "HDeptName": data1[0].生产车间, //车间 |
| | | }) |
| | | |
| | | |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: msg |
| | |
| | | title: '生产资源未选择' |
| | | }) |
| | | } |
| | | |
| | | console.log('this.hform: ',this.hform); |
| | | |
| | | console.log('this.hform: ', this.hform); |
| | | let sMainStr = JSON.stringify(this.hform) |
| | | console.log('sMainStr: ',sMainStr); |
| | | console.log('sMainStr: ', sMainStr); |
| | | let sMainSub = sMainStr + ';' + this.refSav + ';' + getUserInfo()['Czymc']; |
| | | CommonUtils.doRequest2({ |
| | | method: 'POST', |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | .scroll-content { |
| | | box-sizing: border-box; |
| | | padding: 20rpx; |
| | |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">收料数量:</view> |
| | | <view class="righton"> |
| | | <input v-model="baseInfo.HQty" disabled /> |
| | | <view class="right"> |
| | | <input v-model="baseInfo.HQty" @blur="baseInfo.HMinQty = baseInfo.HQty" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | |
| | | var UserName = uni.getStorageSync('HUserName'); |
| | | let sMainSub = sMainStr + ';' + HOrgType + ';' + HSourceBillType + ';' + HSelectBarCodeType + ';' + |
| | | CampanyName + ';' + UserName + ';' + HBarCodeNoStr + ';' + this.baseInfo.HFactory + ';' + this.baseInfo.HCoilNO + ';' + this.baseInfo.HFurnaceNO + ''; |
| | | uni.request({ |
| | | uni.request({ |
| | | url: this.serverUrl + '/Sc_BarCode/SaveBarCode_NoGenerate', |
| | | method: 'POST', |
| | | data: { |
| | |
| | | ENDQR |
| | | T 24 0 0 30 供应商: ${this.baseInfo.HSupNameShort} |
| | | T 55 0 0 55 (Supplier) |
| | | T 24 0 200 30 客户编号: ${this.baseInfo.HFactory || ''} |
| | | T 55 0 200 55 (Consumer No.) |
| | | T 24 0 220 30 客户编号: ${this.baseInfo.HFactory || ''} |
| | | T 55 0 220 55 (Consumer No.) |
| | | T 24 0 0 75 物料编码: ${this.baseInfo.HMaterNumber} |
| | | T 55 0 0 100 (Material Number) |
| | | T 24 0 0 120 物料名称: ${this.baseInfo.HMaterName} |