|
@@ -335,9 +335,12 @@
|
|
|
<!-- 采购数量弹框 @ok="modalFormOk"-->
|
|
|
<purchaseAmount-modal ref="purchaseAmountModal" :father="aa"></purchaseAmount-modal>
|
|
|
|
|
|
- <!-- 余纱 -->
|
|
|
+ <!-- 来源余纱 -->
|
|
|
<surplusYarn-modal ref="surplusYarnModal" :father="bb"></surplusYarn-modal>
|
|
|
|
|
|
+ <!-- 余纱 -->
|
|
|
+ <purchaseLeft-modal ref="purchaseLeftModal"></purchaseLeft-modal>
|
|
|
+
|
|
|
<!-- 其他入库的纱 -->
|
|
|
<otherYarnsIn-modal ref="otherYarnsInModal" ></otherYarnsIn-modal>
|
|
|
|
|
@@ -371,6 +374,7 @@ import invoiceNumModal from '@views/reportForms/fabric-loss-table/invoiceNumModa
|
|
|
import invoiceQuantityModal from '@views/reportForms/fabric-loss-table/invoiceQuantityModal.vue'
|
|
|
import accidentListModal from '@views/reportForms/fabric-loss-table/accidentListModal.vue'
|
|
|
import surplusYarnModal from '@views/reportForms/fabric-loss-table/surplusYarnModal.vue'
|
|
|
+import purchaseLeftModal from '@views/reportForms/fabric-loss-table/purchaseLeftModal.vue'
|
|
|
import otherYarnsInModal from '@views/reportForms/fabric-loss-table/otherYarnsInModal.vue'
|
|
|
import AttachmentDisplay from '@views/reportForms/fabric-loss-table/attachment-display.vue'
|
|
|
import { getFabricLossDatas } from '@api/reportForms/fabric-loss-table'
|
|
@@ -391,6 +395,7 @@ export default {
|
|
|
invoiceQuantityModal,
|
|
|
accidentListModal,
|
|
|
surplusYarnModal,
|
|
|
+ purchaseLeftModal,
|
|
|
JEllipsis,
|
|
|
moment,
|
|
|
AttachmentDisplay
|
|
@@ -759,10 +764,10 @@ export default {
|
|
|
return {
|
|
|
on: {
|
|
|
click: event => {
|
|
|
- this.$refs.surplusYarnModal.surplusYarnData = record.fabricPoOrderOutList;
|
|
|
- this.$refs.surplusYarnModal.allDataList = record.fabricPoOrderOutList;
|
|
|
- this.$refs.surplusYarnModal.queryParam = {};
|
|
|
- this.$refs.surplusYarnModal.surplusYarnModVis = true
|
|
|
+ this.$refs.purchaseLeftModal.surplusYarnData = record.fabricPoOrderOutList;
|
|
|
+ this.$refs.purchaseLeftModal.allDataList = record.fabricPoOrderOutList;
|
|
|
+ this.$refs.purchaseLeftModal.queryParam = {};
|
|
|
+ this.$refs.purchaseLeftModal.surplusYarnModVis = true
|
|
|
}
|
|
|
}
|
|
|
}
|