数据
This commit is contained in:
@@ -193,7 +193,7 @@
|
||||
label="数量"
|
||||
>
|
||||
<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>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -286,6 +286,9 @@ export default {
|
||||
} else if (type === 'BACK') {
|
||||
crudProduceScreen.fabOrders({ device_code: this.popData.device_code }).then(res => {
|
||||
this.popList = [...res]
|
||||
this.popList.map(el => {
|
||||
this.$set(el, 'material_qty', 0)
|
||||
})
|
||||
this.show = true
|
||||
})
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ export function callEmp(data) {
|
||||
// 8.查询订单号
|
||||
export function fabOrders() {
|
||||
const res = [
|
||||
{ order_code: '111-02', material_qty: '' }
|
||||
{ order_code: '111-02' }
|
||||
]
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve(res)
|
||||
|
||||
Reference in New Issue
Block a user