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 @@