采购订单管理配置

20231126-yw
yuanwei 1 year ago
parent 27a6e4307e
commit 7ba5fbf8cc

@ -6,6 +6,9 @@
<el-form-item class="query-form-item" label="业务标识:"> <el-form-item class="query-form-item" label="业务标识:">
<el-input v-model="query.businessType" clearable placeholder="业务标识"></el-input> <el-input v-model="query.businessType" clearable placeholder="业务标识"></el-input>
</el-form-item> </el-form-item>
<el-form-item class="query-form-item" label="备注:">
<el-input v-model="query.remark" clearable placeholder="备注"></el-input>
</el-form-item>
<el-form-item label="表单类型:" prop="type"> <el-form-item label="表单类型:" prop="type">
<el-select v-model="query.type" placeholder="请选择类型" style="width: 90%"> <el-select v-model="query.type" placeholder="请选择类型" style="width: 90%">
<el-option label="列表" :value="1" /> <el-option label="列表" :value="1" />
@ -45,6 +48,13 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="query.page"
:limit.sync="query.limit"
@pagination="getList"
/>
</el-card> </el-card>
<!--仓库编辑对话框--> <!--仓库编辑对话框-->
@ -142,7 +152,10 @@
//---------------------------------- //----------------------------------
query: { query: {
name: null, name: null,
remark: null,
type: null, type: null,
page: 1,
limit: 10,
}, },
loading: true, loading: true,
list: [], list: [],
@ -180,6 +193,9 @@
this.query = { this.query = {
name: "", name: "",
type: "", type: "",
remark: "",
page: 1,
limit: 10,
}; };
this.getList(); this.getList();
@ -275,6 +291,7 @@
} }
}, },
forSubmit() { forSubmit() {
this.query.page = 1;
// --- // ---
this.$refs["dataForm"].validate((valid) => { this.$refs["dataForm"].validate((valid) => {
if (valid) { if (valid) {

Loading…
Cancel
Save