rev 混料工单
This commit is contained in:
@@ -22,18 +22,7 @@
|
||||
</el-form>
|
||||
</div>
|
||||
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
||||
<crudOperation :permission="permission">
|
||||
<el-button
|
||||
slot="right"
|
||||
class="filter-item"
|
||||
type="success"
|
||||
icon="el-icon-position"
|
||||
size="mini"
|
||||
@click="synchronize()"
|
||||
>
|
||||
同步
|
||||
</el-button>
|
||||
</crudOperation>
|
||||
<crudOperation :permission="permission" />
|
||||
<!--表单组件-->
|
||||
<el-dialog
|
||||
:close-on-click-modal="false"
|
||||
@@ -50,20 +39,6 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="静置时间" prop="standing_time">
|
||||
<el-input v-model="form.standing_time" type="number" style="width: 300px" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="阈值时间" prop="threshold_time">
|
||||
<el-input v-model="form.threshold_time" type="number" style="width: 300px" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="单重" prop="weight">
|
||||
@@ -122,8 +97,6 @@
|
||||
@selection-change="crud.selectionChangeHandler"
|
||||
>
|
||||
<el-table-column prop="material_code" label="物料编码" :min-width="flexWidth('material_code',crud.data,'物料编码')" />
|
||||
<el-table-column prop="standing_time" label="困料时间" :min-width="flexWidth('standing_time',crud.data,'困料时间')" />
|
||||
<el-table-column prop="threshold_time" label="超时时间" :min-width="flexWidth('threshold_time',crud.data,'超时时间')" />
|
||||
<el-table-column prop="weight" label="单重" :min-width="flexWidth('weight',crud.data,'单重')" />
|
||||
<el-table-column prop="product_code" label="产品编号" :min-width="flexWidth('product_code',crud.data,'产品编号')" />
|
||||
<el-table-column prop="a" label="长边长度" :min-width="flexWidth('a',crud.data,'长边长度')" />
|
||||
@@ -185,7 +158,8 @@ const defaultForm = {
|
||||
update_optid: null,
|
||||
update_optname: null,
|
||||
update_time: null,
|
||||
weight: null
|
||||
weight: null,
|
||||
material_type: '1'
|
||||
}
|
||||
export default {
|
||||
name: 'Materialbase',
|
||||
@@ -200,7 +174,10 @@ export default {
|
||||
url: 'api/Materialbase',
|
||||
idField: 'material_id',
|
||||
sort: 'material_id,desc',
|
||||
crudMethod: { ...crudMaterialbase }
|
||||
crudMethod: { ...crudMaterialbase },
|
||||
query: {
|
||||
material_type: '1'
|
||||
}
|
||||
})
|
||||
},
|
||||
data() {
|
||||
|
||||
Reference in New Issue
Block a user