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