调整 工作联系单 查询 调用接口
调整 设备状态查询 工艺参数页面入口
生产领料检验 新增 条码自增列 参数 调整修改数量调用接口
| | |
| | | "name" : "智云LMES", |
| | | "appid" : "__UNI__B002F49", |
| | | "description" : "", |
| | | "versionName" : "3.003", |
| | | "versionCode" : 303, |
| | | "versionName" : "3.004", |
| | | "versionCode" : 304, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | | "app-plus" : { |
| | |
| | | this.sWhere += |
| | | ` and 日期 >= CONVERT(VARCHAR(10), '${this.startDate}', 23) and 日期 <= CONVERT(VARCHAR(10), '${this.endDate}', 23)` |
| | | try { |
| | | |
| | | // TODO: 调整为存储过程分页接口 |
| | | let res = await CommonUtils.doRequest2Async({ |
| | | url: 'Sc_MESTransFerWorkBill/GetOA_WorkLinkBillList', |
| | | url: 'Sc_MESTransFerWorkBill/GetOA_WorkLinkBillListProcess', |
| | | data: { |
| | | sWhere: this.sWhere, |
| | | user: getUserInfo()["Czymc"], |
| | | // sWhere: this.sWhere, |
| | | beginDate: this.startDate, |
| | | endDate: this.endDate, |
| | | type: this.tabs + 1, |
| | | user: getUserInfo()["HEmpName"] || getUserInfo()["Czymc"], |
| | | page: this.page, |
| | | size: this.size |
| | | } |
| | |
| | | methods: { |
| | | async ApplyLanguagePack(lang, forceUpdate = false) { |
| | | // // 读取语言包并加载 |
| | | let { |
| | | data, |
| | | getRemoteFile |
| | | } = await getLanguagePackJson(lang) |
| | | if (getRemoteFile) { |
| | | this.$i18n.setLocaleMessage(lang, data) |
| | | } |
| | | // let { |
| | | // data, |
| | | // getRemoteFile |
| | | // } = await getLanguagePackJson(lang) |
| | | // if (getRemoteFile) { |
| | | // this.$i18n.setLocaleMessage(lang, data) |
| | | // } |
| | | this.$i18n.locale = lang |
| | | }, |
| | | onLanguageChangeHandler(e) { |
| | |
| | | <view class="detail" v-if="item['OEE']"> |
| | | <text>OEE:</text>{{item['OEE']}} |
| | | </view> |
| | | <view class="detail"> |
| | | <button class="btn-a" size="mini" @tap.stop="toTechparam(item)">工艺参数</button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | toTechparam(item) { |
| | | uni.navigateTo({ |
| | | url: `/pages/MJGL/Sc_EquipTechParamQuery/Sc_EquipTechParamQuery?HEquipID=${item['设备id']}` |
| | | }) |
| | | }, |
| | | async DepartmentChange(e) { |
| | | let index = e.detail.value |
| | | this.selectedDepartment = this.departmentsTitles[index] |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .btn-a { |
| | | background-color: #3A78FF; |
| | | color: #fff; |
| | | margin: 0; |
| | | padding: 0 8rpx; |
| | | } |
| | | </style> |
| | |
| | | HTMQty_B: '', |
| | | HWHName_B: '', |
| | | HSPName_B: '', |
| | | HInterID_B: 0, // 条码自增列 |
| | | }, |
| | | |
| | | HFIFOList: [], // 先进先出列表缓存 |
| | |
| | | data: { |
| | | HInterID: this.hform.HInterID, |
| | | HBillType: this.hform.HBillType, |
| | | HItemID: this.hform.HInterID_B, // 条码自增列 |
| | | HBarCode: HBarCodeOld, |
| | | HQty: HQtyOld |
| | | } |
| | |
| | | |
| | | if (count == 1) { |
| | | this.DisBillEntryList() |
| | | this.tabs = 2 |
| | | } else { |
| | | CommonUtils.showTips({ |
| | | title: '温馨提示', |
| | |
| | | this.hform.HTMQty_B = '' |
| | | this.hform.HWHName_B = '' |
| | | this.hform.HSPName_B = '' |
| | | this.hform.HInterID_B = 0 |
| | | } else { |
| | | this.hform.HBarCode_B = data.BarCodeDetailslist[0].HBarCode |
| | | this.hform.HMaterName_B = data.BarCodeDetailslist[0].HMaterName |
| | |
| | | this.hform.HTMQty_B = data.BarCodeDetailslist[0].HTMQty |
| | | this.hform.HWHName_B = data.BarCodeDetailslist[0].HWHName |
| | | this.hform.HSPName_B = data.BarCodeDetailslist[0].HSPName |
| | | this.hform.HInterID_B = data.BarCodeDetailslist[0].HItemID |
| | | } |
| | | } else { |
| | | uni.showToast({ |