Browse Source

修改复制按钮样式

hella_vue3
niexiting 9 months ago
parent
commit
f6b5639e6d
  1. 6
      src/mycomponents/package/packageCard.vue
  2. 2
      src/mycomponents/package/packageList.vue

6
src/mycomponents/package/packageCard.vue

@ -13,7 +13,7 @@
<to-location v-if="isShowToLocation" title="目标库位" :locationCode="dataContent.toLocationCode">
</to-location>
</view>
<view style="word-break: break-all;">
<view class="uni-flex uni-row" style="word-break: break-all;">
<!-- ||dataContent.handleQty==0 可能会有扫描到0的情况-->
<recommend-qty v-if="dataContent.handleQty==null || dataContent.handleQty==undefined" :dataContent="dataContent"
:isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty>
@ -21,10 +21,8 @@
:handleQty="Number(dataContent.handleQty)" :isShowStdPack="false">
</compare-qty>
<view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()">
<text style="font-size: 30rpx;color: #2979ff; " @click="copy">复制采购</text>
<text style="font-size: 30rpx;color: #2979ff;" @click="copyPro">|制品</text>
<text style="font-size: 25rpx;color: #2979ff; width: 10px; " @click="copy">复制</text>
</view>
</view>
</view>

2
src/mycomponents/package/packageList.vue

@ -6,7 +6,7 @@
<package-card :dataContent="item" :isShowLocation="false"
:isShowFromLocation="false"></package-card>
</template>
<view v-for="(pack,index) in item.packList" :key="pack.id" style="margin-left: 20px; width: 90%;">
<view v-for="(pack,index) in item.packList" :key="pack.id" style="margin:0px 0px 0px 10px; width: 90%;">
<package-card :dataContent="pack" :isShowLocation="false" :isShowFromLocation="false"
:isShowToLocation="false" :isShowBatch="false"></package-card>
</view>

Loading…
Cancel
Save