| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-card class="box-card"> |
| | | <!-- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">--> |
| | | <!-- <el-form-item label="车间编码" prop="workshopCode">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="queryParams.workshopCode"--> |
| | | <!-- placeholder="请输入车间编码"--> |
| | | <!-- clearable--> |
| | | <!-- @keyup.enter.native="handleQuery"--> |
| | | <!-- />--> |
| | | <!-- </el-form-item>--> |
| | | <!-- <el-form-item label="车间名称" prop="workshopName">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="queryParams.workshopName"--> |
| | | <!-- placeholder="请输入车间名称"--> |
| | | <!-- clearable--> |
| | | <!-- @keyup.enter.native="handleQuery"--> |
| | | <!-- />--> |
| | | <!-- </el-form-item>--> |
| | | <!-- <el-form-item style="float: right">--> |
| | | <!-- <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>--> |
| | | <!--<!– <el-button type="warning" icon="el-icon-copy-document" size="mini" @click="advancedQuery">高级查询</el-button>–>--> |
| | | <!-- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-form>--> |
| | | <!-- <el-form :model="queryParams" ref="queryParams" size="small" :inline="true" v-show="advancedShowSearch" label-width="68px">--> |
| | | <!-- </el-form>--> |
| | | <div> |
| | | <div id="printMe"> |
| | | <div ref="canvasWrapper" id="canvasWrapper"></div> |
| | | <p>1111</p> |
| | | </div> |
| | | <el-button @click="print">打印</el-button> |
| | | <el-button @click="test1">生成二维码</el-button> |
| | | </div> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form-item label="车间编码" prop="workshopCode"> |
| | | <el-input |
| | | v-model="queryParams.workshopCode" |
| | | placeholder="请输入车间编码" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="车间名称" prop="workshopName"> |
| | | <el-input |
| | | v-model="queryParams.workshopName" |
| | | placeholder="请输入车间名称" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item style="float: right"> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
| | | <!-- <el-button type="warning" icon="el-icon-copy-document" size="mini" @click="advancedQuery">高级查询</el-button>--> |
| | | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form :model="queryParams" ref="queryParams" size="small" :inline="true" v-show="advancedShowSearch" label-width="68px"> |
| | | </el-form> |
| | | <!-- <div>--> |
| | | <!-- <div id="printMe">--> |
| | | <!-- <div ref="canvasWrapper" id="canvasWrapper"></div>--> |
| | | <!-- <p>1111</p>--> |
| | | <!-- </div>--> |
| | | <!-- <el-button @click="print">打印</el-button>--> |
| | | <!-- <el-button @click="test1">生成二维码</el-button>--> |
| | | <!-- </div>--> |
| | | </el-card> |
| | | |
| | | <el-card style="margin-top: 10px" class="box-card"> |