Browse Source

2025/6/3

master
Aoi_Tori 7 months ago
parent
commit
0833b4ea12
  1. 56
      src/views/modules/quote/detail/primary/quoteDetailCost.vue

56
src/views/modules/quote/detail/primary/quoteDetailCost.vue

@ -6,12 +6,12 @@ import DictDataSelect from "../../../sys/dict-data-select.vue";
export default { export default {
name: "quoteDetailCost", name: "quoteDetailCost",
components: {DictDataSelect}, components: {DictDataSelect},
props: {
quoteDetail: {
type: Object,
required: true
},
},
// props: {
// quoteDetail: {
// type: Object,
// required: true
// },
// },
model: { model: {
prop: "quoteDetail", prop: "quoteDetail",
event: "update", event: "update",
@ -19,6 +19,50 @@ export default {
data(){ data(){
return { return {
computeLoading:false, computeLoading:false,
quoteDetail: {
otherCost: null,
elseCost: null,
machineCost: null,
profitAmount: null,
totalPrice: null,
adjustToolCost: null,
adjustLabourCost: null,
currencyTotalCost1: null,
adjustBomUnYield: null,
currencyTotalCost2: null,
toolCost: null,
quoteCurrencyTotalCost1: null,
adjustElseCost: null,
quoteCurrencyTotalCost2: null,
unitPrice: null,
quoteProfitRate: null,
testCost: null,
shippingCost: null,
taxTotalPrice: null,
quoteProfitAmount: null,
adjustFabricateCost: null,
adjustTestCost: null,
profitRate: null,
partCost: null,
calculatedItems: null,
adjustMachineCost: null,
taxUnitPrice: null,
manageCost: null,
taxRate: null,
quoteTaxTotalPrice: null,
labourCost: null,
fabricateCost: null,
currency1: null,
bomUnYield: null,
currency2: null,
exchangeRate1: null,
exchangeRate2: null,
packCost: null,
quoteTaxRate: null,
totalCost: null,
adjustPartCost: null,
status: '',
},
rules:{ rules:{
adjustPartCost: [ adjustPartCost: [
{ required: true, message: "请输入材料成本", trigger: ["blur","change"] } { required: true, message: "请输入材料成本", trigger: ["blur","change"] }

Loading…
Cancel
Save