修改问题

This commit is contained in:
zds
2022-07-04 09:32:55 +08:00
parent 5f9bf824a9
commit 3f56bd478e
13 changed files with 88 additions and 8 deletions

View File

@@ -68,11 +68,13 @@
</el-form-item>
<el-form-item label="启用日期">
<el-date-picker
v-model="query.beginuse_date"
v-model="query.createTime"
type="daterange"
value-format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss"
start-placeholder="开始日期"
end-placeholder="结束日期"
@input="onInput()"
:default-time="['00:00:00', '23:59:59']"
@change="crud.toQuery"
/>
</el-form-item>
@@ -311,9 +313,6 @@ export default {
crudWorkProcedure.downSelect().then(res => {
this.workProcedureList = res
})
this.crud.query.beginuse_date = [new Date(), new Date()]
this.crud.toQuery()
const param = {
'materOpt_code': '23'
}
@@ -322,6 +321,9 @@ export default {
this.queryClassId()
})
this.getDepts()
this.crud.query.createTime = [new Date(), new Date()]
this.crud.toQuery()
},
methods: {
canUd(row) {
@@ -434,6 +436,9 @@ export default {
this.dissub_flag = true
this.open_flag = true
},
onInput() {
this.$forceUpdate()
},
checkboxT(row) {
return row.status !== '99'
},

View File

@@ -33,6 +33,7 @@
<el-date-picker
v-model="query.createTime"
type="daterange"
@input="onInput()"
value-format="yyyy-MM-dd HH:mm:ss"
start-placeholder="开始日期"
end-placeholder="结束日期"
@@ -93,6 +94,15 @@
/>
</el-select>
</el-form-item>
<el-form-item label="批次">
<el-input
v-model="query.pcsn"
size="mini"
clearable
placeholder="批次"
@keyup.enter.native="crud.toQuery"
/>
</el-form-item>
<rrOperation />
</el-form>
</div>
@@ -399,6 +409,9 @@ export default {
this.mstrow = this.checkrows.pop()
this.changeShow = true
},
onInput() {
this.$forceUpdate()
},
submit(status) {
this.checkrows = this.$refs.table.selection
if(this.checkrows.length === 0 ){

View File

@@ -55,7 +55,15 @@
/>
</el-select>
</el-form-item>
<el-form-item label="批次">
<el-input
v-model="query.pcsn"
size="mini"
clearable
placeholder="批次"
@keyup.enter.native="crud.toQuery"
/>
</el-form-item>
<el-form-item label="任务状态">
<el-select
v-model="query.status"
@@ -90,6 +98,7 @@
start-placeholder="开始日期"
end-placeholder="结束日期"
:default-time="['00:00:00', '23:59:59']"
@input="onInput()"
@change="crud.toQuery"
/>
</el-form-item>
@@ -381,6 +390,9 @@ export default {
this.querytable()
})
},
onInput() {
this.$forceUpdate()
},
openWork() {
this.checkrows = this.$refs.table.selection
if(this.checkrows.length === 0 ){

View File

@@ -56,6 +56,15 @@
:value="item.value"
/>
</el-select>
<el-form-item label="批次">
<el-input
v-model="query.pcsn"
size="mini"
clearable
placeholder="批次"
@keyup.enter.native="crud.toQuery"
/>
</el-form-item>
</el-form-item>
<rrOperation />
</el-form>

View File

@@ -75,6 +75,15 @@
/>
</el-select>
</el-form-item>
<el-form-item label="批次">
<el-input
v-model="query.pcsn"
size="mini"
clearable
placeholder="批次"
@keyup.enter.native="crud.toQuery"
/>
</el-form-item>
<rrOperation />
</el-form>
</div>

View File

@@ -325,10 +325,12 @@ export default {
this.areatype = "'31'"
} else if (this.mstrow.bill_type === '010201' || this.mstrow.bill_type === '010202' || this.mstrow.bill_type === '010401') {
this.areatype = "'21'"
} else if (this.mstrow.bill_type === '010503' || this.mstrow.bill_type === '010501' || this.mstrow.bill_type === '010801') {
} else if (this.mstrow.bill_type === '010503' || this.mstrow.bill_type === '010501') {
this.areatype = "'22','23','24'"
} else if (this.mstrow.bill_type === '010502') {
this.areatype = "'21','22','23','24'"
} else if (this.mstrow.bill_type === '010801') {
this.areatype = "'22','23','24','31','35'"
} else if (this.mstrow.bill_type === '010601') {
this.areatype = ''
}