1.修改新增扫码单据页面

master
x_z 3 years ago
parent cc8465da03
commit 67cadfb464

@ -116,35 +116,32 @@
<el-col :span="19">
<el-form-item prop="code">
<el-input
id="inputer"
@focus="getInputFocus($event)"
@keypress.enter.native="enterKey($event)"
v-model="formData.code"
ref='inputRef'
@focus="getInputFocus($event)"
style="ime-mode:disabled"
type="tel"
v-model="formData.code"
></el-input>
</el-form-item>
</el-col>
<el-col :span="2">
<el-button
type="primary"
size="small"
@click.native.stop="addCode()"
style="height: 31px; margin-left: 2px"
>确定
style="height: 31px; margin-left: 20px"
>添加
</el-button
>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="16" style="margin-left: 40px">
<el-checkbox v-model="sitcomScan"></el-checkbox>
</el-col>
<el-col :span="4">
<div class="text item" style="margin-left: 30px"> 条码数量{{ total }}
</div>
</el-col>
</el-row>
<el-table v-loading="loading" :data="codeArray" style="width: 100%;" max-height="350" height="350"
:row-style="rowStyle"
@ -395,6 +392,7 @@ export default {
tQuery.actDate = parseTime(this.formData.actDate, '{y}-{m}-{d} {h}:{i}:{s}');
tQuery.action = tQuery.billType
this.addCodeSubmit(tQuery);
this.$refs.inputRef.select();
},
addCodeSubmit(tQuery) {
@ -406,8 +404,6 @@ export default {
confirmButtonText: '确定',
type: 'warning',
closeOnClickModal: true,
callback: action => {
}
});
}
this.corpOrderIdDisabled = true;
@ -437,9 +433,7 @@ export default {
}).catch(() => {
});
} else if (response.code == 505) {
this.$confirm(response.message, "提示", {
confirmButtonText: "确定",
cancelButtonText: "忽略",
@ -450,7 +444,6 @@ export default {
}).catch(() => {
});
} else {
this.$alert(response.message, '提示', {
confirmButtonText: '确定',
@ -466,7 +459,6 @@ export default {
});
},
deleteCode(index, row) {
this.$confirm("是否确定移除一个条码?", "提示", {
confirmButtonText: "确定",

Loading…
Cancel
Save