获取产量登记详情的接口联调+2个数组重新排版成表格所需数据
| | |
| | | data |
| | | }) |
| | | } |
| | | // 获取车辆编号 |
| | | // 切换产品登记表 |
| | | export function changeYieldRegister(data) { |
| | | return request({ |
| | | url: "/api-jl/v1/fineness/changeYieldRegister", |
| | | method: "post", |
| | | data |
| | | }) |
| | | } |
| | | // 获取车辆编号 和等级 |
| | | export function getWorkshopManageCar(data) { |
| | | return request({ |
| | | url: "/api-jl/v1/system/getCarAndLevel", |
| | |
| | | method: "get", |
| | | data |
| | | }) |
| | | } |
| | | } |
| | |
| | | // 将此时的位置传出去 |
| | | // binding.value({x:e.pageX,y:e.pageY}) |
| | | } |
| | | |
| | | document.onmouseup = function (e) { |
| | | console.log(e) |
| | | // e |
| | | document.onmouseup = function () { |
| | | document.onmousemove = null |
| | | document.onmouseup = null |
| | | } |
| | |
| | | workshopId: this.proForm.workshopId, |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | console.log(res,'res') |
| | | if(res.data){ |
| | | if(Object.keys(res.data).length>0){ |
| | | this.$emit('changeForm',this.proForm,val,res.data) |
| | | } |
| | | } |
| | | } |
| | | }); |
| | | }else{ |
| | | this.$emit('changeForm',this.proForm,val,{}) |
| | | } |
| | | |
| | | this.$emit('changeForm',this.proForm,val) |
| | | }, |
| | | changeTableInput(){ |
| | | if(this.proForm.pieces&&this.proForm.carNumber&&this.proForm.pieceNumber){ |