|
|
|
@ -21,7 +21,7 @@ |
|
|
|
|
/> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-col :span="24" v-if="false"> |
|
|
|
|
<a-form-model-item label="商品" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="goodsId"> |
|
|
|
|
<j-search-select-tag v-model="model.goodsId" dict="zy_goods,goods_name,id" /> |
|
|
|
|
</a-form-model-item> |
|
|
|
@ -41,17 +41,17 @@ |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="图片" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="goodimg"> |
|
|
|
|
<j-image-upload isMultiple v-model="model.goodimg" ></j-image-upload> |
|
|
|
|
<j-image-upload isMultiple v-model="model.goodimg" disabled></j-image-upload> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="款式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="styleId"> |
|
|
|
|
<j-search-select-tag v-model="model.styleId" dict="zy_cloths_style,type_name,id" /> |
|
|
|
|
<j-search-select-tag v-model="model.styleId" dict="zy_cloths_style,type_name,id" disabled/> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="当前单价" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="price"> |
|
|
|
|
<a-input-number v-model="model.price" placeholder="请输入当前单价" style="width: 100%" /> |
|
|
|
|
<a-input-number v-model="model.price" placeholder="请输入当前单价" style="width: 100%" disabled/> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
@ -61,12 +61,12 @@ |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="发货地址" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="placeorigin"> |
|
|
|
|
<a-input v-model="model.placeorigin" placeholder="请输入发货地址" ></a-input> |
|
|
|
|
<a-input v-model="model.placeorigin" placeholder="请输入发货地址" disabled></a-input> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
<a-col :span="24"> |
|
|
|
|
<a-form-model-item label="总价" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="zj"> |
|
|
|
|
<a-input-number v-model="model.zj" placeholder="请输入总价" style="width: 100%" /> |
|
|
|
|
<a-input-number v-model="model.zj" placeholder="请输入总价" style="width: 100%" disabled/> |
|
|
|
|
</a-form-model-item> |
|
|
|
|
</a-col> |
|
|
|
|
</a-row> |
|
|
|
@ -74,6 +74,7 @@ |
|
|
|
|
</j-form-container> |
|
|
|
|
</a-spin> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
|
|
|
|
import { httpAction, getAction } from '@/api/manage' |
|
|
|
@ -105,9 +106,15 @@ |
|
|
|
|
}, |
|
|
|
|
confirmLoading: false, |
|
|
|
|
validatorRules: { |
|
|
|
|
username: [ |
|
|
|
|
{ required: true, message: '请输入用户!'}, |
|
|
|
|
], |
|
|
|
|
goodsname: [ |
|
|
|
|
{ required: true, message: '请输入商品!'}, |
|
|
|
|
], |
|
|
|
|
number: [ |
|
|
|
|
|
|
|
|
|
{pattern: /^\d*\$/,message:'请输入大于0的数'}, |
|
|
|
|
{ required: true, message: '请输入数量!'}, |
|
|
|
|
{pattern: /^\d*$/,message:'请输入大于0的数'} |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
url: { |
|
|
|
@ -163,6 +170,9 @@ |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
popupCallback(value,row){ |
|
|
|
|
this.model = Object.assign(this.model, row); |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</script> |