From 263c9557fa656b02d2e44445e70fd003462231a0 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 24 Dec 2024 14:40:15 +0800 Subject: [PATCH] =?UTF-8?q?asn=E6=94=B6=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/request2.js | 37 +- src/common/style/new_style.css | 5 + src/manifest.json | 4 +- src/mycomponents/balance/intoDeliNo.vue | 37 ++ src/mycomponents/item/itemCompareQty.vue | 8 +- src/mycomponents/job/jobBottom.vue | 2 +- src/mycomponents/job/jobComMainCardAsn.vue | 2 +- src/mycomponents/job/jobComMainDetailCard.vue | 11 +- src/mycomponents/job/jobTopAsn.vue | 2 +- src/mycomponents/package/packageCard.vue | 30 +- src/mycomponents/package/packageList.vue | 26 +- src/mycomponents/qty/compareQty.vue | 14 +- src/mycomponents/qty/recommendHandleQty.vue | 15 +- src/pages.json | 35 ++ .../coms/comReceiptDetailCardBacth.vue | 15 +- .../coms/comReceiptJobCard.vue | 10 +- .../job/purchaseReceiptAsn.vue | 559 ++++++++++++++++++ .../job/purchaseReceiptAsnDetail.vue | 489 +++++++++++++++ 18 files changed, 1260 insertions(+), 41 deletions(-) create mode 100644 src/mycomponents/balance/intoDeliNo.vue create mode 100644 src/pages/purchaseReceipt/job/purchaseReceiptAsn.vue create mode 100644 src/pages/purchaseReceipt/job/purchaseReceiptAsnDetail.vue diff --git a/src/api/request2.js b/src/api/request2.js index cb1d2fc0..6e0081bc 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -827,14 +827,29 @@ export function getPurchaseReceiptJobList(params) { data: params, }); } - +/** + * 采购收货 任务 + * status 任务状态 + * 开始日期 + * 结束日期 + * 获取日期任务列表 + * 接口返回添加包装号列表 + * @param {*} + */ +export function getPurchaseReceiptASNJobList(params) { + return request({ + url: baseApi + "/wms/purchasereceipt-job-detail/seniorASN", + method: "post", + data: params, + }); +} /** * 采购收货 任务承接 * @param {*} id * */ -export function takePurchaseReceiptJob(id) { - return request({ +export async function takePurchaseReceiptJob(id) { + return await request({ url: baseApi + "/wms/purchasereceipt-job-main/accept?id=" + id, method: "put", data: {}, @@ -846,8 +861,8 @@ export function takePurchaseReceiptJob(id) { * @param {*} id * */ -export function cancleTakePurchaseReceiptJob(id) { - return request({ +export async function cancleTakePurchaseReceiptJob(id) { + return await request({ url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, method: "put", data: {}, @@ -890,6 +905,18 @@ export function purchaseReceiptJobSubmit(params) { data: params, }); } +/** + * asn采购收货 多任务提交 + * @param {*} 任务id + * + */ +export function purchaseReceiptJobSubmitASN(params) { + return request({ + url: baseApi + "/wms/purchasereceipt-job-main/executeASN", + method: "put", + data: params, + }); +} /** diff --git a/src/common/style/new_style.css b/src/common/style/new_style.css index a2d135ee..0391c5ca 100644 --- a/src/common/style/new_style.css +++ b/src/common/style/new_style.css @@ -2179,6 +2179,11 @@ button::after { padding: 5px; } +.scan_view_gay { + /* #0CC2B6 20% */ + background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(12, 194, 182, 0) 100%) +} + .scan_view { /* #0CC2B6 20% */ background: linear-gradient(90deg, rgba(12, 194, 182, 0.2) 0%, rgba(12, 194, 182, 0) 100%) diff --git a/src/manifest.json b/src/manifest.json index 77fcf60a..9b27de7b 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -3,8 +3,8 @@ "package" : "com.yingtai.pda", "appid" : "__UNI__F36DDCF", "description" : "", - "versionName" : "1.0.1", - "versionCode" : 1, + "versionName" : "1.0.2", + "versionCode" : 2, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/src/mycomponents/balance/intoDeliNo.vue b/src/mycomponents/balance/intoDeliNo.vue new file mode 100644 index 00000000..8a272371 --- /dev/null +++ b/src/mycomponents/balance/intoDeliNo.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/src/mycomponents/item/itemCompareQty.vue b/src/mycomponents/item/itemCompareQty.vue index a4d55922..31ad0d7f 100644 --- a/src/mycomponents/item/itemCompareQty.vue +++ b/src/mycomponents/item/itemCompareQty.vue @@ -3,18 +3,19 @@ - + + - + :handleQty="Number(handleQty)" :isShowStatus="false" :isShowPackUnit="isShowPackUnit" :isShowSupplierQty='isShowSupplierQty'> {{dataContent.fromPackCount}}/{{dataContent.toPackCount}} + + + \ No newline at end of file diff --git a/src/pages/purchaseReceipt/job/purchaseReceiptAsnDetail.vue b/src/pages/purchaseReceipt/job/purchaseReceiptAsnDetail.vue new file mode 100644 index 00000000..78064a77 --- /dev/null +++ b/src/pages/purchaseReceipt/job/purchaseReceiptAsnDetail.vue @@ -0,0 +1,489 @@ + + + + + \ No newline at end of file