|
|
|
@ -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 |
|
|
|
|