12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <!--pages/trainConfirmBill/index.wxml-->
- <view class="{{stopClick}}">
- <view class="title colorInfo">
- 单据信息
- </view>
- <t-cell title="服务单号" note="{{mainData.workorder.servicebillno}}" hover />
- <t-cell title="确认日期" note="{{mainData.workorder.createdate}}" hover />
- <view class="title colorInfo">
- 服务信息
- </view>
- <t-cell title="服务分类" note="{{mainData.workorder.servicetype}}" hover />
- <t-cell title="应用系统" note="{{mainData.workorder.class1}}" hover />
- <t-cell title="工单负责人" note="{{mainData.workorder.projectleader}}" hover />
- <t-cell title="项目名称" note="{{mainData.workorder.projectname}}" hover />
- <t-cell title="业务员" note="{{mainData.workorder.saler_name}}" hover />
- <t-cell title="服务企业" note="{{mainData.workorder.enterprisename}}" hover />
- <view class="title colorInfo">
- 现场联系人信息
- </view>
- <t-cell title="姓名" note="{{mainData.workorder.scenecontact}}" hover />
- <t-cell title="电话" note="{{mainData.workorder.scenecontactphonenumber}}" hover />
- <t-cell title="地址" note="{{mainData.workorder.address}}" hover />
- <view class="title colorInfo">
- 培训信息
- </view>
- <t-tabs defaultValue="{{0}}" t-class="custom-tabs">
- <t-tab-panel label="培训人员" value="0">
- <view class="panel">
- <card wx:for="{{mainData.trainers}}">
- <menber-card style="flex:1" slot="content" data="{{item}}" bind:delete="deleteMenber"></menber-card>
- </card>
- <view class="flex-align-center flex-around panel">
- <t-button size="extra-small" variant="primary" bind:tap="addTrainers">添加人员</t-button>
- </view>
- </view>
- </t-tab-panel>
- <t-tab-panel label="工单物料" value="1">
- <view class="panel">
- <card style="margin-top:10px" wx:for="{{mainData.trainertitems}}" wx:key="itemid">
- <product-card style="flex:1" slot="content" data="{{item}}" changeQty="{{true}}" bind:delete="deleteMaterial" bind:input="qtyChange"></product-card>
- </card>
- <view class="flex-align-center flex-around panel">
- <t-button size="extra-small" variant="primary" bind:tap="addProduct">添加物料</t-button>
- </view>
- </view>
- </t-tab-panel>
- </t-tabs>
- <view class="title colorInfo">
- 工序内容填写
- </view>
- <t-textarea style="margin-bottom:1px" label="现场培训内容" data-name="现场培训内容" value="{{trainerContent}}" bind:blur="inputChange" t-class="external-class" placeholder="请输入现场培训内容" disableDefaultPadding="{{true}}" autosize />
- <t-textarea label="现场互动及测试培训效果" data-name="现场互动及测试培训效果" value="{{trainerResult}}" bind:blur="inputChange" t-class="external-class" placeholder="请输入现场互动及测试培训效果" disableDefaultPadding="{{true}}" autosize />
- <view class="title colorInfo">
- 评价
- </view>
- <view class="demo-rate">
- <view class="demo-rate__title">反应速度</view>
- <!-- 实心评分,设置属性:variant-->
- <t-rate value="{{mainData.responsescore}}" data-name="responsescore" variant="filled" bind:change="onChange" />
- </view>
- <view class="demo-rate">
- <view class="demo-rate__title">配合态度</view>
- <!-- 实心评分,设置属性:variant-->
- <t-rate value="{{mainData.attitudescore}}" data-name="attitudescore" variant="filled" bind:change="onChange" />
- </view>
- <view class="title colorInfo">
- 客户签字
- </view>
- <card>
- <view style="flex:1" slot="content">
- <!-- <upload id="upload"></upload> -->
- <sign-name wx:if="{{SignName}}" bindData="{{bindSignNameData}}"></sign-name>
- </view>
- </card>
- </view>
- <view style="height: 130rpx;" />
- <view class="footer">
- <view class="count">
- </view>
- <view class="but-box">
- <van-button custom-class='but' wx:if="{{mainData.status == '新建'}}" bind:click="createImage">单据预览</van-button>
- <van-button custom-class='but' wx:else bind:click="checkImage">查看单据</van-button>
- <van-button custom-class='but delete' wx:if="{{mainData.status == '新建'}}" bind:click="delete">删 除</van-button>
- <van-button custom-class='but' wx:if="{{mainData.status == '新建'}}" bind:click="submit">提 交</van-button>
- </view>
- </view>
|