|
@@ -20,7 +20,6 @@
|
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
@click="handParent('', -1)"
|
|
@click="handParent('', -1)"
|
|
|
- v-if="!isContractId"
|
|
|
|
|
>
|
|
>
|
|
|
新增
|
|
新增
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -29,7 +28,7 @@
|
|
|
type="primary"
|
|
type="primary"
|
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
- v-if="!isContractId && isTemporary"
|
|
|
|
|
|
|
+ v-if="isTemporary"
|
|
|
@click="handlAdd"
|
|
@click="handlAdd"
|
|
|
>
|
|
>
|
|
|
新增临时产品
|
|
新增临时产品
|
|
@@ -39,7 +38,7 @@
|
|
|
type="primary"
|
|
type="primary"
|
|
|
class="ele-btn-icon"
|
|
class="ele-btn-icon"
|
|
|
@click="save"
|
|
@click="save"
|
|
|
- v-if="!isContractId && isDrawer"
|
|
|
|
|
|
|
+ v-if="isDrawer"
|
|
|
>
|
|
>
|
|
|
保存
|
|
保存
|
|
|
</el-button>
|
|
</el-button>
|
|
@@ -85,13 +84,13 @@
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
- :disabled="isContractId || !!row.productCode"
|
|
|
|
|
|
|
+ :disabled="!!row.productCode"
|
|
|
v-model="row.productName"
|
|
v-model="row.productName"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
style="width: 60%; margin-right: 10px"
|
|
style="width: 60%; margin-right: 10px"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="!isContractId"
|
|
|
|
|
|
|
+
|
|
|
size="small"
|
|
size="small"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
@click.native="handParent(row, $index)"
|
|
@click.native="handParent(row, $index)"
|
|
@@ -181,7 +180,6 @@
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
- :disabled="isContractId"
|
|
|
|
|
v-model="scope.row.totalCount"
|
|
v-model="scope.row.totalCount"
|
|
|
type="number"
|
|
type="number"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
@@ -254,7 +252,6 @@
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
- :disabled="isContractId"
|
|
|
|
|
v-model="scope.row.guaranteePeriod"
|
|
v-model="scope.row.guaranteePeriod"
|
|
|
@change="
|
|
@change="
|
|
|
setDeliveryDays(scope.row, scope.$index, 'guaranteePeriod')
|
|
setDeliveryDays(scope.row, scope.$index, 'guaranteePeriod')
|
|
@@ -268,7 +265,6 @@
|
|
|
dictName="质保期单位"
|
|
dictName="质保期单位"
|
|
|
clearable
|
|
clearable
|
|
|
v-model="scope.row.guaranteePeriodUnitCode"
|
|
v-model="scope.row.guaranteePeriodUnitCode"
|
|
|
- :disabled="isContractId"
|
|
|
|
|
@change="
|
|
@change="
|
|
|
setDeliveryDays(scope.row, scope.$index, 'guaranteePeriod')
|
|
setDeliveryDays(scope.row, scope.$index, 'guaranteePeriod')
|
|
|
"
|
|
"
|
|
@@ -295,7 +291,6 @@
|
|
|
:prop="'datasource.' + scope.$index + '.remark'"
|
|
:prop="'datasource.' + scope.$index + '.remark'"
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
- :disabled="isContractId"
|
|
|
|
|
v-model="scope.row.remark"
|
|
v-model="scope.row.remark"
|
|
|
type="textarea"
|
|
type="textarea"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
@@ -313,7 +308,6 @@
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
- :disabled="isContractId"
|
|
|
|
|
v-model="scope.row.singlePrice"
|
|
v-model="scope.row.singlePrice"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
type="number"
|
|
type="number"
|
|
@@ -344,7 +338,6 @@
|
|
|
:prop="'datasource.' + scope.$index + '.taxRate'"
|
|
:prop="'datasource.' + scope.$index + '.taxRate'"
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
- :disabled="isContractId"
|
|
|
|
|
v-model="scope.row.taxRate"
|
|
v-model="scope.row.taxRate"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
type="number"
|
|
type="number"
|
|
@@ -372,7 +365,6 @@
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="row.technicalAnswerName"
|
|
v-model="row.technicalAnswerName"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
- :disabled="isContractId"
|
|
|
|
|
@click.native="handHead(row, $index)"
|
|
@click.native="handHead(row, $index)"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -385,7 +377,6 @@
|
|
|
<el-input
|
|
<el-input
|
|
|
type="textarea"
|
|
type="textarea"
|
|
|
v-model="scope.row.technicalParams"
|
|
v-model="scope.row.technicalParams"
|
|
|
- :disabled="isContractId"
|
|
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
></el-input>
|
|
></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -397,7 +388,7 @@
|
|
|
>
|
|
>
|
|
|
<fileMain
|
|
<fileMain
|
|
|
v-model="scope.row.technicalDrawings"
|
|
v-model="scope.row.technicalDrawings"
|
|
|
- :type="isContractId ? 'view' : ''"
|
|
|
|
|
|
|
+
|
|
|
></fileMain>
|
|
></fileMain>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
@@ -408,7 +399,6 @@
|
|
|
>
|
|
>
|
|
|
<fileMain
|
|
<fileMain
|
|
|
v-model="scope.row.customerReqFiles"
|
|
v-model="scope.row.customerReqFiles"
|
|
|
- :type="isContractId ? 'view' : ''"
|
|
|
|
|
></fileMain>
|
|
></fileMain>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
@@ -424,7 +414,6 @@
|
|
|
>
|
|
>
|
|
|
<fileMain
|
|
<fileMain
|
|
|
v-model="scope.row.industryArtFiles"
|
|
v-model="scope.row.industryArtFiles"
|
|
|
- :type="isContractId ? 'view' : ''"
|
|
|
|
|
></fileMain>
|
|
></fileMain>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
@@ -435,7 +424,6 @@
|
|
|
>
|
|
>
|
|
|
<fileMain
|
|
<fileMain
|
|
|
v-model="scope.row.otherFiles"
|
|
v-model="scope.row.otherFiles"
|
|
|
- :type="isContractId ? 'view' : ''"
|
|
|
|
|
></fileMain>
|
|
></fileMain>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
@@ -480,7 +468,6 @@
|
|
|
>
|
|
>
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
style="width: 140px"
|
|
style="width: 140px"
|
|
|
- :disabled="isContractId"
|
|
|
|
|
v-model="scope.row.customerExpectDeliveryDeadline"
|
|
v-model="scope.row.customerExpectDeliveryDeadline"
|
|
|
@change="
|
|
@change="
|
|
|
setDeliveryDays(scope.row, scope.$index, 'guaranteePeriod')
|
|
setDeliveryDays(scope.row, scope.$index, 'guaranteePeriod')
|
|
@@ -521,7 +508,6 @@
|
|
|
>
|
|
>
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
|
style="width: 140px"
|
|
style="width: 140px"
|
|
|
- :disabled="isContractId"
|
|
|
|
|
v-model="scope.row.guaranteePeriodDeadline"
|
|
v-model="scope.row.guaranteePeriodDeadline"
|
|
|
type="date"
|
|
type="date"
|
|
|
placeholder="选择日期"
|
|
placeholder="选择日期"
|
|
@@ -535,7 +521,6 @@
|
|
|
:prop="'datasource.' + scope.$index + '.singleWeight'"
|
|
:prop="'datasource.' + scope.$index + '.singleWeight'"
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
- :disabled="isContractId"
|
|
|
|
|
v-model="scope.row.singleWeight"
|
|
v-model="scope.row.singleWeight"
|
|
|
@input="changeCount(scope.row, scope.$index)"
|
|
@input="changeCount(scope.row, scope.$index)"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
@@ -553,7 +538,6 @@
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="scope.row.technologyRouteName"
|
|
v-model="scope.row.technologyRouteName"
|
|
|
- :disabled="isContractId"
|
|
|
|
|
placeholder="请选择"
|
|
placeholder="请选择"
|
|
|
@click.native="openVersion(scope.$index)"
|
|
@click.native="openVersion(scope.$index)"
|
|
|
></el-input>
|
|
></el-input>
|
|
@@ -634,7 +618,6 @@
|
|
|
<!-- 操作列 -->
|
|
<!-- 操作列 -->
|
|
|
<template v-slot:action="scope">
|
|
<template v-slot:action="scope">
|
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
|
- v-if="!isContractId"
|
|
|
|
|
class="ele-action"
|
|
class="ele-action"
|
|
|
title="确定要删除吗?"
|
|
title="确定要删除吗?"
|
|
|
@confirm="remove(scope.$index)"
|
|
@confirm="remove(scope.$index)"
|