|
@ -35,6 +35,10 @@ |
|
|
<view class="label bold-label">数量</view> |
|
|
<view class="label bold-label">数量</view> |
|
|
<view class="value bold-font font-20">{{item.qty}}</view> |
|
|
<view class="value bold-font font-20">{{item.qty}}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="left-item" v-if="item.fromLocationCode"> |
|
|
|
|
|
<view class="label ">来源库位</view> |
|
|
|
|
|
<view class="value ">{{item.fromLocationCode}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view class="right"> |
|
|
<view class="right"> |
|
@ -58,6 +62,10 @@ |
|
|
<view class="label">打印时间</view> |
|
|
<view class="label">打印时间</view> |
|
|
<view class="value">{{item.printTimes}}</view> |
|
|
<view class="value">{{item.printTimes}}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="left-item" v-if="item.fromLocationCode"> |
|
|
|
|
|
<view class="label bold-label"></view> |
|
|
|
|
|
<view class="value bold-font font-20"></view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="" style="position: fixed;width: 100%;bottom: 0rpx;left: 0px;" v-show="isLoadFinish"> |
|
|
<view class="" style="position: fixed;width: 100%;bottom: 0rpx;left: 0px;" v-show="isLoadFinish"> |
|
@ -159,8 +167,16 @@ |
|
|
<div class="left-item"> |
|
|
<div class="left-item"> |
|
|
<div class="label">数量</div> |
|
|
<div class="label">数量</div> |
|
|
<div class="value bold-font font-30">${item.qty}</div> |
|
|
<div class="value bold-font font-30">${item.qty}</div> |
|
|
|
|
|
</div>` |
|
|
|
|
|
if (item.fromLocationCode && item.fromLocationCode.length > 0) { |
|
|
|
|
|
str += ` |
|
|
|
|
|
<div class="left-item"> |
|
|
|
|
|
<div class="label">来源库位</div> |
|
|
|
|
|
<div class="value font-20">${item.fromLocationCode}</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div>` |
|
|
|
|
|
} |
|
|
|
|
|
str += ` |
|
|
<div class="right"> |
|
|
<div class="right"> |
|
|
<div class="image"> |
|
|
<div class="image"> |
|
|
<img id='image1' src="${item.barcodeBase64}" alt="" /> |
|
|
<img id='image1' src="${item.barcodeBase64}" alt="" /> |
|
@ -187,9 +203,20 @@ |
|
|
<div class="label">打印时间</div> |
|
|
<div class="label">打印时间</div> |
|
|
<div class="value font-20">${item.printTimes}</div> |
|
|
<div class="value font-20">${item.printTimes}</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
` |
|
|
|
|
|
if (item.fromLocationCode && item.fromLocationCode.length > 0) { |
|
|
|
|
|
str += ` |
|
|
|
|
|
<div class="left-item"> |
|
|
|
|
|
<div class="label"></div> |
|
|
|
|
|
<div class="value"></div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div>` |
|
|
</div>` |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
console.log('str',str) |
|
|
this.newHtmlContent = this.newHtmlContent.replace( |
|
|
this.newHtmlContent = this.newHtmlContent.replace( |
|
|
"mainBody", str); //替换物品代码 |
|
|
"mainBody", str); //替换物品代码 |
|
|
}); |
|
|
}); |
|
@ -255,6 +282,7 @@ |
|
|
// "qty": 90, |
|
|
// "qty": 90, |
|
|
// "printTimes": "2024-09-06+09:29:37", |
|
|
// "printTimes": "2024-09-06+09:29:37", |
|
|
// "productionLineCode": null, |
|
|
// "productionLineCode": null, |
|
|
|
|
|
// "fromLocationCode": "C01-190-10", |
|
|
// "barcodeString": "HPQ;V1.0;B20240719;AASNS20240731-0002;Q90.000000;I250.832-02;L;PPN20240906-0000000001;S49000599;O49000599;L12;E;UPC;", |
|
|
// "barcodeString": "HPQ;V1.0;B20240719;AASNS20240731-0002;Q90.000000;I250.832-02;L;PPN20240906-0000000001;S49000599;O49000599;L12;E;UPC;", |
|
|
// "barcodeBase64": "" |
|
|
// "barcodeBase64": "" |
|
|
// } |
|
|
// } |
|
|