材料站领料
This commit is contained in:
parent
5c71891cfe
commit
2429a4355d
|
|
@ -143,20 +143,20 @@
|
|||
<el-table-column align="center" label="预领数量" prop="preNum" />
|
||||
<el-table-column label="出库数量" prop="outNum" align="center">
|
||||
<template v-slot="scope">
|
||||
<el-input
|
||||
<el-input-number
|
||||
v-if="scope.row.manageType == '1'"
|
||||
v-model.number="scope.row.outNum"
|
||||
controls-position="right"
|
||||
type="number"
|
||||
style="width: 100%"
|
||||
:min="1"
|
||||
@input="
|
||||
:min="0"
|
||||
:precision="3"
|
||||
@change="
|
||||
v =>
|
||||
scope.row.unitValue == 1
|
||||
? (scope.row.outNum = Number(v.replace(/[^\d.]/g, '')))
|
||||
: (scope.row.outNum = Number(v.replace(/[^\d]/g, '')))
|
||||
? (scope.row.outNum = Number(String(v).replace(/[^\d.]/g, '')))
|
||||
: (scope.row.outNum = Number(String(v).replace(/[^\d]/g, '')))
|
||||
"
|
||||
></el-input>
|
||||
></el-input-number>
|
||||
<el-button v-else size="mini" type="text" @click="handleOutCode(scope.row)">
|
||||
{{ scope.row.maCodeList ? scope.row.maCodeList.length : 0 }}
|
||||
</el-button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue