|
@@ -576,7 +576,7 @@
|
|
|
>
|
|
|
<el-col :span="23" class="dmain">
|
|
|
<el-row>
|
|
|
- <el-col :span="8">
|
|
|
+ <el-col :span="6">
|
|
|
<el-form-item label="供货区域" prop="supply_area">
|
|
|
<el-select
|
|
|
v-model="ruleForm.supply_area"
|
|
@@ -595,31 +595,8 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="发货地" prop="delivery_place">
|
|
|
- <select-area
|
|
|
- :placeholder="'发货地'"
|
|
|
- :value="ruleForm.delivery_place"
|
|
|
- :is-detail="id !== 'add'"
|
|
|
- :disabled="type === 'view' || type === 'editCoin'"
|
|
|
- :size="'mini'"
|
|
|
- @selectChange="selectAreadelivery_place"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="产地" prop="origin_place">
|
|
|
- <select-area
|
|
|
- :placeholder="'产地'"
|
|
|
- :value="ruleForm.origin_place"
|
|
|
- :size="'mini'"
|
|
|
- :is-detail="id !== 'add'"
|
|
|
- :disabled="type === 'view' || type === 'editCoin'"
|
|
|
- @selectChange="selectAreaorigin_place"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
+
|
|
|
+ <el-col :span="6">
|
|
|
<el-form-item label="物流时间" prop="delivery_day">
|
|
|
<digital-input
|
|
|
:values="ruleForm.delivery_day"
|
|
@@ -637,7 +614,7 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
+ <el-col :span="6">
|
|
|
<el-form-item label="供货周期" prop="lead_time">
|
|
|
<digital-input
|
|
|
:values="ruleForm.lead_time"
|
|
@@ -655,7 +632,7 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
+ <el-col :span="6">
|
|
|
<el-form-item label="调样周期" prop="sample_day">
|
|
|
<digital-input
|
|
|
:values="ruleForm.sample_day"
|
|
@@ -673,6 +650,30 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="发货地" prop="delivery_place">
|
|
|
+ <select-area
|
|
|
+ :placeholder="'发货地'"
|
|
|
+ :value="ruleForm.delivery_place"
|
|
|
+ :is-detail="id !== 'add'"
|
|
|
+ :disabled="type === 'view' || type === 'editCoin'"
|
|
|
+ :size="'mini'"
|
|
|
+ @selectChange="selectAreadelivery_place"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="产地" prop="origin_place">
|
|
|
+ <select-area
|
|
|
+ :placeholder="'产地'"
|
|
|
+ :value="ruleForm.origin_place"
|
|
|
+ :size="'mini'"
|
|
|
+ :is-detail="id !== 'add'"
|
|
|
+ :disabled="type === 'view' || type === 'editCoin'"
|
|
|
+ @selectChange="selectAreaorigin_place"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -779,8 +780,8 @@
|
|
|
>
|
|
|
<el-col :span="23" class="dmain">
|
|
|
<el-row>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="证书费" prop="cert_fee">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="证书费" prop="cert_fee" label-width="75px">
|
|
|
<digital-input
|
|
|
:values="ruleForm.cert_fee"
|
|
|
:placeholder="'证书费'"
|
|
@@ -797,8 +798,8 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="包装费" prop="packing_fee">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="包装费" prop="packing_fee" label-width="75px">
|
|
|
<digital-input
|
|
|
:values="ruleForm.packing_fee"
|
|
|
:placeholder="'包装费'"
|
|
@@ -815,8 +816,8 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="工艺费" prop="cost_fee">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="工艺费" prop="cost_fee" label-width="75px">
|
|
|
<digital-input
|
|
|
:values="ruleForm.cost_fee"
|
|
|
:placeholder="'工艺费'"
|
|
@@ -833,8 +834,8 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="加标费" prop="mark_fee">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="加标费" prop="mark_fee" label-width="75px">
|
|
|
<digital-input
|
|
|
:values="ruleForm.mark_fee"
|
|
|
:placeholder="'加标费'"
|
|
@@ -851,8 +852,8 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="打样费" prop="demo_fee">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="打样费" prop="demo_fee" label-width="75px">
|
|
|
<digital-input
|
|
|
:values="ruleForm.demo_fee"
|
|
|
:placeholder="'打样费'"
|
|
@@ -869,8 +870,8 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="开模费" prop="open_fee">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="开模费" prop="open_fee" label-width="75px">
|
|
|
<digital-input
|
|
|
:values="ruleForm.open_fee"
|
|
|
:placeholder="'开模费'"
|
|
@@ -887,8 +888,8 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="调样费" prop="sample_fee">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="调样费" prop="sample_fee" label-width="75px">
|
|
|
<digital-input
|
|
|
:values="ruleForm.sample_fee"
|
|
|
:placeholder="'调样费'"
|
|
@@ -905,8 +906,8 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="市场价" prop="market_price">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="市场价" prop="market_price" label-width="75px">
|
|
|
<digital-input
|
|
|
:values="ruleForm.market_price"
|
|
|
:placeholder="'市场价'"
|
|
@@ -923,8 +924,8 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="裸价" prop="nake_price">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="裸价" prop="nake_price" label-width="75px">
|
|
|
<digital-input
|
|
|
:values="ruleForm.nake_price"
|
|
|
:placeholder="'裸价'"
|
|
@@ -941,6 +942,28 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="8" v-show="is_noble">
|
|
|
+ <el-form-item
|
|
|
+ label="供应商采购金价"
|
|
|
+ prop="cgd_gold_price"
|
|
|
+ label-width="130px"
|
|
|
+ >
|
|
|
+ <digital-input
|
|
|
+ :values="ruleForm.cgd_gold_price"
|
|
|
+ :placeholder="'供应商采购金价'"
|
|
|
+ :min="0"
|
|
|
+ :name="'ruleForm.cgd_gold_price'"
|
|
|
+ :disabled="type === 'view' || type === 'editBase'"
|
|
|
+ :max="100000000000"
|
|
|
+ :position="'right'"
|
|
|
+ :precision="2"
|
|
|
+ :size="'mini'"
|
|
|
+ :controls="false"
|
|
|
+ :append="'元'"
|
|
|
+ @reschange="number_change($event, 'cgd_gold_price')"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -955,7 +978,7 @@
|
|
|
>
|
|
|
<el-col :span="23" class="dmain">
|
|
|
<el-row>
|
|
|
- <el-col :span="8">
|
|
|
+ <el-col :span="6">
|
|
|
<el-form-item label="启用阶梯" prop="is_step">
|
|
|
<el-select
|
|
|
v-model="ruleForm.is_step"
|
|
@@ -1494,6 +1517,7 @@ export default {
|
|
|
sample_fee: "0",
|
|
|
market_price: "0",
|
|
|
nake_price: "0",
|
|
|
+ cgd_gold_price: "0",
|
|
|
is_step: "",
|
|
|
is_diff: "",
|
|
|
config: [],
|
|
@@ -1565,6 +1589,7 @@ export default {
|
|
|
is_gold_price, // string 是否使用实时金价
|
|
|
market_price, // string 市场价
|
|
|
nake_price, // string 成本裸价
|
|
|
+ cgd_gold_price, // string 供应商采购金价
|
|
|
is_step, // string 是否使用阶梯价
|
|
|
// is_online, // string 是否上线
|
|
|
status, // string 状态
|
|
@@ -1683,6 +1708,7 @@ export default {
|
|
|
sample_fee: sample_fee || "",
|
|
|
market_price: market_price || "",
|
|
|
nake_price: nake_price || "",
|
|
|
+ cgd_gold_price: cgd_gold_price || "",
|
|
|
is_step: is_step || "",
|
|
|
is_diff: is_diff || "",
|
|
|
config: config ? config.split(",") : [],
|
|
@@ -1722,6 +1748,7 @@ export default {
|
|
|
delete item["is_gold_price"];
|
|
|
delete item["market_price"];
|
|
|
delete item["nake_price"];
|
|
|
+ delete item['cgd_gold_price'];
|
|
|
delete item["is_step"];
|
|
|
delete item["good_ladder"];
|
|
|
} else {
|
|
@@ -1737,6 +1764,7 @@ export default {
|
|
|
is_gold_price,
|
|
|
market_price,
|
|
|
nake_price,
|
|
|
+ cgd_gold_price,
|
|
|
is_step,
|
|
|
good_ladder,
|
|
|
spuCode,
|
|
@@ -1753,6 +1781,7 @@ export default {
|
|
|
is_gold_price: is_gold_price || "",
|
|
|
market_price: market_price || "",
|
|
|
nake_price: nake_price || "",
|
|
|
+ cgd_gold_price:cgd_gold_price||"",
|
|
|
is_step: is_step || "",
|
|
|
good_ladder: good_ladder || [],
|
|
|
spuCode: spuCode || "",
|