|
@@ -79,7 +79,7 @@
|
|
|
<el-input
|
|
|
v-model="ruleForm.platform_code"
|
|
|
maxlength="100"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
placeholder="平台订单号"
|
|
|
/> </el-form-item
|
|
|
></el-col>
|
|
@@ -89,7 +89,7 @@
|
|
|
<el-input
|
|
|
v-model="ruleForm.po_code"
|
|
|
maxlength="100"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
placeholder="其他单号"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -220,7 +220,7 @@
|
|
|
v-model="ruleForm.platform_time"
|
|
|
style="width: 100%"
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
:picker-options="pickerOptions"
|
|
|
@change="selectTime"
|
|
|
>
|
|
@@ -232,7 +232,7 @@
|
|
|
v-model="ruleForm.plat_code"
|
|
|
maxlength="100"
|
|
|
readonly
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
@focus="showModel = true"
|
|
|
placeholder="平台商品编号"
|
|
|
/></el-form-item>
|
|
@@ -362,7 +362,7 @@
|
|
|
v-model="ruleForm.mode"
|
|
|
style="width: 100%"
|
|
|
clearable
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
placeholder="收费模式"
|
|
|
>
|
|
|
<el-option
|
|
@@ -381,7 +381,7 @@
|
|
|
v-model="ruleForm.sale_source"
|
|
|
style="width: 100%"
|
|
|
clearable
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
placeholder="销售渠道"
|
|
|
>
|
|
|
<el-option
|
|
@@ -426,7 +426,7 @@
|
|
|
<el-input
|
|
|
v-model="ruleForm.contactor"
|
|
|
maxlength="100"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
placeholder="收货人"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -436,7 +436,7 @@
|
|
|
<el-input
|
|
|
v-model="ruleForm.mobile"
|
|
|
maxlength="100"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
placeholder="收货电话"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -475,7 +475,7 @@
|
|
|
<select-area
|
|
|
:value="ruleForm.addr_code"
|
|
|
:size="'mini'"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
placeholder="收货省市区"
|
|
|
@selectChange="select_area_change($event)"
|
|
|
/>
|
|
@@ -486,7 +486,7 @@
|
|
|
<el-input
|
|
|
v-model="ruleForm.addr"
|
|
|
maxlength="100"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
placeholder="详细地址"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -512,7 +512,7 @@
|
|
|
<el-input
|
|
|
v-model="ruleForm.order_remark"
|
|
|
maxlength="100"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
placeholder="订单备注" /></el-form-item
|
|
|
></el-col>
|
|
|
</el-row>
|
|
@@ -556,7 +556,7 @@
|
|
|
:size="'mini'"
|
|
|
:controls="false"
|
|
|
:append="''"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
@reschange="number_change($event, 'num')"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -567,7 +567,7 @@
|
|
|
:values="ruleForm.price"
|
|
|
:placeholder="'单价'"
|
|
|
:min="price_min"
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
:max="100000000000"
|
|
|
:position="'right'"
|
|
|
:precision="2"
|
|
@@ -602,7 +602,7 @@
|
|
|
v-model="ruleForm.activity_code"
|
|
|
style="width: 100%"
|
|
|
clearable
|
|
|
- :disabled="!(status === '2' && powers.some((i) => i == '008'))"
|
|
|
+ :disabled="!(status + '' === '2' && powers.some((i) => i == '008'))"
|
|
|
@change="get_new_price"
|
|
|
placeholder="活动名称"
|
|
|
>
|
|
@@ -638,7 +638,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="tab-row" v-if="status === '2' && powers.some((i) => i == '008')">
|
|
|
+ <div class="tab-row" v-if="status + '' === '2' && powers.some((i) => i == '008')">
|
|
|
<div class="tab-item-label">
|
|
|
<label style="color: transparent">*</label>
|
|
|
</div>
|
|
@@ -947,7 +947,7 @@ export default {
|
|
|
this.confirmSitem = confirm ? JSON.parse(JSON.stringify(confirm)) : null;
|
|
|
|
|
|
this.status = status;
|
|
|
- if (!(this.status === "3" || this.status === "4" || this.status === "5")) {
|
|
|
+ if (!(this.status + '' === "3" || this.status + '' === "4" || this.status + '' === "5")) {
|
|
|
console.log(12345);
|
|
|
this.subSitem = confirm ? JSON.parse(JSON.stringify(confirm)) : null;
|
|
|
} else {
|
|
@@ -1071,7 +1071,7 @@ export default {
|
|
|
|
|
|
let model = {
|
|
|
skuCode:
|
|
|
- this.status === "3" || this.status === "4" || this.status === "5"
|
|
|
+ this.status + '' === "3" || this.status + '' === "4" || this.status + '' === "5"
|
|
|
? subSkuCode
|
|
|
: conSkuCode,
|
|
|
sale_num: num,
|