Commit 0648ca1b authored by Administrator's avatar Administrator

Merge branch 'release' into 'jd_dev'

Release合并到jd分支20241220

See merge request !11
parents d69ab0f4 0eba59c9
...@@ -215,6 +215,7 @@ export default { ...@@ -215,6 +215,7 @@ export default {
/* 发货ID */ /* 发货ID */
shipmentId: "", shipmentId: "",
destWarehouseId: "", // 目的地 destWarehouseId: "", // 目的地
isTally: 0,
// loadDetail: {}, // loadDetail: {},
status: "more", status: "more",
contentText: { contentText: {
...@@ -280,6 +281,7 @@ export default { ...@@ -280,6 +281,7 @@ export default {
), ),
secId: this.pathToList[this.pathToSelected].id, secId: this.pathToList[this.pathToSelected].id,
shipmentId: this.shipmentId, shipmentId: this.shipmentId,
isTally: this.isTally,
}; };
createGoods({ ...params, relationStatus: 2, singleLoad }).then((res) => { createGoods({ ...params, relationStatus: 2, singleLoad }).then((res) => {
this.showPatch = false this.showPatch = false
...@@ -482,6 +484,7 @@ export default { ...@@ -482,6 +484,7 @@ export default {
), ),
secId: this.pathToList[this.pathToSelected].id, secId: this.pathToList[this.pathToSelected].id,
shipmentId: this.shipmentId, shipmentId: this.shipmentId,
isTally: this.isTally,
}).then((data) => { }).then((data) => {
if(data !== null && data?.data !== null) { if(data !== null && data?.data !== null) {
this.$store.dispatch(types.SHOW_TOAST, { this.$store.dispatch(types.SHOW_TOAST, {
...@@ -527,6 +530,7 @@ export default { ...@@ -527,6 +530,7 @@ export default {
if ("id" in option) { if ("id" in option) {
this.shipmentId = option.id; this.shipmentId = option.id;
this.destWarehouseId = option.destWarehouseId; this.destWarehouseId = option.destWarehouseId;
this.isTally = option.isTally;
await this.getCountry() await this.getCountry()
this.getLoadDetail(); this.getLoadDetail();
} }
......
...@@ -249,6 +249,7 @@ export default { ...@@ -249,6 +249,7 @@ export default {
/* 发货ID */ /* 发货ID */
shipmentId: "", shipmentId: "",
destWarehouseId: "", // 目的地 destWarehouseId: "", // 目的地
isTally: 0,
// loadDetail: {}, // loadDetail: {},
status: "more", status: "more",
contentText: { contentText: {
...@@ -335,6 +336,7 @@ export default { ...@@ -335,6 +336,7 @@ export default {
), ),
secId: this.pathToList[this.pathToSelected].id, secId: this.pathToList[this.pathToSelected].id,
shipmentId: this.shipmentId, shipmentId: this.shipmentId,
isTally: this.isTally,
}; };
createAir({ ...params, relationStatus: 2, singleLoad }).then((res) => { createAir({ ...params, relationStatus: 2, singleLoad }).then((res) => {
this.showPatch = false this.showPatch = false
...@@ -547,6 +549,7 @@ export default { ...@@ -547,6 +549,7 @@ export default {
), ),
secId: this.pathToList[this.pathToSelected].id, secId: this.pathToList[this.pathToSelected].id,
shipmentId: this.shipmentId, shipmentId: this.shipmentId,
isTally: this.isTally,
}).then((data) => { }).then((data) => {
if(data !== null && data?.data !== null) { if(data !== null && data?.data !== null) {
this.$store.dispatch(types.SHOW_TOAST, { this.$store.dispatch(types.SHOW_TOAST, {
...@@ -596,6 +599,7 @@ export default { ...@@ -596,6 +599,7 @@ export default {
if ("id" in option) { if ("id" in option) {
this.shipmentId = option.id; this.shipmentId = option.id;
this.destWarehouseId = option.destWarehouseId; this.destWarehouseId = option.destWarehouseId;
this.isTally = option.isTally;
// 查询出货详情 // 查询出货详情
await this.getShipment() await this.getShipment()
await this.getCountry() await this.getCountry()
......
...@@ -546,7 +546,7 @@ export default { ...@@ -546,7 +546,7 @@ export default {
toPatch() { toPatch() {
const { boxInfo } = this.loadData; const { boxInfo } = this.loadData;
uni.navigateTo({ uni.navigateTo({
url: `../loading/patch?id=${this.shipmentId}&destWarehouseId=${boxInfo.destWarehouseId}`, url: `../loading/patch?id=${this.shipmentId}&destWarehouseId=${boxInfo.destWarehouseId}&isTally=1`,
}); });
}, },
/* 理货完成 */ /* 理货完成 */
......
...@@ -808,7 +808,7 @@ export default { ...@@ -808,7 +808,7 @@ export default {
toPatch() { toPatch() {
const { boxInfo } = this.loadData; const { boxInfo } = this.loadData;
uni.navigateTo({ uni.navigateTo({
url: `../mergePkg/patch?id=${this.shipmentId}&selfNo=${boxInfo.selfNo}`, url: `../mergePkg/patch?id=${this.shipmentId}&selfNo=${boxInfo.selfNo}&isTally=1`,
}); });
}, },
/* 理货完成 */ /* 理货完成 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment