diff --git a/src/config/getData2.js b/src/config/getData2.js
index 98b7ba4..60c9ebb 100644
--- a/src/config/getData2.js
+++ b/src/config/getData2.js
@@ -157,3 +157,40 @@ export const getAll = (id, btime, etime, code, scode, type) => post('api/pda/bcp
export const bcpInConfirm = (row) => post('api/pda/bcp/in/confirm', {
row: row
})
+
+/**
+ * 半成品出库
+ */
+// 1.1仓库下拉框
+export const outgetBcpStor = () => post('api/pda/bcp/out/getBcpStor', {})
+// 1.2单据类型下拉框
+export const outgetBillType = () => post('api/pda/bcp/out/getBillType', {})
+// 1.3物料选择页面
+export const outgetMaterial = (code, scode, is) => post('api/pda/bcp/out/getMaterial', {
+ material_code: code,
+ struct_code: scode,
+ is_material: is
+})
+// 1.4出库点下拉框
+export const outgetPoint = () => post('api/pda/bcp/out/getPoint', {})
+// 1.5确认入库(按钮)
+export const outcreateIn = (from) => post('api/pda/bcp/out/createIn', {
+ from: from
+})
+
+/**
+ * 半成品出库查询
+ */
+// 2.1半成品出库查询
+export const outgetAll = (id, btime, etime, code, scode, type) => post('api/pda/bcp/out/getAll', {
+ stor_id: id,
+ begin_time: btime,
+ end_time: etime,
+ material_code: code,
+ storagevehicle_code: scode,
+ bill_type: type
+})
+// 2.2强制确认(按钮)
+export const bcpOutConfirm = (row) => post('api/pda/bcp/out/confirm', {
+ row: row
+})
diff --git a/src/pages/modules/semifinished/index.vue b/src/pages/modules/semifinished/index.vue
index 0816813..e06c88e 100644
--- a/src/pages/modules/semifinished/index.vue
+++ b/src/pages/modules/semifinished/index.vue
@@ -26,7 +26,7 @@ export default {
},
computed: {
title () {
- let res = ['半成品入库', '半成品入库查询', '半成品出库', '半成品出库查询', '半成品盘点', '半成品盘点查询', '半成品拼盘查询', '物料查询'][Number(this.$route.meta.guidePath) - 1]
+ let res = ['半成品入库', '半成品入库查询', '半成品出库', '半成品出库查询', '半成品盘点', '半成品盘点查询', '半成品拼盘查询', '物料查询', '物料查询'][Number(this.$route.meta.guidePath) - 1]
return res
},
...mapGetters(['keepAlive'])
diff --git a/src/pages/modules/semifinished/out-mater-search.vue b/src/pages/modules/semifinished/out-mater-search.vue
new file mode 100644
index 0000000..7fba69c
--- /dev/null
+++ b/src/pages/modules/semifinished/out-mater-search.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | 序号 |
+ 物料编号 |
+ 物料名称 |
+ 物料类别 |
+ 重量单位 |
+
+
+
+
+ | {{ i+1 }} |
+ {{e.material_code}} |
+ {{e.material_name}} |
+ {{e.class_code}} |
+ {{e.unit_name}} |
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index c179329..4026ebd 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -20,6 +20,7 @@ const semiFinishedCheck = r => require.ensure([], () => r(require('@page/modules
const semiFinishedCheckSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-check-search')), 'semifinished')
const semiFinishedComposeSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/semi-finished-compose-search')), 'semifinished')
const materSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/mater-search')), 'semifinished')
+const outMaterSearch = r => require.ensure([], () => r(require('@page/modules/semifinished/out-mater-search')), 'semifinished')
const Homeset = r => require.ensure([], () => r(require('@page/homeset/index')), 'Homeset')
const Home = r => require.ensure([], () => r(require('@page/homeset/HomePage')), 'HomePage')
@@ -106,10 +107,15 @@ export default new Router({
}, {
path: '/semifinishedcomposesearch',
component: semiFinishedComposeSearch,
+ meta: {guidePath: '7'}
+ }, {
+ path: '/matersearch',
+ component: materSearch,
meta: {guidePath: '8'}
}, {
- path: '/materSearch',
- component: materSearch
+ path: '/outmatersearch',
+ component: outMaterSearch,
+ meta: {guidePath: '9'}
}]
},
{