数据
This commit is contained in:
@@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user