|
@@ -64,7 +64,8 @@
|
|
<el-button type="danger" text v-debounce @click="handleRepeal(item,'/saleQuotation/delete')">删除</el-button>
|
|
<el-button type="danger" text v-debounce @click="handleRepeal(item,'/saleQuotation/delete')">删除</el-button>
|
|
</span>
|
|
</span>
|
|
<span>
|
|
<span>
|
|
- <el-button type="primary" text v-debounce v-if="item.quotationStatus==2" @click="handleBack(item)">退回</el-button>
|
|
|
|
|
|
+ <el-button type="primary" text v-debounce v-if="item.quotationStatus==2 && !item.extQuotationId"
|
|
|
|
+ @click="handleBack(item)">退回</el-button>
|
|
<el-button type="primary" text v-debounce v-if="item.status == 30 && item.quotationStatus==2"
|
|
<el-button type="primary" text v-debounce v-if="item.status == 30 && item.quotationStatus==2"
|
|
@click="getDtl(item, false,true)">变更</el-button>
|
|
@click="getDtl(item, false,true)">变更</el-button>
|
|
<el-button type="primary" text v-debounce v-if="item.quotationStatus==2 && !item.extQuotationId"
|
|
<el-button type="primary" text v-debounce v-if="item.quotationStatus==2 && !item.extQuotationId"
|
|
@@ -874,6 +875,7 @@ const formConfig = computed(() => {
|
|
itemWidth: 50,
|
|
itemWidth: 50,
|
|
fn: (val) => {
|
|
fn: (val) => {
|
|
companyId.value = val;
|
|
companyId.value = val;
|
|
|
|
+ formData.data.quotationProductList = [];
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -1421,7 +1423,11 @@ const totalAmount = () => {
|
|
).toFixed(2);
|
|
).toFixed(2);
|
|
// 单个产品的一个物料的钱
|
|
// 单个产品的一个物料的钱
|
|
productPrice += Number(
|
|
productPrice += Number(
|
|
- parseFloat(Number(jele.quantity) * Number(jele.priceCopy)).toFixed(2)
|
|
|
|
|
|
+ parseFloat(
|
|
|
|
+ Number(jele.quantity) *
|
|
|
|
+ Number(jele.priceCopy) *
|
|
|
|
+ Number(jele.coefficient)
|
|
|
|
+ ).toFixed(2)
|
|
);
|
|
);
|
|
}
|
|
}
|
|
iele.price = parseFloat(productPrice).toFixed(2);
|
|
iele.price = parseFloat(productPrice).toFixed(2);
|
|
@@ -1460,9 +1466,11 @@ const publicTotalAmount = (val) => {
|
|
).toFixed(2);
|
|
).toFixed(2);
|
|
// 单个产品的一个物料的钱
|
|
// 单个产品的一个物料的钱
|
|
productPrice += Number(
|
|
productPrice += Number(
|
|
- parseFloat(Number(jele.quantity) * Number(jele.priceCopy)).toFixed(
|
|
|
|
- 2
|
|
|
|
- )
|
|
|
|
|
|
+ parseFloat(
|
|
|
|
+ Number(jele.quantity) *
|
|
|
|
+ Number(jele.priceCopy) *
|
|
|
|
+ Number(jele.coefficient)
|
|
|
|
+ ).toFixed(2)
|
|
);
|
|
);
|
|
}
|
|
}
|
|
iele.price = parseFloat(productPrice).toFixed(2);
|
|
iele.price = parseFloat(productPrice).toFixed(2);
|