盘点方式移前面

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

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

Loading…
Cancel
Save