| | |
| | | <view class="right-icon"> |
| | | <uni-icons class="right-icon" :class="[disableBarCode ? 'disabled':'']" type="scan" |
| | | style="background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;" size="20" |
| | | @click="toScanCode" :disabled="disableBarCode"></uni-icons> |
| | | @click="toScanCode2" :disabled="disableBarCode"></uni-icons> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | |
| | | <view class="bill-info"> |
| | | <view class="form-item"> |
| | | <view class="title">源单类型:</view> |
| | | <view class="right" v-show="showHMainSourceBillType"> |
| | | <view class="right" v-show="showHMainSourceBillType" style='position: relative;'> |
| | | <picker :range="arrayHMainSourceBillType" v-model="HMainSourceBillTypeIndex" |
| | | @change="HMainSourceBillTypeChange"> |
| | | <input name="HMainSourceBillType" disabled :value="HMainSourceBillType" |
| | |
| | | <!-- 弹窗组件 --> |
| | | <BillListPopupVue ref="billList" :HBillType="HBillType" :HSourceBillType="hform.HMainSourceBillType || 3710" |
| | | :HStockOrgID="hform.HStockOrgID"></BillListPopupVue> |
| | | |
| | | </view> |
| | | </template> |
| | | <script> |
| | |
| | | }) |
| | | }, |
| | | |
| | | // 扫描产品码 |
| | | // 扫描产品码s |
| | | toScanCode2() { |
| | | MpaasScan.scanCode((scanCode) => { |
| | | this.HBarCode = scanCode |
| | |
| | | //this.HBarCodePackFocusRefresh() |
| | | uni.$on('BillSelectComplete', (e) => { |
| | | console.log("接收到的源单: ", e.HBillNo) |
| | | this.getSourceBarCodeData(e.HBillNo) |
| | | // 获取源单状态 |
| | | this.getSourceBarCodeControl(e.HBillNo) |
| | | //this.getSourceBarCodeData(e.HBillNo) |
| | | this.$refs.billList.exit() |
| | | }) |
| | | }, |