doctor-admin-components 1.0.13-beta.72 → 1.0.13-beta.74

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,7 +1,7 @@
1
1
  {
2
2
  "name": "doctor-admin-components",
3
3
  "version1": "1.0.11",
4
- "version": "1.0.13-beta.72",
4
+ "version": "1.0.13-beta.74",
5
5
  "private": false,
6
6
  "main1": "lib/index.umd.min.js",
7
7
  "main": "packages/index.js",
@@ -129,10 +129,10 @@ export function getByContractId(contractId) {
129
129
  }
130
130
 
131
131
  // 查询作废的装运销售合同列表
132
- export function haveVoidShipment(query) {
132
+ export function haveVoidShipment(contractId) {
133
133
  return request({
134
- url: '/biz/contract/haveVoidShipment/list',
134
+ url: '/biz/contract/haveVoidShipment/' + contractId,
135
135
  method: 'get',
136
- params: query
136
+ params: {}
137
137
  })
138
138
  }
@@ -916,7 +916,7 @@ export default {
916
916
  console.error(error)
917
917
  })
918
918
  // 查询是否有可引用的
919
- haveVoidShipment({contractId: contract.id})
919
+ haveVoidShipment(contract.contractId)
920
920
  .then((res) => {
921
921
  this.voidInvoiceList = res.rows && res.rows.length > 0 ? res.rows : null
922
922
  })
@@ -24,7 +24,7 @@
24
24
  </el-row>
25
25
  </el-form-item>
26
26
 
27
- <el-form-item class="vertical-form-item" :required="true" label="请选择您需要复制的数据或文件:">
27
+ <el-form-item v-if="contractId" class="vertical-form-item" :required="true" label="请选择您需要复制的数据或文件:">
28
28
  <el-row> 可复用的文件如下: </el-row>
29
29
  <el-row>
30
30
  <el-checkbox v-model="isSelectAll" @change="selectAll" label="0">选择全部</el-checkbox>