Browse Source

数据

master
蔡玲 2 months ago
parent
commit
802ab3671f
  1. 5
      lms/nladmin-ui/src/views/wms/produceScreen/index.vue
  2. 2
      lms/nladmin-ui/src/views/wms/produceScreen/mork.js

5
lms/nladmin-ui/src/views/wms/produceScreen/index.vue

@ -193,7 +193,7 @@
label="数量" label="数量"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<input v-model="scope.row.material_qty" type="text" class="set-input"> <input v-model="scope.row.material_qty" type="number" class="set-input">
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -286,6 +286,9 @@ export default {
} else if (type === 'BACK') { } else if (type === 'BACK') {
crudProduceScreen.fabOrders({ device_code: this.popData.device_code }).then(res => { crudProduceScreen.fabOrders({ device_code: this.popData.device_code }).then(res => {
this.popList = [...res] this.popList = [...res]
this.popList.map(el => {
this.$set(el, 'material_qty', 0)
})
this.show = true this.show = true
}) })
} }

2
lms/nladmin-ui/src/views/wms/produceScreen/mork.js

@ -70,7 +70,7 @@ export function callEmp(data) {
// 8.查询订单号 // 8.查询订单号
export function fabOrders() { export function fabOrders() {
const res = [ const res = [
{ order_code: '111-02', material_qty: '' } { order_code: '111-02' }
] ]
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
resolve(res) resolve(res)

Loading…
Cancel
Save