diff --git a/src/api/boxManage/boxManage.js b/src/api/boxManage/boxManage.js
index 6dd0a7f..5e70792 100644
--- a/src/api/boxManage/boxManage.js
+++ b/src/api/boxManage/boxManage.js
@@ -21,4 +21,13 @@ export const saveCaseRollList = data => createAPI('/boxForNotification/saveCaseR
export const searchOutboundNotificationWithDetail = data => createAPI('/boxForNotification/searchOutboundNotificationWithDetail','post',data)
// 更新出库通知单状态
-export const updateOrderStatus = data => createAPI('/boxForNotification/updateOrderStatus','post',data)
\ No newline at end of file
+export const updateOrderStatus = data => createAPI('/boxForNotification/updateOrderStatus','post',data)
+
+// ==================== 托清单相关接口 ====================
+export const searchPalletList = data => createAPI('/boxForNotification/searchPalletList','post',data)
+export const newPallet = data => createAPI('/boxForNotification/newPallet','post',data)
+export const searchPalletDetail = data => createAPI('/boxForNotification/searchPalletDetail','post',data)
+export const deletePallet = data => createAPI('/boxForNotification/deletePallet','post',data)
+export const updatePalletStatus = data => createAPI('/boxForNotification/updatePalletStatus','post',data)
+export const scanPalletBox = data => createAPI('/boxForNotification/scanPalletBox','post',data)
+export const deletePalletBox = data => createAPI('/boxForNotification/deletePalletBox','post',data)
diff --git a/src/views/modules/boxManage/com_saleBoxManage_boxing.vue b/src/views/modules/boxManage/com_saleBoxManage_boxing.vue
index bd79098..21ef2ad 100644
--- a/src/views/modules/boxManage/com_saleBoxManage_boxing.vue
+++ b/src/views/modules/boxManage/com_saleBoxManage_boxing.vue
@@ -353,7 +353,6 @@ export default {
boxNo: data.boxNo,
buNo: this.searchData.buNo,
}
- console.log(data2)
this.searchBox(data2)
this.boxModelFlag = true
this.boxActionType='add'
diff --git a/src/views/modules/boxManage/com_saleBoxManage_pallet.vue b/src/views/modules/boxManage/com_saleBoxManage_pallet.vue
new file mode 100644
index 0000000..25320c4
--- /dev/null
+++ b/src/views/modules/boxManage/com_saleBoxManage_pallet.vue
@@ -0,0 +1,491 @@
+
+
+
+
+ 查询
+ 新增托
+
+
+
+
+
+ 查看
+
+ 装托
+ 封托
+ 拆托
+ 删除
+
+
+
+
+
+ {{scope.row[item.columnProp]}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 关闭
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/boxManage/saleBoxManage.vue b/src/views/modules/boxManage/saleBoxManage.vue
index a9a1ec9..6954f06 100644
--- a/src/views/modules/boxManage/saleBoxManage.vue
+++ b/src/views/modules/boxManage/saleBoxManage.vue
@@ -150,6 +150,9 @@
+
+
+
{
+ if (!this.$refs.boxing) {
+ return;
+ }
+ let inData={
+ site: this.currentRow.site,
+ buNo: this.currentRow.buNo,
+ orderNo: this.currentRow.orderNo,
+ boxType: this.currentRow.orderType,
+ height:Number(this.height)-25,
+ orderStatus: this.currentRow.orderStatus
+ }
+ this.$refs.boxing.init(inData)
+ })
+ },
+ refreshPalletTable(){
+ this.$nextTick(() => {
+ // 检查组件引用是否存在
+ if (!this.$refs.pallet) {
+ return;
+ }
+ // 检查 init 方法是否存在且是函数
+ if (typeof this.$refs.pallet.init !== 'function') {
+ return;
+ }
+
+ // 准备初始化数据,即使没有选中行也要初始化组件
+ let inData={
+ site: this.currentRow ? this.currentRow.site : '',
+ buNo: this.currentRow ? this.currentRow.buNo : '',
+ orderNo: this.currentRow ? this.currentRow.orderNo : '',
+ palletType: this.currentRow ? this.currentRow.orderType : '',
+ height: Number(this.height)-25,
+ orderStatus: this.currentRow ? this.currentRow.orderStatus : ''
+ }
+ this.$refs.pallet.init(inData)
+ })
},
refreshRollsTable(){
let templateData = {