opt:需求:回温间到快速回温间显示信息同库存明细一致
This commit is contained in:
@@ -27,6 +27,80 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="晶体编号">
|
||||
<el-input
|
||||
v-model="query.lotSN"
|
||||
clearable
|
||||
size="mini"
|
||||
placeholder="晶体编号"
|
||||
@keyup.enter.native="crud.toQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="供应商名称">
|
||||
<el-select
|
||||
v-model="query.supplierName"
|
||||
clearable
|
||||
size="mini"
|
||||
placeholder="供应商名称"
|
||||
class="filter-item"
|
||||
filterable
|
||||
@remote-method="getNowSupplierNameList"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in supplierNameList"
|
||||
:label="item"
|
||||
:value="item"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="物料名称">
|
||||
<el-select
|
||||
v-model="query.productDescription"
|
||||
clearable
|
||||
size="mini"
|
||||
placeholder="物料名称"
|
||||
class="filter-item"
|
||||
filterable
|
||||
@remote-method="getNowProductDescriptionList"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in productDescriptionList"
|
||||
:label="item"
|
||||
:value="item"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="批次">
|
||||
<el-select
|
||||
v-model="query.ingotBatch"
|
||||
clearable
|
||||
size="mini"
|
||||
placeholder="批次"
|
||||
class="filter-item"
|
||||
filterable
|
||||
@remote-method="getNowIngotBatchList"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in ingotBatchList"
|
||||
:label="item"
|
||||
:value="item"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="每托根数">
|
||||
<el-input-number
|
||||
v-model="query.number"
|
||||
filterable
|
||||
laceholder="每托根数"
|
||||
clearable
|
||||
controls-position="right"
|
||||
:min="0"
|
||||
:max="10000"
|
||||
:step="10"
|
||||
size="mini"
|
||||
/>
|
||||
</el-form-item>
|
||||
<rrOperation />
|
||||
</el-form>
|
||||
</div>
|
||||
@@ -82,7 +156,15 @@
|
||||
<el-table-column prop="subTray" label="子托编码" :min-width="flexWidth('subTray',crud.data,'子托编码')" />
|
||||
<el-table-column prop="motherTray" label="母托编码" :min-width="flexWidth('motherTray',crud.data,'母托编码')" />
|
||||
<el-table-column prop="status" label="提交状态" :formatter="format_work_order_two_status" :min-width="flexWidth('status',crud.data,'工单状态')" />
|
||||
|
||||
<el-table-column prop="supplierName" label="供应商名称" :min-width="flexWidth('supplierName',crud.data,'供应商名称')" />
|
||||
<el-table-column prop="productDescription" label="物料名称" :min-width="flexWidth('productDescription',crud.data,'物料名称')" />
|
||||
<el-table-column prop="ingotBatch" label="批次" :min-width="flexWidth('ingotBatch',crud.data,'批次')" />
|
||||
<el-table-column prop="siliconGrade" label="棒源等级" :min-width="flexWidth('siliconGrade',crud.data,'棒源等级')" />
|
||||
<el-table-column prop="number" label="每托数量(根)" :min-width="flexWidth('number',crud.data,'每托数量(根)')" />
|
||||
<el-table-column prop="updateTime" label="入库时间" :min-width="flexWidth('updateTime',crud.data,'入库时间')" />
|
||||
<el-table-column prop="standingTime" label="回温时间H" :min-width="flexWidth('standingTime',crud.data,'回温时间H')" />
|
||||
<el-table-column prop="usedTime" label="已回温时间H" :min-width="flexWidth('usedTime',crud.data,'已回温时间H')" />
|
||||
</el-table>
|
||||
<!--分页组件-->
|
||||
<pagination />
|
||||
@@ -97,6 +179,7 @@ import crudOperation from '@crud/CRUD.operation'
|
||||
import udOperation from '@crud/UD.operation'
|
||||
import pagination from '@crud/Pagination'
|
||||
import crudSchBasePoint from '@/views/wms/sch/point/schBasePoint'
|
||||
import crudMaterial from "@/views/wms/sch/report/report";
|
||||
|
||||
export default {
|
||||
name: 'moveStor2',
|
||||
@@ -126,11 +209,17 @@ export default {
|
||||
dialogVisible: false,
|
||||
rows: [],
|
||||
pointList: [],
|
||||
supplierNameList: [],
|
||||
ingotBatchList: [],
|
||||
productDescriptionList: [],
|
||||
choose: '物料'
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getPointList()
|
||||
this.getNowSupplierNameList()
|
||||
this.getNowIngotBatchList()
|
||||
this.getNowProductDescriptionList()
|
||||
},
|
||||
methods: {
|
||||
// 钩子:在获取表格数据之前执行,false 则代表不获取数据
|
||||
@@ -138,6 +227,26 @@ export default {
|
||||
this.handleCurrentChange(null)
|
||||
return true
|
||||
},
|
||||
getPointList() { // 获取点位列表
|
||||
crudSchBasePoint.getPointsByRegionCodes('HW').then(res => {
|
||||
this.pointList = res
|
||||
})
|
||||
},
|
||||
getNowSupplierNameList() {
|
||||
crudMaterial.getNowSupplierNameList().then(res => {
|
||||
this.supplierNameList = res.content
|
||||
})
|
||||
},
|
||||
getNowProductDescriptionList() {
|
||||
crudMaterial.getNowProductDescriptionList().then(res => {
|
||||
this.productDescriptionList = res.content
|
||||
})
|
||||
},
|
||||
getNowIngotBatchList() {
|
||||
crudMaterial.getNowIngotBatchList().then(res => {
|
||||
this.ingotBatchList = res.content
|
||||
})
|
||||
},
|
||||
confirm() {
|
||||
this.rows = this.$refs.table.selection
|
||||
if (this.rows.length <= 0) {
|
||||
@@ -241,11 +350,6 @@ export default {
|
||||
return '已提交';
|
||||
}
|
||||
return '未提交';
|
||||
},
|
||||
getPointList() { // 获取点位列表
|
||||
crudSchBasePoint.getPointsByRegionCodes('HW').then(res => {
|
||||
this.pointList = res
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user