|
@@ -161,6 +161,10 @@
|
|
|
<a-icon type="plus"/>
|
|
|
添加专用备件
|
|
|
</a-button>-->
|
|
|
+ <a-divider type="vertical" />
|
|
|
+ <a-button type="primary" @click="handleOutStroe()">
|
|
|
+ 快速出库
|
|
|
+ </a-button>
|
|
|
</div>
|
|
|
<a-table
|
|
|
:data-source="dataSpare"
|
|
@@ -321,6 +325,7 @@
|
|
|
<longYanSelectSpareForm ref="longYanSelectSpareForm" @ok="handleOk"/>
|
|
|
<scheme-library ref="schemeLibrary" @ok="handleOk"/>
|
|
|
<PlanCheckForm ref="planCheckForm" @ok="handleOk"/>
|
|
|
+ <OutStroeForm ref="outStroeForm" @ok="handleOk" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -369,6 +374,7 @@ import RepairRecordForm from './RepairRecordForm'
|
|
|
import ReportUpForm from './ReportUpForm'
|
|
|
import TicketForm from './TicketForm'
|
|
|
import LongYanSelectSpareForm from './LongYanSelectSpareForm'
|
|
|
+import OutStroeForm from '@/views/store/outstoreform/modules/BaseFormYY.vue'
|
|
|
const DetailListItem = DetailList.Item
|
|
|
|
|
|
export default {
|
|
@@ -407,7 +413,8 @@ export default {
|
|
|
RepairRecordForm,
|
|
|
ReportUpForm,
|
|
|
TicketForm,
|
|
|
- LongYanSelectSpareForm
|
|
|
+ LongYanSelectSpareForm,
|
|
|
+ OutStroeForm
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
@@ -1101,6 +1108,12 @@ export default {
|
|
|
const modal = this.$refs.checkForm
|
|
|
modal.base(this.model, 1)
|
|
|
},
|
|
|
+ handleOutStroe () {
|
|
|
+ this.visible = false
|
|
|
+ const modal = this.$refs.outStroeForm
|
|
|
+ const pick = this.model.sbPositionName + this.model.sbCph
|
|
|
+ modal.base({}, pick, this.model.id)
|
|
|
+ },
|
|
|
handleOk () {
|
|
|
this.loading = true
|
|
|
fetchRepairApplicationForm({ id: this.model.id }).then(res => {
|