Commit b2227c8a authored by hubaoshan's avatar hubaoshan

1

parent 2c8b7272
...@@ -27,11 +27,10 @@ export function getIncomeWmsBox(businessId) { ...@@ -27,11 +27,10 @@ export function getIncomeWmsBox(businessId) {
method: 'get' method: 'get'
}) })
} }
export function getIncomeWmsBoxId(data) { export function getIncomeWmsBoxPn(pn) {
return request({ return request({
url: '/incomewmsbox/detailId/', url: '/incomewmslabel/findByPn/' + pn,
method: 'get', method: 'get'
data: data
}) })
} }
......
...@@ -239,7 +239,7 @@ import { ...@@ -239,7 +239,7 @@ import {
delIncomeWmsBox, delIncomeWmsBox,
addIncomeWmsBox, addIncomeWmsBox,
updateIncomeWmsBox, updateIncomeWmsBox,
exportIncomeWmsBox, getIncomeWmsBoxId, updateIncomeWmsBoxId exportIncomeWmsBox, getIncomeWmsBoxId, updateIncomeWmsBoxId, getIncomeWmsBoxPn
} from '@/api/incomeWmsBox' } from '@/api/incomeWmsBox'
import commonField from '@/utils/commonField' import commonField from '@/utils/commonField'
import manufacturer from '@/data/cjlist' import manufacturer from '@/data/cjlist'
...@@ -295,6 +295,10 @@ export default { ...@@ -295,6 +295,10 @@ export default {
{ {
dictLabel: 'jl', dictLabel: 'jl',
dictValue: '20' dictValue: '20'
},
{
dictLabel: 'che',
dictValue: '30'
} }
], ],
// 查询参数 // 查询参数
...@@ -481,7 +485,7 @@ export default { ...@@ -481,7 +485,7 @@ export default {
this.reset() this.reset()
this.id = row.businessId this.id = row.businessId
this.pn = row.pn this.pn = row.pn
getIncomeWmsBoxId(this.pn).then(response => { getIncomeWmsBoxPn(this.pn).then(response => {
this.typeList = [] this.typeList = []
this.typelistTemp = response.data this.typelistTemp = response.data
this.typelistTemp.forEach(item => { this.typelistTemp.forEach(item => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment