Sfoglia il codice sorgente

冲销修改提交

LAPTOP-16IUEB3P\Lenovo 2 anni fa
parent
commit
6ef15512cb
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      src/views/produceOrder/detail.vue

+ 1 - 2
src/views/produceOrder/detail.vue

@@ -1058,12 +1058,11 @@
 				  cancelButtonText: '取消',
             })
 			.then(() => {
-				console.log('row',row)
 				const data = {
 					taskCode:this.taskCode,
 					taskName:this.chooseItem,
 					reportId:row.id,
-					writeOffNum:row.standardNum,
+					writeOffNum:row.standardNum?row.standardNum:row.actualQuantity,
 					...this.request
 				}
 				writeOffWork(data).then(res=>{