接口
This commit is contained in:
@@ -81,7 +81,7 @@
|
|||||||
<td>{{e.material_spec}}</td>
|
<td>{{e.material_spec}}</td>
|
||||||
<td>{{e.material_model}}</td>
|
<td>{{e.material_model}}</td>
|
||||||
<td>{{e.quality_time_day}}</td>
|
<td>{{e.quality_time_day}}</td>
|
||||||
<td>{{['待检', '合格', '不合格'][Number(e.quality_type) - 1]}}</td>
|
<td>{{['', '待检', '合格', '不合格'][Number(e.quality_type)]}}</td>
|
||||||
<td>{{e.bake_num}}</td>
|
<td>{{e.bake_num}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -99,8 +99,8 @@
|
|||||||
<script>
|
<script>
|
||||||
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 {queryGroupInfo} from '@/utils/mork2.js'
|
// import {queryGroupInfo} from '@/utils/mork2.js'
|
||||||
import {deliveryBox} from '@/utils/getData2.js'
|
import {queryGroupInfo, deliveryBox} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
|
|||||||
@@ -48,8 +48,8 @@
|
|||||||
<script>
|
<script>
|
||||||
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 {queryVehicleType} from '@/utils/mork2.js'
|
// import {queryVehicleType} from '@/utils/mork2.js'
|
||||||
import {createTask} from '@/utils/getData2.js'
|
import {queryVehicleType, createTask} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
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 {getDate} from '@/utils/utils.js'
|
import {getDate} from '@/utils/utils.js'
|
||||||
import {queryBomInfo} from '@/utils/mork2.js'
|
import {queryBomInfo} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
<script>
|
<script>
|
||||||
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 {queryMaterial} from '@/utils/mork2.js'
|
import {queryMaterial} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
|
|||||||
@@ -73,13 +73,19 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="(e, i) in dataList" :key="i">
|
<tr v-for="(e, i) in dataList" :key="i">
|
||||||
<td>{{i+1}}</td>
|
<td>{{i+1}}</td>
|
||||||
<td>{{e.source_form_type}}</td>
|
<td>{{e.vehicle_code}}</td>
|
||||||
<td>{{e.source_form_date}}</td>
|
|
||||||
<td>{{e.material_code}}</td>
|
<td>{{e.material_code}}</td>
|
||||||
<td>{{e.material_spec}}</td>
|
<td>{{e.material_name}}</td>
|
||||||
<td>{{e.pcsn}}</td>
|
<td>{{e.pcsn}}</td>
|
||||||
<td>{{e.assign_qty}}</td>
|
|
||||||
<td>{{e.qty}}</td>
|
<td>{{e.qty}}</td>
|
||||||
|
<td>{{e.produce_time}}</td>
|
||||||
|
<td>{{e.supp_code}}</td>
|
||||||
|
<td>{{e.supp_name}}</td>
|
||||||
|
<td>{{['', '待检', '合格', '不合格'][Number(e.quality_type)]}}</td>
|
||||||
|
<td>{{e.bake_num}}</td>
|
||||||
|
<td>{{e.sect_code}}</td>
|
||||||
|
<td>{{e.device_code}}</td>
|
||||||
|
<td>{{e.bom_code}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -97,8 +103,8 @@
|
|||||||
<script>
|
<script>
|
||||||
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 {queryPointInfo} from '@/utils/mork2.js'
|
// import {queryPointInfo} from '@/utils/mork2.js'
|
||||||
import {confirmGet, confirmPut} from '@/utils/getData2.js'
|
import {queryPointInfo, confirmGet, confirmPut} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
|
|||||||
@@ -61,8 +61,8 @@
|
|||||||
<script>
|
<script>
|
||||||
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 {updatePointqueryPointInfo} from '@/utils/mork2.js'
|
// import {updatePointqueryPointInfo} from '@/utils/mork2.js'
|
||||||
import {bindVehicle, clearVehicle, clearMaterial} from '@/utils/getData2.js'
|
import {updatePointqueryPointInfo, bindVehicle, clearVehicle, clearMaterial} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<script>
|
<script>
|
||||||
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 {querySupp} from '@/utils/mork2.js'
|
import {querySupp} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
|
|||||||
@@ -113,8 +113,8 @@
|
|||||||
import SearchBox from '@/components/SearchBox.vue'
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
import {getDate} from '@/utils/utils.js'
|
import {getDate} from '@/utils/utils.js'
|
||||||
const currentDate = getDate({format: true})
|
const currentDate = getDate({format: true})
|
||||||
import {queryGroupQuality, queryBoxType} from '@/utils/mork2.js'
|
// import {queryGroupQuality, queryBoxType} from '@/utils/mork2.js'
|
||||||
import {confirmBox} from '@/utils/getData2.js'
|
import {queryGroupQuality, queryBoxType, confirmBox} from '@/utils/getData2.js'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
NavBar,
|
NavBar,
|
||||||
@@ -226,7 +226,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
labelPrint () {
|
labelPrint () {
|
||||||
this.disabled = true
|
this.disabled1 = true
|
||||||
let data = Object.assign({}, this.materialData, this.suppData, {pcsn: this.pcsn, produce_time: this.date, bake_num: this.num})
|
let data = Object.assign({}, this.materialData, this.suppData, {pcsn: this.pcsn, produce_time: this.date, bake_num: this.num})
|
||||||
this.toPrint(data)
|
this.toPrint(data)
|
||||||
},
|
},
|
||||||
@@ -240,7 +240,7 @@
|
|||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 5000
|
duration: 5000
|
||||||
})
|
})
|
||||||
this.disabled = false
|
this.disabled1 = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
LODOP.SET_SHOW_MODE('HIDE_DISBUTTIN_SETUP', 1)// 隐藏那些无效按钮
|
LODOP.SET_SHOW_MODE('HIDE_DISBUTTIN_SETUP', 1)// 隐藏那些无效按钮
|
||||||
@@ -272,6 +272,7 @@
|
|||||||
title: '打印成功',
|
title: '打印成功',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
|
this.disabled1 = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user