@ -219,7 +219,7 @@
label="订单号"
/>
<el-table-column
prop="material_code"
prop="material_id"
label="零件号"
@ -253,7 +253,7 @@
@current-change="handleCurrentChange1"
>
prop="vehicle_path"
label="图纸查看"
</el-table>
@ -380,10 +380,8 @@ export default {
this.show = true
})
} else if (type === 'PALLET') {
crudProduceScreen.getPointVehicle({ device_code: this.popData.device_code }).then(res => {
crudProduceScreen.selectMaterialAndJpg(this.popData.device_code).then(res => {
crudProduceScreen.fabMaterial({ vehicle_code: res }).then(res => {
this.popList = [...res.materialList]
this.popList = [...res]
}
@ -467,7 +465,7 @@ export default {
},
handleCurrentChange1(val) {
if (val) {
this.imgSrc = val.vehicle_path
this.imgSrc = val.material_path
@ -112,6 +112,26 @@ export function loginOut() {
// 13. 当前托盘
export function selectMaterialAndJpg() {
const res = {
vehiclePath: null,
materialList: [
{
material_path: null,
material_id: 'A7E0019014060_01'
material_id: 'A7E0019011140_00'
]
return new Promise((resolve, reject) => {
resolve(res)
export default {
authLogin, getUserOrDevice, deviceInLogin, regionOrder, fabMaterial, callMater, callEmp, fabOrders, sendMater, sendVehicle, getPointVehicle, loginOut
authLogin, getUserOrDevice, deviceInLogin, regionOrder, fabMaterial, callMater, callEmp, fabOrders, sendMater, sendVehicle, getPointVehicle, loginOut, selectMaterialAndJpg
@ -107,6 +107,14 @@ export function loginOut(data) {
export function selectMaterialAndJpg(code) {
return request({
url: 'api/handheld/selectMaterialAndJpg?pointCode=',
method: 'get'