You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.9 KiB
62 lines
2.9 KiB
<view class='allOrder pos-r'>
|
|
<view class="list">
|
|
<view wx:if="{{title == '编辑' && factoryMarks}}">
|
|
<view class="title">审核备注:</view>
|
|
<view class="red">{{factoryMarks}}</view>
|
|
</view>
|
|
<view>
|
|
<view class="title">服务工程师:</view>
|
|
<view>{{userName}}</view>
|
|
</view>
|
|
<view>
|
|
<view class="title"><text class="red"></text>物料代码:</view>
|
|
<input value="{{code}}" bindinput="inputText" bindblur="getMaterialCode" data-name="code" placeholder="{{title =='详情'?'':'请输入'}}" placeholder-style="color:#CCC;" disabled="{{title =='详情'}}"></input>
|
|
</view>
|
|
<view>
|
|
<view class="title"><text class="red"></text>物料名称:</view>
|
|
<input value="{{name}}" bindinput="inputText" data-name="name" placeholder="{{title =='详情'?'':'请输入'}}" placeholder-style="color:#CCC;" disabled="{{title =='详情'}}"></input>
|
|
</view>
|
|
<view>
|
|
<view class="title"><text class="red">*</text>物料类型:</view>
|
|
<view class="detail-list p-r">
|
|
<picker bindchange="changSelect" data-name="type" data-list="typeList" range="{{typeList}}" disabled="{{title =='详情'}}">
|
|
<view class="picker">
|
|
<text class="gray" wx:if="{{!type}}">请选择</text>
|
|
{{type}}
|
|
</view>
|
|
</picker>
|
|
<view class="rj"></view>
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<view class="title"><text class="red">*</text>物料规格:</view>
|
|
<view class="detail-list p-r">
|
|
<picker bindchange="changSelect" data-name="specName" data-list="specList" range="{{specList}}" disabled="{{title =='详情' || !type}}">
|
|
<view class="picker">
|
|
<text class="gray" wx:if="{{!specName}}">请选择</text>
|
|
{{specName}}
|
|
</view>
|
|
</picker>
|
|
<view class="rj"></view>
|
|
</view>
|
|
</view>
|
|
<!-- <view>
|
|
<view class="title"><text class="red"></text>库存数量:</view>
|
|
<input value="{{stockNum}}" disabled></input>
|
|
</view> -->
|
|
<view>
|
|
<view class="title"><text class="red">*</text>申请数量:</view>
|
|
<input type="number" value="{{applyNum}}" bindinput="inputText" data-name="applyNum" placeholder="{{title =='详情'?'':'请输入'}}" style="width: 500rpx; display: inline-flex;" placeholder-style="color:#CCC;" disabled="{{title =='详情'}}"></input>
|
|
</view>
|
|
<view>
|
|
<view class="title"><text class="red"></text>备注:</view>
|
|
<view class="detail-list">
|
|
<textarea value="{{remarks}}" style="width: 100%;" bindinput="inputText" data-name="remarks" placeholder="{{title =='详情'?'':'请输入'}}" placeholder-style="color:#CCC;" disabled="{{title =='详情'}}"></textarea>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="operate" wx:if="{{title != '详情'}}">
|
|
<view class="guo" bindtap="cancel">取消</view>
|
|
<view class="jie" data-id='{{basic.id}}' bindtap="submit">保存</view>
|
|
</view> |