diff --git a/locale/en.json b/locale/en.json
index 1c10458..e83db27 100644
--- a/locale/en.json
+++ b/locale/en.json
@@ -180,6 +180,7 @@
"grid.work-order-number": "Work order number",
"grid.mother-roll-number": "Master roll number",
"grid.sub-roll-number": "Sub - roll Number",
+ "grid.sub-num": "Number of sub - rolls",
"grid.start-time": "Start time",
"grid.end-time": "End time",
"grid.machine-code": "Machine coding",
diff --git a/locale/id.json b/locale/id.json
index 95bf1c3..8327edd 100644
--- a/locale/id.json
+++ b/locale/id.json
@@ -180,6 +180,7 @@
"grid.work-order-number": "Nomor pesanan kerja",
"grid.mother-roll-number": "Nomor gulungan induk",
"grid.sub-roll-number": "Nomor gulungan anak",
+ "grid.sub-num": "Jumlah gulungan anak",
"grid.start-time": "Waktu mulai",
"grid.end-time": "Waktu berakhir",
"grid.machine-code": "Pengkodean mesin",
diff --git a/locale/zh-Hans.json b/locale/zh-Hans.json
index aaa8fc3..e5cdbc8 100644
--- a/locale/zh-Hans.json
+++ b/locale/zh-Hans.json
@@ -180,6 +180,7 @@
"grid.work-order-number": "工单号",
"grid.mother-roll-number": "母卷号",
"grid.sub-roll-number": "子卷号",
+ "grid.sub-num": "子卷数",
"grid.start-time": "开始时间",
"grid.end-time": "结束时间",
"grid.machine-code": "机台编码",
diff --git a/pages/SecondPhase/production/ZjInStore.vue b/pages/SecondPhase/production/ZjInStore.vue
index 23ed577..d71cb6e 100644
--- a/pages/SecondPhase/production/ZjInStore.vue
+++ b/pages/SecondPhase/production/ZjInStore.vue
@@ -28,10 +28,9 @@
| {{$t('filter.box-no')}} |
- {{$t('grid.sub-roll-capacity')}} |
- {{$t('grid.product-description')}} |
- {{$t('grid.sap-batch')}} |
- {{$t('grid.product-spec')}} |
+ {{$t('grid.material-code')}} |
+ {{$t('grid.material-name')}} |
+ {{$t('grid.sub-num')}} |
{{$t('grid.wooden-box-weight')}} |
{{$t('grid.wooden-box-length')}} |
{{$t('grid.wooden-box-width')}} |
@@ -39,12 +38,11 @@
-
+
| {{e.package_box_sn}} |
- {{e.quanlity_in_box}} |
- {{e.product_description}} |
- {{e.sap_pcsn}} |
- {{e.width}} |
+ {{e.material_code}} |
+ {{e.material_name}} |
+ {{e.num}} |
{{e.box_weight}} |
{{e.box_length}} |
{{e.box_width}} |
@@ -57,7 +55,8 @@
-
+
+
@@ -81,6 +80,8 @@
top: 0,
val1: '',
arr1: [],
+ pkId: '',
+ pkObj: {},
dataList: [],
disabled: false,
isV: '0'
@@ -93,6 +94,10 @@
this.title = options.title
},
methods: {
+ toCheck (e) {
+ this.pkId = this.pkId === e.package_box_sn ? '' : e.package_box_sn
+ this.pkObj = this.pkId === e.package_box_sn ? e : {}
+ },
isVirtual () {
this.isV = this.isV === '0' ? '1' : '0'
},
@@ -114,12 +119,14 @@
clearUp () {
this.val1 = ''
this.arr1 = []
+ this.pkId = ''
+ this.pkObj = {}
this.dataList = []
this.disabled = false
this.isV = '0'
},
async handleConfirm() {
- if (!this.arr1.length) {
+ if (!this.arr1.length || !this.pkId) {
return
}
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
@@ -130,7 +137,7 @@
async _zjInBoundConfirm () {
this.disabled = true
try {
- let res = await zjInBoundConfirm(this.arr1.join(','), this.isV)
+ let res = await zjInBoundConfirm(this.arr1.join(','), this.isV, this.pkId)
uni.showToast({
title: res.message,
icon: 'none'
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 9bb8155..fc68202 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -69,8 +69,8 @@
},
methods: {
async _authority () {
- let res = await authority()
- // let res = await allAuthority()
+ // let res = await authority()
+ let res = await allAuthority()
if (res.code === '1') {
this.menuList = [...res.result.rf_menu1.sonTree]
} else {
diff --git a/utils/getData3.js b/utils/getData3.js
index a2509d7..0612b53 100644
--- a/utils/getData3.js
+++ b/utils/getData3.js
@@ -366,9 +366,9 @@ export const zjInBound = (code) => request({
url:'api/pdmBiSubpackagerelation/zjInBound',
data: {container_name: code}
})
-export const zjInBoundConfirm = (code, inb) => request({
+export const zjInBoundConfirm = (code, inb, bno) => request({
url:'api/pdmBiSubpackagerelation/zjInBoundConfirm',
- data: {search: code, inbound: inb}
+ data: {search: code, inbound: inb, box_no: bno}
})
/**
* 分切呼叫送轴(分切管理)