Merge branch 'master' of http://14.103.246.124:16000/bonus/bonus-material-app
This commit is contained in:
commit
ed7350ae84
|
|
@ -93,9 +93,11 @@
|
|||
<uni-col :span="6">
|
||||
<button class="item-btn" type="primary" @click="handleRfid">RFID识别</button>
|
||||
</uni-col>
|
||||
<uni-col :span="6">
|
||||
<button class="item-btn" type="primary" @click="ocrClick">OCR识别</button>
|
||||
</uni-col>
|
||||
<!--
|
||||
<uni-col :span="6">
|
||||
<button class="item-btn" type="primary" @click="ocrClick">OCR识别</button>
|
||||
</uni-col>
|
||||
-->
|
||||
</uni-row>
|
||||
</view>
|
||||
<ScanQrCode
|
||||
|
|
|
|||
|
|
@ -156,10 +156,11 @@ const getOutboundDetailsData = async () => {
|
|||
mask: true
|
||||
})
|
||||
let res;
|
||||
if (leaseApplyInfo.value.publishTask === null || leaseApplyInfo.value.publishTask == "") {
|
||||
if (leaseApplyInfo.value.publishTask === null || leaseApplyInfo.value.publishTask == "" || leaseApplyInfo.value.publishTask == 'null') {
|
||||
console.log("Condition: publishTask is null or empty string");
|
||||
// 如果 publishTask 为空,则只传递两个参数
|
||||
console.log("yyyyyyyyyyyyyyyyyyyy");
|
||||
leaseApplyInfo.value.publishTask = ''
|
||||
const { data } = await getOutboundDetailsAPI(
|
||||
leaseApplyInfo.value.parentId,
|
||||
keyWord.value,
|
||||
|
|
|
|||
Loading…
Reference in New Issue