| | |
| | | style="background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;flex-shrink: 0;" |
| | | size="20" @click="toScanCode"></uni-icons> |
| | | </view> |
| | | <view class="form-item" @click="searchModule"> |
| | | <view class="title">器具</view> |
| | | <view class="righton" style="width: 350rpx;"> |
| | | <input placeholder="请选择器具" /> |
| | | </view> |
| | | <uni-icons type="search" |
| | | style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;" |
| | | size="20" ></uni-icons> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">故障发生日期</view> |
| | | |
| | |
| | | </view> |
| | | </view> |
| | | <BarCodePopupVue ref="barcodePopup"></BarCodePopupVue> |
| | | <BillListPopupMouldVue @BillSelectComplete="MouldBillHandler" ref="billListMould"></BillListPopupMouldVue> |
| | | </view> |
| | | </template> |
| | | <script> |
| | |
| | | import BillListPopupVue from '../../components/BillListPopup/BillListPopup.vue'; |
| | | import BarCodePopupVue from "../../components/BarCodePopup/BarCodePopup.vue"; |
| | | import BillSelectPopupXiaoWeiVue from '../../components/BillSelectPopupXiaoWei/BillSelectPopupXiaoWei.vue'; |
| | | import BillListPopupMouldVue from '../../components/BillListPopup/BillListPopup_Mould.vue'; |
| | | import dayjs from 'dayjs'; |
| | | import { MpaasScan } from '../../utils/mpaasScan'; |
| | | export default { |
| | | components: { |
| | | BillListPopupVue, |
| | | BarCodePopupVue, |
| | | BillSelectPopupXiaoWeiVue |
| | | BillSelectPopupXiaoWeiVue, |
| | | BillListPopupMouldVue, |
| | | }, |
| | | |
| | | data() { |
| | |
| | | "HDate": dayjs(new Date()).format("YYYY-MM-DD hh:mm:ss"), |
| | | "HDeptName": getUserInfo()["HDeptName"], |
| | | "HDeptID": getUserInfo()["HDeptID"], |
| | | "HEmpName": "", |
| | | "HEmpID": "0", |
| | | "HManagerName": "", |
| | | "HManagerID": "0", |
| | | "HEmpName": getUserInfo().HEmpName, |
| | | "HEmpID": getUserInfo().HEmpID, |
| | | "HManagerName": getUserInfo().HSecManager, |
| | | "HManagerID": getUserInfo().HSecManagerID, |
| | | "HBarName": "", |
| | | "HMouldID": "0", |
| | | "HBarSpec": "", |
| | |
| | | this.InitEmp() |
| | | }, |
| | | methods: { |
| | | searchModule() { |
| | | this.$refs['billListMould'].showPopup() |
| | | }, |
| | | MouldBillHandler(mould) { |
| | | if(!mould.enableMultiSourceBill){ |
| | | let val = mould.val[0] |
| | | this.hform.HBarCode = val['条码编号'] |
| | | this.getHBarCodeData(this.hform.HBarCode) |
| | | } |
| | | this.$refs['billListMould'].exit() |
| | | }, |
| | | // 故障类别 |
| | | async InitConkType() { // 初始化故障类别 |
| | | try { |