Browse Source

打印:制造件标签

hella_online_20240829
wangyufei 5 months ago
parent
commit
030b04b451
  1. 1
      src/pages/package/job/overPackageJobDetail.vue
  2. 1
      src/pages/package/record/overPackageRecord.vue
  3. 60
      src/pages/point/index.vue

1
src/pages/package/job/overPackageJobDetail.vue

@ -345,6 +345,7 @@
supplierCode: item.supplierCode, //
qty: item.qty, //
printTimes:getCurrDateTime(), //
productionLineCode:item.productionLineCode,//线
barcodeString: item.barcodeString, //
barcodeBase64: '',
})

1
src/pages/package/record/overPackageRecord.vue

@ -368,6 +368,7 @@
supplierCode: item.supplierCode, //
qty: item.qty, //
printTimes:getCurrDateTime(), //
productionLineCode:item.productionLineCode,//线
barcodeString: item.barcodeString, //
barcodeBase64: '',
})

60
src/pages/point/index.vue

@ -19,11 +19,15 @@
<view class="label">包装号</view>
<view class="value">{{item.packageCode}}</view>
</view>
<view class="left-item">
<view class="left-item" v-if="item.productionLineCode&&item.productionLineCode.length>0">
<view class="label">生产线</view>
<view class="value">{{item.productionLineCode}}</view>
</view>
<view class="left-item" v-if="!(item.productionLineCode&&item.productionLineCode.length>0)">
<view class="label">父包装号</view>
<view class="value">{{item.parentNumber}}</view>
</view>
<view class="left-item">
<view class="left-item" v-if="!(item.productionLineCode&&item.productionLineCode.length>0)">
<view class="label">ASN</view>
<view class="value">{{item.asnNumber}}</view>
</view>
@ -45,7 +49,7 @@
<view class="label">物料类型</view>
<view class="value">{{item.itemType}}</view>
</view>
<view class="left-item">
<view class="left-item" v-if="!(item.productionLineCode&&item.productionLineCode.length>0)">
<view class="label">供应商</view>
<view class="value">{{item.supplierCode}}</view>
</view>
@ -132,15 +136,27 @@
<div class="left-item">
<div class="label">包装号</div>
<div class="value">${item.packageCode}</div>
</div>
<div class="left-item">
<div class="label">父包装号</div>
<div class="value">${item.parentNumber}</div>
</div>
<div class="left-item">
<div class="label">ASN</div>
<div class="value">${item.asnNumber}</div>
</div>
</div>`
if(item.productionLineCode&&item.productionLineCode.length>0){
str += `
<div class="left-item">
<div class="label">生产线</div>
<div class="value">${item.productionLineCode}</div>
</div>
`
}else{
str += `
<div class="left-item">
<div class="label">父包装号</div>
<div class="value">${item.parentNumber}</div>
</div>
<div class="left-item">
<div class="label">ASN</div>
<div class="value">${item.asnNumber}</div>
</div>
`
}
str += `
<div class="left-item">
<div class="label">数量</div>
<div class="value bold-font">${item.qty}</div>
@ -157,11 +173,17 @@
<div class="left-item">
<div class="label">物料类型</div>
<div class="value">${item.itemType}</div>
</div>
<div class="left-item">
<div class="label">供应商</div>
<div class="value">${item.supplierCode}</div>
</div>
</div>`
if(!(item.productionLineCode&&item.productionLineCode.length>0)){
str += `
<div class="left-item">
<div class="label">供应商</div>
<div class="value">${item.supplierCode}</div>
</div>
`
}
str += `
<div class="left-item">
<div class="label">打印时间</div>
<div class="value">${item.printTimes}</div>
@ -184,6 +206,7 @@
},
async onShow() {
//
// 线 线
// this.data = [{
// itemCode:'065.051-01M', //
// itemName: 'PCCLARNATEA1225BLACK9999', //
@ -197,7 +220,8 @@
// qty: '100', //
// printTimes:'2019-09-09 09:09:00', //
// barcodeString: 'HMQ;V1.0;Dwork1-line1;F;R2024-04-03T08:28:41;B20240403;PPN0403-000005;I399.960-12;Q5.000000;UEA;',
// barcodeBase64: ''
// barcodeBase64: '',
// productionLineCode:''//线
// }]
this.$nextTick(async () => {
//

Loading…
Cancel
Save