清洗下料
This commit is contained in:
@@ -334,7 +334,7 @@ export const washWashTasks = (area) => post('api/pda/wash/washTasks', {
|
|||||||
// export const washWashTasks = (area) => {
|
// export const washWashTasks = (area) => {
|
||||||
// let res = {
|
// let res = {
|
||||||
// code: 200,
|
// code: 200,
|
||||||
// content: [{task_id: '1', sep_on: '1'}, {task_id: '2', sep_on: '2'}]
|
// content: [{task_id: '1', sep_on: '1'}, {task_id: '2', sep_on: '2', net_weight: '1.3444'}]
|
||||||
// }
|
// }
|
||||||
// return res
|
// return res
|
||||||
// }
|
// }
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
<th>物料编号</th>
|
<th>物料编号</th>
|
||||||
<th>物料规格</th>
|
<th>物料规格</th>
|
||||||
<th>上料重量(kg)</th>
|
<th>上料重量(kg)</th>
|
||||||
<td>物料单重(g)</td>
|
<th>物料单重(g)</th>
|
||||||
<th>物料名称</th>
|
<th>物料名称</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -121,9 +121,6 @@ export default {
|
|||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
this.pkObj = {}
|
this.pkObj = {}
|
||||||
res.content.map(el => {
|
|
||||||
this.$set(el, 'net_weight', '')
|
|
||||||
})
|
|
||||||
this.dataList = [...res.content]
|
this.dataList = [...res.content]
|
||||||
if (this.dataList.length > 0) {
|
if (this.dataList.length > 0) {
|
||||||
this.sep_on = this.dataList[0].sep_on
|
this.sep_on = this.dataList[0].sep_on
|
||||||
|
|||||||
Reference in New Issue
Block a user