Commit b2227c8a authored by hubaoshan's avatar hubaoshan

1

parent 2c8b7272
......@@ -27,11 +27,10 @@ export function getIncomeWmsBox(businessId) {
method: 'get'
})
}
export function getIncomeWmsBoxId(data) {
export function getIncomeWmsBoxPn(pn) {
return request({
url: '/incomewmsbox/detailId/',
method: 'get',
data: data
url: '/incomewmslabel/findByPn/' + pn,
method: 'get'
})
}
......
......@@ -239,7 +239,7 @@ import {
delIncomeWmsBox,
addIncomeWmsBox,
updateIncomeWmsBox,
exportIncomeWmsBox, getIncomeWmsBoxId, updateIncomeWmsBoxId
exportIncomeWmsBox, getIncomeWmsBoxId, updateIncomeWmsBoxId, getIncomeWmsBoxPn
} from '@/api/incomeWmsBox'
import commonField from '@/utils/commonField'
import manufacturer from '@/data/cjlist'
......@@ -295,6 +295,10 @@ export default {
{
dictLabel: 'jl',
dictValue: '20'
},
{
dictLabel: 'che',
dictValue: '30'
}
],
// 查询参数
......@@ -481,7 +485,7 @@ export default {
this.reset()
this.id = row.businessId
this.pn = row.pn
getIncomeWmsBoxId(this.pn).then(response => {
getIncomeWmsBoxPn(this.pn).then(response => {
this.typeList = []
this.typelistTemp = response.data
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