From ae32826796d0806a750b02458ceed80300834f7f Mon Sep 17 00:00:00 2001 From: bb_pan Date: Sat, 30 Aug 2025 15:15:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E4=BB=B6=E6=96=B0=E8=B4=AD=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/part/partArrived.js | 9 ++ .../part/partArrived/component/addTools.vue | 131 +++++++++++++----- 2 files changed, 109 insertions(+), 31 deletions(-) diff --git a/src/api/part/partArrived.js b/src/api/part/partArrived.js index 34c27975..90161031 100644 --- a/src/api/part/partArrived.js +++ b/src/api/part/partArrived.js @@ -70,4 +70,13 @@ export function getInBoundForm(query) { method: 'get', params: query }) +} + +// 根据id查3级树 +export function getSelectPartListApi(query) { + return request({ + url: '/material/part_lease/selectPartList', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/views/material/part/partArrived/component/addTools.vue b/src/views/material/part/partArrived/component/addTools.vue index 2617a627..02b09e59 100644 --- a/src/views/material/part/partArrived/component/addTools.vue +++ b/src/views/material/part/partArrived/component/addTools.vue @@ -56,23 +56,40 @@ % - + + + + + + + @@ -139,7 +156,7 @@ v-model="scope.row.purchaseTaxPrice" controls-position="right" style="width: 100%" @blur="scope.row.purchaseTaxPrice = scope.row.purchaseTaxPrice>0? scope.row.purchaseTaxPrice:0" - :min="0" :step="1" :disabled="scope.row.status!=0" + :min="0" :step="1" @change="purchaseTaxPriceChange(scope.row,scope.$index)" > @@ -170,7 +187,7 @@ v-model="scope.row.productionTime" style="width: 100%" value-format="yyyy-MM-dd" - type="date" :disabled="scope.row.status!=0" + type="date" placeholder="出厂日期" clearable > @@ -281,7 +298,7 @@