diff --git a/src/config/getData1.js b/src/config/getData1.js
index 53611eb..c9ca53a 100644
--- a/src/config/getData1.js
+++ b/src/config/getData1.js
@@ -93,3 +93,37 @@ export const outgetAll = (sid, btime, etime, btype, mcode, scode) => post('api/p
export const inconfirm = (row) => post('api/pda/cp/in/confirm', {
row: row
})
+
+// 刻字上料
+// 1.1设备列表
+export const devicelist = () => post('api/device/list', {
+ workprocedure_id: '1535144682756116480'
+})
+
+// 1.2车间列表
+export const dictDetailByCode = (code) => post('api/dict/dictDetailByCode', {
+ code: code
+})
+
+// 1卸料
+export const kzunload = (dcode, qty) => post('api/pda/kzunload', {
+ device_code: dcode,
+ qty: qty
+})
+
+// 1卸料
+export const kzresidue = (dcode) => post('api/pda/kzresidue', {
+ device_code: dcode
+})
+
+// 临时人工刻字上料
+// 1刻字上料
+export const tmpcallVechile = (dcode, qty) => post('api/pda/tmpcallVechile', {
+ device_code: dcode,
+ qty: qty
+})
+
+// 2空框回库
+export const tmpsendVechile = (dcode) => post('api/pda/tmpsendVechile', {
+ device_code: dcode
+})
diff --git a/src/pages/modules/finished/finished-instore.vue b/src/pages/modules/finished/finished-instore.vue
index 0222058..5838d80 100644
--- a/src/pages/modules/finished/finished-instore.vue
+++ b/src/pages/modules/finished/finished-instore.vue
@@ -51,7 +51,7 @@
-
+
@@ -152,6 +152,7 @@ export default {
}
},
toAddBillMater () {
+ this.$store.dispatch('setMaterArr', [])
this.$router.push('/selectfinishedmater')
},
toSearch () {
@@ -161,8 +162,12 @@ export default {
this.pkId = this.pkId === e.sale_code ? '' : e.sale_code
this.pkObj = this.pkId === e.sale_code ? e : {}
},
- toDel () {
- console.log('del')
+ delRow () {
+ if (!this.pkId) {
+ return
+ }
+ this.dataList = this.dataList.filter(el => el.sale_code !== this.pkId)
+ this.$store.dispatch('setMaterArr', this.dataList)
}
}
}