|
|
|
@ -14,7 +14,7 @@ |
|
|
|
<text class="add-paper-text">纸品名称</text> |
|
|
|
</view> |
|
|
|
<view class="add-paper-input"> |
|
|
|
<uni-easyinput :placeholderStyle='placeholderStyle' :inputBorder="false" v-model="value" placeholder="请输入纸品名称"></uni-easyinput> |
|
|
|
<uni-easyinput :placeholderStyle='placeholderStyle' :inputBorder="false" v-model="form.name" placeholder="请输入纸品名称"></uni-easyinput> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="add-paper-border"></view> |
|
|
|
@ -24,7 +24,7 @@ |
|
|
|
<text class="add-paper-text">纸厂信息</text> |
|
|
|
</view> |
|
|
|
<view class="add-paper-input"> |
|
|
|
<uni-easyinput :placeholderStyle='placeholderStyle' :inputBorder="false" v-model="value" placeholder="请输入纸厂信息"></uni-easyinput> |
|
|
|
<uni-easyinput :placeholderStyle='placeholderStyle' :inputBorder="false" v-model="form.manufacturerName" placeholder="请输入纸厂信息"></uni-easyinput> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="add-paper-border"></view> |
|
|
|
@ -34,7 +34,7 @@ |
|
|
|
<text class="add-paper-text">品牌信息</text> |
|
|
|
</view> |
|
|
|
<view class="add-paper-input"> |
|
|
|
<uni-easyinput :placeholderStyle='placeholderStyle' :inputBorder="false" v-model="value" placeholder="请输入纸品品牌名称"></uni-easyinput> |
|
|
|
<uni-easyinput :placeholderStyle='placeholderStyle' :inputBorder="false" v-model="form.brandName" placeholder="请输入纸品品牌名称"></uni-easyinput> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="add-paper-border"></view> |
|
|
|
@ -44,7 +44,7 @@ |
|
|
|
<text class="add-paper-text">纸种信息</text> |
|
|
|
</view> |
|
|
|
<view class="add-paper-input"> |
|
|
|
<uni-easyinput :placeholderStyle='placeholderStyle' :inputBorder="false" v-model="value" placeholder="请输入纸品名称"></uni-easyinput> |
|
|
|
<uni-easyinput :placeholderStyle='placeholderStyle' :inputBorder="false" v-model="form.manufacturerName" placeholder="请输入纸品名称"></uni-easyinput> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="add-paper-border"></view> |
|
|
|
@ -54,22 +54,36 @@ |
|
|
|
<text class="add-paper-text">是否主营</text> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<uni-data-checkbox v-model="radio" :localdata="range" @change="change"></uni-data-checkbox> |
|
|
|
<uni-data-checkbox v-model="form.isMainProduct" :localdata="range" @change="change"></uni-data-checkbox> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<uGap></uGap> |
|
|
|
<view class=""> |
|
|
|
<view class=""> |
|
|
|
<text>纸品售价</text> |
|
|
|
<text>(不设置最低起送量则不限制其送量要求)</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</template>s |
|
|
|
|
|
|
|
<script> |
|
|
|
import { back, go2 } from '@/utils/hook.js' |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
import { back, go2 } from '@/utils/hook.js' |
|
|
|
import uGap from '@/components/u-gap/u-gap.vue' |
|
|
|
export default { |
|
|
|
components:{ |
|
|
|
uGap |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
title:'添加纸品', |
|
|
|
value:'', |
|
|
|
radio:0, |
|
|
|
range: [{"value": 0,"text": "是" },{"value": 1,"text": "否"}], |
|
|
|
form:{ |
|
|
|
isMainProduct:true |
|
|
|
}, |
|
|
|
range: [{"value": true,"text": "是" },{"value": false,"text": "否"}], |
|
|
|
placeholderStyle:'text-align: right;' |
|
|
|
} |
|
|
|
}, |
|
|
|
|