change
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{$t('grid.number')}}</th>
|
<th>{{$t('grid.number')}}</th>
|
||||||
|
<th>{{$t('grid.status')}}</th>
|
||||||
<th class="th_2">{{$t('grid.mother-roll-number')}}</th>
|
<th class="th_2">{{$t('grid.mother-roll-number')}}</th>
|
||||||
<th>{{$t('grid.sub-roll-number')}}</th>
|
<th>{{$t('grid.sub-roll-number')}}</th>
|
||||||
<th>{{$t('grid.jtcode')}}</th>
|
<th>{{$t('grid.jtcode')}}</th>
|
||||||
@@ -58,6 +59,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.container_name === pkId}">
|
<tr v-for="(e, i) in dataList" :key="i" @click="toCheck(e)" :class="{'checked': e.container_name === pkId}">
|
||||||
<td>{{Number(i) + 1}}</td>
|
<td>{{Number(i) + 1}}</td>
|
||||||
|
<td>{{e.status}}</td>
|
||||||
<td class="td_2">{{e.source_container_name}}</td>
|
<td class="td_2">{{e.source_container_name}}</td>
|
||||||
<td>{{e.container_name}}</td>
|
<td>{{e.container_name}}</td>
|
||||||
<td>{{e.point_code}}</td>
|
<td>{{e.point_code}}</td>
|
||||||
@@ -131,7 +133,8 @@
|
|||||||
import NavBar from '@/components/NavBar.vue'
|
import NavBar from '@/components/NavBar.vue'
|
||||||
import SearchBox from '@/components/SearchBox.vue'
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
import UpTop from '@/components/upTop.vue'
|
import UpTop from '@/components/upTop.vue'
|
||||||
import {queryProductArea, feedingQueryMaterialInfo, feedingConfirm, feedingQueryPoint, feedingHandleConfirm, feedingVehicleReturn, feedinghandleConfirm} from '@/utils/getData2.js'
|
import {queryProductArea, feedingQueryMaterialInfo, feedingConfirm, feedingQueryPoint, feedingVehicleReturn} from '@/utils/getData2.js'
|
||||||
|
import {feedinghandleConfirm} from '@/utils/getData4.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -221,6 +224,7 @@
|
|||||||
},
|
},
|
||||||
/** 人工呼叫-改直接调用 */
|
/** 人工呼叫-改直接调用 */
|
||||||
async manCall () {
|
async manCall () {
|
||||||
|
console.log(this.disabled, this.pkId, 666)
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
if (!this.pkId) {
|
if (!this.pkId) {
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
@@ -230,6 +234,8 @@
|
|||||||
let res = await feedinghandleConfirm(this.pkObj)
|
let res = await feedinghandleConfirm(this.pkObj)
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
|
this.pkObj = {}
|
||||||
|
this.clearUp()
|
||||||
this.searchList()
|
this.searchList()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
@@ -250,6 +256,8 @@
|
|||||||
let res = await feedingConfirm(this.pkObj)
|
let res = await feedingConfirm(this.pkObj)
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
|
this.pkObj = {}
|
||||||
|
this.clearUp()
|
||||||
this.searchList()
|
this.searchList()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
@@ -316,6 +324,7 @@
|
|||||||
this.val4 = ''
|
this.val4 = ''
|
||||||
this.val5 = ''
|
this.val5 = ''
|
||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
|
this.clearUp()
|
||||||
this.searchList()
|
this.searchList()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
@@ -342,6 +351,7 @@
|
|||||||
this.active = false
|
this.active = false
|
||||||
this.val1 = ''
|
this.val1 = ''
|
||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
|
this.clearUp()
|
||||||
this.searchList()
|
this.searchList()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
@@ -351,6 +361,11 @@
|
|||||||
this.disabled2 = false
|
this.disabled2 = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
clearUp () {
|
||||||
|
this.index = ''
|
||||||
|
this.val1 = ''
|
||||||
|
this.val2 = ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
Reference in New Issue
Block a user