rev:优化BUG

This commit is contained in:
zhouz
2023-07-03 08:58:31 +08:00
parent f37b0afe88
commit 3603386c81
15 changed files with 320 additions and 178 deletions

View File

@@ -64,7 +64,7 @@
<el-table-column show-overflow-tooltip prop="material_code" width="250" label="物料编号" />
<el-table-column show-overflow-tooltip width="100" prop="material_name" label="物料名称" />
<el-table-column show-overflow-tooltip width="150" prop="class_name" label="物料类别" />
<el-table-column show-overflow-tooltip width="150" prop="total_qty" label="重量" />
<el-table-column show-overflow-tooltip width="150" prop="qty" label="重量" />
<el-table-column show-overflow-tooltip width="170" prop="need_qty" label="待入重量" />
<el-table-column show-overflow-tooltip prop="qty_unit_name" label="重量单位" />
</el-table>

View File

@@ -249,7 +249,7 @@
<script>
import CRUD, { crud, form } from '@crud/crud'
import MaterDtl from '@/views/wms/pub/MaterDialog'
import BillDtl from '@/views/wms/storage_manage/rawproduct/rawProductIn/AddDtl'
import BillDtl from '@/views/wms/storage_manage/rawproduct/rawProductOut/AddDtl'
import crudStorattr from '@/views/wms/storage_manage/basedata/basedata'
import crudProductOut from '@/views/wms/storage_manage/rawproduct/rawProductOut/rawproductout'
import crudStructattr from '@/api/wms/basedata/st/structattr'

View File

@@ -59,15 +59,12 @@
@selection-change="crud.selectionChangeHandler"
>
<el-table-column type="selection" width="55"/>
<el-table-column show-overflow-tooltip width="150" prop="sale_order_name" label="日期"/>
<el-table-column show-overflow-tooltip width="150" prop="customer_name" label="单据号"/>
<el-table-column width="200" prop="customer_description" label="供应商"/>
<el-table-column show-overflow-tooltip prop="package_box_sn" width="250" label="物料编号"/>
<el-table-column show-overflow-tooltip width="100" prop="quanlity_in_box" label="物料名称"/>
<el-table-column show-overflow-tooltip width="150" prop="container_name" label="物料类别"/>
<el-table-column show-overflow-tooltip width="150" prop="sap_pcsn" label="批次"/>
<el-table-column show-overflow-tooltip width="150" prop="product_name" label="重量"/>
<el-table-column show-overflow-tooltip width="170" prop="product_description" label="待入重量"/>
<el-table-column show-overflow-tooltip width="150" prop="planproducestart_date" label="日期"/>
<el-table-column show-overflow-tooltip width="150" prop="workorder_code" label="单据号"/>
<el-table-column show-overflow-tooltip prop="material_code" width="250" label="物料编号"/>
<el-table-column show-overflow-tooltip width="100" prop="material_name" label="物料名称"/>
<el-table-column show-overflow-tooltip width="150" prop="pcsn" label="批次"/>
<el-table-column show-overflow-tooltip width="150" prop="plan_qty" label="重量"/>
<el-table-column show-overflow-tooltip prop="width" label="重量单位"/>
</el-table>
<!--分页组件-->
@@ -97,7 +94,7 @@ export default {
cruds() {
return CRUD({
title: '用户',
url: '/api/in/rawAssist/getBillDtl',
url: '/api/produceWorkorder',
crudMethod: {},
optShow: {
reset: true
@@ -130,7 +127,6 @@ export default {
},
methods: {
[CRUD.HOOK.beforeRefresh]() {
this.crud.query.bill_type = '0001'
return true
},
objectSpanMethod({row, column, rowIndex, columnIndex}) {
@@ -155,13 +151,9 @@ export default {
this.$emit('update:dialogShow', false)
},
submit() {
this.$emit('update:dialogShow', false)
this.rows = this.$refs.multipleTable.selection
crudProductIn.queryBoxMater(this.rows).then(res => {
this.rows = res
this.$emit('tableChanged', this.rows)
})
this.$emit('tableChanged', this.rows)
// this.form = this.$options.data().form
}
}