feat:样品标签打印
This commit is contained in:
@@ -37,19 +37,19 @@
|
||||
<scroll-view style="height: 43vh" scroll-y scroll-with-animation>
|
||||
<uni-card v-for="item in sampleList">
|
||||
<view
|
||||
>样品名称:<text>{{ item.sampleName }}</text></view
|
||||
>样品名称:<text class="black">{{ item.sampleName }}</text></view
|
||||
>
|
||||
<view class="mt4"
|
||||
>归库编码:<text>{{ item.sampleReturnCode }}</text></view
|
||||
>归库编码:<text class="black">{{ item.sampleReturnCode }}</text></view
|
||||
>
|
||||
<view class="mt4"
|
||||
>归库时间:<text>{{ nx.$dayjs(item.returnTime).format('YYYY-MM-DD HH:mm:ss') }}</text></view
|
||||
>归库时间:<text class="black">{{ nx.$dayjs(item.returnTime).format('YYYY-MM-DD HH:mm:ss') }}</text></view
|
||||
>
|
||||
<view class="mt4"
|
||||
>样品库名称:<text>{{ item.warehouseName }}</text></view
|
||||
>样品库名称:<text class="black">{{ item.warehouseName }}</text></view
|
||||
>
|
||||
<view class="mt4"
|
||||
>(原)库位码:<text>{{ item.warehouseLocationCode }}</text></view
|
||||
>(原)库位码:<text class="black">{{ item.warehouseLocationCode }}</text></view
|
||||
>
|
||||
</uni-card>
|
||||
</scroll-view>
|
||||
@@ -120,6 +120,7 @@ async function handleSubmit() {
|
||||
if (changeType.value === 'sample') {
|
||||
params.sampleReturnCode = changeCode.value
|
||||
} else {
|
||||
if (changeCode.value === targetLocation.value) return uni.showToast({ title: '库位码相同', icon: 'none' })
|
||||
params.warehouseLocationCode = changeCode.value
|
||||
}
|
||||
btnLoading.value = true
|
||||
|
||||
Reference in New Issue
Block a user