|
|
@ -44,7 +44,7 @@ |
|
|
|
placeholder="供应商名称" |
|
|
|
class="filter-item" |
|
|
|
filterable |
|
|
|
@remote-method="getSupplierNameList" |
|
|
|
@remote-method="getNowSupplierNameList" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in supplierNameList" |
|
|
@ -61,7 +61,7 @@ |
|
|
|
placeholder="物料名称" |
|
|
|
class="filter-item" |
|
|
|
filterable |
|
|
|
@remote-method="getProductDescriptionList" |
|
|
|
@remote-method="getNowProductDescriptionList" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in productDescriptionList" |
|
|
@ -78,7 +78,7 @@ |
|
|
|
placeholder="批次" |
|
|
|
class="filter-item" |
|
|
|
filterable |
|
|
|
@remote-method="getIngotBatchList" |
|
|
|
@remote-method="getNowIngotBatchList" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in ingotBatchList" |
|
|
@ -124,8 +124,8 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import crudMaterial from './detail' |
|
|
|
import CRUD, { crud, form, header, presenter } from '@crud/crud' |
|
|
|
import crudMaterial from '@/views/wms/sch/report/report' |
|
|
|
import CRUD, { crud, header, presenter } from '@crud/crud' |
|
|
|
import rrOperation from '@crud/RR.operation' |
|
|
|
import crudOperation from '@crud/CRUD.operation' |
|
|
|
import udOperation from '@crud/UD.operation' |
|
|
@ -170,9 +170,9 @@ export default { |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getPointList() |
|
|
|
this.getSupplierNameList() |
|
|
|
this.getIngotBatchList() |
|
|
|
this.getProductDescriptionList() |
|
|
|
this.getNowSupplierNameList() |
|
|
|
this.getNowIngotBatchList() |
|
|
|
this.getNowProductDescriptionList() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
// 钩子:在获取表格数据之前执行,false 则代表不获取数据 |
|
|
@ -184,18 +184,18 @@ export default { |
|
|
|
this.pointList = res |
|
|
|
}) |
|
|
|
}, |
|
|
|
getSupplierNameList() { |
|
|
|
crudMaterial.getSupplierNameList().then(res => { |
|
|
|
getNowSupplierNameList() { |
|
|
|
crudMaterial.getNowSupplierNameList().then(res => { |
|
|
|
this.supplierNameList = res.content |
|
|
|
}) |
|
|
|
}, |
|
|
|
getProductDescriptionList() { |
|
|
|
crudMaterial.getProductDescriptionList().then(res => { |
|
|
|
getNowProductDescriptionList() { |
|
|
|
crudMaterial.getNowProductDescriptionList().then(res => { |
|
|
|
this.productDescriptionList = res.content |
|
|
|
}) |
|
|
|
}, |
|
|
|
getIngotBatchList() { |
|
|
|
crudMaterial.getIngotBatchList().then(res => { |
|
|
|
getNowIngotBatchList() { |
|
|
|
crudMaterial.getNowIngotBatchList().then(res => { |
|
|
|
this.ingotBatchList = res.content |
|
|
|
}) |
|
|
|
}, |
|
|
|