Commit 80e3a5d4 authored by hubaoshan's avatar hubaoshan

pd 1.0

parent 7621ad78
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<span style="color: red">条数:{{ enterTable.length }}</span> <span style="color: red">条数:{{ enterTable.length }}</span>
</div> </div>
<div class="buttonRegion"> <div class="buttonRegion">
<el-button class="button_rowBtn" type="primary" @click="SubmitForm">保存</el-button> <el-button class="button_rowBtn" type="primary" @click="SubmitForm">盘点</el-button>
<el-button class="button_rowBtn" type="primary" @click="clearFormConfirmation($event)">清空</el-button> <el-button class="button_rowBtn" type="primary" @click="clearFormConfirmation($event)">清空</el-button>
</div> </div>
<!-- 中间文本--> <!-- 中间文本-->
...@@ -109,14 +109,14 @@ ...@@ -109,14 +109,14 @@
<script> <script>
import manufacturer from '@/data/jsonData' import manufacturer from '@/data/jsonData'
import { import {
batchAddIncomeWmsBox, checkIsZero, getJcCode checkIsZero, getJcCode
} from '@/api/incomeWmsBox' } from '@/api/incomeWmsBox'
import { findByLocation } from '@/api/incomeWmsLabel' import { findByLocation } from '@/api/incomeWmsLabel'
import { getInfo } from '@/api/login' import { getInfo } from '@/api/login'
import { getDict } from '@/api/system/dict/data' import { getDict } from '@/api/system/dict/data'
import { playAudio, successAudio } from '@/utils/common' import { playAudio, successAudio } from '@/utils/common'
import { customUpperCase } from '@/utils/common' import { customUpperCase } from '@/utils/common'
import {batchAddIncomeWmsBoxPd} from "@/api/incomeWmsBoxPd"; import { batchAddIncomeWmsBoxPd } from '@/api/incomeWmsBoxPd'
export default { export default {
name: 'EnterboundPd', name: 'EnterboundPd',
data() { data() {
...@@ -245,7 +245,7 @@ export default { ...@@ -245,7 +245,7 @@ export default {
* 保存 * 保存
*/ */
SubmitForm() { SubmitForm() {
this.$confirm('确定要执行新增操作吗?', '批量新增', { this.$confirm('确定要执行盘点操作吗?', '盘点', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
batchAddIncomeWmsBoxPd(obj).then(res => { batchAddIncomeWmsBoxPd(obj).then(res => {
console.log('res', res) console.log('res', res)
if (res.code === 200) { if (res.code === 200) {
this.msgSuccess('新增成功') // this.msgSuccess('盘点数据')
this.clearForm() this.clearForm()
this.queryForm.cj = this.manufacturer[0].value this.queryForm.cj = this.manufacturer[0].value
this.getDictData() this.getDictData()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment