【生产订单】点击新增物料时,输入规格型号搜索

dev
qiuhongwu 5 months ago
parent 656114307a
commit 26c953ed97

@ -9,7 +9,7 @@
<el-input v-model="queryReqVo.name" placeholder="物料名称/编码" class="!w-240px" v-bind:disabled="!chkboxEnable" @keyup.enter="handleQuery"/>
</el-form-item>
<el-form-item label="规格/型号">
<el-input v-model="queryReqVo.materialType" placeholder="规格/型号" class="!w-240px" v-bind:disabled="!chkboxEnable" @keyup.enter="handleQuery"/>
<el-input v-model="queryReqVo.spec" placeholder="规格/型号" class="!w-240px" v-bind:disabled="!chkboxEnable" @keyup.enter="handleQuery"/>
</el-form-item>
<el-form-item style="margin-left:20px">
<el-button @click="handleQuery" type="primary" v-bind:disabled="!chkboxEnable">
@ -128,7 +128,7 @@ const handleQuery = async () => {
const resetQuery = () => {
queryReqVo.code = ''
queryReqVo.name = ''
queryReqVo.materialType = ''
queryReqVo.spec = ''
handleQuery()
}
@ -162,7 +162,7 @@ const open = async (whId: number, type: string) => {
queryReqVo.whId = whId
queryReqVo.code = ''
queryReqVo.name = ''
queryReqVo.materialType = ''
queryReqVo.spec = ''
getList()
chkboxEnable.value = true

Loading…
Cancel
Save