819527061@qq.com
2024-06-07 85876d4010058bb648c1f59f4b0a65fc95768c04
pages/quality-inspection-page/edc-sampling/edc-sampling.vue
@@ -172,6 +172,7 @@
    },
    onPullDownRefresh() {  //下拉刷新
      console.log()
      this.flag = false
      this.current = 1
      this.edcList = []
      setTimeout(() => {
@@ -190,13 +191,22 @@
      uni.showLoading({
        title: "加载中"
      })
      let params = {
        customerId:item.customerId,
        customerName:item.customerName,
        carNo:item.carNo,
        productId:item.productId,
        productName:item.productName,
        bunkerId:item.bunkerId,
        id:item.id
      }
      uni.showModal({
        title: '确认',
        content: '确认创建EDC质检单吗',
        success: (res) => {
          if(res.confirm) {
            //调用接口
            this.$reqPost('edcSampling',item,'json').then(res => {
            this.$reqPost('edcSampling',params,'json').then(res => {
              console.log(res,'res=====-----')
              if(res.code == 0) {
                uni.hideLoading()
@@ -298,6 +308,14 @@
        }
      }
    }
    .isOver{
      width: 100%;
      display: flex;
      justify-content: center;
      padding: 40rpx 0;
      font-size: 30rpx;
      color: #999999;
    }
    .empty-box{
      margin: auto;
      position: absolute;