批量查看
This commit is contained in:
@@ -24,10 +24,9 @@
|
||||
|
||||
<vxe-table
|
||||
resizable
|
||||
|
||||
ref="xTable"
|
||||
:tree-config="{ transform: true, rowField: 'packageCodeClient_son', parentField: 'packageCodeClient_short_parent' }"
|
||||
|
||||
:edit-config="{ trigger: 'manual', mode: 'row' }"
|
||||
:data="dataList"
|
||||
>
|
||||
<vxe-column field="partnumber" title="零件号"></vxe-column>
|
||||
@@ -38,12 +37,12 @@
|
||||
<vxe-column field="goodsNumLogic" title="理论库存"></vxe-column>
|
||||
<!-- <vxe-column field="goodsNumAction" title="实际库存"></vxe-column> -->
|
||||
<!-- :edit-config="{ trigger: 'manual', mode: 'row' }" -->
|
||||
<!-- <vxe-column field="goodsNumAction" title="实际库存" :edit-render="{}">
|
||||
<vxe-column field="goodsNumAction" title="实际库存" :edit-render="{}">
|
||||
<template #edit="{ row }">
|
||||
<vxe-input v-model="row.goodsNumAction" type="text"></vxe-input>
|
||||
</template>
|
||||
</vxe-column> -->
|
||||
<!-- <vxe-column title="操作" width="160" >
|
||||
</vxe-column>
|
||||
<vxe-column title="操作" width="160">
|
||||
<template #default="{ row }">
|
||||
<template v-if="$refs.xTable.isActiveByRow(row)">
|
||||
<vxe-button @click="saveRowEvent(row)">保存</vxe-button>
|
||||
@@ -53,7 +52,7 @@
|
||||
<vxe-button @click="editRowEvent(row)">编辑</vxe-button>
|
||||
</template>
|
||||
</template>
|
||||
</vxe-column> -->
|
||||
</vxe-column>
|
||||
<vxe-column field="entryWarehouseTime" title="入库时间"></vxe-column>
|
||||
<vxe-column field="remark" title="备注"></vxe-column>
|
||||
</vxe-table>
|
||||
@@ -62,7 +61,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { Node_patch_search,updateactualInventoryQuantity } from '@/api/wmsManagement/wmGoodsNowProduction.js'
|
||||
import { Node_patch_search, updateactualInventoryQuantity } from '@/api/wmsManagement/wmGoodsNowProduction.js'
|
||||
export default {
|
||||
name: 'WmpatchSearch',
|
||||
data() {
|
||||
@@ -132,8 +131,8 @@ export default {
|
||||
return updateactualInventoryQuantity(query)
|
||||
})
|
||||
.then((res) => {
|
||||
if(res.code==200&&res.data>0){
|
||||
this.$notify.success("修改成功");
|
||||
if (res.code == 200 && res.data > 0) {
|
||||
this.$notify.success('修改成功')
|
||||
this.getList()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user