优化
This commit is contained in:
@@ -109,21 +109,21 @@
|
||||
<el-table ref="table" v-loading="crud.loading" :data="crud.data" size="mini" style="width: 100%;" @selection-change="crud.selectionChangeHandler">
|
||||
<el-table-column fixed type="selection" width="55" />
|
||||
<el-table-column v-if="false" prop="id" label="id" />
|
||||
<el-table-column prop="supp_name" label="供应商" min-width="220px" show-overflow-tooltip/>
|
||||
<el-table-column prop="create_date" label="订单日期" width="150px" />
|
||||
<el-table-column prop="vbillcode" label="订单编号" min-width="100px" show-overflow-tooltip/>
|
||||
<el-table-column prop="supp_name" label="供应商" min-width="220px" />
|
||||
<el-table-column prop="create_date" label="订单日期" width="100" :formatter="planend_timeFormat" />
|
||||
<el-table-column prop="vbillcode" label="订单编号" min-width="100px" />
|
||||
<el-table-column prop="crowno" label="明细行号" />
|
||||
<el-table-column prop="material_code" label="物料编码" width="120px" show-overflow-tooltip/>
|
||||
<el-table-column prop="material_name" label="物料名称" min-width="200px" show-overflow-tooltip/>
|
||||
<el-table-column prop="material_code" label="物料编码" width="160" />
|
||||
<el-table-column prop="material_name" label="物料名称" min-width="120" />
|
||||
<el-table-column prop="qty" label="采购重量" width="120px" :formatter="crud.formatNum3"/>
|
||||
<el-table-column prop="receive_qty" label="到货重量" width="100px" :formatter="crud.formatNum3"/>
|
||||
<el-table-column prop="instor_qty" label="入库重量" width="100px" :formatter="crud.formatNum3"/>
|
||||
<el-table-column prop="surplus_qty" label="剩余重量" width="100px" :formatter="crud.formatNum3"/>
|
||||
<el-table-column prop="unit_name" label="单位" />
|
||||
<el-table-column prop="proc_status" label="处理状态" :formatter="formaterStatus" />
|
||||
<el-table-column show-overflow-tooltip prop="contract_no" label="合同编码" />
|
||||
<el-table-column show-overflow-tooltip prop="price" label="无税单价" :formatter="crud.formatNum3" />
|
||||
<el-table-column show-overflow-tooltip prop="price_tax" label="含税单价" :formatter="crud.formatNum3" />
|
||||
<el-table-column prop="contract_no" label="合同编码" />
|
||||
<el-table-column prop="price" label="无税单价" :formatter="crud.formatNum3" />
|
||||
<el-table-column prop="price_tax" label="含税单价" :formatter="crud.formatNum3" />
|
||||
<el-table-column prop="input_optname" label="导入人" />
|
||||
<el-table-column prop="update_optname" label="更新人" />
|
||||
<el-table-column prop="input_time" label="导入时间" width="150px" />
|
||||
@@ -249,6 +249,9 @@ export default {
|
||||
this.crud.toQuery()
|
||||
})
|
||||
},
|
||||
planend_timeFormat(row) {
|
||||
return row.create_date.substring(0, 10)
|
||||
},
|
||||
formaterStatus(row, column) {
|
||||
for (const item of this.procStatusList) {
|
||||
if (item.code === row.proc_status) {
|
||||
|
||||
@@ -21,15 +21,6 @@
|
||||
</el-row>
|
||||
|
||||
<el-form ref="form" style="border: 1px solid #cfe0df;margin-top: 10px;padding-top: 10px;" :inline="true" :model="form" :rules="rules" size="mini" label-width="85px" label-suffix=":">
|
||||
<!-- <el-form-item label="组织机构" prop="sysdeptid">
|
||||
<treeselect
|
||||
v-model="form.sysdeptid"
|
||||
:options="depts"
|
||||
:load-options="loadDepts"
|
||||
style="width: 200px"
|
||||
placeholder="选择部门"
|
||||
/>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="模板" prop="captemplate_code">
|
||||
<label slot="label">模 板 号:</label>
|
||||
<el-input v-model="form.captemplate_code" disabled placeholder="系统生成" clearable style="width: 210px" />
|
||||
@@ -100,8 +91,6 @@
|
||||
import CRUD, { crud, form } from '@crud/crud'
|
||||
import capacitytemplate from '@/api/wms/pdm/capacitytemplate'
|
||||
import queryDevice from '@/views/wms/pdm/base/CapacityTemplate/queryDevice'
|
||||
import shutframe from '@/api/wms/st/inStor/shutframe'
|
||||
import crudDept, {getDepts} from "@/api/system/dept";
|
||||
import Treeselect, { LOAD_CHILDREN_OPTIONS } from '@riophae/vue-treeselect'
|
||||
|
||||
const defaultForm = {
|
||||
|
||||
@@ -200,8 +200,7 @@
|
||||
<el-table-column prop="product_weight" label="计划重量(kg)" :formatter="crud.formatNum0" min-width="100" />
|
||||
<el-table-column prop="product_num" label="批数" min-width="50" />
|
||||
<el-table-column prop="planend_date" label="计划结束日期" min-width="100" />
|
||||
<el-table-column prop="plan_finish_date" label="交货日期" min-width="85" />
|
||||
<el-table-column prop="day_num" label="提前天数" min-width="75" :formatter="crud.formatNum0" />
|
||||
<el-table-column prop="plan_finish_date2" label="计划交货日期" min-width="100" />
|
||||
<el-table-column :formatter="stateFormat" min-width="50" prop="status" label="状态" />
|
||||
<el-table-column prop="task_code" label="生产任务号" min-width="110" />
|
||||
<el-table-column prop="create_time" label="创建时间" min-width="135" />
|
||||
|
||||
Reference in New Issue
Block a user