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