zrg
2025-12-25 7067d800d0d5899b67206050ce80acba9329ef7e
pages/qijvguzhangdengji/mouldMistakeBill.vue
@@ -17,6 +17,15 @@
                       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>
@@ -161,6 +170,7 @@
            </view>
        </view>
        <BarCodePopupVue ref="barcodePopup"></BarCodePopupVue>
      <BillListPopupMouldVue @BillSelectComplete="MouldBillHandler" ref="billListMould"></BillListPopupMouldVue>
    </view>
</template>
<script>
@@ -177,13 +187,15 @@
    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() {
@@ -244,10 +256,10 @@
                    "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": "",
@@ -291,6 +303,17 @@
            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 {