save context before win10 updates
This commit is contained in:
@@ -8,10 +8,10 @@ export default function () {
|
||||
const tableProps = [
|
||||
{ prop: "name", label: "窑车号" },
|
||||
{ prop: "code", label: "编码" },
|
||||
{ prop: "typeDictValue", label: "过渡车", filter: val => ['否', '是'](val) },
|
||||
// { prop: "typeDictValue", label: "过渡车", filter: val => ['否', '是'][val] },
|
||||
{ prop: "status", label: "状态", subcomponent: switchBtn }, // subcomponent
|
||||
{ prop: "currentQty", label: "载量" },
|
||||
{ prop: "currentPos", label: "当前位置" },
|
||||
// { prop: "currentQty", label: "载量" },
|
||||
// { prop: "currentPos", label: "当前位置" },
|
||||
{ prop: "description", label: "描述" },
|
||||
{ prop: "remark", label: "备注" },
|
||||
{
|
||||
@@ -32,7 +32,7 @@ export default function () {
|
||||
default: { value: "" },
|
||||
bind: {
|
||||
// placeholder: '请输入产线名称或编码'
|
||||
placeholder: '请输入料仓名称'
|
||||
placeholder: '请输入窑车号'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -83,6 +83,7 @@ export default function () {
|
||||
// fetchTreeData() 获取需要展示层级结构的数据
|
||||
fetchTreeData: () => {
|
||||
return this.$http.get('/pms/equipmentType/page', {
|
||||
// TODO:前提是工厂里总的设备类型数不会超过 999
|
||||
limit: 999, page: 1, key: ""
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user