|
@@ -36,7 +36,7 @@
|
|
</template>
|
|
</template>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<span class="table-page-search-submitButtons">
|
|
<span class="table-page-search-submitButtons">
|
|
- <a-button type="info" style="margin-left: 5px" @click="taskIn" :disabled="disabled" >生成补货单</a-button>
|
|
|
|
|
|
+ <a-button type="info" style="margin-left: 5px" @click="openCreatRoModal=true" >生成补货单</a-button>
|
|
<a-button type="primary" style="margin-left: 5px" @click="queryByTypeSum" :disabled="disabled" id="replenishmentManagementList-refresh">查询</a-button>
|
|
<a-button type="primary" style="margin-left: 5px" @click="queryByTypeSum" :disabled="disabled" id="replenishmentManagementList-refresh">查询</a-button>
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm()" :disabled="disabled" id="replenishmentManagementList-reset">重置</a-button>
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm()" :disabled="disabled" id="replenishmentManagementList-reset">重置</a-button>
|
|
<a @click="advanced = !advanced" style="margin-left: 5px">
|
|
<a @click="advanced = !advanced" style="margin-left: 5px">
|
|
@@ -100,6 +100,8 @@
|
|
<out-warehousing-modal :openModal="openOutWarehousingModal" :nowData="nowData" @ok="handleOutWarehousingOk" @close="handleCancel" />
|
|
<out-warehousing-modal :openModal="openOutWarehousingModal" :nowData="nowData" @ok="handleOutWarehousingOk" @close="handleCancel" />
|
|
<!-- 签收 -->
|
|
<!-- 签收 -->
|
|
<put-warehousing-modal :openModal="openPutWarehousingModal" :nowData="nowData" @ok="handlePutWarehousingOk" @close="handleCancel" />
|
|
<put-warehousing-modal :openModal="openPutWarehousingModal" :nowData="nowData" @ok="handlePutWarehousingOk" @close="handleCancel" />
|
|
|
|
+ <!-- 生成补货单 -->
|
|
|
|
+ <creatReplenishmentOrder :openModal="openCreatRoModal" :nowData="nowData" @ok="resetSearchForm" @close="openCreatRoModal=false" />
|
|
</a-spin>
|
|
</a-spin>
|
|
</a-card>
|
|
</a-card>
|
|
</template>
|
|
</template>
|
|
@@ -111,13 +113,14 @@ import getDate from '@/libs/getDate.js'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
import shelfSList from '@/views/common/shelfList'
|
|
import shelfSList from '@/views/common/shelfList'
|
|
import confirmModal from './confirmModal.vue'
|
|
import confirmModal from './confirmModal.vue'
|
|
|
|
+import creatReplenishmentOrder from './creatReplenishmentOrder.vue'
|
|
import stockModal from './stockModal.vue'
|
|
import stockModal from './stockModal.vue'
|
|
import printStickerModal from './printStickerModal.vue'
|
|
import printStickerModal from './printStickerModal.vue'
|
|
import outWarehousingModal from './outWarehousingModal.vue'
|
|
import outWarehousingModal from './outWarehousingModal.vue'
|
|
import putWarehousingModal from './putWarehousingModal.vue'
|
|
import putWarehousingModal from './putWarehousingModal.vue'
|
|
-import { shelfReplenishList, shelfReplenishDetailList, shelfReplenishCancel, shelfReplenishStateCount, shelfReplenishDetailStock, shelfReplenishConfirm, shelfReplenishTaskInsertBill, shelfReplenishDelete } from '@/api/shelfReplenish'
|
|
|
|
|
|
+import { shelfReplenishList, shelfReplenishDetailList, shelfReplenishCancel, shelfReplenishStateCount, shelfReplenishDetailStock, shelfReplenishConfirm, shelfReplenishDelete } from '@/api/shelfReplenish'
|
|
export default {
|
|
export default {
|
|
- components: { STable, VSelect, rangeDate, shelfSList, confirmModal, stockModal, printStickerModal, outWarehousingModal, putWarehousingModal },
|
|
|
|
|
|
+ components: { STable, VSelect, rangeDate, shelfSList, confirmModal, creatReplenishmentOrder, stockModal, printStickerModal, outWarehousingModal, putWarehousingModal },
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
@@ -203,19 +206,13 @@ export default {
|
|
openPrintStickerModal: false,
|
|
openPrintStickerModal: false,
|
|
openOutWarehousingModal: false,
|
|
openOutWarehousingModal: false,
|
|
openPutWarehousingModal: false,
|
|
openPutWarehousingModal: false,
|
|
|
|
+ openCreatRoModal: false,
|
|
validateType: 'confirm',
|
|
validateType: 'confirm',
|
|
stockList: [],
|
|
stockList: [],
|
|
paramsData: null
|
|
paramsData: null
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- // 定时任务
|
|
|
|
- taskIn () {
|
|
|
|
- shelfReplenishTaskInsertBill().then(res => {
|
|
|
|
- this.$message.success(res.message)
|
|
|
|
- this.resetSearchForm()
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
// 确认
|
|
// 确认
|
|
handleConfirm (row) {
|
|
handleConfirm (row) {
|
|
this.nowData = row
|
|
this.nowData = row
|