MrShi
2025-07-19 e17698d3d99039b1c3532d490687f8492ca87704
small-program/pages/using-workers/using-workers.vue
@@ -13,6 +13,7 @@
                  <u-icon name="arrow-right" color="#111111" size="16"></u-icon>
               </view>
            </view>
            <template v-if="!(info.type !== 2 && info.status === 2)">
            <view class="list-item-row" @click="selectAddress()">
               <view class="list-item-row-label">用工地点<b>*</b></view>
               <view class="list-item-row-val">
@@ -26,7 +27,10 @@
                  <input type="text" v-model="form.locationRemark" placeholder="请输入" />
               </view>
            </view>
            </template>
         </view>
         <template v-if="!(info.type !== 2 && info.status === 2)">
         <view class="list-item">
            <view class="list-item-label">
               <view class="list-item-label-x"></view>
@@ -102,6 +106,8 @@
               </view>
            </view>
         </view>
         </template>
      </view>
      <view style="width: 100%; height: calc(214rpx + env(safe-area-inset-bottom));"></view>
      <view class="footer">
@@ -152,6 +158,7 @@
      },
      data() {
         return {
            info: {},
            show: false,
            show1: false,
            form: {
@@ -188,11 +195,15 @@
            this.$u.api.getDetail({
               orderId: option.id
            }).then(res => {
               this.info = res.data
               for (const key in this.form) {
                  this.form[key] = res.data[key]
               }
               this.form.days = res.data.totalDays
               this.form.price = Number(this.form.price) / 100
               if (!this.form.multifileList) {
                  this.form.multifileList = []
               }
            })
         } else {
            this.form.linkPhone = this.userInfo.telephone