doctor-admin-components 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doctor-admin-components",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "version1": "1.0.6-beta.4",
5
5
  "private": false,
6
6
  "main1": "lib/index.umd.min.js",
@@ -101,8 +101,8 @@
101
101
  type="text"
102
102
  @click="handleUserCompany(form.supplierCompanyId, 'seller')"
103
103
  buyerAccountId
104
- >Select Seller's Company</el-button
105
- >
104
+ >Select Seller's Company
105
+ </el-button>
106
106
  </el-col>
107
107
  </el-row>
108
108
  <el-form-item label="Company Name" label-width="120px">
@@ -440,42 +440,58 @@
440
440
  v-model="form.depositDays"
441
441
  size="mini"
442
442
  clearable
443
- style="width: 240px"
443
+ style="width: 130px"
444
444
  >
445
- <template slot="append">Days after the contract</template>
445
+ <template slot="append">Days</template>
446
446
  </el-input>
447
- </el-form-item>
448
- <el-form-item>
449
447
  <el-input
450
- v-model="form.balance"
451
- placeholder="Please enter balance"
448
+ v-model="form.depositPaymentForm"
452
449
  size="mini"
453
450
  clearable
454
- style="width: 40%"
451
+ placeholder="提示输入:after booking"
452
+ style="width: 170px"
455
453
  >
456
- <template slot="append">% balance</template>
457
454
  </el-input>
455
+ </el-form-item>
456
+ <el-form-item label="" label-width="120px">
458
457
  <el-input
459
- style="width: 30%"
460
- v-model="form.balancePaymentType"
458
+ v-model="form.balance"
461
459
  size="mini"
462
460
  clearable
461
+ style="width: 200px"
463
462
  >
464
- <template slot="append">paid</template>
463
+ <template slot="prepend">Balance</template>
464
+ <template slot="append">%</template>
465
465
  </el-input>
466
+
466
467
  <el-input
467
- style="width: 30%"
468
468
  v-model="form.balanceDays"
469
469
  size="mini"
470
470
  clearable
471
+ style="width: 130px"
471
472
  >
472
473
  <template slot="append">Days</template>
473
474
  </el-input>
474
475
 
475
- <el-radio-group v-model="form.balancePaymentForm">
476
- <el-radio :label="'Before arrive'">Before arrive</el-radio>
477
- <el-radio :label="'After arrival'">After arrival</el-radio>
478
- </el-radio-group>
476
+ <el-select v-model="form.balancePaymentForm" clearable>
477
+ <el-option label="Before arrive" value="Before arrive"></el-option>
478
+ <el-option label="After arrival" value="After arrival"></el-option>
479
+ </el-select>
480
+
481
+ <el-row>
482
+ <el-input
483
+ style="width: 150px; margin-top: 15px"
484
+ v-model="form.balancePaymentType"
485
+ size="mini"
486
+ clearable
487
+ >
488
+ <template slot="append">paid</template>
489
+ </el-input>
490
+ </el-row>
491
+ <el-row>
492
+ <el-input v-model="form.otherPaymentTerm" size="mini" clearable>
493
+ </el-input>
494
+ </el-row>
479
495
  </el-form-item>
480
496
 
481
497
  <el-form-item label="Loading Country/Region">
@@ -709,6 +725,8 @@
709
725
  placeholder="请输入标题"
710
726
  ></el-input>
711
727
  <el-input
728
+ type="textarea"
729
+ autosize
712
730
  style="width: 75%"
713
731
  v-model="item.content"
714
732
  placeholder="请输入内容"
@@ -1001,7 +1019,9 @@ export default {
1001
1019
  confirmCompany(companyList, type) {
1002
1020
  var company = companyList[0];
1003
1021
  company.email =
1004
- company.email && company.email.length > 0 ? company.email[0] : "";
1022
+ company.email && company.email.length > 0
1023
+ ? company.email.join(",")
1024
+ : "";
1005
1025
  company.phoneNumber =
1006
1026
  company.phoneNumber && company.phoneNumber.length > 0
1007
1027
  ? company.phoneNumber[0]
@@ -208,12 +208,27 @@
208
208
  {{ contract.freightTerms }}
209
209
  </el-descriptions-item>
210
210
  <el-descriptions-item label="Payment Terms">
211
- Deposit Ratio {{ contract.deposit }}%
212
- {{ contract.depositDays }} Days after the contract
213
- {{ contract.balance }}% balance
214
- {{ contract.balancePaymentType }}paid
215
- {{ contract.balanceDays }} Days
216
- {{ contract.balancePaymentForm }}
211
+ <div
212
+ v-if="
213
+ contract.deposit &&
214
+ contract.depositDays &&
215
+ contract.depositPaymentForm &&
216
+ contract.balance &&
217
+ contract.balanceDays &&
218
+ contract.balancePaymentType &&
219
+ contract.balancePaymentForm
220
+ "
221
+ >
222
+ Deposit Ratio {{ contract.deposit }}%
223
+ {{ contract.depositDays }} Days
224
+ {{ contract.depositPaymentForm }} and {{ contract.balance }}%
225
+ balance {{ contract.balancePaymentType }} paid
226
+ {{ contract.balanceDays }} Days {{ contract.balancePaymentForm }}
227
+ {{ contract.otherPaymentTerm }}
228
+ </div>
229
+ <div v-else>
230
+ {{ contract.otherPaymentTerm }}
231
+ </div>
217
232
  </el-descriptions-item>
218
233
  <el-descriptions-item label="Price Fixing Option">
219
234
  {{ contract.livePriceDays }} Days {{ contract.livePriceForm }} cargo