diff --git a/src/api/wmsManagement/wmPolishInventory.js b/src/api/wmsManagement/wmPolishInventory.js new file mode 100644 index 0000000..da0319e --- /dev/null +++ b/src/api/wmsManagement/wmPolishInventory.js @@ -0,0 +1,79 @@ +import request from '@/utils/request' + +/** +* 工艺路线-抛光 库存表分页查询 +* @param {查询条件} data +*/ +export function listWmPolishInventory(query) { + return request({ + url: '/mes/wm/WmPolishInventory/list', + method: 'get', + params: query, + }) +} + +/** +* 新增工艺路线-抛光 库存表 +* @param data +*/ +export function addWmPolishInventory(data) { + return request({ + url: '/mes/wm/WmPolishInventory', + method: 'post', + data: data, + }) +} +/** +* 修改工艺路线-抛光 库存表 +* @param data +*/ +export function updateWmPolishInventory(data) { + return request({ + url: '/mes/wm/WmPolishInventory', + method: 'PUT', + data: data, + }) +} +/** +* 获取工艺路线-抛光 库存表详情 +* @param {Id} +*/ +export function getWmPolishInventory(id) { + return request({ + url: '/mes/wm/WmPolishInventory/' + id, + method: 'get' + }) +} + +/** +* 删除工艺路线-抛光 库存表 +* @param {主键} pid +*/ +export function delWmPolishInventory(pid) { + return request({ + url: '/mes/wm/WmPolishInventory/' + pid, + method: 'delete' + }) +} +/** +* 物料下拉菜单查看 +* @param data +*/ +export function getMaterialSelectOption(params) { + return request({ + url: '/mes/wm/WmPolishInventory/getMaterialSelectOption', + method: 'get', + params: params, + }) +} +/** +* 抛光库手动入库 +* @param data +*/ +export function doWmPolishWarehousing(data) { + return request({ + url: '/mes/wm/WmPolishInventory/doWmPolishWarehousing', + method: 'post', + data: data, + }) +} \ No newline at end of file diff --git a/src/assets/logo/logo.png b/src/assets/logo/logo.png index 18bce35..665ad60 100644 Binary files a/src/assets/logo/logo.png and b/src/assets/logo/logo.png differ diff --git a/src/assets/logo/logo1.png b/src/assets/logo/logo1.png new file mode 100644 index 0000000..18bce35 Binary files /dev/null and b/src/assets/logo/logo1.png differ diff --git a/src/plugins/index.js b/src/plugins/index.js index 5b4e034..fc3f0f5 100644 --- a/src/plugins/index.js +++ b/src/plugins/index.js @@ -16,5 +16,13 @@ export default { Vue.prototype.$modal = modal // 下载文件 // Vue.prototype.$download = download + // element-ui table 隐藏 + Array.prototype.showColumn = function (column) { + var item = this.find((x) => x.key == column) + if (item) { + return item.checked + } + return true + } } } diff --git a/src/views/wmsManagement/WmPolishInventory/ThePartNumberSelect.vue b/src/views/wmsManagement/WmPolishInventory/ThePartNumberSelect.vue new file mode 100644 index 0000000..836a36a --- /dev/null +++ b/src/views/wmsManagement/WmPolishInventory/ThePartNumberSelect.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/src/views/wmsManagement/WmPolishInventory/index.vue b/src/views/wmsManagement/WmPolishInventory/index.vue new file mode 100644 index 0000000..3512013 --- /dev/null +++ b/src/views/wmsManagement/WmPolishInventory/index.vue @@ -0,0 +1,523 @@ + + +