| | |
| | | <input v-model="hform.HEquipName" disabled /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">模具:</view> |
| | | <view class="righton"> |
| | | <input v-model="hform.HMouldName" disabled /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | <!-- 其他信息 --> |
| | |
| | | <view class="over" v-if="HCheckFileList.length == 0">暂无数据</view> |
| | | </view> |
| | | </template> |
| | | <view style="height: 120rpx;"></view> |
| | | <!-- 操作按钮 --> |
| | | <view class="buttons" id="buttons"> |
| | | <button class="btn-a" size="mini" @tap="submit">提交</button> |
| | |
| | | </view> |
| | | <xe-upload ref="XeUpload" :options="uploadOptions" @callback="handleUploadCallback"></xe-upload> |
| | | <BillSelectorPopupVue @update="billSelectHandler" ref="billSelector" :Type="'DJ'"></BillSelectorPopupVue> |
| | | |
| | | <!-- 用于输入标准值 上限值 下限值的弹出层 --> |
| | | <uni-popup ref="inputPopup" :mask-click="false" > |
| | | <view class="inputPopup"> |
| | | <view class="form-item"> |
| | | <view class="title">标准值:</view> |
| | | <view class="right"> |
| | | <input type="number" v-model="selectTechParamItem.item.HStd" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">上限值:</view> |
| | | <view class="right"> |
| | | <input type="number" v-model="selectTechParamItem.item.HMax" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">下限值:</view> |
| | | <view class="right"> |
| | | <input type="number" v-model="selectTechParamItem.item.HMin" /> |
| | | </view> |
| | | </view> |
| | | <view style="display: flex; flex-direction: row;"> |
| | | <button size="mini" plain="true" type="primary" @click="inputPopupClose(1)">确认</button> |
| | | <button size="mini" plain="true" type="warn" @click="inputPopupClose(0)">取消</button> |
| | | </view> |
| | | </view> |
| | | </uni-popup> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | HBillType: '3919', |
| | | operationType: 1, |
| | | uploadOptions: {}, |
| | | |
| | | selectTechParamItem: { |
| | | index: -1, |
| | | item: { |
| | | HStd: 0, |
| | | HMax: 0, |
| | | HMin: 0 |
| | | } |
| | | }, |
| | | |
| | | HTechParams: [], // 工艺参数 |
| | | |
| | |
| | | "HUpDater": "", |
| | | "HDeleteMan": "", |
| | | "HUpDateDate": "", |
| | | "HDeleteDate": "" |
| | | "HDeleteDate": "", |
| | | "HMouldName": "", |
| | | "HMouldID": 0, |
| | | } |
| | | }; |
| | | }, |
| | |
| | | }, |
| | | methods: { |
| | | modifyCheckValue(index, item) { |
| | | console.log('item: ',item, 'index: ', index); |
| | | console.log('item: ', item, 'index: ', index); |
| | | this.selectTechParamItem = { |
| | | index, |
| | | item: JSON.parse(JSON.stringify(item)) |
| | | } |
| | | |
| | | this.$refs.inputPopup.open() |
| | | }, |
| | | billSelectHandler(billData) { |
| | | console.log('billData: ', billData); |
| | |
| | | this.hform.HBarCode = cb |
| | | this.GetMessageByBarCode(cb) |
| | | }) |
| | | }, |
| | | inputPopupClose(type) { |
| | | if(type == 1) { |
| | | // 确认 |
| | | let index = this.selectTechParamItem.index |
| | | let item = this.selectTechParamItem.item |
| | | |
| | | this.HTechParams[index] = item |
| | | } |
| | | this.selectTechParamItem = { |
| | | index: -1, |
| | | item: { |
| | | HStd: 0, |
| | | HMax: 0, |
| | | HMin: 0 |
| | | } |
| | | }, |
| | | this.$refs.inputPopup.close() |
| | | }, |
| | | async GetMessageByBarCode(HBarCode) { |
| | | try { |
| | |
| | | data: { |
| | | hinterid: HInterID, |
| | | HEntryID, |
| | | HEntryID, |
| | | user: getUserInfo()["Czymc"] |
| | | } |
| | | }) |
| | |
| | | "HMainSourceEntryID": data[0].HEntryID, |
| | | "HMainSourceBillNo": data[0].单据号, |
| | | "HMainSourceBillType": data[0].单据类型, |
| | | |
| | | "HMouldName": data[0].模具名称, |
| | | "HMouldID": data[0].HMouldID |
| | | }) |
| | | |
| | | this.HTechParams = data.map(item => { |
| | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | @import "@/pages/MJGL/style/MJBillStyle.scss" |
| | | @import "@/pages/MJGL/style/MJBillStyle.scss"; |
| | | |
| | | .inputPopup { |
| | | background-color: #fff; |
| | | padding: 20rpx; |
| | | } |
| | | </style> |