This commit is contained in:
蔡玲
2024-09-11 16:45:02 +08:00
parent 3555a1addf
commit 802ab3671f
2 changed files with 5 additions and 2 deletions

View File

@@ -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
})
}

View File

@@ -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)