Sendack.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
  1. <template>
  2. <div>
  3. <div class="sendack-all">
  4. <div class="sendack-head">
  5. <div class="sendack-head-li">
  6. <label>团组名称:</label>
  7. <el-select style="width:250px" @change="changediid()" v-model="value" filterable placeholder="请选择">
  8. <el-option
  9. v-for="item in options"
  10. :key="item.id"
  11. :label="item.groupName"
  12. :value="item.id">
  13. </el-option>
  14. </el-select>
  15. </div>
  16. <div v-if="addAuth=1" class="sendack-head-li">
  17. <el-button @click="addclick()" type="primary">新增数据</el-button>
  18. </div>
  19. </div>
  20. <div class="sendack-info">
  21. <div class="sendack-info-li">
  22. <label>团 号:</label>
  23. <span v-if="this.groupInfo.tourCode!=''">{{groupInfo=={}?'暂无':groupInfo.tourCode==""?'暂无':groupInfo.tourCode}}</span>
  24. </div>
  25. <div class="sendack-info-li">
  26. <label>客 户:</label>
  27. <span>{{groupInfo=={}?'暂无':groupInfo.clientName==""?'暂无':groupInfo.clientName}}</span>
  28. </div>
  29. <div class="sendack-info-li">
  30. <label>出访国家:</label>
  31. <span>{{groupInfo=={}?'暂无':groupInfo.visitCountry==""?'暂无':groupInfo.visitCountry}}</span>
  32. </div>
  33. <div class="sendack-info-li">
  34. <label>起止日期:</label>
  35. <span>{{groupInfo.visitStartDate|filter_time}}~{{groupInfo.visitEndDate|filter_time}}</span>
  36. </div>
  37. <div class="sendack-info-li">
  38. <label>天数/人数:</label>
  39. <span>{{groupInfo=={}?'暂无':groupInfo.visitDays+'天/'+groupInfo.visitPNumber+'人'}}</span>
  40. </div>
  41. </div>
  42. <template>
  43. <el-table
  44. :data="groupsendData"
  45. border
  46. style="width: 100%">
  47. <el-table-column
  48. type="index"
  49. label="序 号"
  50. width="55">
  51. </el-table-column>
  52. <el-table-column
  53. prop="priceName"
  54. label="费用名称">
  55. </el-table-column>
  56. <el-table-column
  57. width="120"
  58. label="费用">
  59. <template slot-scope="scope">
  60. {{ townum(scope.row.price) }} {{ scope.row.currencyCode }}
  61. </template>
  62. </el-table-column>
  63. <el-table-column
  64. prop="createUserName"
  65. label="操作人"
  66. width="80">
  67. </el-table-column>
  68. <el-table-column
  69. prop="createTime"
  70. label="操作时间"
  71. width="165">
  72. </el-table-column>
  73. <el-table-column
  74. prop="auditGMName"
  75. label="审核人"
  76. width="80">
  77. </el-table-column>
  78. <el-table-column
  79. prop="auditGMDate"
  80. label="审核时间"
  81. width="165">
  82. </el-table-column>
  83. <el-table-column
  84. prop="remark"
  85. label="备注"
  86. >
  87. </el-table-column>
  88. <el-table-column label="操作" width="160">
  89. <template slot-scope="scope">
  90. <el-button
  91. :disabled="scope.row.isAuditGM==1"
  92. type="primary"
  93. size="mini"
  94. @click="Complete(scope.$index, scope.row)">编辑</el-button>
  95. <el-button
  96. :disabled="scope.row.isAuditGM==1"
  97. type="danger"
  98. size="mini"
  99. @click="Delete(scope.$index, scope.row)"
  100. >删除</el-button>
  101. </template>
  102. </el-table-column>
  103. </el-table>
  104. </template>
  105. <el-dialog class="sendack-dialog" width="900px" title="新增数据" :visible.sync="dialogFormVisible">
  106. <div class="sendack-info">
  107. <div class="sendack-info-li">
  108. <label>团 号:</label>
  109. <span v-if="this.groupInfo.tourCode!=''">{{groupInfo=={}?'暂无':groupInfo.tourCode==""?'暂无':groupInfo.tourCode}}</span>
  110. </div>
  111. <div class="sendack-info-li">
  112. <label>客 户:</label>
  113. <span>{{groupInfo=={}?'暂无':groupInfo.clientName==""?'暂无':groupInfo.clientName}}</span>
  114. </div>
  115. <div class="sendack-info-li">
  116. <label>出访国家:</label>
  117. <span>{{groupInfo=={}?'暂无':groupInfo.visitCountry==""?'暂无':groupInfo.visitCountry}}</span>
  118. </div>
  119. <div class="sendack-info-li">
  120. <label>起止日期:</label>
  121. <span>{{groupInfo.visitStartDate|filter_time}}~{{groupInfo.visitEndDate|filter_time}}</span>
  122. </div>
  123. <div class="sendack-info-li">
  124. <label>天数/人数:</label>
  125. <span>{{groupInfo=={}?'暂无':groupInfo.visitDays+'天/'+groupInfo.visitPNumber+'人'}}</span>
  126. </div>
  127. </div>
  128. <el-form :model="form" :rules="rules" ref="form">
  129. <div style="display: flex;flex-wrap:wrap;">
  130. <el-form-item label="费用名称" prop="priceName" :label-width="formLabelWidth">
  131. <el-input v-model="form.priceName" autocomplete="off"></el-input>
  132. </el-form-item>
  133. <el-form-item label="费用金额" prop="price" :label-width="formLabelWidth">
  134. <el-input-number class="fyjeinput" :controls="false" :precision="2" v-model="form.price"></el-input-number>
  135. <el-select disabled filterable class="fyjeselect" v-model="form.currencyId" placeholder="请选择币种">
  136. <el-option v-for="(item,index) in currencyDatas" :key="index" :label="item.currencyCode" :value="item.currencyId">
  137. <span>{{item.currencyCode}}</span>
  138. <span>{{item.currencyName}}</span>
  139. </el-option>
  140. </el-select>
  141. </el-form-item>
  142. <el-form-item label="收款方" prop="payee" :label-width="formLabelWidth">
  143. <el-input v-model="form.payee" autocomplete="off"></el-input>
  144. </el-form-item>
  145. <el-form-item label="支付方式" prop="payDId" :label-width="formLabelWidth">
  146. <el-select v-model="form.payDId" placeholder="请选择活动区域">
  147. <el-option v-for="(item,index) in payTypeDatas" :key="index" :label="item.name" :value="item.id"></el-option>
  148. </el-select>
  149. </el-form-item>
  150. <el-form-item label="费用标识" prop="orbitalPrivateTransfer" :label-width="formLabelWidth">
  151. <el-select v-model="form.orbitalPrivateTransfer" placeholder="请选择活动区域">
  152. <el-option v-for="(item,index) in orbitalPrivateTransferDatas" :key="index" :label="item.name" :value="item.id"></el-option>
  153. </el-select>
  154. </el-form-item>
  155. <el-form-item label="消费方式" prop="consumptionPatterns" :label-width="formLabelWidth">
  156. <el-input v-model="form.consumptionPatterns" autocomplete="off"></el-input>
  157. </el-form-item>
  158. <el-form-item label="费用类型" prop="payType" :label-width="formLabelWidth">
  159. <el-select v-model="form.payType" placeholder="请选择活动区域">
  160. <el-option v-for="(item,index) in priceTypeDatas" :key="index" :label="item.name" :value="item.id"></el-option>
  161. </el-select>
  162. </el-form-item>
  163. </div>
  164. <el-form-item style="width:97%" label="备 注" :label-width="formLabelWidth">
  165. <el-input style="width:100%" :rows="4" type="textarea" v-model="form.remark" autocomplete="off"></el-input>
  166. </el-form-item>
  167. </el-form>
  168. <div slot="footer" class="dialog-footer">
  169. <el-button @click="dialogFormVisible = false">取 消</el-button>
  170. <el-button v-if="identify" type="primary" @click="submitForm('form','保存')">确 定</el-button>
  171. <el-button v-if="revise" type="primary" @click="submitForm('form','修改')">修 改</el-button>
  172. </div>
  173. </el-dialog>
  174. </div>
  175. </div>
  176. </template>
  177. <script>
  178. export default {
  179. data() {
  180. return {
  181. cTable:0,
  182. addAuth:1,
  183. userid:'',
  184. value:'',
  185. options:[],
  186. groupInfo:{},
  187. groupsendData:[],
  188. pageId:0,
  189. dialogFormVisible:false,
  190. form:{
  191. id:0,
  192. ccpId:0,
  193. priceName:'',//费用名称
  194. price:0,//费用
  195. currencyId:836,//币种Id
  196. currencyCode:'',//币种Code
  197. payee:'',//收款方
  198. payDId:72,//支付方式Id
  199. orbitalPrivateTransfer:0,//费用标识
  200. consumptionPatterns:'',//消费方式
  201. payType:0,//费用类型 0 其他 1 退多付款
  202. remark:'',//备注
  203. },
  204. rules: {
  205. priceName: [
  206. { required: true, message: '请输入费用名称', trigger: 'blur' },
  207. ],
  208. price: [
  209. { required: true, message: '请填写完此项', trigger: 'blur' }
  210. ],
  211. payee: [
  212. { required: true, message: '请填写完此项', trigger: 'blur' }
  213. ],
  214. payDId: [
  215. { required: true, message: '请选择', trigger: 'change' }
  216. ],
  217. orbitalPrivateTransfer: [
  218. { required: true, message: '请选择', trigger: 'change' }
  219. ],
  220. consumptionPatterns: [
  221. { required: true, message: '请填写完此项', trigger: 'blur' }
  222. ],
  223. payType: [
  224. { required: true, message: '请选择', trigger: 'change' }
  225. ]
  226. },
  227. formLabelWidth:'100px',
  228. currencyDatas:[],
  229. payTypeDatas:[],
  230. priceTypeDatas:[],
  231. orbitalPrivateTransferDatas:[],
  232. identify:false,
  233. revise:false,
  234. }
  235. },
  236. methods:{
  237. //保留两位小数
  238. townum(val){
  239. return val.toFixed(2)
  240. },
  241. filteryear(val){
  242. let gstime=val.visitDate.split(' ')[0]
  243. return gstime;
  244. },
  245. //获取团组
  246. GetForeignReceivablesDataSources(){
  247. var url = "/api/Financial/GetForeignReceivablesDataSources"
  248. var that = this
  249. this.$axios({
  250. method: 'post',
  251. url: url,
  252. headers: {
  253. Authorization: 'Bearer ' + that.userid
  254. },
  255. }).then(function (res) {
  256. console.log(res)
  257. if(res.data.code==200){
  258. that.options=res.data.data.groupNameData;
  259. that.value=res.data.data.groupNameData[0].id;
  260. that.PostShareGroupInfo();
  261. setTimeout(function(){
  262. that.PostPaymentRefundAndOtherMoneyItemByDiId();
  263. },100)
  264. setTimeout(function(){
  265. that.PostGroupTeamRateByDiIdAndCTableId();
  266. },500)
  267. // that.PostGroupTeamRateByDiIdAndCTableId();
  268. // that.PostPaymentRefundAndOtherMoneyItemByDiId();
  269. // setTimeout(that.PostPaymentRefundAndOtherMoneyItemByDiId(),500)
  270. // setTimeout(that.PostGroupTeamRateByDiIdAndCTableId(),10000)
  271. }else{
  272. that.$message.error(res.data.msg);
  273. }
  274. })
  275. },
  276. //获取数据源
  277. PostPaymentRefundAndOtherMoneyInfoDataSource(){
  278. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyInfoDataSource"
  279. var that = this
  280. this.$axios({
  281. method: 'post',
  282. url: url,
  283. headers: {
  284. Authorization: 'Bearer ' + that.userid
  285. },
  286. data:{
  287. portType: 1
  288. }
  289. }).then(function (res) {
  290. console.log(res)
  291. if(res.data.code==200){
  292. that.payTypeDatas=res.data.data.payTypeDatas;
  293. that.priceTypeDatas=res.data.data.priceTypeDatas;
  294. that.orbitalPrivateTransferDatas=res.data.data.orbitalPrivateTransferDatas;
  295. }else{
  296. that.$message.error(res.data.msg);
  297. }
  298. })
  299. },
  300. //获取Ctable
  301. PostPageLinkCTable(){
  302. var url = "/api/Business/PostPageLinkCTable"
  303. var that = this
  304. this.$axios({
  305. method: 'post',
  306. url: url,
  307. headers: {
  308. Authorization: 'Bearer ' + that.userid
  309. },
  310. data:{
  311. pageId: that.pageId,
  312. }
  313. }).then(function (res) {
  314. console.log(res)
  315. if(res.data.code==200){
  316. that.cTable=res.data.data.cTable
  317. }else{
  318. that.$message.error(res.data.msg);
  319. }
  320. })
  321. },
  322. //获取币种数据源
  323. PostGroupTeamRateByDiIdAndCTableId(){
  324. var url = "/api/Business/PostGroupTeamRateByDiIdAndCTableId"
  325. var that = this
  326. var data={
  327. portType: 1,
  328. diId: that.value,
  329. cTable:that.cTable
  330. }
  331. console.log(JSON.stringify(data))
  332. this.$axios({
  333. method: 'post',
  334. url: url,
  335. headers: {
  336. Authorization: 'Bearer ' + that.userid
  337. },
  338. data:{
  339. portType: 1,
  340. diId: that.value,
  341. cTable:that.cTable
  342. }
  343. }).then(function (res) {
  344. console.log(res)
  345. if(res.data.code==200){
  346. that.currencyDatas=res.data.data.teamRates;
  347. if(res.data.data.teamRates.length==0){
  348. that.$notify({
  349. title: '警告',
  350. message: '此团组其他款项未设置币种及汇率,请前往团组汇率设置!',
  351. type: 'warning',
  352. duration:0
  353. });
  354. }
  355. }else{
  356. that.$message.error(res.data.msg);
  357. }
  358. })
  359. },
  360. //获取团组详情
  361. PostShareGroupInfo(){
  362. var url = "/api/Business/PostShareGroupInfo"
  363. var that = this
  364. this.$axios({
  365. method: 'post',
  366. url: url,
  367. headers: {
  368. Authorization: 'Bearer ' + that.userid
  369. },
  370. data:{
  371. portType:1,
  372. id: that.value
  373. }
  374. }).then(function (res) {
  375. console.log(res)
  376. if(res.data.code==200){
  377. that.groupInfo=res.data.data;
  378. }else{
  379. that.$message.error(res.data.msg);
  380. }
  381. })
  382. },
  383. //获取团组收款退还与其他款项
  384. PostPaymentRefundAndOtherMoneyItemByDiId(){
  385. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyItemByDiId"
  386. var that = this
  387. var data={
  388. portType:1,
  389. userId:that.userid,
  390. pageId:that.pageId,
  391. diId: that.value
  392. }
  393. console.log(JSON.stringify(data))
  394. this.$axios({
  395. method: 'post',
  396. url: url,
  397. headers: {
  398. Authorization: 'Bearer ' + that.userid
  399. },
  400. data:{
  401. portType:1,
  402. userId:that.userid,
  403. pageId:that.pageId,
  404. diId: that.value
  405. }
  406. }).then(function (res) {
  407. console.log(res)
  408. if(res.data.code==200){
  409. that.groupsendData=res.data.data.data;
  410. that.addAuth=res.data.data.pageFuncAuth.addAuth;
  411. }else{
  412. that.$message.error(res.data.msg);
  413. }
  414. })
  415. },
  416. //保存修改
  417. submitForm(formName,text) {
  418. console.log(this.form.currencyId)
  419. console.log(this.currencyDatas)
  420. this.$refs[formName].validate((valid) => {
  421. if (valid) {
  422. var status
  423. for(var i=0;i<this.currencyDatas.length;i++){
  424. if(this.currencyDatas[i].currencyId==this.form.currencyId){
  425. this.form.currencyCode=this.currencyDatas[i].currencyCode
  426. }
  427. }
  428. if(text=='保存'){
  429. status=1
  430. this.PostPaymentRefundAndOtherMoneyAddOrEdit(status)
  431. }
  432. if(text=='修改'){
  433. status=2
  434. this.PostPaymentRefundAndOtherMoneyAddOrEdit(status)
  435. }
  436. console.log(this.form)
  437. } else {
  438. console.log('error submit!!');
  439. return false;
  440. }
  441. });
  442. },
  443. //保存修改api
  444. PostPaymentRefundAndOtherMoneyAddOrEdit(status){
  445. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyAddOrEdit"
  446. var that = this
  447. var data={
  448. portType:1,
  449. pageId:Number(that.pageId),
  450. userId:that.userid,
  451. status:status,//1 添加 2 修改
  452. diId:that.value,
  453. id:that.form.id,
  454. ccpId:that.form.ccpId,
  455. priceName:that.form.priceName,
  456. price:that.form.price,
  457. currencyId:that.form.currencyId,
  458. currencyCode:that.form.currencyCode,
  459. payee:that.form.payee,
  460. payDId:that.form.payDId,
  461. orbitalPrivateTransfer:that.form.orbitalPrivateTransfer,
  462. consumptionPatterns:that.form.consumptionPatterns,
  463. payType:that.form.payType,
  464. remark:that.form.remark,
  465. }
  466. console.log(JSON.stringify(data))
  467. this.$axios({
  468. method: 'post',
  469. url: url,
  470. headers: {
  471. Authorization: 'Bearer ' + that.userid
  472. },
  473. data:{
  474. portType:1,
  475. pageId:that.pageId,
  476. userId:that.userid,
  477. status:status,//1 添加 2 修改
  478. diId:that.value,
  479. id:that.form.id,
  480. ccpId:that.form.ccpId,
  481. priceName:that.form.priceName,
  482. price:that.form.price,
  483. currencyId:that.form.currencyId,
  484. currencyCode:that.form.currencyCode,
  485. payee:that.form.payee,
  486. payDId:that.form.payDId,
  487. orbitalPrivateTransfer:that.form.orbitalPrivateTransfer,
  488. consumptionPatterns:that.form.consumptionPatterns,
  489. payType:that.form.payType,
  490. remark:that.form.remark,
  491. }
  492. }).then(function (res) {
  493. console.log(res)
  494. if(res.data.code==200){
  495. that.$message({
  496. message: res.data.msg,
  497. type: 'success'
  498. });
  499. that.dialogFormVisible=false
  500. that.PostPaymentRefundAndOtherMoneyItemByDiId()
  501. }else{
  502. that.$message.error(res.data.msg);
  503. }
  504. })
  505. },
  506. //编辑
  507. Complete(index,row){
  508. if (this.$refs.form){
  509. this.$nextTick(() => {
  510. this.$refs['form'].clearValidate();
  511. })
  512. }
  513. this.identify=false;
  514. this.revise=true;
  515. //弹框
  516. this.dialogFormVisible=true;
  517. //初始化数据
  518. this.form={
  519. id:0,
  520. ccpId:0,
  521. priceName:'',//费用名称
  522. price:0,//费用
  523. currencyId:836,//币种Id
  524. currencyCode:'',//币种Code
  525. payee:'',//收款方
  526. payDId:72,//支付方式Id
  527. orbitalPrivateTransfer:0,//费用标识
  528. consumptionPatterns:'',//消费方式
  529. payType:0,//费用类型 0 其他 1 退多付款
  530. remark:'',//备注
  531. }
  532. var formobject={}
  533. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyInfo"
  534. var that = this
  535. this.$axios({
  536. method: 'post',
  537. url: url,
  538. headers: {
  539. Authorization: 'Bearer ' + that.userid
  540. },
  541. data:{
  542. portType:1,
  543. id: row.id,
  544. }
  545. }).then(function (res) {
  546. console.log(res)
  547. if(res.data.code==200){
  548. formobject=res.data.data;
  549. that.form.id=formobject.id;
  550. that.form.ccpId=formobject.ccpId;
  551. that.form.priceName=formobject.priceName;
  552. that.form.price=formobject.price;
  553. that.form.currencyId=formobject.currencyId;
  554. that.form.payee=formobject.payee;
  555. that.form.payDId=formobject.payDId;
  556. that.form.orbitalPrivateTransfer=formobject.orbitalPrivateTransfer;
  557. that.form.consumptionPatterns=formobject.consumptionPatterns;
  558. that.form.payType=formobject.payType;
  559. that.form.remark=formobject.remark;
  560. }else{
  561. that.$message.error('获取数据源失败!');
  562. }
  563. })
  564. },
  565. //表格保留两位小数
  566. rounding(row,column) {
  567. return parseFloat(row[column.property]).toFixed(2)
  568. },
  569. //删除
  570. Delete(index,row){
  571. this.$confirm('此操作将删除此条数据,是否确认删除?', '提示', {
  572. confirmButtonText: '确定',
  573. cancelButtonText: '取消',
  574. type: 'warning'
  575. }).then(() => {
  576. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyDel"
  577. var that = this
  578. this.$axios({
  579. method: 'post',
  580. url: url,
  581. headers: {
  582. Authorization: 'Bearer ' + that.userid
  583. },
  584. data:{
  585. portType:1,
  586. userId:that.userid,
  587. pageId:that.pageId,
  588. id: row.id
  589. }
  590. }).then(function (res) {
  591. console.log(res)
  592. if(res.data.code==200){
  593. that.$message({
  594. message: res.data.msg,
  595. type: 'success'
  596. });
  597. that.PostPaymentRefundAndOtherMoneyItemByDiId()
  598. }else{
  599. that.$notify({
  600. title: '警告',
  601. message: res.data.msg,
  602. type: 'warning',
  603. duration:0
  604. });
  605. // that.$message.error(res.data.msg);
  606. }
  607. })
  608. })
  609. },
  610. //新增
  611. addclick(){
  612. this.revise=false;
  613. this.identify=true;
  614. this.form={
  615. id:0,
  616. ccpId:0,
  617. priceName:'',//费用名称
  618. price:0,//费用
  619. currencyId:836,//币种Id
  620. currencyCode:'',//币种Code
  621. payee:'',//收款方
  622. payDId:72,//支付方式Id
  623. orbitalPrivateTransfer:0,//费用标识
  624. consumptionPatterns:'',//消费方式
  625. payType:0,//费用类型 0 其他 1 退多付款
  626. remark:'',//备注
  627. }
  628. this.dialogFormVisible=true;
  629. this.PostGroupTeamRateByDiIdAndCTableId()
  630. },
  631. changediid(){
  632. console.log(this.value)
  633. this.PostShareGroupInfo();
  634. this.PostPaymentRefundAndOtherMoneyItemByDiId();
  635. }
  636. },
  637. filters:{
  638. filter_time(value){
  639. if(value){
  640. return value.split(' ')[0];
  641. }
  642. return value
  643. },
  644. filter_city(value){
  645. return value
  646. }
  647. },
  648. mounted(){
  649. this.userid=JSON.parse(localStorage.getItem('userinif')).userInfo.userId;
  650. this.pageId=Number(localStorage.getItem('indexs').split('-')[1]);//页面id
  651. console.log(this.pageId)
  652. this.PostPageLinkCTable();
  653. this.GetForeignReceivablesDataSources();
  654. // setTimeout(this.PostPaymentRefundAndOtherMoneyInfoDataSource(),500)
  655. this.PostPaymentRefundAndOtherMoneyInfoDataSource();
  656. // setTimeout(this.PostGroupTeamRateByDiIdAndCTableId(), 3000);
  657. // this.PostGroupTeamRateByDiIdAndCTableId();
  658. }
  659. }
  660. </script>
  661. <style>
  662. .sendack-all{
  663. background-color: #fff;
  664. padding: 10px;
  665. box-shadow: 0 0 5px #0005;
  666. border-radius: 10px;
  667. height: 100%;
  668. min-height: 840px;
  669. }
  670. .sendack-head-li label{
  671. color: #606266;
  672. font-size: 15px;
  673. font-weight: 600;
  674. }
  675. .sendack-head{
  676. display: flex;
  677. justify-content: space-between;
  678. }
  679. .sendack-info{
  680. display: flex;
  681. margin-top: 10px;
  682. margin-bottom: 10px;
  683. }
  684. .sendack-info-li{
  685. margin-right: 30px;
  686. }
  687. .sendack-info-li label{
  688. color: #606266;
  689. font-size: 15px;
  690. font-weight: 600;
  691. }
  692. .sendack-info-li span{
  693. color: #606266;
  694. font-size: 14px;
  695. }
  696. .sendack-all .el-form-item{
  697. width: 50%;
  698. }
  699. .sendack-all .el-form-item input{
  700. width: 300px;
  701. }
  702. .sendack-all .fyjeinput{
  703. width: 148px;
  704. }
  705. .sendack-all .fyjeinput input{
  706. width: 100%;
  707. }
  708. .sendack-all .sendack-dialog .fyjeselect{
  709. width: 148px;
  710. }
  711. .sendack-all .fyjeselect input{
  712. width: 100%;
  713. }
  714. .sendack-all .el-dialog__body{
  715. padding-top: 10px;
  716. }
  717. .el-dialog__body .sendack-info{
  718. margin-left: 25px;
  719. margin-bottom: 20px;
  720. flex-wrap: wrap;
  721. }
  722. .el-dialog__body .sendack-info-li{
  723. margin-bottom: 10px;
  724. }
  725. .sendack-dialog .el-select{
  726. width: 300px;
  727. }
  728. </style>