zrg
2025-09-05 46cc7a29dc1f9b3dffee5cdcb9b7f9dfdac3b16d
pages/qitaruku_v2/form.vue
@@ -116,6 +116,9 @@
               <view class="righton">
                  <input name="HBillNo" disabled v-model="hform.HBillNo" />
               </view>
                    <view class="icon-wrapper">
                        <uni-icons type="scan" size="20" @click="qrCodeDisplay"></uni-icons>
                    </view>
            </view>
            <view class="form-item">
               <view class="title">单据ID:</view>
@@ -291,7 +294,8 @@
      </view>
      <BillListPopupVue ref="billList" :HBillType="hform.HBillType" :HSourceBillType="hform.HMainSourceBillType"
         :HStockOrgID="hform.HStockOrgID"></BillListPopupVue>
   </view>
        <BarCodePopupVue ref="barcodePopup"></BarCodePopupVue>
    </view>
</template>
<script>
   import getDateTime from '@/utils/getdateTime.js';
@@ -302,7 +306,8 @@
      CommonUtils
   } from '../../utils/common';
   import BillListPopupVue from '../../components/BillListPopup/BillListPopup.vue';
   import { getUserStockRelation } from '../../utils/userRelationManager';
   import BarCodePopupVue from "../../components/BarCodePopup/BarCodePopup.vue";
    import { getUserStockRelation } from '../../utils/userRelationManager';
   export default {
      data() {
         return {
@@ -397,7 +402,7 @@
         }
      },
      components: {
         BillListPopupVue
         BillListPopupVue, BarCodePopupVue
      },
      onLoad(e) {
         console.log(e, this.userInfo)
@@ -430,6 +435,18 @@
         uni.$off('BillSelectComplete')
      },
      methods: {
            async qrCodeDisplay() {
                try {
                    this.$refs.barcodePopup.setCodeInfo(this.hform.HBillNo)
                    await this.$nextTick()
                    this.$refs.barcodePopup.open()
                } catch (err) {
                    uni.showToast({
                        icon: 'none',
                        title: err
                    })
                }
            },
         async getRelationStore() {
            let {
               data,
@@ -1576,7 +1593,7 @@
      .title {
         width: 208rpx;
            flex-shrink: 0;
         text {
            color: red;
            font-weight: bold;
@@ -1627,6 +1644,7 @@
         display: flex;
         justify-content: center;
         align-items: center;
            flex-shrink: 0;
         .uni-icons {
            color: #fff !important;