盘点方式移前面

master
Mr.sun 2 years ago
parent e2c8dd1aa7
commit 75f55db3c4
  1. 46
      src/views/libraryManage/inventory/InventoryEntry.vue

@ -6,13 +6,6 @@
:inline="true"
:model="enterForm"
>
<el-form-item label="单据编号">
<el-input
v-model="enterForm.invOrderNo"
placeholder="请输入单据编号"
clearable
></el-input>
</el-form-item>
<el-form-item
label="盘点方式"
prop="invWay"
@ -22,6 +15,14 @@
<el-radio label="close">盲盘</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="单据编号">
<el-input
v-model="enterForm.invOrderNo"
placeholder="请输入单据编号"
clearable
></el-input>
</el-form-item>
<el-form-item label="盘点状态">
<el-select
v-model="enterForm.invType"
@ -46,16 +47,7 @@
></el-input>
</el-form-item>
<el-form-item label="生产计划日期">
<!-- <el-date-picker
v-model="value1"
style="width: 240px"
value-format="yyyy-MM-dd"
type="daterange"
range-separator="-"
start-placeholder="开始日期"
end-placeholder="结束日期"
></el-date-picker> -->
<!-- <el-form-item label="生产计划日期">
<el-date-picker
style="width: 280px"
v-model="value1"
@ -67,7 +59,7 @@
:default-time="['00:00:00', '00:00:00']"
>
</el-date-picker>
</el-form-item>
</el-form-item> -->
<el-form-item>
<el-button
@ -183,8 +175,8 @@ export default {
page: 1, //
size: 10, //
total: 0
},
value1: [moment().locale('zh-cn').format('yyyy-MM-DD 00:00:00'), moment().locale('zh-cn').add(1, 'days').format('yyyy-MM-DD 00:00:00')]
}
// value1: [moment().locale('zh-cn').format('yyyy-MM-DD 00:00:00'), moment().locale('zh-cn').add(1, 'days').format('yyyy-MM-DD 00:00:00')]
}
},
mounted() {},
@ -197,13 +189,13 @@ export default {
queryTable() {
// if (!this.enterForm.invOrderNo) return this.$message("!");
this.loading = true
if (this.value1 !== null && this.value1 !== 'null' && this.value1 !== undefined) {
this.enterForm.execTime = this.value1[0]
this.enterForm.endTime = this.value1[1]
} else {
this.enterForm.execTime = null
this.enterForm.endTime = null
}
// if (this.value1 !== null && this.value1 !== 'null' && this.value1 !== undefined) {
// this.enterForm.execTime = this.value1[0]
// this.enterForm.endTime = this.value1[1]
// } else {
// this.enterForm.execTime = null
// this.enterForm.endTime = null
// }
list({
// invWay: 'open',
...this.enterForm

Loading…
Cancel
Save