|
@@ -30,6 +30,7 @@
|
|
|
</template>
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<span class="table-page-search-submitButtons">
|
|
|
+ <a-button type="info" style="margin-left: 5px" @click="taskIn" :disabled="disabled" >定时任务</a-button>
|
|
|
<a-button type="primary" style="margin-left: 5px" @click="$refs.table.refresh(true)" :disabled="disabled" id="replenishmentManagementList-refresh">查询</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">
|
|
@@ -114,7 +115,7 @@ import stockModal from './stockModal.vue'
|
|
|
import printStickerModal from './printStickerModal.vue'
|
|
|
import outWarehousingModal from './outWarehousingModal.vue'
|
|
|
import putWarehousingModal from './putWarehousingModal.vue'
|
|
|
-import { shelfReplenishList, shelfReplenishDetailList, shelfReplenishCancel, shelfReplenishStateCount, shelfReplenishDetailStock, shelfReplenishConfirm } from '@/api/shelfReplenish'
|
|
|
+import { shelfReplenishList, shelfReplenishDetailList, shelfReplenishCancel, shelfReplenishStateCount, shelfReplenishDetailStock, shelfReplenishConfirm, shelfReplenishTaskInsertBill } from '@/api/shelfReplenish'
|
|
|
export default {
|
|
|
components: { STable, VSelect, rangeDate, shelfSList, confirmModal, stockModal, printStickerModal, outWarehousingModal, putWarehousingModal },
|
|
|
mixins: [commonMixin],
|
|
@@ -200,6 +201,13 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 定时任务
|
|
|
+ taskIn () {
|
|
|
+ shelfReplenishTaskInsertBill().then(res => {
|
|
|
+ this.$message.info(res.message)
|
|
|
+ this.resetSearchForm()
|
|
|
+ })
|
|
|
+ },
|
|
|
// 确认
|
|
|
handleConfirm (row) {
|
|
|
this.nowData = row
|