Browse Source

修改数量设置

master
zhaoxuebing 10 months ago
parent
commit
cd59e68528
  1. 2
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue
  2. 2
      src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue
  3. 2
      src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

2
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue

@ -211,7 +211,7 @@ const buttonOperationClick = async (row, label, index)=> {
// } // }
// }) // })
item.rowId = index item.rowId = index
if(tableData.value[index].childList) { if(tableData.value[index].childList.length > 0) {
tableData.value[index].childList.forEach(itemChild => { tableData.value[index].childList.forEach(itemChild => {
if (itemChild.itemCode == item.itemCode) { if (itemChild.itemCode == item.itemCode) {
item.qty = itemChild.qty item.qty = itemChild.qty

2
src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue

@ -206,7 +206,7 @@ const buttonOperationClick = async (row, label, index)=> {
await getDetailListBom() await getDetailListBom()
detatableDataBom.tableList.map(item => { detatableDataBom.tableList.map(item => {
item.rowId = index item.rowId = index
if(tableData.value[index].childList) { if(tableData.value[index].childList > 0) {
tableData.value[index].childList.forEach(itemChild => { tableData.value[index].childList.forEach(itemChild => {
if (itemChild.itemCode == item.itemCode) { if (itemChild.itemCode == item.itemCode) {
item.qty = itemChild.qty item.qty = itemChild.qty

2
src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

@ -209,7 +209,7 @@ const buttonOperationClick = async (row, label, index)=> {
await getDetailListBom() await getDetailListBom()
detatableDataBom.tableList.forEach(item => { detatableDataBom.tableList.forEach(item => {
item.rowId = index item.rowId = index
if(tableData.value[index].childList) { if(tableData.value[index].childList.length > 0) {
tableData.value[index].childList.forEach(itemChild => { tableData.value[index].childList.forEach(itemChild => {
if (itemChild.itemCode == item.itemCode) { if (itemChild.itemCode == item.itemCode) {
item.qty = itemChild.qty item.qty = itemChild.qty

Loading…
Cancel
Save