@ -331,7 +331,7 @@ export default {
this.options2 = [...res.content]
})
} else if (type === 2 && name in this.pointState) {
crudProduceScreen.regionOrder(this.pointState[name]).then(res => {
crudProduceScreen.regionOrder(this.pkObj.value, this.pointState[name]).then(res => {
this.n1List = [...res.content]
this.vechineList = []
this.show = true
@ -49,9 +49,9 @@ export function regionPoints(code) {
// }
// 根据工序查询订单
export function regionOrder(code) {
export function regionOrder(code, code1) {
return request({
url: 'api/fab/regionOrder?regionCode=' + code,
url: 'api/fab/regionOrder?regionCode=' + code + '&deviceCode=' + code1,
method: 'get'
}