diff --git a/yxt-as-ui/src/api/storage/allocation.js b/yxt-as-ui/src/api/storage/allocation.js
index 3d7e2c316a..1bdada1657 100644
--- a/yxt-as-ui/src/api/storage/allocation.js
+++ b/yxt-as-ui/src/api/storage/allocation.js
@@ -8,6 +8,7 @@ export default {
url: '/wms/apiadmin/inventory/wmsinventoryallocatebill/listPage',
method: 'post',
data: params,
+ headers: { 'Content-Type': 'application/json' }
})
},
@@ -16,7 +17,8 @@ export default {
return request({
url: '/wms/apiadmin/inventory/wmsinventoryallocatebill/save',
method: 'post',
- data: data
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
});
},
@@ -34,7 +36,8 @@ export default {
return request({
url: '/wms/apiadmin/inventory/wmsinventory/alloGoodsListPage',
method: 'post',
- data: params
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
})
},
@@ -53,6 +56,7 @@ export default {
url: '/wms/apiadmin/base/wmswarehousearea/selectAll',
method: 'get',
data: data,
+ headers: { 'Content-Type': 'application/json' }
});
},
diff --git a/yxt-as-ui/src/api/storage/deliveryNotice.js b/yxt-as-ui/src/api/storage/deliveryNotice.js
index b0ff73d138..9034309b71 100644
--- a/yxt-as-ui/src/api/storage/deliveryNotice.js
+++ b/yxt-as-ui/src/api/storage/deliveryNotice.js
@@ -8,6 +8,7 @@ export default {
url: '/wms/apiadmin/WmsAnsBill/listPage',
method: 'post',
data: params,
+ headers: { 'Content-Type': 'application/json' }
})
},
@@ -35,7 +36,8 @@ export default {
return request({
url: '/wms/apiadmin/inventory/WmsReceiptBill/saveOrUpdate',
method: 'post',
- data: data
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
});
},
@@ -44,7 +46,8 @@ export default {
return request({
url: '/wms/apiadmin/inventory/WmsReceiptBill/confirm',
method: 'post',
- data: data
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
});
},
diff --git a/yxt-as-ui/src/api/storage/receivingGoods.js b/yxt-as-ui/src/api/storage/receivingGoods.js
index 002d57aeb2..433280c19d 100644
--- a/yxt-as-ui/src/api/storage/receivingGoods.js
+++ b/yxt-as-ui/src/api/storage/receivingGoods.js
@@ -8,6 +8,7 @@ export default {
url: '/wms/apiadmin/inventory/WmsReceiptBill/listPage',
method: 'post',
data: params,
+ headers: { 'Content-Type': 'application/json' }
})
},
@@ -24,9 +25,10 @@ export default {
// 新增、保存
save: function(data) {
return request({
- url: '/wms/apiadmin/inventory/WmsReceiptBill/getDetailsInit',
+ url: '/wms/apiadmin/inventory/WmsReceiptBill/saveOrUpdate',
method: 'post',
- data: data
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
});
},
@@ -35,7 +37,8 @@ export default {
return request({
url: '/wms/apiadmin/inventory/WmsReceiptBill/confirm',
method: 'post',
- data: data
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
});
},
@@ -44,7 +47,17 @@ export default {
return request({
url: '/yxtbase/apiadmin/base/basegoodssku/getGoodsListPage',
method: 'post',
- data: params
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+
+ // 选择供应商
+ choiceSupplier: function(params) {
+ return request({
+ url: '/wms/apiadmin/base/basesupplierinfo/choiceSupplierInfo',
+ method: 'post',
+ data: params,
})
},
diff --git a/yxt-as-ui/src/api/storage/stocktaking.js b/yxt-as-ui/src/api/storage/stocktaking.js
index 12a3b7b6ff..ec8c65ba0a 100644
--- a/yxt-as-ui/src/api/storage/stocktaking.js
+++ b/yxt-as-ui/src/api/storage/stocktaking.js
@@ -16,7 +16,8 @@ export default {
return request({
url: '/wms/apiadmin/inventory/wmsinventorycheckbill/save',
method: 'post',
- data: data
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
});
},
@@ -33,7 +34,8 @@ export default {
return request({
url: '/wms/apiadmin/inventory/wmsinventory/invenGoodsListPage',
method: 'post',
- data: params
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
})
},
@@ -42,7 +44,8 @@ export default {
return request({
url: '/wms/apiadmin/inventory/wmsinventory/invenGoodsListPage',
method: 'post',
- data: params
+ data: params,
+ headers: { 'Content-Type': 'application/json' }
})
},
}
diff --git a/yxt-as-ui/src/api/storage/upShelf.js b/yxt-as-ui/src/api/storage/upShelf.js
new file mode 100644
index 0000000000..f80679aa99
--- /dev/null
+++ b/yxt-as-ui/src/api/storage/upShelf.js
@@ -0,0 +1,43 @@
+import request from '@/utils/request'
+
+export default {
+
+// 查询分页列表
+ listPage: function(params) {
+ return request({
+ url: '/wms/apiadmin/WmsShelfBill/listPage',
+ method: 'post',
+ data: params,
+ })
+ },
+
+ // 初始化
+ init: function(data) {
+ return request({
+ url: '/wms/apiadmin/WmsShelfBill/details',
+ method: 'get',
+ data:data
+ });
+ },
+
+
+ // 新增、保存
+ save: function(data) {
+ return request({
+ url: '/wms/apiadmin/WmsShelfBill/saveOrUpdate',
+ method: 'post',
+ data: data
+ });
+ },
+
+
+ deleteBySids: function(data) {
+ return request({
+ url: '/wms/apiadmin/WmsShelfBill/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
+ })
+ },
+
+}
diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js
index 1c397e65d0..c728dd7cbf 100644
--- a/yxt-as-ui/src/router/index.js
+++ b/yxt-as-ui/src/router/index.js
@@ -116,6 +116,15 @@ export const constantRoutes = [
noCache: true
}
},
+ {
+ path: '/upShelf/index',
+ name: 'UpShelf',
+ component: () => import('@/views/storage/upShelf/index'),
+ meta: {
+ title: '上架单',
+ noCache: true
+ }
+ },
]
},
diff --git a/yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue b/yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue
index bd907300ad..c576491e72 100644
--- a/yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue
+++ b/yxt-as-ui/src/views/storage/deliveryNotice/receiptAdd.vue
@@ -151,10 +151,10 @@
-
-
-
-
+
+
+
+
diff --git a/yxt-as-ui/src/views/storage/receivingGoods/index.vue b/yxt-as-ui/src/views/storage/receivingGoods/index.vue
index 4aa470960d..648a82af09 100644
--- a/yxt-as-ui/src/views/storage/receivingGoods/index.vue
+++ b/yxt-as-ui/src/views/storage/receivingGoods/index.vue
@@ -67,7 +67,8 @@
- 办理
+ 办理
查看
@@ -180,15 +181,15 @@
sid: "2"
}
],
- billStateList: [{
- name: "单据状态1",
- sid: "1"
- },
- {
- name: "单据状态2",
- sid: "2"
- }
- ],
+ billStateList: [{
+ name: "新建",
+ sid: "0"
+ },
+ {
+ name: "完成",
+ sid: "1"
+ }
+ ],
}
},
mounted() {
@@ -332,14 +333,23 @@
}
},
toAdd() {
- if (this.selectionList.length != 1) {
- this.$message({
- type: 'warning',
- message: "请选择一条数据。",
- showClose: true
- })
- return
- }
+ if (this.selectionList.length != 1) {
+ this.$message({
+ type: 'warning',
+ message: "请选择一条数据。",
+ showClose: true
+ })
+ return
+ }
+
+ if (this.selectionList[0].billState == '完成') {
+ this.$message({
+ type: 'warning',
+ message: "此记录已完成,不可操作。",
+ showClose: true
+ })
+ return
+ }
this.viewState = 5
this.$refs['divAddupShelfRecord'].showEdit(this.selectionList[0])
diff --git a/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsAdd.vue b/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsAdd.vue
index cd55d2cb72..91b7983327 100644
--- a/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsAdd.vue
+++ b/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsAdd.vue
@@ -95,9 +95,8 @@
商品列表
批次收货
-
-
+
+
+ @change="selectWarehouseAreaCode(scope.row,$event)">
@@ -234,8 +233,8 @@
-
-
+
+
@@ -267,6 +266,7 @@
components: {},
data() {
return {
+ title: '【新增】',
listLoading: false,
submitdisabled: false,
formobj: {
@@ -765,13 +765,18 @@
},
showAdd() {
+ this.title = "【新增】"
this.isUpdata = false
console.log("showAdd", this.isUpdata);
+
this.getsupplierLust()
+ this.getWarehouseList()
},
showEdit(row) {
+ this.title = "【修改】"
this.isUpdata = true
this.getsupplierLust()
+ this.getWarehouseList()
console.log("showEdit", this.isUpdata);
var params = {
sid: row.sid
@@ -848,7 +853,7 @@
row.warehouseSid = choose[0].sid
},
- selectWarehouseAreaCode(val) {
+ selectWarehouseAreaCode(row, val) {
console.log("selectWarehouseAreaCode", val);
const choose = this.warehouseRackList.filter((item) => item.sid == val)
@@ -997,7 +1002,6 @@
}
}
-
row.amount = (Number(row.actualInCount) * Number(row.taxPrice)).toFixed(2)
},
diff --git a/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsInfo.vue b/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsInfo.vue
index 4bfc1a40b1..940d3c87da 100644
--- a/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsInfo.vue
+++ b/yxt-as-ui/src/views/storage/receivingGoods/receivingGoodsInfo.vue
@@ -14,10 +14,10 @@
-
-
+
+
@@ -33,14 +33,14 @@
-
- 外部单号
- {{ formobj.sourceBillNo }}
-
-
- 单据日期
- {{ formobj.createTime }}
-
+
+ 外部单号
+ {{ formobj.sourceBillNo }}
+
+
+ 单据日期
+ {{ formobj.createTime }}
+
@@ -58,14 +58,14 @@
-
- 到货日期
- {{ formobj.deliveryDate }}
-
-
- 单据状态
- {{ formobj.billState }}
-
+
+ 到货日期
+ {{ formobj.deliveryDate }}
+
+
+ 单据状态
+ {{ formobj.billState }}
+
@@ -78,12 +78,12 @@
-
+
-
+
@@ -103,32 +103,32 @@
-
+
合格
不合格
-
-
+
+
-
+
-
+
-
-
+
+
-
-
+
+
@@ -199,6 +199,7 @@
margin-left: 120px !important;
width: calc(100% - 115px);
}
+
.titleOne {
padding: 7px;
display: flex;
@@ -207,4 +208,3 @@
align-items: center;
}
-
diff --git a/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue b/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue
index 020826cc8b..3b30d63212 100644
--- a/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue
+++ b/yxt-as-ui/src/views/storage/receivingGoods/upShelfAddRecord.vue
@@ -15,10 +15,10 @@
-
-
+
+
@@ -28,23 +28,23 @@
制单人姓名
+ clearable />
-
- 外部单号
- {{ formobj.sourceBillNo }}
-
-
- 单据日期
-
+
+ 外部单号
+ {{ formobj.sourceBillNo }}
+
+
+ 单据日期
+
-
+
@@ -56,7 +56,8 @@
备注
-
+
@@ -77,18 +78,35 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
@@ -112,22 +130,16 @@
formobj: {
"sid": "",
"billNo": "",
- "sourceBillSid": "",
- "sourceBillNo": "",
"createBySid": "",
"createByName": "",
"createTime": "",
- "busTypeKey": "",
- "busTypeValue": "",
- "supplierSid": "",
- "supplierName": "",
- "deliveryDate": "",
+ "sourceBillNo": "",
+ "sourceBillSid": "",
"billState": "新建",
- "remarks": "",
- "useOrgSid": "",
- "createOrgSid": "",
- "list": [],
- "pcList": []
+ "list": [
+
+ ],
+ "remarks": ""
},
hideUploadBtn: false,
busTypeList: [{
@@ -145,36 +157,6 @@
}
},
created() {},
- computed: {
- // 调拨数量
- totalQuantity() {
- let quantity = 0
- if (this.formobj.wmsInventoryAllocateBillDetailNewList.length > 0) {
- this.formobj.wmsInventoryAllocateBillDetailNewList.forEach((e) => {
- quantity += Number(e.count)
- })
- }
-
- this.formobj.count = quantity
-
- return quantity
- },
- // 调拨金额
- materialCost() {
- let material = 0
- if (this.formobj.wmsInventoryAllocateBillDetailNewList.length > 0) {
- this.formobj.wmsInventoryAllocateBillDetailNewList.forEach((e) => {
- material += Number((Number(e.count) * Number(e.taxPrice)))
- })
- }
-
- this.formobj.amount = material.toFixed(2)
-
- return material.toFixed(2)
- },
-
- },
-
methods: {
doGoodsDel(sid) {
console.log("doGoodsDel》》》》", sid)
@@ -222,22 +204,16 @@
this.formobj = {
"sid": "",
"billNo": "",
- "sourceBillSid": "",
- "sourceBillNo": "",
"createBySid": "",
"createByName": "",
"createTime": "",
- "busTypeKey": "",
- "busTypeValue": "",
- "supplierSid": "",
- "supplierName": "",
- "deliveryDate": "",
- "billState": "",
- "remarks": "",
- "useOrgSid": "",
- "createOrgSid": "",
- "list": [],
- "pcList": []
+ "sourceBillNo": "",
+ "sourceBillSid": "",
+ "billState": "新建",
+ "list": [
+
+ ],
+ "remarks": ""
}
this.$emit('doback')
},
@@ -444,7 +420,7 @@
row.actualInCount = row.orderCount
}
- row.amount = (Number(row.actualInCount) * Number(row.taxPrice)).toFixed(2)
+ row.amount = (Number(row.actualInCount) * Number(row.taxPrice)).toFixed(2)
},
commodityComputeYHAndXSJE2(row, val) {
@@ -488,6 +464,7 @@
margin-left: 120px !important;
width: calc(100% - 115px);
}
+
.titleOne {
padding: 7px;
display: flex;
@@ -496,4 +473,3 @@
align-items: center;
}
-
diff --git a/yxt-as-ui/src/views/storage/upShelf/index.vue b/yxt-as-ui/src/views/storage/upShelf/index.vue
new file mode 100644
index 0000000000..cc5bf61d02
--- /dev/null
+++ b/yxt-as-ui/src/views/storage/upShelf/index.vue
@@ -0,0 +1,333 @@
+
+
+
+
+
+
+
+ {{ searchxianshitit }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue b/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue
new file mode 100644
index 0000000000..fe1c85b861
--- /dev/null
+++ b/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue
@@ -0,0 +1,412 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 单据编号
+
+
+
+
+ {{formobj.billNo}}
+
+
+
+
+
+ 制单人姓名
+
+
+
+
+
+
+
+
+
+
+
+
+ 外部单号
+
+
+
+
+ {{formobj.sourceBillNo}}
+
+
+
+
+
+ 单据日期
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 单据状态
+
+
+
+
+ {{formobj.billState}}
+
+
+
+
+
+
+ 备注
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/yxt-as-ui/src/views/storage/upShelf/upShelfInfo.vue b/yxt-as-ui/src/views/storage/upShelf/upShelfInfo.vue
new file mode 100644
index 0000000000..34d3cfa30d
--- /dev/null
+++ b/yxt-as-ui/src/views/storage/upShelf/upShelfInfo.vue
@@ -0,0 +1,220 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 单据编号
+
+
+
+
+ {{formobj.billNo}}
+
+
+
+
+
+ 制单人姓名
+
+
+
+
+ {{formobj.createByName}}
+
+
+
+
+
+
+
+ 来源单号
+
+
+
+
+ {{formobj.sourceBillNo}}
+
+
+
+
+
+ 单据日期
+
+
+
+
+ {{formobj.createTime}}
+
+
+
+
+
+
+
+
+ 单据状态
+
+
+
+
+ {{formobj.billState}}
+
+
+
+
+
+ 备注
+
+
+
+
+ {{formobj.remarks}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+